/* /startups — how Startup beef works (site/worker/howto.js; design board SuWebHowItWorks). The landing's
   look: Rubik display, Golos body, ink ground, acid and hot accents. Buttons follow the app's
   (ios/ARBeef/UI/Theme.swift): primary = acid with a darker acid rim and a hard shadow that the face sinks
   onto when pressed; secondary = plate with a white rim. */
:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --plate: rgba(11, 11, 12, 0.55);
  --acid: #c6ff3d;
  --acid-rim: #9bd016;
  --hot: #ff5436;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.14);
  --display: 'Rubik', 'Arial Black', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
:lang(ja) { --display: 'Rubik', 'Noto Sans JP', 'Arial Black', system-ui, sans-serif; --body: 'Golos Text', 'Noto Sans JP', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { background: var(--ink); }
body.ht { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--acid); }
a:hover { color: var(--white); }
.ht-wrap { max-width: 1120px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.ht h1, .ht h2, .ht h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.ht h2 { font-size: clamp(34px, 5vw, 56px); }
.ht h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.ht p { margin: 0; max-width: 62ch; }
.ht-eyebrow { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--acid); }
main > section { padding-block: clamp(56px, 9vw, 104px); border-top: 2px solid var(--faint); }
.ht-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.ht-head p { color: var(--muted); font-size: 18px; }
.ht-head.flush { margin: 0; }

/* buttons */
.ht-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.ht-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 12px 24px; max-width: 100%; font-family: var(--display); font-size: 18px; line-height: 1.05; text-transform: uppercase; text-decoration: none; text-align: center; transition: transform 0.08s ease, box-shadow 0.08s ease; }
.ht-btn.primary { background: var(--acid); color: var(--ink); border: 3px solid var(--acid-rim); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55); font-weight: 900; letter-spacing: -0.01em; }
.ht-btn.primary:hover { color: var(--ink); }
.ht-btn.primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55); }
.ht-btn.secondary { background: var(--plate); color: var(--white); border: 3px solid var(--white); font-weight: 800; letter-spacing: 0.02em; }
.ht-btn.secondary:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.ht-btn.small { min-height: 44px; padding: 8px 16px; font-size: 14px; }
/* Phones: the page's buttons run the full width, one under the other (the nav's small one stays). */
@media (max-width: 600px) { .ht-ctas { flex-direction: column; } .ht-ctas .ht-btn { width: 100%; padding-inline: 14px; } }
.ht-btn:focus-visible, .ht a:focus-visible, .ht summary:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* nav */
.ht-nav { border-bottom: 2px solid var(--faint); }
.ht-nav .ht-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.ht-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -0.03em; }
.ht-brand:hover { color: var(--white); }
.ht-brand .mark { width: 44px; height: 44px; overflow: visible; flex-shrink: 0; }
.ht-links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.ht-links a { color: var(--muted); text-decoration: none; }
.ht-links a:hover { color: var(--white); }
@media (max-width: 860px) { .ht-links { display: none; } }

