:root {
  --paper: #ffffff;
  --ink: #141824;
  --muted: #586070;
  --rule: #e3e6ec;
  --cobalt: #2442e0;
  --cobalt-deep: #1a2fa8;
  --hivis: #ffd23f;
  --wash: #f3f5fb;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.glyph { width: 32px; height: 32px; display: block; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 1.6rem; font-size: 0.95rem; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding-top: 3.5rem; padding-bottom: 5rem; }
.hero h1 { font-weight: 800; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 0.96; letter-spacing: -0.045em; margin: 0 0 1.75rem; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 33rem; margin: 0 0 1.5rem; }
.now { margin: 0; font-weight: 500; }

.stage { margin: 0; background: var(--cobalt); border-radius: 28px; padding: 2.5rem 2rem 1.5rem; position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; width: 22rem; height: 22rem; right: -9rem; top: -9rem; border-radius: 50%; background: var(--cobalt-deep); }
.stage figcaption { position: relative; color: #dfe4ff; font-size: 0.85rem; margin-top: 1.25rem; text-align: center; }

.phone { position: relative; width: 272px; margin: 0 auto; background: #0e1018; border-radius: 42px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(8, 14, 60, 0.55); }
.screen { background: #f5f6f8; border-radius: 33px; padding: 14px 14px 10px; font-size: 12px; line-height: 1.35; color: #15181f; min-height: 520px; display: flex; flex-direction: column; }
.status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; padding: 0 6px 10px; }
.dots { width: 46px; height: 10px; border-radius: 6px; background: #15181f; opacity: 0.85; }
.biz { display: flex; gap: 9px; align-items: center; padding: 4px 4px 10px; }
.biz .logo { width: 34px; height: 34px; border-radius: 9px; background: #0f5c3f; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.biz b { display: block; font-size: 13px; }
.biz small { color: #6b7180; }
.greet { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 2px 4px 10px; }
.pill-row { display: flex; gap: 6px; padding: 0 4px 12px; flex-wrap: wrap; }
.pill { background: #0f5c3f; color: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 600; }
.pill.soft { background: #e3efe9; color: #0f5c3f; }
.jobs { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 14px; }
.jobs li { display: grid; grid-template-columns: 40px 1fr; gap: 6px; padding: 11px 12px; border-bottom: 1px solid #eceef2; align-items: start; }
.jobs li:last-child { border-bottom: 0; }
.jobs time { color: #6b7180; font-variant-numeric: tabular-nums; padding-top: 1px; }
.jobs b { display: block; font-weight: 600; }
.jobs small { color: #6b7180; }
.jobs em { grid-column: 2; justify-self: start; font-style: normal; font-weight: 600; font-size: 11px; color: #0f5c3f; background: #e3efe9; border-radius: 999px; padding: 2px 8px; margin-top: 4px; }
.jobs .live { box-shadow: inset 3px 0 0 #0f5c3f; }
.toast { margin: 12px 2px 0; background: #15181f; color: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 500; }
.tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 14px 6px 4px; }
.tabs i { width: 22px; height: 22px; border-radius: 7px; background: #d9dce3; display: block; }
.tabs i.on { background: #0f5c3f; }

/* Beliefs */
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-top: 4rem; padding-bottom: 4.5rem; border-top: 1px solid var(--rule); }
.beliefs h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.beliefs p { margin: 0; color: var(--muted); }

/* Product */
.product { background: var(--wash); padding: 5rem 0; }
.product-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; display: block; flex-shrink: 0; }
.apps-title { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 3rem; line-height: 1; letter-spacing: -0.035em; }
.app-feature h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; line-height: 1; }
.app-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; }
.app-card { background: #fff; border-radius: 22px; padding: 2rem; }
.app-card h3 { font-size: 1.9rem; margin: 1.1rem 0 0; line-height: 1.05; }
.app-card .state { margin-bottom: 1rem; }
.app-card p { margin-top: 0; }
.app-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.app-card li + li { margin-top: 0.3rem; }
.app-card.kelp { box-shadow: inset 0 4px 0 #0F3D32; }
.app-card.leak { box-shadow: inset 0 4px 0 #2DD4BF; }
.state { margin: 0.35rem 0 0; color: var(--muted); }
.state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hivis); box-shadow: 0 0 0 3px #fff3c4; margin-right: 0.55rem; vertical-align: 1px; }
.product-lede { font-size: 1.3rem; max-width: 42rem; margin: 0 0 2.5rem; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 3rem; }
.features li { color: var(--muted); padding-top: 1rem; border-top: 2px solid var(--ink); }
.features b { color: var(--ink); display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.2rem; }

/* Company */
.company { display: grid; grid-template-columns: 16rem 1fr; gap: 2rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.company h2 { font-size: 1.6rem; margin: 0; }
.facts { margin: 0; display: grid; gap: 0.9rem; }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 4.5rem 0; }
.contact h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.4rem; }
.contact p { color: #b9bfcc; margin: 0 0 1.5rem; }
.email { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.6rem); color: var(--hivis); text-decoration: none; letter-spacing: -0.02em; border-bottom: 3px solid currentColor; }
.email:hover { color: #fff; }
.email:focus-visible { outline-color: var(--hivis); }

/* Footer */
footer { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; padding-bottom: 2.5rem; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); }

/* Privacy page */
.doc { max-width: 44rem; padding-top: 3rem; padding-bottom: 4rem; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; margin: 0 0 0.5rem; }
.doc h2 { font-size: 1.3rem; margin: 2.2rem 0 0.4rem; }
.doc .updated { color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2rem; padding-bottom: 3.5rem; }
  .beliefs { grid-template-columns: 1fr; gap: 1.75rem; }
  .features { grid-template-columns: 1fr; }
  .app-pair { grid-template-columns: 1fr; margin-top: 3rem; }
  .company { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 560px) {
  .top nav a { margin-left: 1rem; font-size: 0.9rem; }
  .top nav a:first-child { display: none; }
  .stage { padding: 1.75rem 1rem 1.25rem; border-radius: 22px; }
  .facts div { grid-template-columns: 1fr; gap: 0.1rem; }
  .product, .contact { padding: 3.5rem 0; }
}
