/* Sigma marketing site. Blueprint Light tokens. Light theme only. */

:root {
  --paper: #f5f8fb;
  --paper-alt: #e8eef6;
  --paper-deep: #d6e0ec;
  --ink: #0b1a2e;
  --ink-soft: #22344d;
  --ink-muted: #52688a;
  --ink-faint: rgba(11, 26, 46, 0.62);
  --ink-hair: rgba(11, 26, 46, 0.10);
  --ink-hair-strong: rgba(11, 26, 46, 0.20);
  --rule: rgba(13, 126, 201, 0.10);
  --surface: #ffffff;
  --surface-warm: #fbfdff;
  --accent: #ff7a3d;
  --accent-deep: #e85a1c;
  --accent-soft: #ffe0d0;
  --accent-wash: rgba(255, 122, 61, 0.12);
  --blue: #0d7ec9;
  --blue-soft: #d6ecf9;
  --red: #c5354a;
  --red-soft: #ffd9de;
  --green: #0f8a5f;
  --cyan: #0d7ec9;

  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Berkeley Mono", "IBM Plex Mono", monospace;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --radius-glyph: 6px;
  --shadow-card: 5px 5px 0 var(--ink);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

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

.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;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  font-family: inherit;
}

/* Engineering grid background */

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(13, 126, 201, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 126, 201, 0.10) 1px, transparent 1px),
    linear-gradient(to right, rgba(13, 126, 201, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 126, 201, 0.05) 1px, transparent 1px);
  background-size:
    120px 120px,
    120px 120px,
    24px 24px,
    24px 24px;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  padding-inline: max(56px, calc((100% - 1200px) / 2 + 56px));
  border-bottom: 1px solid var(--ink-hair);
  background: rgba(245, 248, 251, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.nav__brand-text {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: -0.1px;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 14px/1 var(--font-ui);
  letter-spacing: -0.1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}


/* Eyebrow chip */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--ink);
  font: 400 11px/1.4 var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--muted {
  border: 0;
  padding: 0;
  color: var(--ink-muted);
  letter-spacing: 1.4px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 80px 56px 100px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero__title {
  font: 800 76px/0.96 var(--font-ui);
  letter-spacing: -3.2px;
  text-wrap: balance;
  margin: 24px 0 0;
  color: var(--ink);
}

.hero__title span {
  display: block;
}

.hero__highlight {
  background: linear-gradient(
    180deg,
    transparent 60%,
    var(--accent) 60%,
    var(--accent) 92%,
    transparent 92%
  );
  padding-right: 4px;
  white-space: nowrap;
}

.hero__lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  max-width: 520px;
  margin: 24px 0 16px;
}

.hero__body {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 14px/1 var(--font-ui);
  letter-spacing: -0.1px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 80ms ease-out, box-shadow 80ms ease-out, background 120ms ease-out;
}

.hero__cta:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.hero__cta:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

/* Notify modal */

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(11, 26, 46, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

html:has(dialog[open]) {
  overflow: hidden;
}

.modal__panel {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-card);
  padding: 32px 32px 28px;
  font-family: var(--font-ui);
}

@media (prefers-reduced-motion: no-preference) {
  .modal[open] .modal__panel {
    animation: modal-in 140ms ease-out;
  }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__panel::before,
.modal__panel::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--ink);
}

.modal__panel::before { left: 6px; }
.modal__panel::after { right: 6px; }

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font: 400 22px/1 var(--font-mono);
  color: var(--ink-muted);
  cursor: pointer;
}

.modal__close:hover { color: var(--ink); }

.modal__title {
  margin: 0 0 12px;
  font: 400 36px/1.05 var(--font-serif);
  letter-spacing: -0.8px;
  color: var(--ink);
}

.modal__lede {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 360px;
}

.modal__form {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.modal__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: var(--surface);
  font: 400 14px/1 var(--font-ui);
  color: var(--ink);
  outline: none;
}

.modal__input::placeholder {
  color: var(--ink-muted);
}

.modal__input:focus {
  border-color: var(--accent);
}