/* hero: the title beside the versus card, the lead beside the buttons */
main > .ht-hero { padding-block: clamp(40px, 7vw, 88px); border-top: 0; }
.ht-hero .ht-wrap:not(.ht-hero-eyebrow) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "title vs" "copy cta"; column-gap: clamp(28px, 5vw, 56px); row-gap: 28px; align-items: start; }
.ht-hero .ht-wrap.solo:not(.ht-hero-eyebrow) { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "cta"; }
.ht-hero-eyebrow { margin-bottom: 22px; }
/* The title's top meets the card's, the lead's top the buttons' (2026-11-01). */
.ht-hero-title { grid-area: title; }
.ht-hero h1 { font-size: clamp(50px, 7.2vw, 96px); }
.ht-hero h1 em { font-style: normal; color: var(--acid); }
.ht-lead { grid-area: copy; font-size: clamp(17px, 1.6vw, 21px); max-width: 40ch; color: var(--muted); }
.ht-hero-cta { grid-area: cta; display: grid; gap: 12px; }
.ht-note { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .ht-hero .ht-wrap:not(.ht-hero-eyebrow) { grid-template-columns: 1fr; grid-template-areas: "title" "vs" "copy" "cta"; } }
.ht-vs { grid-area: vs; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border: 3px solid var(--faint); background: var(--ink); isolation: isolate; }
.ht-vs::before, .ht-vs::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.ht-vs::before { background: linear-gradient(160deg, #2c3a10, #161c08); clip-path: polygon(0 0, calc(58% - 4px) 0, calc(42% - 4px) 100%, 0 100%); }
.ht-vs::after { background: linear-gradient(200deg, #3d1710, #1c0b08); clip-path: polygon(calc(58% + 4px) 0, 100% 0, 100% 100%, calc(42% + 4px) 100%); }
.ht-vs img { position: absolute; height: 118%; width: auto; max-width: none; pointer-events: none; }
.ht-vs img.l { left: 25%; top: 6%; translate: -50% 0; }
.ht-vs img.r { left: 75%; top: 14%; translate: -50% 0; }
.ht-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--white); background: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 18px; }
.ht-plate { position: absolute; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 16px 5px; font-family: var(--display); font-weight: 900; font-size: clamp(14px, 1.8vw, 22px); line-height: 1.05; color: var(--ink); text-transform: uppercase; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.ht-plate.l { left: 12px; bottom: 12px; background: var(--acid); }
.ht-plate.r { right: 12px; top: 12px; background: var(--hot); }

/* steps */
.ht-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--faint); border: 2px solid var(--faint); }
@media (max-width: 960px) { .ht-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ht-steps { grid-template-columns: 1fr; } }
.ht-step { background: var(--ink); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.ht-step > b { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1; color: var(--acid); letter-spacing: -0.04em; }
.ht-step p { color: var(--muted); font-size: 15px; }
/* Pinned to the bottom: the four chips sit on one line whatever the text above. */
.ht-chip { align-self: flex-start; margin-top: auto; padding: 4px 10px; border: 2px solid var(--faint); font-size: 12px; font-weight: 600; }

/* made from your site */
.ht-make { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 0.8fr); gap: 18px; align-items: center; }
@media (max-width: 900px) { .ht-make { grid-template-columns: 1fr; } .ht-arrow { rotate: 90deg; justify-self: center; } }
.ht-tag { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 8px; background: var(--acid); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.ht-tag.dark { left: auto; top: auto; right: 10px; bottom: 10px; background: var(--ink); color: var(--muted); border: 2px solid var(--faint); font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 11px; }
.ht-browser { border: 3px solid var(--faint); background: var(--ink-2); overflow: hidden; }
.ht-browser .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-bottom: 2px solid var(--faint); font-size: 12px; color: var(--muted); }
.ht-browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ht-browser .bar span { margin-left: 8px; }
.ht-browser .page { position: relative; height: 190px; overflow: hidden; background: #fff; }
.ht-browser .shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ht-browser .ico { position: absolute; left: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; }
.ht-arrow { font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--acid); }
.ht-concept { position: relative; height: 224px; border: 3px solid rgba(198, 255, 61, 0.5); background: #fff; display: grid; place-items: center; overflow: hidden; }
.ht-concept img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ht-fighter { position: relative; height: 224px; border: 3px solid var(--faint); background: radial-gradient(60% 22% at 50% 92%, rgba(198, 255, 61, 0.55), transparent 70%), var(--ink); display: grid; place-items: end center; overflow: hidden; }
.ht-spin { height: 96%; aspect-ratio: 297 / 400; background-repeat: no-repeat; background-size: 3600% 100%; background-position: 0 0; cursor: grab; touch-action: pan-y; user-select: none; }
.ht-spin:active { cursor: grabbing; }
.ht-hint { position: absolute; right: 8px; bottom: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ht-notes { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.ht-notes span::before, .ht-bul li::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--acid); margin-right: 10px; vertical-align: 1px; flex-shrink: 0; }

/* confirm */
.ht-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--faint); border: 2px solid var(--faint); }
@media (max-width: 760px) { .ht-split { grid-template-columns: 1fr; } }
.ht-cell { background: var(--ink); padding: 28px 24px; display: grid; gap: 14px; align-content: start; }
.ht-cell .top, .ht-way .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ht-tag2 { padding: 5px 14px 4px; font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); white-space: nowrap; }
.ht-tag2.acid { background: var(--acid); }
.ht-tag2.white { background: var(--white); }
.ht-tag2.hot { background: var(--hot); }
.ht-code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; line-height: 1.55; padding: 12px 14px; background: rgba(198, 255, 61, 0.06); border: 2px solid rgba(198, 255, 61, 0.5); overflow-wrap: anywhere; }
.ht-code em { font-style: normal; color: var(--acid); }
.ht-fields { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ht-fields b { font-family: ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--acid); }
.ht-cell p { color: var(--muted); font-size: 15px; }
.ht-status { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .ht-status { grid-template-columns: 1fr; } }
.ht-st { border: 3px solid var(--faint); padding: 22px; display: grid; gap: 12px; align-content: start; }
.ht-st.on { border-color: var(--acid); background: rgba(198, 255, 61, 0.06); }
.ht-st h3 { font-size: 19px; }
.ht-bul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.ht-bul li { display: flex; align-items: baseline; }
.ht-bul.x li::before { background: rgba(255, 255, 255, 0.25); }

