/* Courtship AI marketing site. Same palette and type as the app; no inline styles (the CSP forbids them). */
:root {
  --bg: #fff7f3; --bg-2: #fbeee8; --card: #fff; --ink: #24181c; --ink-2: #4f4046; --muted: #8b7b81;
  --line: #f1e3de; --line-2: #e5d2cc; --accent: #d9476b; --accent-2: #f0806b; --accent-ink: #b1264d; --accent-soft: #fde8ee;
  --grad: linear-gradient(135deg, #f0806b 0%, #d9476b 55%, #b8305a 100%);
  --good: #2e8b64; --good-soft: #e2f4eb; --warn: #b36b00; --warn-soft: #fff0d6; --bad: #c2392f; --bad-soft: #fce6e3;
  --shadow: 0 1px 2px rgba(60, 20, 30, .05), 0 12px 32px -16px rgba(140, 40, 70, .22);
  --shadow-lg: 0 24px 60px -24px rgba(140, 40, 70, .35);
  --r: 22px; --r-s: 14px; --w: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #140f11; --bg-2: #1c1518; --card: #211a1d; --ink: #f7eef1; --ink-2: #d9cbd0; --muted: #a4949b;
    --line: #322729; --line-2: #413236; --accent: #f27a95; --accent-2: #f5987f; --accent-ink: #ffb3c4; --accent-soft: #3a2129;
    --good: #7fd3ab; --good-soft: #1c3a2e; --warn: #f3bc66; --warn-soft: #3c2e16; --bad: #f39189; --bad-soft: #44221f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6); --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #140f11; --bg-2: #1c1518; --card: #211a1d; --ink: #f7eef1; --ink-2: #d9cbd0; --muted: #a4949b;
  --line: #322729; --line-2: #413236; --accent: #f27a95; --accent-2: #f5987f; --accent-ink: #ffb3c4; --accent-soft: #3a2129;
  --good: #7fd3ab; --good-soft: #1c3a2e; --warn: #f3bc66; --warn-soft: #3c2e16; --bad: #f39189; --bad-soft: #44221f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6); --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); } h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); } h3 { font-size: 1.25rem; }
h4 { margin: 0 0 .6rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); font-weight: 700; }
p { margin: 0 0 1rem; } ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; } li { margin-bottom: .35rem; }
a { color: var(--accent-ink); text-underline-offset: 3px; } a.plain { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.muted { color: var(--muted); } .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; } .small { font-size: .88rem; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--w), 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }
section { padding: clamp(2.5rem, 7vw, 5.5rem) 0; }
section.tight { padding-top: 0; }
svg.i { width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--card); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .12s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px rgba(217, 71, 107, .8); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.big { font-size: 1.08rem; padding: .9rem 1.8rem; min-height: 54px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .actions { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top > .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) { .top .brand { font-size: 1.15rem; } .top .brand img { width: 30px; height: 30px; } }
.brand img { width: 36px; height: 36px; border-radius: 26%; box-shadow: 0 6px 16px -8px rgba(184, 48, 90, .6); }
.top nav { display: none; }
.top .cta { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.top .cta .btn { min-height: 42px; padding: .5rem 1.1rem; white-space: nowrap; }
.top .cta .signin { display: none; }
.menu { margin-left: .25rem; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.menu svg.i { width: 22px; height: 22px; }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.drawer.open { display: block; } .drawer .wrap { display: block; padding-bottom: .5rem; }
.drawer a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.drawer a.on { color: var(--accent-ink); }
@media (min-width: 900px) {
  .top nav { display: flex; gap: .2rem; margin-left: 1rem; }
  .top nav a { padding: .5rem .75rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
  .top nav a:hover { background: var(--bg-2); } .top nav a.on { color: var(--accent-ink); background: var(--accent-soft); }
  .menu, .drawer { display: none !important; }
  .top .cta .signin { display: inline-flex; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem) 0 clamp(2rem, 6vw, 4rem); }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero h1 { margin-bottom: .75rem; }
.hero .art { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 620px; }
.hero .art img { width: 100%; height: 100%; object-fit: cover; }
.hero .blob { position: absolute; inset: auto -10% -30% auto; width: 60vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%); pointer-events: none; }
.hero .kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .85rem; margin-bottom: 1rem; }
.hero .fine { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } .hero .art { aspect-ratio: 5 / 6; } }

/* feature strips and cards */
.grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); min-width: 0; }
.card.soft { background: var(--bg-2); border-color: transparent; box-shadow: none; }
.card.hero-card { background: var(--grad); color: #fff; border: 0; } .card.hero-card h2, .card.hero-card h3, .card.hero-card p { color: inherit; }
.card > :last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: .9rem; }
.card .ico svg.i { width: 22px; height: 22px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
a.card .more { color: var(--accent-ink); font-weight: 600; }
.card.pic { padding: 0; overflow: hidden; } .card.pic img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; } .card.pic .body { padding: 1.25rem 1.4rem 1.4rem; }
.alt { background: var(--bg-2); }
.split { display: grid; gap: 2rem; align-items: center; }
.split .shot { justify-self: center; width: min(320px, 100%); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--ink); background: var(--ink); }
.split .still { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); } .split .still img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.flip > :first-child { order: 2; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { position: relative; padding-left: 3.2rem; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: .1rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-family: var(--serif); }
.steps b { display: block; font-size: 1.08rem; margin-bottom: .15rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; } .ticks svg.i { color: var(--good); margin-top: .25rem; }
.quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; max-width: 30ch; }
.pillars { display: grid; gap: 1rem; } @media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars .card { text-align: center; } .pillars .card .ico { margin-inline: auto; }
.pillars b { display: block; font-family: var(--serif); font-size: 1.5rem; margin-bottom: .35rem; }
.band { background: var(--ink); color: var(--bg); } .band h2, .band p { color: inherit; } .band .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.band .btn.primary { box-shadow: none; }
.stat { display: grid; gap: .15rem; } .stat b { font-family: var(--serif); font-size: 2.2rem; line-height: 1; } .stat span { color: var(--muted); font-size: .9rem; }
.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); } @media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* pricing */
.plans { display: grid; gap: 1rem; } @media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { position: relative; display: grid; align-content: start; gap: .3rem; }
.plan.best { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-lg); }
.plan .flag { position: absolute; right: 1.2rem; top: -.75rem; padding: .25rem .7rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.plan .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; margin: .5rem 0 .2rem; } .plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.plan .ticks { margin: 1rem 0 1.25rem; font-size: .95rem; color: var(--ink-2); }
.packs { display: grid; gap: .9rem; } @media (min-width: 640px) { .packs { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 980px) { .packs { grid-template-columns: repeat(4, 1fr); } }
.pack .price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.launch { display: grid; gap: 1rem; align-items: center; background: var(--accent-soft); border-color: transparent; } @media (min-width: 760px) { .launch { grid-template-columns: 1fr auto; } }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.compare th, table.compare td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare th { font-weight: 600; } table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -1rem 1.5rem; padding: 0 1rem; } .tablewrap table { min-width: 520px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: .25rem 0; }
details summary { cursor: pointer; padding: .9rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex: none; }
details[open] summary::after { transform: rotate(-135deg); }
details .a { padding: 0 0 1rem; color: var(--ink-2); max-width: 70ch; }

/* legal and prose pages */
.prose { max-width: 76ch; } .prose h2 { font-size: 1.45rem; margin-top: 2.2rem; } .prose h3 { margin-top: 1.5rem; } .prose p, .prose li { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 1.25rem; } .prose th, .prose td { text-align: left; vertical-align: top; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.prose .summary { background: var(--bg-2); border-radius: var(--r-s); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.pagehead { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); }
.pagehead .lead { margin-top: .5rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; } .legal-nav a { padding: .4rem .85rem; border-radius: 999px; background: var(--bg-2); text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 500; } .legal-nav a.on { background: var(--accent-soft); color: var(--accent-ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; font-size: .92rem; color: var(--ink-2); }
footer .cols { display: grid; gap: 2rem; } @media (min-width: 760px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
footer h4 { color: var(--muted); } footer a { color: var(--ink-2); text-decoration: none; display: block; padding: .2rem 0; } footer a:hover { color: var(--accent-ink); }
footer .fine { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
footer .brand { font-size: 1.15rem; margin-bottom: .6rem; }
.skip { position: absolute; left: -999px; top: 0; } .skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem 1rem; z-index: 99; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .001s !important; } }
