:root {
  --ink: #0d0d0d;
  --paper: #f0ece4;
  --accent: #d4500a;
  --mid: #8a8070;
  --line: #c8c0b0;
  --card: #e8e2d8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; background: var(--paper); color: var(--ink); font-family: 'IBM Plex Mono', monospace; }
a { color: inherit; }
.site-header { min-height: 76px; border-bottom: 2px solid var(--ink); padding: 18px 40px; display: flex; align-items: center; gap: 18px; }
.logo { color: var(--accent); font-family: 'Unbounded', sans-serif; font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.logo:hover { color: var(--ink); }
.header-title { font-family: 'Unbounded', sans-serif; font-size: .78rem; line-height: 1.4; }
.back-link { margin-left: auto; color: var(--mid); font-size: .68rem; text-decoration: none; }
.back-link:hover { color: var(--accent); }
.page-lang { border: 1.5px solid var(--line); color: var(--mid); font-family: 'Unbounded', sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .1em; padding: 5px 9px; text-decoration: none; }
.page-lang:hover { border-color: var(--ink); color: var(--ink); }
.hero { border-bottom: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.hero-copy { min-height: 430px; padding: 64px 6vw; border-right: 2px solid var(--ink); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin-bottom: 18px; color: var(--accent); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 900px; font-family: 'Unbounded', sans-serif; font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
.lead { max-width: 760px; margin-top: 24px; color: #39342d; font-size: .88rem; line-height: 1.8; }
.cta { width: fit-content; margin-top: 30px; padding: 16px 22px; background: var(--accent); color: #fff; font-family: 'Unbounded', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.cta:hover { background: #b8420a; }
.hero-aside { padding: 44px 30px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.fact { padding-left: 13px; border-left: 3px solid var(--ink); }
.fact dt { margin-bottom: 5px; color: var(--mid); font-size: .58rem; letter-spacing: .11em; text-transform: uppercase; }
.fact dd { font-size: .74rem; line-height: 1.65; }
.content { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 76px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px 70px; }
.section-label { margin-bottom: 14px; color: var(--accent); font-family: 'Unbounded', sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin-bottom: 16px; font-family: 'Unbounded', sans-serif; font-size: 1.15rem; line-height: 1.4; }
.text-block p, .text-block li { color: #39342d; font-size: .77rem; line-height: 1.85; }
.text-block p + p { margin-top: 12px; }
.text-block ul { padding-left: 20px; }
.text-block li + li { margin-top: 8px; }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li { position: relative; min-height: 34px; padding-left: 45px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--accent); font-family: 'Unbounded', sans-serif; font-size: .7rem; font-weight: 700; }
.faq { margin-top: 72px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: 'Unbounded', sans-serif; font-size: .72rem; font-weight: 700; line-height: 1.5; }
.faq details p { max-width: 850px; margin-top: 12px; color: #39342d; font-size: .75rem; line-height: 1.8; }
.demo-note { margin-top: 54px; padding: 28px 30px; background: var(--card); border-left: 4px solid var(--accent); }
.content > .demo-note:first-child { margin: 0 0 48px; }
.demo-note h2 { margin-bottom: 10px; }
.demo-note p { max-width: 900px; color: #39342d; font-size: .75rem; line-height: 1.8; }
.demo-note p + p { margin-top: 8px; }
.launch-note { color: var(--accent) !important; }
.demo-note a { color: var(--accent); font-weight: 700; text-decoration: none; }
.demo-note a:hover { text-decoration: underline; }
.final-cta { margin-top: 72px; padding: 36px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.final-cta h2 { margin: 0; font-size: 1rem; }
.final-cta .cta { margin: 0; flex-shrink: 0; }
.related { margin-top: 30px; color: var(--mid); font-size: .68rem; line-height: 2; }
.related a { margin-right: 16px; text-decoration: none; }
.related a:hover { color: var(--accent); }
.site-footer { padding: 18px 40px; border-top: 2px solid var(--ink); color: var(--mid); display: flex; flex-wrap: wrap; gap: 18px; font-size: .62rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer a[href^="/?lang="],
.site-footer a[href="/en/"] { margin-left: auto; }

@media (max-width: 820px) {
  .site-header { padding: 14px 20px; }
  .header-title { font-size: .64rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding: 48px 24px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .hero-aside { padding: 32px 24px; }
  .content { width: min(100% - 40px, 680px); padding: 48px 0 56px; }
  .content-grid { grid-template-columns: 1fr; gap: 42px; }
  .faq, .demo-note, .final-cta { margin-top: 52px; }
  .final-cta { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 16px 20px; }
}

@media (max-width: 500px) {
  h1 { font-size: 1.85rem; }
  .back-link { display: none; }
  .cta { width: 100%; text-align: center; }
}