/* fight */
.ht-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .ht-ways { grid-template-columns: 1fr; } }
.ht-way { border: 3px solid var(--faint); background: var(--ink-2); padding: 28px 24px; display: grid; gap: 16px; align-content: start; }
.ht-way.live { border-color: var(--acid); }
.ht-pts { display: flex; align-items: baseline; gap: 12px; }
.ht-pts b { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.ht-pts span, .ht-way p { color: var(--muted); font-size: 15px; }
.ht-way small { display: block; font-size: 14px; color: var(--muted); border-top: 2px solid var(--faint); padding-top: 12px; }
.ht-lvls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--faint); border: 2px solid var(--faint); }
.ht-lvls div { background: var(--ink); padding: 10px 12px; display: grid; gap: 2px; }
.ht-lvls b { font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; }
.ht-lvls span { font-size: 12px; color: var(--muted); }
.up { color: var(--acid); }
.dn { color: var(--hot); }

/* points */
.ht-tbl { overflow-x: auto; border: 2px solid var(--faint); }
.ht-tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ht-tbl th, .ht-tbl td { padding: 14px 16px; text-align: left; border-bottom: 2px solid var(--faint); white-space: nowrap; }
.ht-tbl th { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--ink-2); }
.ht-tbl td.n { font-family: var(--display); font-weight: 900; font-size: 20px; }
.ht-tbl tr:last-child td { border-bottom: 0; }
.ht-rules { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .ht-rules { grid-template-columns: 1fr; } }
.ht-rule { border-top: 3px solid var(--acid); padding-top: 14px; display: grid; gap: 6px; }
.ht-rule b { font-family: var(--display); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.ht-rule p { color: var(--muted); font-size: 15px; }

/* invite */
.ht-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .ht-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ht-flow { grid-template-columns: 1fr; } }
.ht-fl { border: 3px solid var(--faint); padding: 20px 18px; display: grid; gap: 10px; align-content: start; }
.ht-fl .who { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid); }
.ht-fl h3 { font-size: 18px; }
.ht-fl p { color: var(--muted); font-size: 14px; }
.ht-link { font-family: ui-monospace, Menlo, monospace; font-size: 14px; padding: 8px 10px; background: var(--ink-2); border: 2px solid var(--faint); }