.modal__submit {
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 14px/1 var(--font-ui);
  letter-spacing: -0.1px;
  cursor: pointer;
  white-space: nowrap;
}

.modal__submit:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.modal__submit[aria-disabled="true"] {
  cursor: progress;
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.modal__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal__status {
  font-size: 13px;
  line-height: 1.4;
  color: var(--red);
  min-height: 1.4em;
}

.modal__status:empty {
  min-height: 0;
}

.modal__success {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.modal__success:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero__caption {
  margin-top: 14px;
  font: 400 11px/1.4 var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__caption-accent {
  color: var(--accent);
}

/* Shared inline notify form (modal, hero, closing band all reuse this) */

.notify-form {
  display: flex;
  gap: 0;
}

.notify-form__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: var(--surface);
  font: 400 15px/1 var(--font-ui);
  color: var(--ink);
  outline: none;
}

.notify-form__input::placeholder {
  color: var(--ink-muted);
}

.notify-form__input:focus {
  border-color: var(--accent);
}

.notify-form__submit {
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 15px/1 var(--font-ui);
  letter-spacing: -0.1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease-out, border-color 120ms ease-out;
}

.notify-form__submit:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.notify-form__submit[aria-disabled="true"] {
  cursor: progress;
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.notify-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notify-status {
  font-size: 13px;
  line-height: 1.4;
  color: var(--red);
  min-height: 1.4em;
}

.notify-status:empty {
  min-height: 0;
}

.notify-success {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.notify-success:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Hero inline capture */

.hero__positioning {
  margin: 22px 0 0;
}

.hero__capture {
  width: 100%;
  max-width: 440px;
  margin-top: 8px;
}

.hero__capture .notify-status {
  margin-top: 8px;
}

.hero__capture .notify-success {
  margin-top: 8px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

/* Hero phone fan (CSS-drawn iPhone bezels, per hero-fan.jsx / hero-spec.jsx) */

.hero__fan {
  /* --u scales the whole composition. Logical phone is 248 x 522 at --u: 1.
     The fan box is ~500 x 560 logical; --u tunes it to the visual column. */
  --u: 1.05;
  --phone-w: calc(248px * var(--u));
  --phone-h: calc(522px * var(--u));
  --phone-r: calc(44px * var(--u));
  --bezel: calc(6px * var(--u));
  --screen-r: calc(38px * var(--u));
  position: relative;
  width: 100%;
  max-width: 560px;
  height: calc(620px * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The stack: phones absolutely positioned around the centre */
.hero__fan-stack {
  position: relative;
  width: calc(500px * var(--u));
  height: calc(560px * var(--u));
}

/* One CSS-drawn iPhone */
.hero__phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--phone-w);
  height: var(--phone-h);
  /* base translate(-50%, -50%) centres each phone before its own
     spec offset / scale / rotation, applied on the modifiers below. */
}

/* Titanium outer body */
.hero__phone-edge {
  position: absolute;
  inset: 0;
  border-radius: var(--phone-r);
  background: linear-gradient(
    135deg,
    #2b3340 0%,
    #3d4654 20%,
    #1c232e 50%,
    #404a59 80%,
    #232b37 100%
  );
}

/* Darker inner metallic facet ring */
.hero__phone-ring {
  position: absolute;
  inset: calc(3px * var(--u));
  border-radius: calc(var(--phone-r) - 3px * var(--u));
  background: #0a0d12;
  box-shadow:
    inset 0 0 0 0.75px rgba(255, 255, 255, 0.10),
    inset 0 0 0 1.5px rgba(0, 0, 0, 0.5);
}

/* Signal-orange hairline on the top edge (front phone only) */
.hero__phone-hairline {
  position: absolute;
  top: -1px;
  left: calc(var(--phone-r) * 0.6);
  right: calc(var(--phone-r) * 0.6);
  height: 2px;
  background: var(--accent);
  opacity: 0.85;
  filter: blur(0.4px);
  z-index: 3;
}

/* Screen surface holding the screenshot */
.hero__phone-screen {
  position: absolute;
  inset: var(--bezel);
  border-radius: var(--screen-r);
  background: var(--paper);
  overflow: hidden;
}

.hero__phone-screen picture,
.hero__phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Dynamic Island */
.hero__phone-island {
  position: absolute;
  top: calc(11px * var(--u));
  left: 50%;
  transform: translateX(-50%);
  width: calc(86px * var(--u));
  height: calc(26px * var(--u));
  border-radius: calc(16px * var(--u));
  background: #06090d;
  z-index: 2;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.05),
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.8);
}

/* Per-phone placement (z-order, rotation, x/y offset, scale) — spec numbers.
   Layered drop-shadow stands in for the JSX box-shadow recipe so the shadow
   follows the rotated/scaled phone silhouette. */
.hero__phone--front {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  filter: drop-shadow(0 40px 70px rgba(11, 26, 46, 0.32))
    drop-shadow(0 18px 36px rgba(11, 26, 46, 0.30));
}

.hero__phone--back-left {
  z-index: 1;
  transform: translate(-50%, -50%)
    translate(calc(-104px * var(--u)), calc(8px * var(--u)))
    scale(0.88) rotate(-10deg);
  filter: drop-shadow(0 26px 50px rgba(11, 26, 46, 0.30))
    drop-shadow(0 10px 22px rgba(11, 26, 46, 0.26));
}

.hero__phone--back-right {
  z-index: 2;
  transform: translate(-50%, -50%)
    translate(calc(104px * var(--u)), calc(2px * var(--u)))
    scale(0.88) rotate(9deg);
  filter: drop-shadow(0 26px 50px rgba(11, 26, 46, 0.30))
    drop-shadow(0 10px 22px rgba(11, 26, 46, 0.26));
}

/* Section base */

section.section {
  padding: 96px 56px;
  border-top: 1px solid var(--ink-hair);
}

.section--alt {
  background: var(--paper-alt);
}

.section__inner {
  max-width: 1088px;
  margin: 0 auto;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}

.section__title {
  font: 400 64px/1 var(--font-serif);
  letter-spacing: -1.6px;
  margin: 0;
  color: var(--ink);
}

/* Capabilities — alternating screenshot + copy rows */

.cap__inner {
  max-width: 1088px;
  margin: 0 auto;
}

.cap-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: center;
}

.cap-row + .cap-row {
  margin-top: 88px;
}

.cap-row--flip .cap-shot-wrap {
  order: 2;
}

.cap-shot-wrap {
  position: relative;
}

.cap-shot {
  width: 232px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 10px solid #0e131b;
  border-radius: 42px;
  box-shadow: 0 30px 60px -20px rgba(11, 26, 46, 0.55), 0 0 0 1px rgba(11, 26, 46, 0.06);
}

/* Dynamic Island pill, matching the hero phones' proportions (86/248 of screen width). */
.cap-shot-wrap::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 23px;
  border-radius: 13px;
  background: #06090d;
  pointer-events: none;
}

.cap-row__eyebrow {
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.cap-row__title {
  font: 800 34px/1.05 var(--font-ui);
  letter-spacing: -1px;
  color: var(--ink);
  margin: 14px 0 14px;
}

.cap-row__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 420px;
}

/* Pricing */

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.pricing__col {
  display: flex;
  flex-direction: column;
}

.pricing__heading {
  padding-bottom: 12px;
  margin-bottom: 20px;
  font: 600 14px/1 var(--font-ui);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
}

.pricing__col--free .pricing__heading {
  border-bottom: 1px solid var(--ink-hair);
}

.pricing__col--pro .pricing__heading {
  border-bottom: 1.5px solid var(--accent);
}

.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing__list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.pricing__list li::before {
  content: "✓";
  font-family: var(--font-mono);
  color: var(--ink-muted);
  flex-shrink: 0;
}

.pricing__col--pro .pricing__list li::before {
  color: var(--accent);
}

.pricing__prices {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--ink-hair);
  font: 400 14px/1.7 var(--font-mono);
  letter-spacing: -0.1px;
  color: var(--ink);
}

