/* ═══════════════════════════════════════════════════════════════════════════
   Yappng - site styles
   Ink on paper, like the logo: cream stock, heavy black lines, tomato accent.
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --display: 'Bowlby One', 'Arial Black', sans-serif;
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --paper:     #f5efe3;
  --paper-2:   #ece4d3;
  --card:      #fffaf0;
  --ink:       #15130f;
  --ink-2:     #3d3830;
  --ink-3:     #6b6358;
  --tomato:    #c43220;
  --tomato-d:  #a32816;
  --tomato-text: #b0301b;
  --mustard:   #f3b53a;
  --basil:     #2d6a3e;
  --line:      2.5px solid var(--ink);
  --shadow:    5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius:    14px;
  --nav-h:     64px;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: var(--ink) var(--paper-2);
}
::selection { background: var(--mustard); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 3px; }
.privacy-band, .footer { --focus: var(--mustard); }
.final-cta { --focus: #fff; }

.skip-link {
  position: fixed;
  left: 16px; top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--paper);
}
.skip-link:focus { top: 12px; }

body {
  font-family: var(--font);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  caret-color: var(--tomato);
}

/* Paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

kbd, .kbd {
  font-family: var(--mono);
  font-size: .82em;
  font-weight: 700;
  display: inline-block;
  padding: .1em .55em;
  background: var(--card);
  border: 2px solid var(--ink);
  border-bottom-width: 4px;
  border-radius: 7px;
  line-height: 1.4;
  white-space: nowrap;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 26px;
  border: var(--line);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
  .btn-primary:hover { background: var(--tomato-d); }
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--tomato); color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); }
.btn-lg { font-size: 18px; padding: 16px 32px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------------
   Nav
   --------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(245, 239, 227, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--ink); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 38px; height: 38px; object-fit: contain; }
.nav-logo-text { font-family: var(--display); font-size: 22px; letter-spacing: .02em; }

.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 15px; }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 2.5px; background: var(--tomato); transition: right .2s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }

.nav-cta { padding: 9px 20px; font-size: 15px; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.hero {
  padding: 136px 24px 90px;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mustard);
  margin-bottom: 26px;
  transform: rotate(-1.5deg);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 88px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-bottom: 26px;
}
.hero-title .strike {
  position: relative;
  color: var(--ink-3);
}
.hero-title .strike::after {
  content: '';
  position: absolute;
  left: -3%; right: 2%; top: 54%;
  height: .13em;
  background: var(--tomato);
  border-radius: 4px;
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left;
  animation: strike .5s .6s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes strike { to { transform: rotate(-3deg) scaleX(1); } }
.hero-title .accent { color: var(--tomato); }

.hero-subtitle {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }

.hero-note { font-size: 14px; color: var(--ink-3); }
.hero-note a { text-decoration: underline; text-underline-offset: 2px; padding: 8px 0; }

/* Demo window --------------------------------------------------------------*/

.demo { position: relative; }

.demo-window {
  background: var(--card);
  border: var(--line);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(1deg);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: var(--line);
  background: var(--paper-2);
}
.demo-bar .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.demo-bar .dot:nth-child(1) { background: var(--tomato); }
.demo-bar .dot:nth-child(2) { background: var(--mustard); }
.demo-bar .dot:nth-child(3) { background: #7cb87f; }
.demo-app {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  transition: opacity .3s ease;
}

.demo-body { padding: 22px 22px 26px; min-height: 270px; display: flex; flex-direction: column; }

.demo-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }

