/*
Theme Name: Stackifo
Theme URI: https://www.stackifo.com
Description: The 2026 Stackifo WP Theme
Author: Stackifo
Author URI: https://www.stackifo.com
Version: 1.3.3.7
Tested up to: 6.9
Requires at least: 3.0
Requires PHP: 5.2.4
License: GNU DBAD
Tags: blog, two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header, featured-images, footer-widgets, featured-image-header, block-patterns
Text Domain: stackifo
*/

:root {
  --bg: #242422;
  --surface: #30302E;
  --surface-2: #2A2A28;
  --header-bg: #262624;
  --border: #3A3A38;
  --border-strong: #4A4A47;
  --text: #F5F5F3;
  --text-dim: #9A9A95;
  --text-faint: #6E6E69;
  --accent: #D4BE96;
  --accent-soft: rgba(212, 190, 150, 0.12);
  --accent-glow: rgba(212, 190, 150, 0.18);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-soft: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 12px rgba(0,0,0,0.25);
  --ease: cubic-bezier(.2,.7,.2,1);
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
}
::selection { background: var(--accent-soft); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
code, pre, .mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

html { scroll-behavior: smooth; }

/* ----- Layout ----- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ----- Header ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(38, 38, 36, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
}
.logo-mark {
  width: 48px; height: 48px; border-radius: 10px;
  background: #1a1a18;
  border: 1px solid var(--border-strong);
  display: block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  object-fit: cover;
}
.nav {
  display: flex; gap: 4px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav a {
  padding: 6px 12px; color: var(--text-dim); font-size: 14px;
  border-radius: 6px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.header-cta { display: flex; align-items: center; gap: 8px; }

/* WordPress nav menu adjustments */
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { margin: 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 500; line-height: 1;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-ghost {
  color: var(--text); background: transparent; border-color: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); }
.btn-secondary {
  color: var(--text); background: var(--header-bg);
  border-color: var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-secondary:hover { border-color: var(--border-strong); background: #2C2C2A; }
.btn-primary {
  color: #2A2519; background: var(--accent);
  border-color: rgba(0,0,0,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 2px rgba(0,0,0,0.3);
  font-weight: 600;
}
.btn-primary:hover { background: #DCC79F; transform: translateY(-1px); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; border-radius: 10px; }
.arrow { transition: transform .2s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(2px); }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; pointer-events: none;
  right: -10%; top: -10%;
  width: 900px; height: 900px;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 55%);
  opacity: 0.8;
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 460px;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; font-size: 12.5px; color: var(--text-dim);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212,190,150,0.15);
}
.eyebrow strong { color: var(--text); font-weight: 500; }
.hero h1 {
  font-size: 60px; line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 500; margin: 0 0 20px;
  color: var(--text);
  max-width: 540px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal; color: var(--text-dim);
}
.hero-sub {
  font-size: 17px; line-height: 1.55; color: var(--text-dim);
  max-width: 460px; margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 10px; }

/* ----- iPhone mockup ----- */
.phone-wrap {
  display: flex; justify-content: center;
  perspective: 1400px;
}
.phone {
  --pw: 320px;
  --ph: 660px;
  width: var(--pw);
  height: var(--ph);
  border-radius: 52px;
  background: linear-gradient(165deg, #1a1a18 0%, #0e0e0c 100%);
  padding: 7px;
  position: relative;
  box-shadow:
    inset 0 0 0 1.5px #3A3A38,
    inset 0 0 0 3px #0a0a08,
    0 30px 80px rgba(0,0,0,0.55),
    0 12px 28px rgba(0,0,0,0.35);
  transform: rotateY(-6deg) rotateX(2deg);
}
.phone::before {
  /* side button highlight */
  content: ""; position: absolute;
  left: -2px; top: 130px; width: 2px; height: 60px;
  background: #2a2a28; border-radius: 2px 0 0 2px;
}
.phone::after {
  content: ""; position: absolute;
  right: -2px; top: 160px; width: 2px; height: 90px;
  background: #2a2a28; border-radius: 0 2px 2px 0;
}
.screen {
  width: 100%; height: 100%;
  border-radius: 46px;
  background:
    radial-gradient(120% 80% at 50% 0%, #2e2a23 0%, #1a1815 45%, #0e0d0b 100%);
  position: relative;
  overflow: hidden;
}
/* Status bar */
.status-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px 0;
  font-size: 14px; font-weight: 600; color: #fff;
  z-index: 5;
}
.status-right { display: flex; align-items: center; gap: 6px; }
.status-right svg { width: 16px; height: 11px; }
/* Dynamic island */
.island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 36px; border-radius: 22px;
  background: #000;
  z-index: 6;
}
/* Lock-screen time */
.lock-time {
  position: absolute; top: 66px; left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-weight: 200;
  font-size: 78px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.lock-date {
  position: absolute; top: 152px; left: 0; right: 0;
  text-align: center;
  color: #fff; opacity: 0.9;
  font-size: 14px; font-weight: 500;
}

/* Notification stack */
.notif-stack {
  position: absolute; left: 12px; right: 12px;
  top: 200px; bottom: 90px;
  display: flex; flex-direction: column-reverse;
  gap: 6px;
  overflow: hidden;
  padding-top: 30px; /* room for tightening overflow */
}
.notif {
  background: rgba(58, 58, 58, 0.55);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: start;
  color: #fff;
  transform-origin: 50% 0%;
  will-change: transform, opacity;
}
.notif-app {
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  background: #1a1a18;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  font-size: 19px; line-height: 1;
}
.notif-app img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Coloured app glyphs for variety on the lock screen */
.notif-app.alt-money { background: #2a2519; }
.notif-app.alt-alert { background: #2a1b1a; }
.notif-app.alt-webhook { background: #1a2520; }
.notif-body { min-width: 0; }
.notif-title {
  font-size: 13.5px; font-weight: 600; line-height: 1.2;
  margin: 0 0 2px;
}
.notif-text {
  font-size: 13px; line-height: 1.3; color: rgba(255,255,255,0.82);
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  word-break: break-word;
}
.notif-time { font-size: 11px; color: rgba(255,255,255,0.6); white-space: nowrap; padding-top: 1px; }

/* Animation states */
.notif {
  transition:
    transform 520ms cubic-bezier(.2,1.3,.3,1),
    opacity 380ms var(--ease),
    margin-top 460ms cubic-bezier(.2,.7,.2,1);
}
.notif.enter {
  transform: translateY(-12px) scale(0.96);
  opacity: 0;
}
.notif.in { transform: translateY(0) scale(1); opacity: 1; }
.notif.aging-1 { transform: translateY(0) scale(0.985); opacity: 0.96; }
.notif.aging-2 { transform: translateY(0) scale(0.97); opacity: 0.88; }
.notif.aging-3 { transform: translateY(0) scale(0.955); opacity: 0.7; }
.notif.leaving {
  transform: translateY(-8px) scale(0.92);
  opacity: 0;
  transition:
    transform 380ms var(--ease),
    opacity 380ms var(--ease);
}

/* Bottom phone bar */
.phone-bar {
  position: absolute; left: 50%; bottom: 8px;
  transform: translateX(-50%);
  width: 130px; height: 5px; background: rgba(255,255,255,0.55);
  border-radius: 3px;
}

/* ----- Trust strip ----- */
.trust {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
}
.trust-label {
  text-align: center; color: var(--text-faint); font-size: 12.5px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.trust-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.wordmark {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text-dim); opacity: 0.55;
  transition: opacity .2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.wordmark:hover { opacity: 0.85; }
.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); display: inline-block; }
.wordmark.italic { font-style: italic; }

/* ----- Section base ----- */
section { position: relative; }
.section { padding: 112px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.kicker {
  display: inline-block; font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 12px; font-weight: 500;
}
.section h2 {
  font-size: 38px; line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 500; margin: 0 0 12px;
  text-wrap: balance;
}
.section .lede {
  font-size: 17px; color: var(--text-dim); max-width: 560px; margin: 0 auto;
  text-wrap: pretty;
}

/* ----- Features ----- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.feature-card.tall { grid-row: span 2; }
.feature-card.wide { grid-column: span 2; }
.feature-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--header-bg);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.feature-card h3 {
  font-size: 16px; margin: 0 0 6px; font-weight: 600;
  letter-spacing: -0.005em;
}
.feature-card p {
  font-size: 14px; line-height: 1.55; color: var(--text-dim); margin: 0;
}

/* Mini dashboard preview */
.mini-dash {
  margin-top: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.mini-dash-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.mini-dash-label { font-size: 12px; color: var(--text-dim); }
.mini-dash-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 500; color: var(--text);
  letter-spacing: -0.01em;
}
.mini-dash-delta { font-size: 11.5px; color: var(--accent); margin-left: 6px; }
.spark { width: 100%; height: 56px; display: block; }

/* Mini terminal preview */
.mini-term {
  margin-top: 18px;
  background: #1c1c1a;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.65;
  overflow: hidden;
}
.mini-term .l1 { color: var(--text-dim); }
.mini-term .l2 { color: var(--text); }

/* Channel list preview */
.chan-list { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.chan-item {
  display: grid; grid-template-columns: 24px 1fr auto;
  gap: 10px; align-items: center;
  padding: 9px 11px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px;
}
.chan-item .icon { font-family: 'JetBrains Mono', monospace; color: var(--text-dim); }
.chan-item .count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); }

/* Tags preview */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--text-dim);
}
.tag b { color: var(--text); font-weight: 500; }
.tag.active { color: var(--text); border-color: var(--accent); }
.tag.active .pip { background: var(--accent); }
.pip { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); }

/* ----- Code section ----- */
.code-card {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.code-tabs {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  padding: 0 8px;
}
.code-tab {
  appearance: none; background: transparent; border: 0;
  color: var(--text-dim);
  padding: 14px 14px;
  font-size: 13px; font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  margin-bottom: -1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.code-tab:hover { color: var(--text); }
.code-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.code-copy {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 6px;
  color: var(--text-dim); background: transparent;
  font-size: 12px; border: 1px solid transparent;
}
.code-copy:hover { color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--border); }
.code-body {
  padding: 22px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
  color: var(--text);
}
/* Restrained syntax colors — only 2 hues + neutrals */
.tok-c { color: var(--text-faint); font-style: italic; }      /* comment */
.tok-k { color: #C8B084; }                                    /* keyword/method  */
.tok-s { color: #BFCAA6; }                                    /* string */
.tok-p { color: var(--text-dim); }                            /* punctuation, flags */
.tok-n { color: var(--text); }                                /* identifiers */
.code-pane { display: none; }
.code-pane.is-active { display: block; }

/* ----- Pricing ----- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.price-card:hover { transform: translateY(-2px); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent) inset,
    var(--shadow-card),
    0 0 50px -10px var(--accent-glow);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -10px; left: 26px;
  background: var(--accent); color: #2A2519;
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-name {
  font-size: 14px; color: var(--text-dim); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px;
}
.price-amount .amt {
  font-size: 38px; font-weight: 500; letter-spacing: -0.03em;
  font-family: 'Inter', sans-serif;
}
.price-amount .per { font-size: 14px; color: var(--text-dim); }
.price-desc { font-size: 13.5px; color: var(--text-dim); margin: 8px 0 24px; }
.price-feats {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px;
}
.price-feats li {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start;
  color: var(--text);
}
.price-feats li svg { color: var(--accent); margin-top: 4px; }
.price-card .btn { width: 100%; margin-top: auto; }

/* ----- Docs preview ----- */
.docs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: grid; grid-template-columns: 220px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 1000px;
  margin: 0 auto;
}
.docs-side {
  background: var(--header-bg);
  border-right: 1px solid var(--border);
  padding: 24px 18px;
  font-size: 13px;
}
.docs-side h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-faint); margin: 0 0 8px; padding: 0 8px;
  font-weight: 500;
}
.docs-side ul { list-style: none; padding: 0; margin: 0 0 18px; }
.docs-side li a {
  display: block; padding: 5px 8px; border-radius: 5px;
  color: var(--text-dim); transition: color .2s var(--ease), background .2s var(--ease);
}
.docs-side li a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.docs-side li a.active { color: var(--text); background: rgba(255,255,255,0.05); }
.docs-side li a.active::before { content: ""; display: inline-block; width: 3px; height: 14px; vertical-align: -3px; margin-right: 8px; background: var(--accent); border-radius: 2px; }
.docs-body {
  padding: 36px 38px;
  min-width: 0;
}
.docs-crumbs { font-size: 12px; color: var(--text-faint); margin-bottom: 12px; }
.docs-crumbs span { color: var(--text-dim); }
.docs-body h3 {
  font-size: 26px; letter-spacing: -0.02em; margin: 0 0 12px;
  font-weight: 500;
}
.docs-body p {
  color: var(--text-dim); font-size: 14.5px; line-height: 1.65; margin: 0 0 18px;
}
.docs-body p code, .docs-body li code {
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: 1px 6px; border-radius: 4px;
  font-size: 12.5px;
}
.docs-codeblock {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
  margin: 0 0 18px;
}
.docs-cta { margin-top: 8px; }

/* ----- Final CTA ----- */
.final {
  text-align: center;
  padding: 144px 0 128px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, var(--accent-glow), transparent 60%);
  opacity: 0.5; pointer-events: none;
}
.final-inner { position: relative; }
.final h2 {
  font-size: 46px; letter-spacing: -0.03em; line-height: 1.05;
  font-weight: 500; margin: 0 auto 14px; max-width: 720px;
  text-wrap: balance;
}
.final p { color: var(--text-dim); font-size: 16px; margin: 0 0 32px; }
.final-form {
  display: inline-flex; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow-card);
  max-width: 100%;
  width: 460px;
}
.final-form input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 14.5px; font-family: inherit;
  min-width: 0;
}
.final-form input::placeholder { color: var(--text-faint); }
.final-fine { font-size: 12.5px; color: var(--text-faint); margin-top: 16px; }