.pricing__price-trial {
  color: var(--ink-muted);
  font-size: 12px;
}

.pricing__cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* Free generosity promo line on the Free pricing column */

.pricing__promo {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--ink-hair);
  font: 400 13px/1.5 var(--font-mono);
  letter-spacing: -0.1px;
  color: var(--ink-soft);
}

/* Closing CTA band (warmest-intent capture, after FAQ) */

.cta-band {
  border-top: 1px solid var(--ink-hair);
  background: var(--paper-alt);
}

.cta-band__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 88px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-band__title {
  margin: 16px 0 12px;
  font: 800 40px/1.05 var(--font-ui);
  letter-spacing: -1px;
  color: var(--ink);
}

.cta-band__lede {
  margin: 0 0 28px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cta-band__capture {
  width: 100%;
  max-width: 440px;
}

.cta-band__capture .notify-status,
.cta-band__capture .notify-success {
  margin-top: 8px;
}

.cta-band__follow {
  margin-top: 22px;
  font: 400 13px/1.5 var(--font-mono);
  letter-spacing: -0.1px;
  color: var(--ink-muted);
}

/* FAQ */

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-top: 1px solid var(--ink-hair);
  padding: 20px 0;
}

.faq__item:last-child {
  border-bottom: 1px solid var(--ink-hair);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font: 600 18px/1.4 var(--font-ui);
  letter-spacing: -0.3px;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__indicator {
  font: 400 18px/1 var(--font-mono);
  color: var(--ink-muted);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.faq__item[open] .faq__indicator::before {
  content: "−";
}

.faq__item .faq__indicator::before {
  content: "+";
}

.faq__answer {
  margin-top: 14px;
  font: 400 18px/1.55 var(--font-serif);
  color: var(--ink-soft);
  max-width: 600px;
}

.faq__answer p {
  margin: 0;
}

.faq__answer p + .faq__compare {
  margin-top: 14px;
}

.faq__compare {
  border-collapse: collapse;
  width: 100%;
  max-width: 520px;
  font: 400 14px/1.5 var(--font-ui);
  color: var(--ink-soft);
}

.faq__compare th,
.faq__compare td {
  border-bottom: 1px solid var(--ink-hair);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.faq__compare thead th {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-hair-strong);
}

.faq__compare tbody th[scope="row"] {
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Footer */

.footer {
  padding: 80px 56px 64px;
  border-top: 1px solid var(--ink-hair);
  background: var(--paper);
}

.footer__inner {
  max-width: 1088px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__brand-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.footer__attribution {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-hair);
}

.footer__links--social {
  border-top: 0;
  padding-top: 0;
}

.footer__link {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-hair);
  padding-bottom: 1px;
}

.footer__link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.footer__copyright {
  padding-top: 8px;
  font: 400 13px/1 var(--font-mono);
  letter-spacing: 0.4px;
  color: var(--ink-muted);
}

/* App Store badge */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-ui);
  border: 0;
  cursor: pointer;
}

