@font-face {
  font-family: "Gelasio";
  src: url("/fonts/gelasio-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6efe2;
  --paper-deep: #efe5d3;
  --paper-warm: #fbf4e7;
  --card: #fffbf3;
  --ink: #33281f;
  --ink-soft: #7a6857;
  --marigold: #f2a93b;
  --marigold-soft: #fbe3bb;
  --brand: #3e5f9a;
  --brand-soft: #dfe6f2;
  --eyebrow: #8a5a2b;
  --line: #e7dcc8;
  --shadow-1: 0 1px 2px rgba(64, 48, 30, 0.06), 0 0 0 1px rgba(64, 48, 30, 0.05);
  --shadow-2: 0 2px 4px rgba(64, 48, 30, 0.07), 0 14px 34px -18px rgba(64, 48, 30, 0.28), 0 0 0 1px rgba(64, 48, 30, 0.05);
  --shadow-3: 0 8px 20px rgba(50, 40, 30, 0.12), 0 36px 70px -28px rgba(50, 40, 30, 0.38);
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", Arial, sans-serif;
  --gutter: 20px;
  --wrap: min(1120px, calc(100% - (var(--gutter) * 2)));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(120, 95, 55, 0.055) 0.48px, transparent 0.58px);
  background-size: 7px 7px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin-top: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow-2);
  font-weight: 800;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--eyebrow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1,
h2,
.doc-title {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 6.8vw, 68px);
  line-height: 1;
}

h2,
.doc-title {
  font-size: clamp(32px, 5vw, 49px);
  line-height: 1.05;
}

h1 em,
h2 em {
  color: var(--brand);
  font-style: normal;
}

.lede {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.5vw, 21px);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.rule {
  width: 88px;
  height: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--marigold);
}

/* Header */
.site-head {
  padding: 16px 0 8px;
}

.head-row,
.brand {
  display: flex;
  align-items: center;
}

.head-row {
  justify-content: space-between;
  gap: 16px;
}

.brand {
  gap: 10px;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(45, 36, 30, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
}

/* Landing hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 70px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-copy .lede,
.hero-copy .rule {
  margin-inline: auto;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  min-width: 172px;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 9px 16px;
  border: 1px dashed #d6c7ad;
  border-radius: 14px;
  color: var(--ink);
  background: var(--card);
}

.badge svg {
  flex: none;
  opacity: 0.8;
}

.b-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.b-sub {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.b-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
}

.price-note {
  margin: 15px auto 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.price-note b {
  color: var(--ink);
}

.hero-art {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
}

.poster {
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow-3);
}

.poster img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* A two-line sample conversation, styled like the app's paper sheet. */
.talk {
  position: relative;
  z-index: 2;
  width: min(92%, 360px);
  margin: -34px auto 0;
  padding: 16px 18px 14px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-2);
  list-style: none;
}

.talk li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 7px 0;
}

.talk li + li {
  border-top: 1px solid var(--line);
}

.talk .who {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.talk .line {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.talk .turn {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--marigold-soft);
  box-shadow: inset 0 0 0 1px rgba(242, 169, 59, 0.55);
  font-size: 12px;
  font-weight: 800;
}

/* Facts */
.facts {
  padding: 0 0 70px;
}

.fact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-2);
  list-style: none;
}

.fact {
  padding: 18px 12px;
  text-align: center;
}

.fact:nth-child(2n) {
  border-left: 1px solid var(--line);
}

.fact:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.fact b {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 38px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

/* Sections */
.how,
.calm,
.privacy {
  padding: 64px 0;
}

.how {
  border-radius: 38px 38px 0 0;
  background: var(--paper-deep);
}

.sec-head {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.sec-head .lede {
  max-width: 48ch;
  margin-inline: auto;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-1);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 15px;
  font-weight: 800;
}

.steps li.is-turn::before {
  color: var(--ink);
  background: var(--marigold);
}

.steps h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.steps p {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.scene-pair {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.scene-pair figure {
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-2);
}

.scene-pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.scene-pair figcaption {
  padding: 13px 18px 15px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.scene-pair figcaption b {
  color: var(--ink);
}

.calm-grid {
  display: grid;
  align-items: center;
  gap: 36px;
}

.calm-copy .lede {
  max-width: 40ch;
}

.checks {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.checks li:last-child {
  border-bottom: 1px solid var(--line);
}

.checks > li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--marigold);
  font-size: 15px;
  font-weight: 800;
}

.checks b,
.checks small {
  display: block;
}

.checks b {
  color: var(--ink);
  font-size: 16px;
}

.checks small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.privacy {
  padding-top: 0;
}

.privacy-card {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background: var(--paper-warm);
  box-shadow: var(--shadow-2);
}

.privacy-card h2 {
  font-size: clamp(30px, 4.7vw, 44px);
}

.privacy-card p:not(.eyebrow) {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Footer */
.site-foot {
  padding: 28px 0 34px;
}

.foot-row {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 19px;
}

.foot-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.footer-sign {
  margin: 22px 0 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.copyright {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

/* Support and privacy pages share the same shell. */
.doc-main {
  padding: 42px 0 72px;
}

.doc-wrap {
  max-width: 820px;
}

.doc-title {
  margin-bottom: 26px;
}

.doc {
  padding: clamp(24px, 5vw, 46px);
  border-radius: 25px;
  background: var(--card);
  box-shadow: var(--shadow-2);
}

.doc h2 {
  margin: 2em 0 0.55em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.2;
}

.doc h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.doc h3 {
  margin: 1.5em 0 0.4em;
  color: var(--ink);
  font-size: 19px;
}

.doc p,
.doc ul {
  margin-bottom: 1em;
}

.doc strong {
  color: var(--ink);
}

.doc a {
  color: var(--brand);
  font-weight: 800;
}

.doc code {
  overflow-wrap: anywhere;
  font-family: inherit;
  font-weight: 800;
}

a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--ink) !important;
}

@media (min-width: 640px) {
  .fact-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .fact:nth-child(n + 2) {
    border-left: 1px solid var(--line);
  }

  .fact:nth-child(n + 3) {
    border-top: 0;
  }

  .scene-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .privacy-card {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 52px;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 42px 0 92px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy .lede,
  .hero-copy .rule {
    margin-left: 0;
  }

  .hero-copy .badges {
    justify-content: flex-start;
  }

  .hero-copy .price-note {
    margin-left: 0;
  }

  .hero-art {
    width: 100%;
  }

  .poster {
    transform: rotate(0.6deg);
  }

  .talk {
    margin: -48px 0 0 auto;
    margin-right: -6px;
  }

  .how,
  .calm,
  .privacy {
    padding-block: 82px;
  }

  .calm-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 78px;
  }

  .privacy {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
  }

  .site-head {
    padding-top: 13px;
  }

  .brand {
    gap: 8px;
    font-size: 15.5px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav a {
    padding-inline: 8px;
    font-size: 14px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-grid {
    gap: 40px;
  }

  .how {
    border-radius: 30px 30px 0 0;
  }

  .badge {
    min-width: 0;
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 10px;
  }
}

@media (max-width: 380px) {
  .head-row {
    gap: 6px;
  }

  .brand {
    gap: 6px;
    font-size: 14px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .nav a {
    padding-inline: 6px;
    font-size: 13px;
  }

  .badge {
    flex-basis: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