/* ----- Footer ----- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  background: var(--header-bg);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}
.foot-brand { font-size: 14px; color: var(--text-dim); max-width: 280px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-col h5 {
  font-size: 12px; color: var(--text-faint); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 500; margin: 0 0 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col li a { color: var(--text-dim); font-size: 13.5px; transition: color .2s var(--ease); }
.foot-col li a:hover { color: var(--text); }
.foot-bottom {
  border-top: 1px solid var(--border);
  margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-faint);
}
.foot-status { display: inline-flex; align-items: center; gap: 7px; }
.foot-status .led { width: 7px; height: 7px; border-radius: 50%; background: #6EAF8C; box-shadow: 0 0 0 3px rgba(110, 175, 140, 0.18); }

/* ----- Auth (modal-style overlays) ----- */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 20, 19, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.auth-overlay.show { display: flex; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-card {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 34px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), var(--shadow-card);
  margin: auto;
  animation: rise .35s var(--ease);
}
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-mark {
  width: 56px; height: 56px; border-radius: 14px;
  background: #1a1a18;
  border: 1px solid var(--border-strong);
  margin: 0 auto 16px; display: block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  object-fit: cover;
  overflow: hidden;
}
.auth-mark img { width: 100%; height: 100%; display: block; }
.auth-card h3 {
  font-size: 22px; margin: 0 0 4px; font-weight: 500;
  letter-spacing: -0.02em;
}
.auth-card .sub { color: var(--text-dim); font-size: 14px; margin: 0; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--text-dim); font-weight: 500; }
.field input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  color: var(--text); font-size: 14px; font-family: inherit;
  outline: 0; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.check { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-dim); }
