:root {
  color-scheme: dark;
  --canvas: #0b0d0c;
  --surface: #121411;
  --raised: #191a16;
  --soft: #20211c;
  --line: #36372f;
  --line-strong: #4a4b40;
  --bone: #f2eee4;
  --muted: #aaa598;
  --warm: #d3a956;
  --warm-strong: #edbf63;
  --sage: #92a99a;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--bone); line-height: 1.55; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--bone);
  color: var(--canvas);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
.section-shell,
.problem-strip { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; letter-spacing: -0.04em; white-space: nowrap; }
.wordmark strong { font-size: 1.8rem; line-height: 1; }
.wordmark span { color: var(--warm); font: 700 0.82rem/1 monospace; letter-spacing: 0.02em; }

.site-header nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-header nav a,
.site-footer a { color: var(--muted); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover,
.site-footer a:hover { color: var(--bone); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}
.button:hover { border-color: var(--warm); }
.button-primary { background: var(--warm-strong); border-color: var(--warm-strong); color: #18150f; }
.button-primary:hover { background: #f4cb76; color: #18150f; }
.button-secondary { background: var(--soft); color: var(--bone); }
.button-quiet { min-height: 38px; background: transparent; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 90px;
}

.eyebrow,
.plan-label {
  margin: 0 0 14px;
  color: var(--warm-strong);
  font: 800 0.72rem/1.25 "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.75rem, 6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.055em; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.03; letter-spacing: -0.045em; }
h3 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.25; }

.hero-lede,
.section-intro > p:last-child,
.detail-copy > p:last-child { max-width: 690px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.trust-list { display: flex; flex-wrap: wrap; gap: 9px 22px; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: 0.76rem; font-weight: 700; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--sage); }

.clock-window { border: 1px solid var(--line-strong); border-radius: 7px; background: var(--raised); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28); overflow: hidden; }
.window-bar,
.sheet-row,
.sheet-footer { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
.window-bar { grid-template-columns: 1fr auto; padding: 0 16px; color: var(--muted); font: 700 0.66rem/1 monospace; letter-spacing: 0.12em; }
.mini-wordmark { display: inline-flex; align-items: baseline; color: var(--bone); letter-spacing: -0.04em; }
.mini-wordmark strong { font: 800 1.05rem/1 Arial, sans-serif; }
.mini-wordmark span { color: var(--warm); letter-spacing: 0; }
.sheet-row span,
.sheet-row strong,
.sheet-footer span { min-height: 48px; display: flex; align-items: center; padding: 0 14px; border-right: 1px solid var(--line); }
.sheet-row span:last-child,
.sheet-row strong:last-child,
.sheet-footer span:last-child { border-right: 0; }
.sheet-heading { min-height: 34px; color: var(--muted); font: 700 0.62rem/1 monospace; letter-spacing: 0.08em; }
.sheet-heading span { min-height: 34px; }
.sheet-values strong { color: var(--bone); font: 700 0.82rem/1 monospace; }
.sheet-values strong:first-child { color: var(--sage); }
.clock-panel { padding: 55px 34px 45px; text-align: center; }
.clock-panel p { color: var(--muted); font: 700 0.68rem/1 monospace; letter-spacing: 0.12em; }
.clock-panel time { display: block; margin: 16px 0 30px; font-size: clamp(3.8rem, 8vw, 6.6rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.07em; }
.clock-panel button { width: min(260px, 100%); min-height: 48px; border: 1px solid var(--warm-strong); border-radius: 4px; background: var(--warm-strong); color: #18150f; font-weight: 800; opacity: 1; }
.clock-panel small { display: block; margin-top: 15px; color: var(--muted); }
.sheet-footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font: 700 0.62rem/1 monospace; letter-spacing: 0.08em; }
.sheet-footer span { justify-content: center; }

.problem-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.problem-strip div { min-height: 130px; padding: 24px; border-right: 1px solid var(--line); }
.problem-strip div:last-child { border-right: 0; }
.problem-strip span { color: var(--warm); font: 700 0.7rem/1 monospace; }
.problem-strip p { margin: 14px 0 0; font-weight: 700; line-height: 1.35; }

.content-section,
.managed-detail,
.faq-section { padding-block: 120px; }
.section-intro { max-width: 850px; margin-bottom: 48px; }
.section-intro.compact { max-width: 760px; }
.steps-grid,
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps-grid article,
.plan-card { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.steps-grid article { min-height: 270px; padding: 28px; }
.steps-grid article p { color: var(--muted); }
.steps-grid article > strong { display: inline-block; margin-top: 20px; color: var(--warm-strong); font: 700 0.72rem/1 monospace; text-transform: uppercase; }
.step-number { display: block; margin-bottom: 42px; color: var(--sage); font: 700 0.72rem/1 monospace; }

.plans-section { padding-block: 110px; border-block: 1px solid var(--line); background: var(--surface); }
.plans-section .plan-card { min-height: 520px; display: flex; flex-direction: column; padding: 30px; background: var(--canvas); }
.plan-card.featured { border-color: var(--warm); }
.plan-card h3 { margin-bottom: 16px; font-size: 1.75rem; letter-spacing: -0.035em; }
.plan-card h3 small { color: var(--muted); font-size: 0.78rem; letter-spacing: 0; }
.plan-card p { color: var(--muted); }
.plan-card ul { margin: 20px 0 32px; padding: 0; color: var(--muted); list-style: none; }
.plan-card li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); }
.plan-card li::before { position: absolute; left: 0; content: "+"; color: var(--sage); font-family: monospace; }
.plan-card .button { width: 100%; margin-top: auto; }

.managed-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr); gap: clamp(45px, 8vw, 110px); align-items: center; }
.module-table { border: 1px solid var(--line-strong); background: var(--raised); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28); }
.module-table [role="row"] { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.module-table [role="row"]:last-child { border-bottom: 0; }
.module-table [role="cell"] { min-height: 68px; display: flex; align-items: center; padding: 15px; border-right: 1px solid var(--line); color: var(--muted); font: 700 0.76rem/1.2 monospace; text-transform: uppercase; }
.module-table [role="cell"]:last-child { border-right: 0; }
.module-table [role="row"]:last-child [role="cell"]:last-child { color: var(--warm-strong); }

.faq-section { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.faq-grid details { min-height: 150px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid details:nth-child(2n) { border-right: 0; }
.faq-grid details:nth-last-child(-n+2) { border-bottom: 0; }
.faq-grid summary { cursor: pointer; font-weight: 800; }
.faq-grid p { margin: 18px 0 0; color: var(--muted); }

.final-cta { padding-block: 95px; border-block: 1px solid var(--line); background: var(--raised); }
.final-cta h2 { max-width: 820px; }
.site-footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.site-footer div { display: flex; gap: 18px; }
:focus-visible { outline: 2px solid var(--warm-strong); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 72px; }
  .hero-copy { max-width: 720px; }
  .clock-window { width: min(620px, 100%); }
  .problem-strip,
  .steps-grid,
  .plans-grid { grid-template-columns: 1fr; }
  .problem-strip div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-strip div:last-child { border-bottom: 0; }
  .managed-detail { grid-template-columns: 1fr; }
  .module-table { width: min(680px, 100%); }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .section-shell,
  .problem-strip { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 68px; }
  .site-header .button { min-height: 38px; padding-inline: 12px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero { gap: 48px; padding-block: 58px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; }
  .clock-panel { padding-inline: 18px; }
  .sheet-row span,
  .sheet-row strong { padding-inline: 9px; font-size: 0.6rem; }
  .content-section,
  .managed-detail,
  .faq-section { padding-block: 85px; }
  .plans-section { padding-block: 80px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid details,
  .faq-grid details:nth-child(2n),
  .faq-grid details:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq-grid details:last-child { border-bottom: 0; }
  .module-table [role="cell"] { min-height: 58px; padding: 9px; font-size: 0.63rem; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; padding-block: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