.demo-field {
  flex: 1;
  border: 2px dashed rgba(21,19,15,.25);
  border-radius: 10px;
  padding: 16px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  min-height: 150px;
}
.demo-text { white-space: pre-wrap; }
.demo-text:empty::before { content: 'Hold the key and talk'; color: var(--ink-3); opacity: .7; }
.demo-caret {
  display: inline-block;
  width: 2px; height: 1.15em;
  background: var(--ink);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Floating pill, modelled on the app's own status overlay */
.demo-pill {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translate(-50%, 20px) scale(.9);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 18px 0 14px;
  min-width: 240px;
  background: rgba(255,255,255,.92);
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: opacity .25s ease, transform .3s cubic-bezier(.3,1.5,.5,1);
  z-index: 2;
}
.demo-pill.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.demo-pill-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--tomato);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.demo-pill.busy .demo-pill-icon { background: var(--ink); }
.demo-pill-label { font-weight: 700; font-size: 14px; white-space: nowrap; }
.demo-spectrum { display: flex; align-items: center; gap: 3px; height: 30px; flex: 1; }
.demo-spectrum span {
  width: 4px;
  border-radius: 3px;
  background: var(--ink);
  height: 4px;
  transition: height .09s ease;
}
.demo-pill.busy .demo-spectrum span { height: 4px !important; opacity: .35; }

.demo-key {
  position: absolute;
  top: -26px;
  right: -14px;
  z-index: 3;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 15px;
  padding: 10px 16px;
  background: var(--mustard);
  border: var(--line);
  border-bottom-width: 7px;
  border-radius: 12px;
  transform: rotate(6deg);
  transition: transform .1s ease, border-bottom-width .1s ease;
}
.demo-key.down { transform: rotate(6deg) translateY(4px); border-bottom-width: 3px; }

/* ---------------------------------------------------------------------------
   App marquee
   --------------------------------------------------------------------------- */

.marquee {
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1deg);
  margin: 30px -10px 0;
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.marquee-track span::after { content: '✺'; color: var(--mustard); margin-left: 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------------- */

section { position: relative; }

.section { padding: 110px 0; }
.section-alt { background: var(--paper-2); border-top: var(--line); border-bottom: var(--line); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tomato-text);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  margin-bottom: 18px;
}
.section-subtitle { font-size: 19px; color: var(--ink-2); }

/* Speed stat -------------------------------------------------------------- */