.check input { width: 14px; height: 14px; accent-color: var(--accent); }
.check a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.auth-form .btn { width: 100%; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-faint); font-size: 11.5px;
  margin: 18px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.btn-apple {
  width: 100%;
  background: #000; color: #fff;
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-apple:hover { background: #0a0a0a; }
.auth-foot {
  text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-dim);
}
.auth-foot a { color: var(--text); border-bottom: 1px solid var(--border-strong); }
.auth-foot .row { display: flex; justify-content: center; gap: 18px; }
.auth-close {
  position: absolute; top: 24px; right: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-dim);
}
.auth-close:hover { color: var(--text); background: var(--header-bg); }

/* =====================================================================
   Features page additions
   ===================================================================== */

/* Centered hero variant (no phone mockup on the right) */
.hero-center { padding: 112px 0 88px; text-align: center; }
.hero-center-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.hero-center .eyebrow { margin-bottom: 28px; }
.hero-center h1 {
  font-size: 56px; max-width: none;
  margin: 0 auto 20px;
}
.hero-center .hero-sub {
  max-width: 600px; margin: 0 auto 32px;
  font-size: 17.5px;
}
.hero-center .hero-ctas { justify-content: center; }

/* ----- iOS showcase split ----- */
.ios-showcase .split {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 96px;
  align-items: center;
}
.ios-showcase .phone-wrap { margin: 0; }
.split-copy { max-width: 480px; }
.split-copy .kicker { margin-bottom: 14px; }
.split-copy h2 { margin: 0 0 14px; }
.split-lede { margin: 0 0 22px; max-width: none; }
.split-ctas { justify-content: flex-start; margin-top: 28px; }

