/* SizeFit site — plain CSS, no web fonts, light/dark via prefers-color-scheme.
   Palette from the app icon: teal #17c3b2 → cobalt #2f55d4; text accent #0f6fb8 (5.3:1 on white). */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-card: #ffffff;
  --text: #0b0d12;
  --text-soft: #4b5563;
  --border: #e3e7ee;
  --accent: #0f6fb8;
  --accent-strong: #0b5a96;
  --accent-contrast: #ffffff;
  --btn: #0f6fb8;
  --btn-hover: #0b5a96;
  --grad: linear-gradient(120deg, #17c3b2 0%, #1e8fd6 45%, #2f55d4 100%);
  --grad-text: linear-gradient(100deg, #0fa596 0%, #1673c9 50%, #2f4fcf 100%);
  --pass: #137a3a;
  --pass-bg: #e8f6ee;
  --fail: #b42318;
  --fail-bg: #fdecea;
  --focus: #ffb000;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 10px 30px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.06), 0 30px 80px rgba(16, 40, 80, 0.18);
  --header-bg: rgba(255, 255, 255, 0.72);
  --max: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-soft: #11151c;
    --bg-card: #161b23;
    --text: #f2f4f7;
    --text-soft: #a7b0be;
    --border: #262c37;
    --accent: #5bb3f5;
    --accent-strong: #8ccaf8;
    --accent-contrast: #061624;
    --btn: #0071e3;
    --btn-hover: #0077ed;
    --grad-text: linear-gradient(100deg, #4fe3d2 0%, #5bb3f5 50%, #8a9dff 100%);
    --pass: #4cc47a;
    --pass-bg: #12301f;
    --fail: #ff7b72;
    --fail-bg: #3a1614;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.55);
    --header-bg: rgba(11, 13, 18, 0.72);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 8px 14px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- Header / footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text-soft); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .btn, .site-nav .btn:hover { color: #ffffff; }

.site-footer { border-top: 1px solid var(--border); margin-top: 0; padding: 36px 0 52px; color: var(--text-soft); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--btn); color: #ffffff; }
.btn-primary:hover { background: var(--btn-hover); color: #ffffff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--text-soft); color: var(--text); }
.btn-ghost { background: transparent; color: var(--accent); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { color: var(--accent-strong); }
.btn-small { padding: 7px 15px; font-size: 14px; box-shadow: none; }
.btn-large { padding: 15px 30px; font-size: 18px; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--text-soft); margin: 0 0 12px;
}
/* Darker ends of the brand gradient keep white text above 4.5:1. */
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(120deg, #0b7f75, #1f4fc4); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.025em;
}
h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.015em; }
h1, h2, .duo-title, .hero .lead { text-wrap: balance; }
p { text-wrap: pretty; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.005em; }
.display { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.018em; font-weight: 700; max-width: 18ch; margin-bottom: 18px; }
.display-sm { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--text-soft); margin: 0 0 30px; max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price-note { color: var(--text-soft); font-size: 15px; margin-top: 16px; }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text-soft); text-align: center; margin: 0 0 18px; }
.kicker-note { text-align: center; font-size: 15px; color: var(--text-soft); margin: 20px auto 0; max-width: 64ch; }
.kicker-note a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.kicker-note a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 24px; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(23, 195, 178, 0.16), transparent 70%),
    radial-gradient(45% 55% at 80% 20%, rgba(47, 85, 212, 0.16), transparent 70%);
}
.hero-copy { text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(40px, 8vw, 96px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 24px; }
.hero .lead { margin-left: auto; margin-right: auto; max-width: 46ch; }
.hero .cta-row { justify-content: center; }
.hero-stage { position: relative; margin-top: 64px; padding-bottom: 72px; }
.hero-stage .device-mac { max-width: 880px; margin: 0 0 0 2%; }
.hero-phone { position: absolute; right: 24px; bottom: 24px; width: clamp(150px, 19.5%, 214px); }
.slip-live { position: absolute; left: 6%; bottom: 40px; width: 296px; }

/* ---------- Device frames ---------- */
.device { margin: 0; }
.device img { display: block; width: 100%; height: auto; }
.device-mac, .device-window {
  border-radius: 14px; overflow: hidden; background: var(--bg-card);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.device-phone {
  padding: 7px; border-radius: 42px; background: #0d0f14;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3f4a;
}
.device-phone img { border-radius: 35px; }
.device-ipad {
  padding: 10px; border-radius: 30px; background: #0d0f14;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3f4a;
}
.device-ipad img { border-radius: 20px; }

/* ---------- Verification slip (hero, animated) ---------- */
.slip {
  background: var(--bg-card); border: 1px solid rgba(34, 179, 94, 0.55); border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(34, 179, 94, 0.08), var(--shadow-lg); padding: 18px 18px 12px;
}
.slip-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.slip-head strong { display: block; font-size: 16px; line-height: 1.3; }
.slip-head small { display: block; color: var(--text-soft); font-size: 13px; }
.seal { flex: none; width: 34px; height: 34px; }
.seal svg { width: 34px; height: 34px; }
.seal path:first-child { fill: #22b35e; }
.seal .tick { fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slip ul { list-style: none; margin: 0; padding: 0; }
.slip li {
  position: relative; padding: 7px 0 7px 28px; font-size: 14px; font-weight: 500;
  border-top: 1px solid var(--border);
}
.slip li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: #22b35e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13.2 6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .slip-live li { opacity: 0; transform: translateY(6px); animation: check-in .5s cubic-bezier(.2, .8, .2, 1) forwards; }
  .slip-live li:nth-child(1) { animation-delay: .5s; }
  .slip-live li:nth-child(2) { animation-delay: .8s; }
  .slip-live li:nth-child(3) { animation-delay: 1.1s; }
  .slip-live li:nth-child(4) { animation-delay: 1.4s; }
  .slip-live li:nth-child(5) { animation-delay: 1.7s; }
  .slip-live li:nth-child(6) { animation-delay: 2.0s; }
  .slip-live .seal { animation: seal-in .5s 2.3s cubic-bezier(.2, .8, .2, 1) both; }
  .slip-live .tick { stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .45s 2.6s ease forwards; }
  .hero-stage .device-mac { animation: rise .9s .1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-phone { animation: rise .9s .35s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes check-in { to { opacity: 1; transform: none; } }
@keyframes seal-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Destinations ---------- */
.destinations { padding: 36px 0 56px; }
.chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 920px; }
.chips li {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card); font-size: 15px; color: var(--text-soft);
}
.chips strong { color: var(--text); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--bg-soft); }
.section-alt { background: var(--bg-soft); }
.section-intro { max-width: 640px; color: var(--text-soft); margin: 0 0 44px; font-size: 19px; line-height: 1.5; }
/* Headline left, intro right, both on the main grid. */
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.section-head .display { margin-bottom: 0; }
.section-head .section-intro { margin: 0; font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card p { margin: 0; color: var(--text-soft); }
.feature h3 { margin-top: 18px; }
.glyph {
  width: 44px; height: 44px; padding: 9px; border-radius: 12px;
  background: var(--bg-soft); fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.section-tint .card, .section-tint .glyph { background: var(--bg-card); }
.section-tint .glyph { background: var(--bg-soft); }

.steps-3 { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps-3 li { border-top: 1px solid var(--border); padding-top: 22px; }
.steps-3 p { color: var(--text-soft); margin: 0; }
.step-num {
  display: block; font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 14px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Dark band: the verification slip. Dark in both appearances; on a dark page it goes to black with a glow. */
.section-dark {
  color: #f2f4f7;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(47, 85, 212, 0.20), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(23, 195, 178, 0.12), transparent 70%),
    #07090d;
}
.section-dark .eyebrow { color: #4fe3d2; }
.section-dark .section-intro { color: #a7b0be; }
.section-dark .display { color: #ffffff; }
.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1d222c; border: 1px solid #1d222c; border-radius: var(--radius); overflow: hidden; }
.check-grid li { background: #0d1016; padding: 26px 26px 24px; }
.check-grid h3 { font-size: 16px; color: #ffffff; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.check-grid h3::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: #22b35e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13.2 6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
.check-grid p { margin: 0; font-size: 14px; color: #a7b0be; line-height: 1.5; }
@media (prefers-color-scheme: dark) {
  .section-dark { background-color: #000000; box-shadow: inset 0 1px 0 #1d222c, inset 0 -1px 0 #1d222c; }
  .check-grid li { background: #10141b; }
}

/* Compare / trim */
.split-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.tool { margin: 0; }
.tool-frame {
  aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg-card); box-shadow: var(--shadow-lg);
}
.tool-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* The trim sheet floats on a tinted backdrop, the way it sits over the window. */
.tool-frame-sheet {
  display: grid; place-items: center; padding: 6% 8%;
  background: radial-gradient(70% 80% at 50% 0%, rgba(23, 195, 178, 0.16), transparent 70%), var(--bg-soft);
}
.tool-frame-sheet picture { display: block; height: 100%; }
.tool-frame-sheet img { width: auto; height: 100%; max-width: 100%; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-lg); }
.tool figcaption { margin-top: 22px; }
.tool figcaption p { color: var(--text-soft); margin: 0; }
.callout-line { margin: 48px 0 0; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--border); }
.callout-line strong { color: var(--text); }

/* Devices */
.device-row { display: grid; grid-template-columns: 1fr 0.75fr 1.25fr; grid-template-rows: auto auto auto; column-gap: 28px; }
.device-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.device-card > .device { align-self: end; }
.device-card h3 { margin-top: 26px; }
.device-card p { color: var(--text-soft); margin: 0; }
.device-card .device-ipad { max-width: 300px; }
.device-card .device-phone { max-width: 196px; }
.duo {
  margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 40px; border-radius: 28px; background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.duo-title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }
.duo p:last-child { color: var(--text-soft); margin: 0; }
.duo-device { display: flex; justify-content: center; perspective: 1400px; padding: 12px 0; }
.duo-half {
  flex: 1; max-width: 240px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 16px 12px; background: #0b0d12; border: 1.5px solid #3a3f4a;
}
.duo-half:first-child { border-radius: 26px 6px 6px 26px; transform: rotateY(16deg); transform-origin: right center; border-right-width: 0.5px; }
.duo-half:last-child { border-radius: 6px 26px 26px 6px; transform: rotateY(-16deg); transform-origin: left center; border-left-width: 0.5px; }
.duo-half img { display: block; width: 100%; height: auto; border-radius: 6px; }
.duo-half span {
  align-self: center; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  color: #f2f4f7; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.duo-half:last-child span { background: rgba(34, 179, 94, 0.22); color: #9ff0bf; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 32px 36px; display: flex; flex-direction: column; }
.plan:first-child { z-index: 1; }
.plan-pro {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 48px -24px rgba(16, 40, 80, 0.35);
}
.pricing-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pricing-cta .price-note { margin: 0; max-width: 56ch; }
.plan h3 { font-size: 22px; }
.plan .amount { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 4px; }
.plan .amount small { font-size: 16px; font-weight: 500; color: var(--text-soft); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; color: var(--text-soft); }
.plan ul li { position: relative; padding-left: 26px; margin: 9px 0; }
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.3 2.3L11.6 5.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; white-space: nowrap; }
tbody th { background: transparent; white-space: normal; color: var(--text); font-weight: 500; }
.compare-table th[scope="row"] { font-weight: 600; width: 24%; }
.compare-table tbody td:nth-child(2) { color: var(--text); font-weight: 500; }
.compare-table thead th:nth-child(2) { color: var(--accent); }
.compare-table td:nth-child(3) { color: var(--text-soft); }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.article tbody th[scope="row"] { white-space: nowrap; }
caption { text-align: left; padding: 12px 14px; color: var(--text-soft); caption-side: bottom; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 96px; }
.faq-more { color: var(--text-soft); margin: 0; }
.faq details { border-top: 1px solid var(--border); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-soft); margin: 12px 0 0; }

/* ---------- Final CTA ---------- */
.cta-box { margin: 40px 0 0; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.cta-box h2 { margin-top: 0; font-size: 22px; }
.cta-hero {
  margin: 0; text-align: center; padding: 72px 32px; border-radius: 32px; border: 0;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(23, 195, 178, 0.22), transparent 70%),
    radial-gradient(60% 80% at 85% 100%, rgba(47, 85, 212, 0.24), transparent 70%),
    var(--bg-soft);
}
.cta-hero h2 { font-size: clamp(34px, 5vw, 56px); margin: 18px auto 14px; }
.cta-hero p { color: var(--text-soft); font-size: 19px; max-width: 46ch; margin: 0 auto 28px; }
.cta-hero .cta-row { justify-content: center; }
.cta-icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: var(--shadow-lg); }

/* ---------- Articles (guides, privacy, support, limits) ---------- */
.article { padding: 56px 0 72px; }
.article h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.03em; }
.article h2 { font-size: 26px; margin-top: 44px; }
.article h3 { margin-top: 30px; }
.article p, .article li { color: var(--text); }
.article .meta { color: var(--text-soft); font-size: 15px; margin: 0 0 30px; }
.article ol, .article ul { padding-left: 24px; }
.article li { margin: 6px 0; }
.article .lead { max-width: none; }
.callout { border: 1px solid var(--border); background: var(--bg-soft); padding: 18px 22px; border-radius: var(--radius-sm); margin: 26px 0; }
.callout p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.92em; background: var(--bg-soft); border: 1px solid var(--border); padding: 1px 5px; border-radius: 5px; }
.breadcrumb { font-size: 14px; color: var(--text-soft); margin: 0 0 10px; }
.breadcrumb a { color: var(--text-soft); }
.guide-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.guide-list li { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--bg-card); }
.guide-list a { font-weight: 600; font-size: 19px; text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list p { margin: 4px 0 0; color: var(--text-soft); }

/* ---------- Dialog (waitlist) ---------- */
dialog {
  border: 1px solid var(--border); border-radius: 22px; padding: 0;
  background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-lg);
  width: min(520px, calc(100vw - 32px));
}
dialog::backdrop { background: rgba(8, 10, 16, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog-body { padding: 30px; }
.dialog-body h2 { font-size: 26px; margin-bottom: 10px; }
.dialog-body p { color: var(--text-soft); margin: 0 0 14px; }
.dialog-close { position: absolute; top: 12px; right: 12px; background: transparent; border: 0; font-size: 26px; line-height: 1; color: var(--text-soft); cursor: pointer; padding: 6px 10px; border-radius: 10px; }
.dialog-close:hover { color: var(--text); background: var(--bg-soft); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; }
.form-row label { font-weight: 600; font-size: 15px; }
input[type="email"] {
  font: inherit; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); width: 100%;
}
input[type="email"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.form-hint { font-size: 13px; color: var(--text-soft); }
.form-status { min-height: 22px; font-size: 15px; margin: 10px 0 0; }
.form-status.is-error { color: var(--fail); }
.form-status.is-ok { color: var(--pass); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notfound { text-align: center; padding: 120px 0 64px; }
.notfound .cta-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .slip-live { left: 3%; width: 260px; bottom: 32px; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .hero-stage { margin-top: 44px; padding-bottom: 24px; }
  .hero-stage .device-mac { max-width: none; margin: 0 14% 0 0; }
  .hero-phone { width: 27%; right: 18px; bottom: 0; }
  .slip-live { position: relative; left: auto; bottom: auto; width: auto; max-width: 420px; margin: 40px auto 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .grid-3, .grid-2, .pricing, .split-2, .steps-3 { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .device-row { grid-template-columns: 1fr 1fr; }
  .device-row .device-card:last-child { grid-column: 1 / -1; }
  .duo { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout > div:first-child { position: static; }
  .site-nav { gap: 14px; }
  .site-nav .hide-sm { display: none; }
}

/* Phones: the iPhone is the hero, devices scroll sideways, the table becomes cards. */
@media (max-width: 600px) {
  .hero-stage { display: flex; flex-direction: column; align-items: center; }
  .hero-stage .device-mac { display: none; }
  .hero-phone { position: relative; right: auto; bottom: auto; width: min(64vw, 260px); }
  .slip-live { margin: -96px auto 0; width: min(100%, 340px); z-index: 1; }
  .device-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 12px; scrollbar-width: none; }
  .device-row::-webkit-scrollbar { display: none; }
  .device-card { display: block; flex: 0 0 80%; scroll-snap-align: center; }
  .device-card .device-ipad, .device-card .device-phone { margin: 0 auto; }
  .device-card .device-phone { max-width: 168px; }
  .device-card .device-ipad { max-width: 230px; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
  .compare-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .compare-table tr:last-child { border-bottom: 0; }
  .compare-table th[scope="row"], .compare-table td { padding: 0; border: 0; }
  .compare-table th[scope="row"] { font-size: 16px; margin-bottom: 6px; width: auto; }
  .compare-table td { font-size: 15px; margin-top: 4px; }
  .compare-table td::before { content: attr(data-label) ": "; color: var(--text-soft); font-weight: 600; }
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; }
  .feature h3 { margin: 0; }
  .feature p { grid-column: 1 / -1; margin-top: 12px; }
  .chips { gap: 8px; }
  .chips li { padding: 7px 12px; font-size: 14px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .site-nav a:not(.btn):not([href$="#pricing"]) { display: none; }
  .check-grid { grid-template-columns: 1fr; }
  .cta-hero { padding: 52px 22px; }
  .pricing-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