.speed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.speed-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 30px 30px 34px;
}
.speed-card.fast { background: var(--tomato); color: #fff; }
.speed-label { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.speed-num { font-family: var(--display); font-size: 84px; line-height: 1; }
.speed-num small { font-size: 26px; margin-left: 6px; }
.speed-bar {
  margin-top: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
}
.speed-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: currentColor;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.speed-card.in .speed-bar i { width: var(--w); }
.speed-foot { text-align: center; margin-top: 34px; color: var(--ink-3); font-size: 15px; }

/* Steps ------------------------------------------------------------------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.step-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-card:nth-child(2) { transform: translateY(26px); }
.step-number {
  font-family: var(--display);
  font-size: 22px;
  width: 50px; height: 50px;
  border: var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mustard);
  margin-bottom: 20px;
}
.step-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.step-desc { color: var(--ink-2); }

/* Privacy (dark) ---------------------------------------------------------- */

.privacy-band {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
  overflow: hidden;
}
.privacy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.privacy-band .section-title { color: var(--paper); }
.privacy-band .eyebrow { color: var(--mustard); }
.privacy-band .section-subtitle { color: #cfc6b5; }
.privacy-points { margin-top: 30px; display: grid; gap: 14px; }
.privacy-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.privacy-points li::before {
  content: '';
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  border-radius: 50%;
  background: var(--tomato) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

.airplane {
  border: 2.5px solid var(--paper);
  border-radius: 22px;
  padding: 30px;
  background: #221f19;
  box-shadow: 8px 8px 0 var(--tomato);
  font-family: var(--mono);
  font-size: 15px;
}
.airplane-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed #4a4439;
}
.airplane-row:last-child { border-bottom: 0; }
.airplane-row b { color: var(--mustard); }
.toggle {
  width: 52px; height: 30px;
  border-radius: 999px;
  background: var(--tomato);
  position: relative;
  border: 2px solid var(--paper);
}
.toggle::after {
  content: ''; position: absolute; top: 3px; right: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--paper);
}
.airplane-ok { color: #8fd19e; font-weight: 700; }

/* Features ---------------------------------------------------------------- */

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .feature-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
}
.feature-icon {
  width: 48px; height: 48px;
  border: var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--paper-2);
}
.feature-card:nth-child(3n+1) .feature-icon { background: var(--mustard); }
.feature-card:nth-child(3n+2) .feature-icon { background: #f6b7a8; }
.feature-card:nth-child(3n+3) .feature-icon { background: #b9dcc0; }
.feature-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.feature-desc { color: var(--ink-2); font-size: 16px; }

/* Use cases --------------------------------------------------------------- */

.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 980px; margin: 0 auto; }
.use {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  background: var(--card);
}
.use:nth-child(4n+1) { transform: rotate(-2deg); }
.use:nth-child(4n+3) { transform: rotate(1.5deg); background: var(--mustard); }
.use:nth-child(5n) { background: var(--tomato); color: #fff; }

/* Compare ----------------------------------------------------------------- */

.compare {
  max-width: 900px;
  margin: 0 auto;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 2px solid var(--paper-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: var(--paper); font-size: 15px; }
.compare thead th.us { background: var(--tomato); }
.compare td.us { background: #fff1ea; font-weight: 700; }
.compare td:first-child { font-weight: 600; }
.compare .cell-label { display: none; }
.yes { color: var(--basil); font-weight: 800; }
.no  { color: var(--tomato-d); font-weight: 800; }
.compare-note { text-align: center; color: var(--ink-3); font-size: 15px; margin-top: 28px; }

/* Pricing ----------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-card {
  border: var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.pricing-card-popular { background: var(--mustard); transform: translateY(-14px); box-shadow: 8px 8px 0 var(--ink); }
.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--tomato);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.pricing-tier { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.pricing-for { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.pricing-for strong { color: var(--ink); font-weight: 700; }
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.pricing-amount { font-family: var(--display); font-size: 62px; line-height: 1; }
.pricing-period { font-weight: 700; color: var(--ink-2); }
.pricing-features { display: grid; gap: 11px; align-content: start; margin-bottom: 28px; flex: 1; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.pricing-features svg { margin-top: 4px; flex-shrink: 0; color: var(--basil); }

.math {
  max-width: 760px;
  margin: 70px auto 0;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 2.5px dashed var(--ink);
  border-radius: var(--radius);
  padding: 22px 28px;
  background: rgba(255,250,240,.6);
}
.math-num { font-family: var(--display); font-size: 40px; color: var(--tomato); white-space: nowrap; line-height: 1; }
.math p { color: var(--ink-2); font-size: 16px; }

/* FAQ --------------------------------------------------------------------- */

.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 20px 56px 20px 24px;
  min-height: 64px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question { border-radius: calc(var(--radius) - 2px); transition: background .15s ease; }
.faq-question:hover { background: var(--paper-2); }
.faq-item[open] .faq-question:hover { background: transparent; }
.faq-question:focus-visible { outline-offset: 2px; }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 26px;
  color: var(--tomato);
  transition: transform .2s ease;
}
.faq-item[open] .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--ink-2); }
.faq-answer a { text-decoration: underline; }

/* Final CTA --------------------------------------------------------------- */

.final-cta {
  background: var(--tomato);
  color: #fff;
  border-top: var(--line);
  padding: 110px 24px;
  text-align: center;
  overflow: hidden;
}
.final-cta-mic {
  width: 110px;
  margin: 0 auto 26px;
  filter: invert(1);
  mix-blend-mode: screen;
  animation: wobble 3s ease-in-out infinite;
}
@keyframes wobble { 50% { transform: rotate(-6deg) translateY(-4px); } }
.final-cta-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  margin-bottom: 18px;
}
.final-cta-subtitle { font-size: 20px; margin-bottom: 34px; opacity: .95; }
.final-cta .btn { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 #fff; border-color: var(--ink); }

/* Footer ------------------------------------------------------------------ */

.footer { background: var(--ink); color: #cfc6b5; padding: 56px 24px 40px; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px 40px;
  font-size: 15px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); color: var(--paper); font-size: 26px; letter-spacing: .02em; }
.footer-logo-img { filter: invert(1); width: 40px; height: 40px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; font-weight: 600; }
.footer-links a { padding: 11px 0; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--tomato); text-decoration-thickness: 2.5px; }
.footer-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px dashed #4a4439; font-family: var(--mono); font-size: 13px; }

