/* Follows imzishan.com: Inter with Instrument Serif italics, JetBrains Mono
   labels, teal accent, lime highlight, glass header, soft panels. */
:root {
  --neutral-0: #fff;
  --neutral-50: #f4f4f4;
  --neutral-100: #efefef;
  --neutral-200: #d0d0d0;
  --neutral-400: #a3a3a3;
  --neutral-600: #5c5c5c;
  --neutral-700: #3a3a3a;
  --neutral-800: #242424;
  --neutral-850: #1a1a1a;
  --neutral-900: #121212;
  --neutral-950: #101010;

  --bg: var(--neutral-50);
  --surface: var(--neutral-0);
  --fg: var(--neutral-900);
  --fg-2: var(--neutral-700);
  --muted: var(--neutral-600);
  --line: rgba(18, 18, 18, 0.1);
  --line-strong: rgba(18, 18, 18, 0.18);
  --accent: #0f766e;
  --accent-fill: #0f766e;
  --on-accent: #fff;
  --secondary: #1e3a8a;
  --tertiary: #4d7c0f;
  --panel-bg: rgba(255, 255, 255, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 0 0 1px rgba(18, 18, 18, 0.04), 0 10px 40px -12px rgba(18, 18, 18, 0.22);
  --glow: rgba(15, 118, 110, 0.28);
  --shot-shadow: 0 24px 60px -24px rgba(18, 18, 18, 0.45);

  --sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius-card: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--neutral-950);
    --surface: var(--neutral-850);
    --fg: var(--neutral-50);
    --fg-2: var(--neutral-200);
    --muted: var(--neutral-400);
    --line: rgba(244, 244, 244, 0.1);
    --line-strong: rgba(244, 244, 244, 0.18);
    --accent: #2dd4bf;
    --secondary: #93c5fd;
    --tertiary: #a3e635;
    --panel-bg: rgba(36, 36, 36, 0.6);
    --glass-bg: rgba(16, 16, 16, 0.28);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 14px 48px -14px rgba(0, 0, 0, 0.65);
    --glow: rgba(45, 212, 191, 0.3);
    --shot-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.9);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--fg); text-wrap: balance; }
p { margin: 0; }
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--fg-2);
}

kbd {
  font: 500 0.82em var(--mono);
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--fg);
  white-space: nowrap;
}

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

/* Labels */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font: 400 12px var(--mono);
  color: var(--muted);
  background: color-mix(in srgb, var(--secondary) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 28%, transparent);
}
.label-pill .num { color: var(--secondary); }
.label-pill .bar { width: 1px; height: 12px; background: var(--line-strong); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: 500 14px/20px var(--sans);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), background-color 0.15s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-outline { color: var(--fg); border: 1px solid var(--line-strong); }
.btn-outline:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); opacity: 1; }
.btn-sm { height: 36px; padding: 0 14px; }

/* Header: a floating glass pill, measured against imzishan.com's so the two
   line up exactly when switching tabs: 16px from the top (20px from 640px),
   reaching 16px past the content on each side, 56px tall. */
.header { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.header .wrap { padding-top: 16px; }
.header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  margin: 0 -16px;
  /* 10px 10px 10px 16px inside the 1px border, as on imzishan.com, where the
     border sits on a separate glass layer. */
  padding: 9px 9px 9px 15px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.logo:hover { text-decoration: none; opacity: 0.8; }
.logo img { width: 22px; height: 22px; }
.logo .dot { color: var(--tertiary); }
.header nav { display: flex; align-items: center; gap: 4px; }
.header nav a {
  padding: 6px 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.header nav a:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-inverse { background: var(--fg); color: var(--bg); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--fg);
  transition: opacity 0.15s var(--ease);
}
.icon-btn:hover { opacity: 0.8; }
.icon-btn svg { width: 16px; height: 16px; display: block; }
@media (min-width: 640px) {
  .header .wrap { padding-top: 20px; }
  .logo { font-size: 22px; }
}
@media (max-width: 767px) {
  .header nav { display: none; }
}

/* Hero */
.hero { padding: 152px 0 72px; overflow-x: clip; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero h1 .serif { display: block; font-size: 0.96em; line-height: 1.08; margin-top: 0.08em; }
.highlight { color: var(--tertiary); }
.lede { margin-top: 24px; max-width: 34em; font-size: 17px; line-height: 1.65; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.meta { margin-top: 20px; font: 400 12px var(--mono); color: var(--muted); }

.hero-visual { position: relative; margin: 0; display: flex; justify-content: center; }
.hero-visual .glow {
  position: absolute;
  inset: -12% -18%;
  background:
    radial-gradient(ellipse 58% 46% at 70% 18%, var(--glow), transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 55%, color-mix(in srgb, var(--glow) 50%, transparent), transparent 72%),
    radial-gradient(ellipse 64% 42% at 40% 92%, color-mix(in srgb, var(--glow) 80%, transparent), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}
.hero-visual img {
  position: relative;
  width: 272px;
  border-radius: 14px;
  box-shadow: var(--shot-shadow);
}

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 768px; margin-bottom: 56px; }
.section-head h2 {
  margin-top: 20px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-lede { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 36em; }

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

/* Feature rows */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.row:first-of-type { padding-top: 0; }
.row .copy h3 { margin-top: 12px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.row .copy p:not(.label) { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.row.flip .copy { order: 2; }
.row.wide { grid-template-columns: 1fr; gap: 32px; }
.row.wide .copy { max-width: 640px; }

.shot { margin: 0; padding: 32px; display: flex; justify-content: center; align-items: center; }
.shot img { border-radius: 12px; box-shadow: var(--shot-shadow); }
.row.wide .shot img { width: 892px; }
.shot.countdown { padding: 64px 32px; }
.shot.countdown img { width: 192px; border-radius: 8px; }

.phrases { list-style: none; margin: 0; padding: 8px; }
.phrases li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 14px;
  border-radius: 10px;
}
.phrases li + li { border-top: 1px solid var(--line); border-radius: 0; }
.phrases code { font: 500 13.5px var(--mono); color: var(--fg); }
.phrases span { font-size: 13px; color: var(--muted); }

/* Small things */
.grid {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid li { padding: 24px; }
.grid svg {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.grid h4, .cards h4 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; }
.grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Privacy and install cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards li { padding: 24px; }
.cards li .label { margin-bottom: 10px; }
.cards li p:not(.label) { color: var(--muted); font-size: 14px; line-height: 1.6; }
.step { display: block; margin-bottom: 14px; font: 500 12px var(--mono); color: var(--secondary); }
.fine { margin-top: 24px; max-width: 44em; color: var(--muted); font-size: 14px; }

.cta {
  margin-top: 32px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.cta p { margin-top: 8px; color: var(--muted); font-size: 14px; max-width: 34em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-top > div { max-width: 30em; }
.footer-top > div p { margin-top: 14px; line-height: 1.7; }
.footer nav { display: flex; flex-direction: column; gap: 8px; min-width: 160px; }
.footer nav .label { color: var(--muted); margin-bottom: 4px; }
.footer nav a { color: var(--fg-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font: 400 12px var(--mono);
}
.footer-bottom a { color: var(--muted); }

/* Scroll reveal, as on imzishan.com */
.can-reveal .reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.can-reveal .reveal:not([data-shown]) { opacity: 0; transform: translateY(16px); }

/* Narrow screens */
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero-inner, .row { grid-template-columns: 1fr; gap: 32px; }
  .row.flip .copy { order: 0; }
  .grid, .cards { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 600px) {
  .shot { padding: 20px; }
  .phrases li { flex-direction: column; }
}