.bullet-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.bullet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.5;
}
.bullet-list li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ----- Use cases ----- */
.use-cases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.use-case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.use-case-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 16px;
}
.use-case h3 {
  font-size: 17px; line-height: 1.3;
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.use-case p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* =====================================================================
   Pricing page additions
   ===================================================================== */

/* Monthly / yearly toggle */
.billing-toggle {
  display: inline-flex;
  margin: 4px auto 0;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  gap: 2px;
}
.billing-opt {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.billing-opt:hover { color: var(--text); }
.billing-opt.is-active {
  background: var(--header-bg);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}
.billing-save {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* "All paid plans..." line under the cards */
.plans-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  max-width: 620px;
  margin: 28px auto 0;
}

/* ----- Comparison table ----- */
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare thead th {
  text-align: center;
  padding: 18px 16px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}
.compare thead th:first-child { text-align: left; padding-left: 24px; }
.compare thead th.is-featured { color: var(--accent); }
.compare tbody th[scope="row"] {
  text-align: left;
  padding: 14px 16px 14px 24px;
  font-weight: 400;
  color: var(--text-dim);
  width: 38%;
}
.compare tbody td {
  text-align: center;
  padding: 14px 16px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.compare tbody td.is-featured {
  background: rgba(212,190,150,0.04);
  color: var(--text);
}
.compare tbody td.not-included { color: var(--text-faint); }
.compare tbody td.not-included svg { color: var(--text-faint); }
.compare tbody td svg { vertical-align: -1px; color: var(--accent); }
.compare tbody tr.compare-group th {
  background: rgba(255,255,255,0.015);
  text-align: left;
  padding: 14px 24px 12px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.compare tbody tr.compare-group + tr th[scope="row"],
.compare tbody tr.compare-group + tr td { border-top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----- Pricing FAQs ----- */
.pricing-faqs-wrap { max-width: 760px; }
.pricing-faqs {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.pricing-faqs details {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.pricing-faqs summary {
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}
.pricing-faqs summary::-webkit-details-marker { display: none; }
.pricing-faqs summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s var(--ease);
}
.pricing-faqs details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.pricing-faqs details p {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 640px;
}

/* =====================================================================
   iOS App page additions
   ===================================================================== */

/* ----- App Store button ----- */
.btn-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px;
  border-radius: 10px;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  font-family: inherit;
  transition: background .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn-appstore:hover { background: #0a0a0a; transform: translateY(-1px); }
.btn-appstore-text {
  display: inline-flex; flex-direction: column;
  text-align: left; line-height: 1;
}
.btn-appstore-line1 { font-size: 10.5px; color: rgba(255,255,255,0.7); letter-spacing: 0.02em; margin-bottom: 3px; }
.btn-appstore-line2 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.btn-appstore-lg { height: 54px; }
.btn-appstore-lg .btn-appstore-line1 { font-size: 11px; }
.btn-appstore-lg .btn-appstore-line2 { font-size: 19px; }

.ios-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.hero-fine {
  font-size: 12.5px; color: var(--text-faint);
  margin: 16px 0 0;
}

/* ----- Apple Watch mockup ----- */
.watch-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  min-height: 320px;
}
.watch {
  position: relative;
  width: 180px;
}
.watch::before, .watch::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 76%; background: linear-gradient(180deg, #2a2a28 0%, #1a1a18 100%);
  border: 1px solid var(--border);
}
.watch::before { top: -52px; height: 52px; border-radius: 14px 14px 6px 6px; }
.watch::after { bottom: -52px; height: 52px; border-radius: 6px 6px 14px 14px; }
.watch-screen {
  position: relative;
  width: 100%; aspect-ratio: 1 / 1.16;
  background: #000;
  border: 4px solid #1a1a18;
  border-radius: 38px;
  box-shadow: 0 0 0 1px var(--border-strong),
              0 30px 60px -10px rgba(0,0,0,0.55);
  padding: 20px 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 2;
}
.watch-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.02em;
  align-self: flex-end;
  margin-bottom: 8px;
}
.watch-complication {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.watch-comp-label {
  font-size: 9.5px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.watch-comp-value {
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-feature-settings: "tnum" 1;
}
.watch-comp-spark {
  margin-top: auto; color: var(--accent);
  opacity: 0.6;
}
.watch-comp-spark svg { width: 100%; height: 18px; }
.watch-crown {
  position: absolute; right: -6px; top: 38%;
  width: 8px; height: 24px;
  background: linear-gradient(180deg, #2a2a28 0%, #1a1a18 100%);
  border: 1px solid var(--border);
  border-radius: 0 3px 3px 0;
  z-index: 1;
}

/* ----- Screen tour (3 mini phones) ----- */
.screen-tour {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.screen-tour-item { display: flex; flex-direction: column; align-items: center; }

.phone-mini {
  width: 220px;
  border: 8px solid #0a0a0a;
  border-radius: 38px;
  background: #0a0a0a;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5),
              0 0 0 1px var(--border-strong);
  overflow: hidden;
  position: relative;
}
.phone-mini .screen {
  background: #1a1a18;
  border-radius: 30px;
  padding: 12px 14px;
  display: flex; flex-direction: column;
  aspect-ratio: 9 / 19.5;
  position: relative;
}
.phone-mini .status-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-dim); padding: 0 4px;
  margin-bottom: 4px;
}
.phone-mini .island {
  width: 80px; height: 22px;
  background: #000;
  border-radius: 14px;
  margin: 0 auto 16px;
}
.phone-mini .phone-bar {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 4px;
  background: var(--text-dim); opacity: 0.4;
  border-radius: 2px;
}
.mini-header {
  font-size: 16px; font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  padding: 0 4px;
  display: flex; align-items: center; gap: 6px;
}
.mini-back { color: var(--accent); font-size: 22px; line-height: 1; }

.mini-rows { display: flex; flex-direction: column; gap: 4px; }
.mini-row {
  display: grid; grid-template-columns: 22px 1fr auto;
  gap: 10px; align-items: center;
  padding: 9px 6px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11.5px;
}
.mini-row .mini-icon { font-size: 13px; text-align: center; }
.mini-row .mini-name { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.mini-row .mini-count { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; }

.mini-events { display: flex; flex-direction: column; gap: 4px; }
.mini-event {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
}
.mini-event-msg { font-size: 11.5px; color: var(--text); line-height: 1.3; }
.mini-event-meta { font-size: 10px; color: var(--text-faint); margin-top: 3px; font-family: 'JetBrains Mono', monospace; }

.mini-event-detail { padding: 4px; }
.mini-event-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.mini-event-title {
  font-size: 13px; color: var(--text); font-weight: 500;
  text-align: center; line-height: 1.3;
  margin-bottom: 6px;
}
.mini-event-sub {
  font-size: 10.5px; color: var(--text-faint);
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 14px;
}
.mini-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  justify-content: center;
  margin-bottom: 14px;
}
.mini-tag {
  font-size: 9.5px; font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 999px;
}
.mini-meta-row {
  display: flex; justify-content: space-between;
  padding: 7px 8px;
  font-size: 10.5px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
.mini-meta-row .mono { font-family: 'JetBrains Mono', monospace; color: var(--text); }

.screen-tour-caption {
  text-align: center;
  margin-top: 20px;
  max-width: 240px;
}
.screen-tour-caption h4 {
  font-size: 14px; font-weight: 500;
  color: var(--text);
  margin: 0 0 6px;
}
.screen-tour-caption p {
  font-size: 13px; color: var(--text-dim);
  margin: 0; line-height: 1.5;
}

/* ----- Notification anatomy ----- */
.anatomy {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.anatomy-notif {
  display: flex; justify-content: center;
  position: relative;
}
.anatomy-card {
  width: 100%; max-width: 380px;
  position: relative;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.anatomy-pin {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #2A2519;
  font-size: 11px; font-weight: 700;
  margin-right: 6px;
  vertical-align: -3px;
  font-family: 'JetBrains Mono', monospace;
}
.anatomy-pin-num { display: block; line-height: 1; }
.anatomy-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
}
.anatomy-list li {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 16px; align-items: flex-start;
}
.anatomy-num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #2A2519;
  font-size: 13px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.anatomy-list h4 {
  font-size: 16px; margin: 4px 0 4px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.anatomy-list p {
  font-size: 14px; color: var(--text-dim);
  margin: 0; line-height: 1.55;
}

/* ----- Release list ----- */
.release-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.release {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.release-meta {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.release-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  color: var(--accent);
  font-weight: 500;
}
.release-date {
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
}
.release-body h3 {
  font-size: 17px; font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.release-body ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.release-body li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.release-body li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--text-faint);
  border-radius: 50%;
}
.release-foot {
  text-align: center;
  margin-top: 36px;
}

/* ----- Requirements ----- */
.requirements {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
.req {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  text-align: center;
}
.req-icon { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.req h4 {
  font-size: 14px; font-weight: 500;
  margin: 0 0 6px;
  color: var(--text);
}
.req p {
  font-size: 13px; color: var(--text-dim);
  margin: 0; line-height: 1.5;
}

.final-buttons {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 24px;
}
.email-link-form input { font-size: 13.5px; }
.email-link-form input::placeholder { color: var(--text-faint); }

/* =====================================================================
   Legal page (Terms, Privacy, DPA, ...)
   ===================================================================== */
.hero-legal { padding: 80px 0 32px; }
.legal-updated {
  font-size: 13.5px;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
  margin: 12px 0 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

/* TOC */
.legal-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.legal-toc::-webkit-scrollbar { width: 4px; }
.legal-toc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.legal-toc h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 12px;
  padding: 0 4px;
  font-weight: 600;
}
.legal-toc nav { font-size: 13.5px; }
.legal-toc ol {
  list-style: none;
  counter-reset: legal-item;
  padding: 0; margin: 0;
}
.legal-toc li {
  counter-increment: legal-item;
}
.legal-toc a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--text-dim);
  line-height: 1.45;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.legal-toc a::before {
  content: counter(legal-item, decimal-leading-zero);
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  padding-top: 2px;
}
.legal-toc a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.legal-toc a.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.legal-toc a.active::before { color: var(--accent); }

/* Prose */
.legal-body {
  max-width: 720px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
}
.legal-body h2 {
  scroll-margin-top: 88px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--text);
  margin: 56px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-body > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-body h3 {
  scroll-margin-top: 88px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text);
  margin: 32px 0 10px;
}
.legal-body h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
  margin: 24px 0 8px;
}
.legal-body p {
  margin: 0 0 18px;
}
.legal-body strong { color: var(--text); font-weight: 500; }
.legal-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.legal-body a:hover { border-color: var(--accent); }
.legal-body ul,
.legal-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-body li { margin: 0 0 6px; }
.legal-body li::marker { color: var(--text-faint); }
.legal-body blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-style: italic;
}
.legal-body blockquote p:last-child { margin-bottom: 0; }
.legal-body code {
  font-size: 13.5px;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}
.legal-body pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  overflow-x: auto;
  margin: 0 0 20px;
}
.legal-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}
.legal-body table th,
.legal-body table td {
  text-align: left;
  padding: 11px 14px;
  vertical-align: top;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.legal-body table th {
  background: var(--header-bg);
  color: var(--text);
  font-weight: 500;
  border-top: 0;
}

/* =====================================================================
   Documentation page
   ===================================================================== */
.hero-docs { padding: 80px 0 48px; }

/* Override the homepage's compact .docs preview when used on the full docs page */
.docs-section .docs {
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  overflow: visible;
}
.docs-section .docs-side {
  background: transparent;
  border-right: 0;
  padding: 0;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.docs-section .docs-side::-webkit-scrollbar { width: 4px; }
.docs-section .docs-side::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.docs-section .docs-body {
  padding: 0;
  max-width: 720px;
}

/* Sidebar TOC */
.docs-nav h4 + ul { margin-top: 4px; }
.docs-nav h4:not(:first-child) { margin-top: 20px; }
.docs-side li a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px;
}
.docs-verb {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-transform: uppercase;
}
.docs-verb.post { color: #9EB89A; border-color: rgba(158,184,154,0.4); background: rgba(158,184,154,0.06); }
.docs-verb.get  { color: #93A6C2; border-color: rgba(147,166,194,0.4); background: rgba(147,166,194,0.06); }
.docs-verb.del  { color: #C76A6A; border-color: rgba(199,106,106,0.4); background: rgba(199,106,106,0.06); }

/* Body sections */
.docs-section-item {
  scroll-margin-top: 88px; /* so anchor jumps don't sit under sticky header */
  margin-bottom: 56px;
  padding-bottom: 8px;
}
.docs-section-item + .docs-section-item {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.docs-body h3 {
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.docs-body h3 .docs-verb {
  font-size: 11.5px;
  padding: 3px 8px;
}
.docs-body h3 code { font-size: inherit; padding: 0; background: transparent; border: 0; color: var(--text); }

.docs-h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 24px 0 10px;
}

/* Step lists */
.docs-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 16px 0 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.docs-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
}
.docs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 50%;
}

/* Definition list (concepts) */
.docs-defs {
  margin: 16px 0 20px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 24px;
}
.docs-defs dt {
  font-weight: 500;
  color: var(--text);
  font-size: 14.5px;
}
.docs-defs dd {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Parameter tables */
.docs-params {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}
.docs-params th, .docs-params td {
  padding: 11px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.docs-params tr + tr th,
.docs-params tr + tr td { border-top: 1px solid rgba(255,255,255,0.04); }
.docs-params th {
  width: 180px;
  color: var(--text);
  font-weight: 400;
}
.docs-params th code {
  color: var(--accent);
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 13px;
}
.docs-params td {
  color: var(--text-dim);
}
.docs-params td code {
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent);
}

/* Notes */
.docs-note {
  font-size: 13.5px;
  color: var(--text-faint);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 10px 14px;
  margin: 16px 0;
}

/* Bullet list */
.docs-list {
  list-style: none; padding: 0;
  margin: 12px 0 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.docs-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
}
.docs-list li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--text-faint);
  border-radius: 50%;
}
.docs-list strong { color: var(--text); font-weight: 500; }

/* =====================================================================
   Sign Up page
   ===================================================================== */
.signup-hero { padding: 88px 0 96px; overflow: hidden; }
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left side — copy + benefits */
.signup-copy { padding-top: 8px; }
.signup-copy h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 18px;
  max-width: 480px;
}
.signup-copy .hero-sub { max-width: 460px; margin-bottom: 0; }

.signup-checks {
  list-style: none; padding: 0;
  margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.signup-checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}
.signup-checks li svg { color: var(--accent); }
.signup-checks b { color: var(--text); font-weight: 500; }

.signup-quote {
  margin: 36px 0 0;
  padding: 20px 22px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  max-width: 460px;
  position: relative;
}
.signup-quote-mark {
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 6px;
}
.signup-quote p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  font-style: italic;
}
.signup-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 13px;
  font-style: normal;
}

/* Right side — form card */
.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px 28px;
  position: sticky;
  top: 92px;
}
.signup-card-head {
  text-align: center;
  margin-bottom: 24px;
}
.signup-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: block;
  margin: 0 auto 14px;
  background: #1a1a18;
  border: 1px solid var(--border-strong);
  object-fit: cover;
}
.signup-card-head h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.signup-card-head p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
}

.signup-form { display: flex; flex-direction: column; gap: 14px; }

/* The signup form reuses .cf-field input styling from the contact page,
   plus this small password-toggle / optional-label / divider extra. */
.input-wrap { position: relative; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; padding: 6px;
  color: var(--text-faint); display: grid; place-items: center;
  border-radius: 4px;
  cursor: pointer;
}
.pw-toggle:hover { color: var(--text-dim); }

.cf-optional {
  color: var(--text-faint);
  font-weight: 400;
  margin-left: 4px;
  font-size: 11.5px;
}

.signup-submit { width: 100%; margin-top: 6px; }

.signup-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-faint);
  font-size: 11.5px;
  margin: 4px 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.signup-divider::before, .signup-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

.signup-apple {
  width: 100%;
  height: 44px;
  font-size: 14px;
}

.signup-fine {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.55;
}
.signup-fine a {
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}
.signup-fine a:hover { color: var(--text); }

.signup-foot {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.signup-foot a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  margin-left: 4px;
}
.signup-foot a:hover { border-color: var(--accent); }

/* =====================================================================
   FAQs page
   ===================================================================== */
.faq-wrap { max-width: 820px; margin: 0 auto; }

/* Search input in the hero */
.faq-search {
  position: relative;
  max-width: 520px;
  margin: 28px auto 0;
}
.faq-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 56px 14px 44px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: 0;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.faq-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.faq-search input::placeholder { color: var(--text-faint); }
.faq-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-faint);
  display: grid; place-items: center;
  pointer-events: none;
}
.faq-search kbd {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--text-faint);
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 2px 6px; font-family: 'JetBrains Mono', monospace;
}