/* pushes */
.ht-push { display: grid; gap: 12px; }
.ht-pn { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 18px; align-items: center; border: 2px solid var(--faint); padding: 16px 18px; }
@media (max-width: 860px) { .ht-pn { grid-template-columns: 1fr; } }
.ht-bubble { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; background: #1c1c1f; border-radius: 16px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.08); }
.ht-bubble img, .ht-bubble i { grid-row: span 2; width: 36px; height: 36px; border-radius: 9px; display: block; }
.ht-bubble i { background: rgba(255, 255, 255, 0.18); }
.ht-bubble b { font-size: 14px; font-weight: 700; }
.ht-bubble span { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.ht-pn .to b { display: block; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acid); }
.ht-pn .to span, .ht-pn .lim { font-size: 14px; color: var(--muted); }
.ht-pn.none { border-style: dashed; }
.ht-pn.none .ht-bubble { background: transparent; }
.ht-pn.none .to b { color: var(--white); }

/* board teaser */
.ht-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .ht-board { grid-template-columns: 1fr; } }
.ht-board .ht-ctas { margin-top: 8px; }
.ht-rows { border: 3px solid var(--faint); background: var(--ink-2); }
.ht-rows .head { display: flex; align-items: center; height: 46px; padding: 0 16px; border-bottom: 2px solid var(--faint); }
.ht-row { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-decoration: none; color: var(--white); }
.ht-row:last-child { border-bottom: 0; }
.ht-row:hover { background: rgba(255, 255, 255, 0.04); color: var(--white); }
.ht-row .rk { width: 22px; font-family: var(--display); font-weight: 900; font-size: 17px; color: rgba(255, 255, 255, 0.55); }
.ht-row .rk.top { color: var(--acid); }
.ht-row .face { width: 40px; height: 46px; flex-shrink: 0; overflow: hidden; background: var(--ink); display: flex; justify-content: center; align-items: center; }
.ht-row .face img { width: 100%; height: 100%; object-fit: cover; }
.ht-row .nm { flex-grow: 1; min-width: 0; }
.ht-row .nm b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: 16px; text-transform: uppercase; }
.ht-row .elo { font-family: var(--display); font-weight: 800; font-size: 16px; }
.ht-empty { padding: 16px; color: var(--muted); }

/* faq: the + sits on the question's first line */
.ht-faq { border-top: 2px solid var(--faint); }
.ht-faq details { border-bottom: 2px solid var(--faint); }
.ht-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 20px 0; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.5; text-transform: uppercase; letter-spacing: -0.01em; }
.ht-faq summary::-webkit-details-marker { display: none; }
.ht-faq summary::after { content: '+'; font-size: 28px; line-height: 28px; color: var(--acid); flex-shrink: 0; }
.ht-faq details[open] summary::after { transform: rotate(45deg); }
.ht-faq details p { padding-bottom: 22px; color: var(--muted); }

/* closing */
main > .ht-closing-sec { border-top: 0; padding-top: 0; }
.ht-closing { border: 3px solid var(--acid); padding: clamp(28px, 5vw, 56px); display: grid; gap: 20px; justify-items: start; background: rgba(198, 255, 61, 0.06); }
.ht-closing h2 { font-size: clamp(32px, 5vw, 60px); }
.ht-closing p { color: var(--muted); }
/* Phones: the closing card's buttons span the card, with narrower sides so «See the leaderboard →» stays on
   one line at 375 px in every locale. */
@media (max-width: 600px) { .ht-closing { padding-inline: 18px; } .ht-closing .ht-ctas { justify-self: stretch; } }

/* footer (join.css's, at this page's width) */
.foot { font-size: 13px; color: var(--muted); }
.foot-wrap { max-width: 1120px; margin-inline: auto; border-top: 2px solid var(--faint); padding: 24px max(var(--gutter), env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.foot a { color: var(--muted); }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; }
.foot-lang { position: relative; font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.08em; }
.foot-lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 4px 8px; border: 2px solid var(--faint); color: var(--white); user-select: none; }
.foot-lang summary::-webkit-details-marker { display: none; }
.foot-lang summary::after { content: ''; border: 4px solid transparent; border-bottom-color: var(--acid); border-top-width: 0; }
.foot-lang[open] summary::after { border-bottom-width: 0; border-top: 4px solid var(--acid); }
.foot-lang summary:hover, .foot-lang[open] summary { border-color: var(--acid); }
.foot-lang ul { position: absolute; left: 0; bottom: calc(100% + 6px); margin: 0; padding: 6px 0; list-style: none; min-width: 190px; background: var(--ink); border: 2px solid var(--faint); box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.5); z-index: 5; }
.foot-lang li a, .foot-lang li span { display: block; padding: 8px 14px; font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0; text-decoration: none; color: var(--muted); white-space: nowrap; }
.foot-lang li a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.foot-lang li span { color: var(--acid); }
@media (prefers-reduced-motion: reduce) { .ht-btn { transition: none; } }