/* Long-form pages (privacy, support) ------------------------------------- */

.page { padding: 136px 0 110px; }
.page h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 60px); line-height: 1.02; margin-bottom: 14px; }
.page .lede { font-size: 19px; color: var(--ink-2); margin-bottom: 40px; }
.page h2 { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 44px 0 10px; }
.page p, .page li { max-width: 68ch; }
.page p, .page li { color: var(--ink-2); margin-bottom: 12px; }
.page ul { list-style: disc; padding-left: 22px; }
.page li::marker { color: var(--tomato); }
.page a { text-decoration: underline; text-underline-offset: 2px; }
.page .card p:last-child { margin-bottom: 0; }
.page .meta { margin-top: 40px; font-size: 14px; color: var(--ink-3); }
.page .card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
  margin: 24px 0;
}

/* Reveal on scroll -------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.step-card.reveal.in:nth-child(2) { transform: translateY(26px); }
.pricing-card-popular.reveal.in { transform: translateY(-14px); }

/* Hero entrance */
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.demo { animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
  .speed-card .speed-bar i { width: var(--w); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .speed-card .speed-bar i { width: var(--w); }
  .marquee { overflow-x: auto; }
  .hero-title .strike::after { transform: rotate(-3deg) scaleX(1); }
}

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 70px; }
  .demo { max-width: 560px; width: 100%; margin: 0 auto; }
  .privacy-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step-card:nth-child(2), .step-card.reveal.in:nth-child(2) { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; gap: 34px; }
  .pricing-card-popular, .pricing-card-popular.reveal.in { transform: none; }
}

@media (max-width: 720px) {
  :root { --nav-h: 108px; }
  body { font-size: 16px; }
  .nav-inner { flex-wrap: wrap; align-content: center; row-gap: 0; padding: 0 20px; }
  .nav-inner { min-height: 0; }
  .nav-logo { min-height: 56px; }
  .nav-cta { order: 2; }
  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    border-top: 1.5px solid rgba(21,19,15,.18);
  }
  .nav-links a { padding: 14px 4px; }
  .nav-links a::after { bottom: 8px; }
  .hero, .page, .gs-hero { padding-top: calc(var(--nav-h) + 28px); }
  .section, .privacy-band { padding: 80px 0; }
  .section-header { margin-bottom: 44px; }
  .final-cta { padding: 84px 24px; }
  .steps-grid, .speed-grid, .features-grid { grid-template-columns: 1fr; }
  .step-card:nth-child(2), .step-card.reveal.in:nth-child(2) { transform: none; }
  .speed-num { font-size: 64px; }
  .hero-subtitle { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .demo-key { right: 6px; }
  .demo-pill { min-width: 0; width: 86%; }
  .airplane { padding: 20px; font-size: 14px; }
  .math { flex-direction: column; text-align: center; gap: 12px; }
  .footer { padding: 44px 20px 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 0 24px; }

  /* Comparison table becomes one stacked block per row */
  .compare table, .compare tbody, .compare tr, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { border-bottom: var(--line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare td { padding: 10px 16px; border-bottom: 0; font-size: 15px; display: flex; gap: 14px; justify-content: space-between; align-items: baseline; }
  .compare td:first-child { background: var(--ink); color: var(--paper); font-size: 14px; letter-spacing: .01em; }
  .compare td.us { background: #fff1ea; }
  .compare .cell-label { display: block; flex: 0 0 46%; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; line-height: 1.35; }
  .compare td.us .cell-label { color: var(--tomato-text); }
  .compare .cell-value { text-align: right; }
}