/* Category filter pills */
.faq-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.faq-filter {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.faq-filter:hover { color: var(--text); border-color: var(--border-strong); }
.faq-filter.is-active {
  color: var(--text);
  background: var(--header-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Groups */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group-h {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 16px;
}
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.faq-item p {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 680px;
}
.faq-item p code,
.faq-item li code {
  font-size: 13.5px;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}
.faq-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.6;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  overflow-x: auto;
  margin: 12px 0;
  white-space: pre;
}

.faq-empty {
  text-align: center;
  font-size: 14.5px;
  color: var(--text-faint);
  margin: 48px 0 0;
}

/* =====================================================================
   Change log page
   ===================================================================== */

.changelog-wrap { max-width: 900px; margin: 0 auto; }

/* Filter pills */
.changelog-filter {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  gap: 2px;
  margin: 0 auto;
}
.cl-filter {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.cl-filter:hover { color: var(--text); }
.cl-filter.is-active {
  background: var(--header-bg);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}
/* Match the filter pill's text color to its product when active */
.cl-filter-web.is-active { color: #D4BE96; }
.cl-filter-ios.is-active { color: #9EB89A; }
.cl-filter-api.is-active { color: #93A6C2; }
.changelog-filter { display: flex; justify-content: center; }

/* Entries */
.changelog {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.cl-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.cl-meta {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-top: 2px;
  position: sticky; top: 88px;
  align-self: start;
}
.cl-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16.5px;
  color: var(--accent);
  font-weight: 500;
}
.cl-date {
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
}
.cl-body { min-width: 0; }
.cl-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cl-head h3 {
  font-size: 19px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.cl-chip {
  display: inline-flex; align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.cl-chip-web { color: #D4BE96; border-color: rgba(212,190,150,0.4); background: rgba(212,190,150,0.08); }
.cl-chip-ios { color: #9EB89A; border-color: rgba(158,184,154,0.4); background: rgba(158,184,154,0.08); }
.cl-chip-api { color: #93A6C2; border-color: rgba(147,166,194,0.4); background: rgba(147,166,194,0.08); }

.cl-group + .cl-group { margin-top: 16px; }
.cl-group h4 {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 8px;
}
.cl-group ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.cl-group li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.cl-group li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--text-faint);
  border-radius: 50%;
}
.cl-group code {
  font-size: 13px;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}

.changelog-empty {
  text-align: center;
  font-size: 14px;
  color: var(--text-faint);
  margin: 48px 0 0;
}

/* =====================================================================
   Contact page
   ===================================================================== */
.contact-wrap { max-width: 1080px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* Form card */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 32px 28px;
}
.contact-h2 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.contact-sub {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label {
  font-size: 12px; color: var(--text-dim); font-weight: 500;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 11px 12px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: 0;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--text-faint); }
.cf-field textarea { min-height: 140px; line-height: 1.55; }

.cf-hp {
  position: absolute;
  left: -9999px; top: -9999px;
  height: 0; overflow: hidden;
}

.cf-foot {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cf-fine {
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

/* Aside (direct email + response times) */
.contact-aside {
  display: flex; flex-direction: column; gap: 16px;
}
.contact-mail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  position: relative;
  transition: border-color .2s var(--ease);
}
.contact-mail-card-quiet { background: transparent; }
.contact-mail-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-mail-card h3 {
  font-size: 15px; font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.contact-mail-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0 0 12px;
  line-height: 1.55;
}
.contact-mail-card-quiet p { margin-bottom: 0; }
.contact-mail-link {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.contact-mail-link:hover { border-color: var(--accent); }

/* Status + community row */
.contact-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-row-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-row-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.contact-row-card h4 {
  font-size: 14px; font-weight: 500;
  margin: 0 0 4px; color: var(--text);
  letter-spacing: -0.005em;
}
.contact-row-card p {
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}
.contact-row-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-dim);
  flex-shrink: 0;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success, #6EAF8C);
  box-shadow: 0 0 0 4px rgba(110,175,140,0.18);
  flex-shrink: 0;
  margin: 0 13px 0 3px;
  animation: statusPulse 2.4s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(110,175,140,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(110,175,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,175,140,0); }
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { font-size: 44px; }
  .hero-center { padding: 80px 0 64px; }
  .hero-center h1 { font-size: 40px; }
  .phone-wrap { margin: 0 auto; }
  .nav { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: span 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 80px 0; }
  .final h2 { font-size: 32px; }
  .ios-showcase .split { grid-template-columns: 1fr; gap: 56px; }
  .watch-split { grid-template-columns: 1fr; gap: 64px; }
  .split-copy { max-width: none; }
  .use-cases { grid-template-columns: 1fr; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 640px; }
  .screen-tour { grid-template-columns: 1fr; gap: 48px; justify-items: center; }
  .anatomy { grid-template-columns: 1fr; gap: 48px; }
  .release { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .requirements { grid-template-columns: repeat(2, 1fr); }
  .cl-entry { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .cl-meta { position: static; flex-direction: row; align-items: baseline; gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; gap: 56px; }
  .signup-copy h1 { font-size: 36px; }
  .signup-quote { max-width: none; }
  .signup-card { position: static; }
  .docs-section .docs { grid-template-columns: 1fr; gap: 0; }
  .docs-section .docs-side { display: none; }
  .docs-section .docs-body { max-width: none; }
  .docs-defs { grid-template-columns: 1fr; gap: 4px 0; }
  .docs-defs dd { margin-bottom: 12px; }
  .docs-params th { width: auto; }
  .docs-params, .docs-params tbody, .docs-params tr { display: block; }
  .docs-params th, .docs-params td { display: block; padding: 8px 14px; }
  .docs-params th { padding-bottom: 0; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; max-height: none; }
  .legal-body { max-width: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 36px; }
  .hero-center h1 { font-size: 32px; }
  .header-cta .btn-ghost { display: none; }
  .trust-row { gap: 18px; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .billing-toggle { width: 100%; }
  .billing-opt { flex: 1; justify-content: center; }
  .requirements { grid-template-columns: 1fr; }
  .ios-ctas { flex-direction: column; align-items: stretch; }
  .ios-ctas .btn { width: 100%; justify-content: center; }
  .changelog-filter { flex-wrap: wrap; }
  .cl-filter { flex: 1; justify-content: center; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px 22px; }
}
