:root {
  --bg: #0d0f0e;
  --bg-soft: #121513;
  --surface: #171a18;
  --surface-2: #1d211e;
  --ink: #f3f5ee;
  --muted: #a1a89e;
  --faint: #70786f;
  --line: #2b302c;
  --line-strong: #414940;
  --accent: #d9ff68;
  --accent-ink: #152000;
  --teal: #6ee7c8;
  --warm: #ffc67c;
  --danger: #ff8b84;
  --radius: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% -8%, rgba(217, 255, 104, .10), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font: 15px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(13, 15, 14, .82);
  border-bottom: 1px solid rgba(65, 73, 64, .55);
}
.topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.05em; font-size: 22px; }
.brand-mark { width: 11px; height: 11px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 26px rgba(217, 255, 104, .55); transform: rotate(12deg); }
.topnav { display: flex; align-items: center; gap: 24px; }
.topnav a { text-decoration: none; color: var(--muted); font-size: 13px; }
.topnav a:hover { color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 17px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ink); background: transparent; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: #e4ff8e; }
.button.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.button.ghost { background: rgba(255,255,255,.025); }

.eyebrow { color: var(--accent); font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 54px; align-items: center; }
.hero h1 { margin: 18px 0 20px; max-width: 760px; font-size: clamp(46px, 7.2vw, 82px); line-height: 1.02; letter-spacing: -.075em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lead { max-width: 680px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; }
.proof-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.signal-card { position: relative; overflow: hidden; padding: 26px; background: linear-gradient(145deg, #20251f, #151816); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow); }
.signal-card::after { content: ""; position: absolute; right: -65px; top: -75px; width: 190px; height: 190px; border-radius: 50%; background: rgba(217,255,104,.08); filter: blur(2px); }
.signal-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.signal-card h2 { margin: 26px 0 8px; font-size: 27px; letter-spacing: -.05em; }
.signal-card > p { color: var(--muted); margin: 0; }
.signal-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.signal-list li { display: flex; justify-content: space-between; gap: 18px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 13px; }
.signal-list span { color: var(--muted); }
.signal-list b { font-weight: 700; text-align: right; }

.section { padding: 74px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-head h2 { margin: 6px 0 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.08; letter-spacing: -.055em; }
.section-head p { max-width: 510px; margin: 0; color: var(--muted); }

.flagship { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; }
.flagship-copy { padding: clamp(28px, 5vw, 54px); }
.flagship h3 { margin: 12px 0; font-size: clamp(31px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -.065em; }
.flagship-copy > p { max-width: 610px; color: var(--muted); font-size: 17px; }
.feature-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 28px 0 32px; }
.feature-points div { padding: 13px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }
.feature-points b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 14px; }
.flagship-offer { padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(155deg, #d9ff68 0%, #bce84b 100%); color: #172100; }
.flagship-offer small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price { margin: 14px 0 0; font-size: 55px; font-weight: 900; letter-spacing: -.07em; }
.price span { font-size: 15px; letter-spacing: 0; }
.flagship-offer p { margin: 4px 0 24px; color: rgba(23,33,0,.75); }
.flagship-offer .button { border-color: rgba(23,33,0,.35); color: #172100; }
.flagship-offer .button:hover { background: rgba(255,255,255,.28); border-color: #172100; }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card { min-height: 220px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .18s, transform .18s, background .18s; }
.tool-card:hover { border-color: var(--accent); transform: translateY(-3px); background: var(--surface-2); }
.tool-card .tool-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.tool-card .tool-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #242a21; color: var(--accent); font-size: 14px; font-weight: 900; }
.tool-card h3 { margin: 22px 0 7px; font-size: 22px; letter-spacing: -.045em; }
.tool-card p { margin: 0; color: var(--muted); font-size: 14px; }
.tool-card .arrow { margin-top: auto; padding-top: 22px; color: var(--accent); font-weight: 700; font-size: 13px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.product-card { display: flex; min-height: 300px; flex-direction: column; padding: 30px; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); text-decoration: none; }
.product-card:hover { border-color: var(--line-strong); }
.product-card::after { content: attr(data-mark); position: absolute; right: -8px; bottom: -48px; color: rgba(255,255,255,.035); font-size: 150px; font-weight: 900; line-height: 1; letter-spacing: -.1em; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.pill.warm { color: var(--warm); }
.product-card h3 { margin: 38px 0 9px; font-size: 30px; letter-spacing: -.055em; }
.product-card p { max-width: 500px; margin: 0; color: var(--muted); }
.product-card .arrow { margin-top: auto; padding-top: 28px; position: relative; z-index: 2; color: var(--accent); font-weight: 750; }

.proof-section { background: linear-gradient(180deg, rgba(110,231,200,.025), transparent); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.proof-card { display: flex; flex-direction: column; min-height: 390px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.proof-meta { display: flex; justify-content: space-between; gap: 14px; color: var(--faint); font: 600 11px/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; }
.proof-meta span { color: var(--teal); }
.proof-card h3 { margin: 24px 0 20px; font-size: 22px; line-height: 1.2; letter-spacing: -.04em; }
.proof-card h3 a { text-decoration: none; }
.proof-card h3 a:hover { color: var(--accent); }
.proof-card dl { display: grid; gap: 13px; margin: 0; }
.proof-card dl div { display: grid; grid-template-columns: 42px 1fr; gap: 11px; padding-top: 12px; border-top: 1px solid var(--line); }
.proof-card dt { color: var(--ink); font-size: 12px; font-weight: 800; }
.proof-card dd { margin: 0; color: var(--muted); font-size: 13px; }
.proof-link { margin-top: auto; padding-top: 22px; color: var(--accent); font-size: 13px; font-weight: 750; text-decoration: none; }

.lab-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(125deg, rgba(217,255,104,.045), transparent 55%), var(--bg-soft); }
.lab-panel h3 { margin: 8px 0 12px; font-size: 31px; line-height: 1.1; letter-spacing: -.05em; }
.lab-panel .intro { color: var(--muted); }
.lab-steps { display: grid; gap: 10px; }
.lab-step { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 15px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 13px; }
.lab-step b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--surface-2); color: var(--accent); }
.lab-step strong { display: block; }
.lab-step span { color: var(--muted); font-size: 12px; }
.lab-step em { color: var(--faint); font-style: normal; font-size: 12px; }
.archive-link { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 13px; text-underline-offset: 4px; }

.closing { padding: 72px 0 82px; }
.closing-card { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: clamp(28px, 5vw, 50px); border-radius: 24px; background: var(--accent); color: var(--accent-ink); }
.closing-card h2 { max-width: 680px; margin: 0; font-size: clamp(29px, 4.5vw, 48px); line-height: 1.08; letter-spacing: -.06em; }
.closing-card p { margin: 9px 0 0; color: rgba(21,32,0,.72); }
.closing-card .button { flex: none; border-color: rgba(21,32,0,.35); color: var(--accent-ink); }
footer { border-top: 1px solid var(--line); padding: 28px 0 38px; color: var(--faint); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
footer a { text-underline-offset: 3px; }

/* Private workspace */
.workspace { background: radial-gradient(circle at 14% 0%, rgba(110,231,200,.07), transparent 28rem), var(--bg); }
.workspace .topbar { position: static; }
.workspace-main { padding: 46px 0 70px; }
.workspace-hero { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.workspace-hero h1 { margin: 8px 0 6px; font-size: clamp(38px, 6vw, 62px); line-height: 1; letter-spacing: -.07em; }
.workspace-hero p { margin: 0; color: var(--muted); }
.date-chip { flex: none; color: var(--muted); font: 600 12px ui-monospace, monospace; }
.status-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin:18px 0; }
.status-toolbar time { color:var(--muted); font-size:12px; }
.status-toolbar button:disabled { opacity:.6; cursor:wait; }
.priority-panel { margin: 28px 0 16px; padding: 22px; border: 1px solid var(--line-strong); border-radius: 19px; background: linear-gradient(120deg, rgba(217,255,104,.055), transparent 44%), var(--bg-soft); }
.priority-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 15px; }
.priority-head h2 { margin: 4px 0 0; font-size: 25px; letter-spacing: -.045em; }
.priority-head p { margin: 0; color: var(--muted); font-size: 12px; }
.priority-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.priority-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 11px; align-items: start; min-height: 130px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); text-decoration: none; }
.priority-item:hover { border-color: var(--accent); }
.priority-item[data-tone="critical"] { border-color: rgba(255,139,132,.48); }
.priority-item[data-tone="warn"] { border-color: rgba(255,198,124,.44); }
.priority-rank { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: var(--surface-2); color: var(--accent); font: 700 11px ui-monospace, monospace; }
.priority-item[data-tone="critical"] .priority-rank { color: var(--danger); }
.priority-item[data-tone="warn"] .priority-rank { color: var(--warm); }
.priority-copy { min-width: 0; }
.priority-copy small { display: block; margin-bottom: 4px; color: var(--faint); font-size: 10px; }
.priority-copy strong { display: block; font-size: 15px; line-height: 1.35; }
.priority-copy > span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.priority-item em { color: var(--faint); font-style: normal; }
.priority-placeholder { min-height: 130px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(100deg, var(--surface) 20%, var(--surface-2) 48%, var(--surface) 76%); background-size: 240% 100%; animation: priority-load 1.4s ease infinite; }
@keyframes priority-load { to { background-position: -220% 0; } }
.status-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin-bottom: 48px; }
.status-card { min-height: 130px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); text-decoration: none; }
.status-card:hover { border-color: var(--line-strong); }
.status-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.status-label i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--faint); }
.status-card.ready .status-label i { background: var(--teal); box-shadow: 0 0 10px rgba(110,231,200,.5); }
.status-card.unavailable .status-label i { background:var(--warm); box-shadow:none; }
.status-card.unavailable .status-note { color:var(--warm); }
.status-value { display: block; margin-top: 19px; font-size: 23px; font-weight: 800; letter-spacing: -.045em; }
.status-note { display: block; margin-top: 3px; color: var(--faint); font-size: 11px; }
.work-section { margin-top: 48px; }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 16px; }
.work-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.045em; }
.work-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.flow { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.flow-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
.flow-head h3 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.flow-head span { color: var(--muted); font-size: 12px; }
.flow-steps { display: grid; gap: 8px; }
.flow-link { display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; background: rgba(255,255,255,.018); }
.flow-link:hover { border-color: var(--accent); }
.flow-link b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); color: var(--accent); font-size: 12px; }
.flow-link strong { display: block; font-size: 14px; }
.flow-link small { display: block; color: var(--muted); font-size: 11px; }
.flow-link em { color: var(--faint); font-style: normal; }
.command-loop { margin-top: 12px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 12px; }
.command-loop strong { color: var(--ink); }
.cmd { display: inline-flex; align-items: center; margin: 6px 4px 0 0; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: #0e100f; color: var(--teal); font: 11px ui-monospace, monospace; cursor: pointer; }
.cmd:hover { border-color: var(--teal); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.workspace-card { display: flex; flex-direction: column; min-height: 164px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); text-decoration: none; }
.workspace-card:hover { border-color: var(--accent); }
.workspace-card h3 { margin: 0; font-size: 18px; letter-spacing: -.035em; }
.workspace-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.workspace-card .go { margin-top: auto; padding-top: 14px; color: var(--accent); font-size: 12px; font-weight: 700; }
.live-badge { display: none; align-self: flex-start; margin-top: 9px; padding: 3px 7px; border-radius: 7px; background: var(--surface-2); color: var(--teal); font-size: 10px; }
.live-badge:not(:empty) { display: inline-block; }
.toolbelt { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.tool-link { padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); text-decoration: none; }
.tool-link:hover { border-color: var(--accent); }
.tool-link strong { display: block; font-size: 13px; }
.tool-link span { color: var(--muted); font-size: 11px; }
.workspace-foot { margin-top: 52px; display: flex; justify-content: space-between; gap: 20px; color: var(--faint); font-size: 12px; }
.workspace-foot a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero-grid, .flagship, .lab-panel { grid-template-columns: 1fr; }
  .tool-grid, .proof-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .status-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .priority-list { grid-template-columns: 1fr; }
  .flagship-offer { min-height: 280px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .topbar-inner { gap: 10px; }
  .topnav { gap: 7px; }
  .topnav a:not(.button) { display: none; }
  .topnav .button { min-height: 34px; padding: 0 10px; font-size: 11px; }
  .hero { padding: 62px 0 52px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(43px, 14vw, 65px); }
  .section { padding: 56px 0; }
  .section-head, .workspace-hero, .work-heading, .priority-head { display: block; }
  .section-head p, .work-heading p { margin-top: 10px; }
  .tool-grid, .product-grid, .proof-grid, .flow-grid, .card-grid { grid-template-columns: 1fr; }
  .feature-points { grid-template-columns: 1fr; }
  .tool-card { min-height: 190px; }
  .lab-panel { padding: 24px; gap: 28px; }
  .lab-step { grid-template-columns: 34px 1fr; }
  .lab-step em { display: none; }
  .closing-card { display: block; }
  .closing-card .button { margin-top: 24px; }
  .footer-inner { display: block; }
  .footer-inner span { display: block; margin-top: 8px; }
  .workspace-main { padding-top: 34px; }
  .date-chip { display: block; margin-top: 13px; }
  .priority-panel { padding: 17px; }
  .priority-head p { margin-top: 8px; }
  .status-grid { margin-bottom: 38px; }
  .toolbelt { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workspace-foot { display: block; }
}

@media (max-width: 430px) {
  .workspace .brand { font-size: 18px; }
  .status-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .status-card { min-height: 120px; padding: 15px; }
  .status-value { margin-top: 12px; }
}

@media (max-width: 330px) {
  .status-grid { grid-template-columns: 1fr; }
}

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