.app-store-badge:hover {
  background: var(--ink-soft);
}

.app-store-badge__icon {
  width: 22px;
  height: auto;
  fill: currentColor;
  flex-shrink: 0;
}

.app-store-badge__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-store-badge__label-top {
  font-size: 10px;
  opacity: 0.85;
  letter-spacing: 0.3px;
  line-height: 1;
}

.app-store-badge__label-bottom {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-top: 2px;
  line-height: 1;
}

/* Privacy page */

.privacy-header {
  padding-block: 24px;
  padding-inline: max(56px, calc((100% - 1200px) / 2 + 56px));
  border-bottom: 1px solid var(--ink-hair);
  background: var(--paper);
}

.privacy-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.privacy-header__brand-text {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.privacy {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 96px;
}

.privacy__updated {
  font: 400 11px/1 var(--font-mono);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.privacy__title {
  font: 400 88px/0.96 var(--font-serif);
  letter-spacing: -2.4px;
  margin: 0;
  color: var(--ink);
}

.privacy__lede {
  margin-top: 24px;
  font: italic 400 22px/1.5 var(--font-serif);
  color: var(--ink-soft);
  max-width: 600px;
}

.privacy__sections {
  display: flex;
  flex-direction: column;
  gap: 44px;
  margin-top: 56px;
}

.privacy__section h2 {
  font: 400 32px/1.1 var(--font-serif);
  letter-spacing: -0.6px;
  margin: 0 0 14px;
  color: var(--ink);
}

.privacy__section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.privacy__section p + p {
  margin-top: 14px;
}

.privacy__section a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-hair);
  padding-bottom: 1px;
  text-decoration: none;
}

