/* SubTruss marketing site. Layout follows StoreCrew's landing page; colours are SubTruss's own (navy + orange). */
:root {
  --bg: #F5F4F0; --surface: #FFFFFF; --ink: #17212B; --dim: #56616B; --line: #E1DED6;
  --navy: #1B2A3A; --accent: #C8611A; --accent-dark: #A84F12; --accent-soft: #FBEADC; --ok: #2E7D4F; --ok-soft: #E2F2E8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #10161C; --surface: #18212A; --ink: #EEF2F5; --dim: #A3AEB8; --line: #2A3540; --accent: #F08A3C; --accent-dark: #C8611A; --accent-soft: #3A2616; --ok: #6CC18F; --ok-soft: #173325; }
}
:root[data-theme="dark"] { --bg: #10161C; --surface: #18212A; --ink: #EEF2F5; --dim: #A3AEB8; --line: #2A3540; --accent: #F08A3C; --accent-dark: #C8611A; --accent-soft: #3A2616; --ok: #6CC18F; --ok-soft: #173325; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.55; }
html[lang="ko"] body { font-family: Manrope, "Noto Sans KR", system-ui, sans-serif; word-break: keep-all; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.lead { color: var(--dim); font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; }
.fine { color: var(--dim); font-size: 13.5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 800; font-size: 16px; white-space: nowrap; border: 2px solid transparent; }
.btn:focus-visible, .lang button:focus-visible, .theme-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
@media (max-width: 480px) { .btn { white-space: normal; height: auto; min-height: 50px; padding: 12px 20px; text-align: center; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--dim); font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--accent); border-radius: 999px; overflow: hidden; height: 32px; }
.lang button { font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .05em; min-width: 40px; padding: 0 10px; border: 0; background: transparent; color: var(--accent); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.theme-btn { width: 34px; height: 32px; border-radius: 999px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font-size: 16px; cursor: pointer; padding: 0; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-weight: 700; font-size: 14px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-art { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.14); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--navy); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mock-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.mock-title { font-weight: 800; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mock-table th { text-align: left; color: var(--dim); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.mock-table td:nth-child(2) { width: 48px; font-variant-numeric: tabular-nums; }
.mock-table th:last-child, .mock-table td:last-child { text-align: right; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.draft { background: var(--accent-soft); color: var(--accent); }
.mock-note { color: var(--dim); font-size: 14px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; padding: 18px 20px; color: var(--dim); font-weight: 700; font-size: 14.5px; }
.strip span::before { content: "✓ "; color: var(--accent); }

/* sections */
section { padding: clamp(56px, 8vw, 100px) 0; }
section.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
:root[data-theme="dark"] .step::before { background: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step::before { background: var(--accent); } }
.step p, .card p { color: var(--dim); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.split .copy ul { margin: 0; padding-left: 20px; color: var(--dim); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.band .card { background: var(--bg); }
.note-card { border-left: 5px solid var(--accent); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.faq details { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); margin-top: 10px; max-width: 40em; }

.cta-band { background: #1B2A3A; color: #fff; } /* fixed navy in both themes */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band .wrap > div { display: flex; flex-direction: column; gap: 10px; max-width: 40em; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); }
.cta-band .btn-primary { background: #F08A3C; color: #17212B; }
.cta-band .btn-primary:hover { background: #F6A365; }
.early-soon { font-weight: 800; color: #fff !important; }

footer { padding: 32px 0 40px; color: var(--dim); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
footer .brand { font-size: 16px; }
[hidden] { display: none !important; }
