/* Concrete Crow — site styles. No external fonts, no trackers. */
:root {
  --asphalt: #121316;
  --asphalt-2: #1b1d22;
  --concrete: #c9c6bf;
  --concrete-dim: #8d8b86;
  --paper: #ecebe6;
  --sodium: #f2a93b;      /* street-lamp amber */
  --sodium-deep: #c9781a;
  --signal: #e0442e;      /* crosswalk red */
  --line: #2d3037;
  --ink: #f3f1ea;
  --muted: #a8a59e;
  --radius: 4px;
  --max: 1120px;
  --display: "Arial Black", "Helvetica Neue", Impact, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--asphalt); color: var(--ink);
  font: 17px/1.6 var(--body);
  /* faint concrete grain */
  background-image:
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.25) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sodium); text-underline-offset: 3px; }
a:hover { color: #ffc670; }
:focus-visible { outline: 3px solid var(--sodium); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sodium); color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ── top bar ── */
.bar { position: sticky; top: 0; z-index: 5; background: rgba(18,19,22,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 900 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.brand svg { width: 28px; height: 28px; }
.bar nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 14px; }
.bar nav a { color: var(--concrete); text-decoration: none; white-space: nowrap; }
.bar nav a:hover { color: var(--ink); }
.bar .lang { border: 1px solid var(--line); padding: 3px 8px; border-radius: var(--radius); }
@media (max-width: 640px) { .bar nav .opt { display: none; } .bar nav { gap: 12px; } .brand { font-size: 13px; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 800 16px/1 var(--body); text-decoration: none; padding: 15px 22px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; }
.btn-steam { background: var(--sodium); color: #16130d; box-shadow: 0 0 0 0 rgba(242,169,59,.0), 0 10px 30px -10px rgba(242,169,59,.6); }
.btn-steam:hover { background: #ffbd55; color: #16130d; }
.btn-steam svg { width: 22px; height: 22px; }
.btn-ghost { border-color: var(--concrete-dim); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .8; cursor: not-allowed; }
.note { font-size: 13px; color: var(--muted); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; border-bottom: 6px solid var(--sodium); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(18,19,22,.35) 0%, rgba(18,19,22,.55) 45%, rgba(18,19,22,.97) 100%),
  linear-gradient(90deg, rgba(18,19,22,.85) 0%, rgba(18,19,22,0) 70%); }
.hero .wrap { position: relative; padding-top: clamp(64px, 12vw, 150px); padding-bottom: 56px; }
.kicker { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #16130d; background: var(--sodium); padding: 6px 9px; }
.hero h1 { margin: 18px 0 6px; font: 900 clamp(48px, 10vw, 112px)/.88 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 span { display: block; -webkit-text-stroke: 2px var(--ink); color: transparent; }
.hero .alt { font: 700 clamp(18px, 2.6vw, 24px)/1.2 var(--body); color: var(--sodium); letter-spacing: .3em; margin: 14px 0 0; }
.hero .tagline { max-width: 34ch; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; margin: 22px 0 28px; color: var(--paper); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts-strip { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font: 600 13px/1.3 var(--mono); color: var(--concrete); text-transform: uppercase; letter-spacing: .08em; }
.facts-strip b { color: var(--ink); }

/* ── sections ── */
section { padding: clamp(56px, 9vw, 96px) 0; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.sec-head .num { font: 700 13px/1 var(--mono); color: var(--sodium); }
h2 { font: 900 clamp(30px, 5vw, 48px)/1 var(--display); text-transform: uppercase; margin: 0; letter-spacing: -.005em; }
h3 { font: 800 20px/1.25 var(--body); margin: 0 0 8px; }
.lead { font-size: 19px; max-width: 62ch; color: var(--paper); }

/* trailer placeholder */
.trailer { aspect-ratio: 16/9; border: 2px dashed var(--concrete-dim); border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: var(--muted); background:
  repeating-linear-gradient(-45deg, rgba(242,169,59,.06) 0 14px, transparent 14px 28px), var(--asphalt-2); padding: 20px; }
.trailer strong { display: block; color: var(--ink); font: 900 22px/1.1 var(--display); text-transform: uppercase; margin-bottom: 6px; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.feature .tag { font: 700 12px/1 var(--mono); color: var(--sodium); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.feature p { margin: 0; color: var(--concrete); font-size: 16px; }
.feature::before { content: ""; position: absolute; left: -1px; top: -1px; width: 36px; height: 4px; background: var(--sodium); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.shots figure { margin: 0; position: relative; grid-column: span 2; }
.shots figure.big { grid-column: span 4; grid-row: span 2; }
.shots a { display: block; height: 100%; }
.shots img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 16/9; }
.shots figcaption { position: absolute; left: 8px; bottom: 8px; font: 600 11px/1 var(--mono); background: rgba(0,0,0,.7); padding: 5px 7px; border-radius: 2px; color: var(--paper); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } .shots figure, .shots figure.big { grid-column: span 1; grid-row: auto; } .shots figure.big { grid-column: span 2; } }
.temp-badge { display: inline-block; font: 700 11px/1 var(--mono); color: var(--asphalt); background: var(--concrete); padding: 4px 6px; border-radius: 2px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }

/* split panels: demo + newsletter */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel p { color: var(--concrete); }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field input { flex: 1 1 200px; min-width: 0; font: 16px var(--body); padding: 13px 14px; border-radius: var(--radius); border: 1px solid var(--concrete-dim); background: var(--asphalt); color: var(--ink); }
.field input:disabled { opacity: .6; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font: 700 18px/1.35 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 26px/1 var(--mono); color: var(--sodium); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--concrete); max-width: 70ch; }

/* footer */
footer { border-top: 6px solid var(--sodium); background: #0c0d0f; padding: 44px 0 60px; font-size: 15px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { color: var(--ink); font: 800 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--concrete); }
.legal { margin-top: 32px; font-size: 13px; }

/* crosswalk divider */
.stripes { height: 18px; background: repeating-linear-gradient(90deg, var(--paper) 0 34px, transparent 34px 60px); opacity: .9; }

/* ── press kit ── */
.press-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
@media (max-width: 860px) { .press-layout { grid-template-columns: 1fr; } }
.factsheet { position: sticky; top: 76px; align-self: start; background: var(--asphalt-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 15px; }
@media (max-width: 860px) { .factsheet { position: static; } }
.factsheet dt { font: 700 11px/1 var(--mono); color: var(--sodium); text-transform: uppercase; letter-spacing: .12em; margin-top: 14px; }
.factsheet dt:first-child { margin-top: 0; }
.factsheet dd { margin: 5px 0 0; color: var(--paper); }
.press-main section { padding: 0 0 52px; }
.press-main h2 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 16px; }
.press-main p, .press-main li { color: var(--concrete); }
.copy-block { background: var(--asphalt-2); border-left: 4px solid var(--sodium); padding: 16px 18px; margin: 10px 0 22px; }
.copy-block p { margin: 0; color: var(--paper); }
.copy-label { font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dl-grid a { color: var(--concrete); text-decoration: none; font-size: 13px; }
.dl-grid img { border-radius: var(--radius); margin-bottom: 6px; aspect-ratio: 16/9; object-fit: cover; }
.logo-tile { aspect-ratio: 16/9; display: grid; place-items: center; border-radius: var(--radius); border: 1px dashed var(--concrete-dim); margin-bottom: 6px; }
.logo-tile.light { background: var(--paper); color: var(--asphalt); }
.logo-tile.dark { background: #000; }
.placeholder { background: rgba(242,169,59,.14); border: 1px dashed var(--sodium-deep); color: #ffd89a; padding: 1px 6px; border-radius: 3px; font-family: var(--mono); font-size: .88em; }
table.plain { border-collapse: collapse; width: 100%; font-size: 15px; }
table.plain th, table.plain td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { color: var(--muted); font-weight: 600; width: 34%; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 中文版：中文字不適合細外框，第二行改實心、縮小 */
:lang(zh-Hant) .hero h1 span { -webkit-text-stroke: 0; color: var(--concrete); font-size: .5em; letter-spacing: .12em; margin-top: .22em; }
:lang(zh-Hant) .hero .tagline { max-width: 27em; }
:lang(zh-Hant) h2 { letter-spacing: .04em; }
.logo-tile img { object-fit: contain; aspect-ratio: auto; width: 88%; margin: 0; border-radius: 0; }
@media (max-width: 760px) { .shots figure:last-child { grid-column: span 2; } }
[id] { scroll-margin-top: 72px; }

/* ── articles ── */
.article { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.article .crumbs { font: 600 13px/1.4 var(--mono); color: var(--muted); margin-bottom: 18px; }
.article .crumbs a { color: var(--concrete); }
.article h1 { font: 900 clamp(32px, 6vw, 54px)/1.02 var(--display); margin: 10px 0 16px; letter-spacing: -.01em; }
.article .byline { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.article h2 { font-size: clamp(24px, 4vw, 34px); margin: 56px 0 14px; text-transform: none; line-height: 1.1; }
.article h3 { font-size: 22px; margin: 36px 0 8px; }
.article p, .article li { color: var(--paper); }
.article .answer { background: var(--asphalt-2); border-left: 4px solid var(--sodium); padding: 16px 20px; font-size: 18px; margin: 0 0 24px; }
.article .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; font-size: 15px; }
.article .toc ol { margin: 6px 0 0; padding-left: 20px; }
.article .meta-list { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 600 12px/1.4 var(--mono); color: var(--concrete); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; padding: 0; list-style: none; }
.article .meta-list li { color: var(--concrete); }
.article .meta-list b { color: var(--sodium); }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--asphalt-2); color: var(--sodium); font: 700 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.article figure { margin: 22px 0; }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.article .disclosure { font-size: 14px; color: var(--muted); border: 1px dashed var(--line); padding: 12px 14px; border-radius: var(--radius); }
.article .cta-box { background: var(--asphalt-2); border: 1px solid var(--line); border-top: 4px solid var(--sodium); padding: 22px; border-radius: var(--radius); margin: 28px 0; }
.article .cta-box h3 { margin-top: 0; }
.sec-head { flex-wrap: wrap; }