.privacy__section a:hover {
  border-bottom-color: var(--ink);
}

/* 404 */

.notfound {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
  gap: 32px;
}

.notfound__wordmark {
  width: 160px;
  height: auto;
}

.notfound__title {
  font: 400 64px/1 var(--font-serif);
  letter-spacing: -1.6px;
  margin: 0;
  color: var(--ink);
}

.notfound__body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0;
}

.notfound__link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  text-decoration: none;
}

/* Responsive */

@media (max-width: 959px) {
  .nav,
  .privacy-header,
  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  section.section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 64px 32px 80px;
    gap: 48px;
  }

  .hero__title {
    font-size: 56px;
    letter-spacing: -2.4px;
  }

  .hero__visual {
    justify-content: center;
  }

  /* Tablet / narrow desktop: keep the full fan, shrink to fit the column. */
  .hero__fan {
    --u: 0.92;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section__title {
    font-size: 48px;
    letter-spacing: -1.2px;
  }

  .privacy {
    padding: 56px 24px 80px;
  }

  .privacy__title {
    font-size: 64px;
    letter-spacing: -1.8px;
  }

  .privacy__section h2 {
    font-size: 28px;
  }
}

@media (max-width: 599px) {
  body {
    font-size: 15px;
  }

  .nav,
  .privacy-header,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  section.section {
    padding: 64px 22px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    padding: 6px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 48px 22px 64px;
    gap: 36px;
  }

  .hero__title {
    font-size: 32px;
    letter-spacing: -1.4px;
    line-height: 1.05;
  }

  /* Allow the highlighted phrase to wrap on very narrow screens rather than
     clip under body overflow-x:hidden (it stays one line at >=360px). */
  .hero__highlight {
    white-space: normal;
  }

  .hero__body {
    font-size: 15px;
    margin: 16px 0 24px;
  }

  .hero__cta {
    width: 100%;
    height: 44px;
  }

  .modal__panel {
    padding: 28px 22px 22px;
  }

  .modal__title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }

  .modal__form {
    flex-direction: column;
    gap: 8px;
  }

  .modal__input {
    width: 100%;
    border-right: 1px solid var(--ink);
  }

  .modal__submit {
    width: 100%;
  }

  .hero__caption {
    font-size: 10px;
  }

  /* Mobile: keep the full three-phone fan, scaled down to fit the column. */
  .hero__fan {
    --u: 0.6;
    height: calc(580px * var(--u));
    max-width: 100%;
  }

  .section__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .cap-row {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .cap-row + .cap-row {
    margin-top: 56px;
  }

  .cap-row--flip .cap-shot-wrap {
    order: 0;
  }

  .cap-row__title {
    font-size: 27px;
    letter-spacing: -0.6px;
  }

  .cap-row__desc {
    margin: 0 auto;
  }

  .hero__capture {
    max-width: 100%;
  }

  .cta-band__inner {
    padding: 64px 22px;
  }

  .cta-band__title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }

  .faq__compare {
    font-size: 13px;
  }

  .faq__compare th,
  .faq__compare td {
    padding: 6px 8px;
  }

  .privacy {
    padding: 48px 22px 64px;
  }

  .privacy__title {
    font-size: 48px;
    letter-spacing: -1.2px;
  }

  .privacy__lede {
    font-size: 18px;
  }

  .privacy__section h2 {
    font-size: 24px;
  }

  .footer {
    padding: 56px 22px 48px;
  }

  .app-store-badge {
    height: 44px;
    padding: 0 16px;
  }

  .app-store-badge__label-bottom {
    font-size: 15px;
  }
}
