:root {
  --paper: #F6EFEA; --paper-2: #FFFFFF; --paper-3: #ECE3DD;
  --ink: #1D1614; --ink-2: #635852; --ink-3: #766A63;
  --terra: #DE6640; --terra-deep: #B04424; --accent: #C4502C; --moss: #4E7A5E;
  --line: rgba(29, 22, 20, .10);
  --glass: rgba(255, 255, 255, .62); --glass-border: rgba(255, 255, 255, .75);
  --shadow: 0 18px 50px -24px rgba(74, 38, 18, .35);
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #120E13; --paper-2: #262026; --paper-3: #342D34;
    --ink: #F6EEE9; --ink-2: #BEB1AC; --ink-3: #A0948F;
    --terra: #FF8058; --terra-deep: #FF9670; --line: rgba(255, 255, 255, .10);
    --glass: rgba(38, 32, 38, .7); --glass-border: rgba(255, 255, 255, .10);
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text);
  font-size: 17px; line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 30rem at 0% 0%, rgba(255, 168, 128, .35), transparent 60%),
    radial-gradient(36rem 28rem at 100% 20%, rgba(196, 160, 232, .25), transparent 60%),
    radial-gradient(40rem 30rem at 80% 100%, rgba(150, 200, 170, .22), transparent 60%);
}
a { color: var(--terra-deep); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 700px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); background: color-mix(in srgb, var(--paper) 72%, transparent); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--round); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); margin-left: -4px; align-self: flex-start; margin-top: 7px; }
.hero-brand { display: flex; flex-direction: column; gap: 2px; margin: 0 0 22px; }
.hero-brand .wordmark { font-family: var(--round); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); line-height: 1; letter-spacing: -.02em; color: var(--terra-deep); }
.hero-brand .tagline { font-family: var(--round); font-size: 16px; font-weight: 600; color: var(--ink-2); text-wrap: balance; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--glass); color: var(--ink); }
.nav a.cta { background: var(--accent); color: #fff; }
.nav a.cta:hover { background: var(--terra); color: #fff; }

/* Type */
h1, h2, h3 { font-family: var(--round); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem); font-weight: 800; }
h1 em { font-style: italic; color: var(--terra-deep); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-deep); }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); }

/* Cards & buttons */
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 26px; box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--text); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background-color .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(196, 80, 44, .9); }
.btn-primary:hover { background: var(--terra); }
.btn-soft { background: var(--glass); color: var(--ink); border: 1px solid var(--line); }
.btn:focus-visible, .nav a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(196, 80, 44, .45); outline-offset: 2px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: 64px 40px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .phone { width: min(300px, 70vw); border-radius: 38px; box-shadow: 0 40px 80px -30px rgba(74, 38, 18, .55); border: 6px solid #1d1614; }
.hero-art .wave { position: absolute; width: 130px; left: -10px; bottom: 24px; filter: drop-shadow(0 16px 28px rgba(245, 125, 72, .4)); }
.honest { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* Features */
.section { padding: 56px 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.features.two { grid-template-columns: repeat(2, 1fr); }
.faq { display: grid; gap: 14px; margin-top: 24px; }
.faq-item { padding: 22px 24px; }
.faq-item h3 { margin: 0 0 6px; font-size: 1.1rem; }
.faq-item p { margin: 0; color: var(--ink-2); }
.feature { padding: 24px; }
.feature img { width: 64px; height: 64px; filter: drop-shadow(0 10px 18px rgba(245, 125, 72, .3)); }
.feature h3 { margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.feature.wide { grid-column: span 2; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 20px; margin-top: 36px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; width: 230px; scroll-snap-align: start; }
.shots img { display: block; width: 230px; border-radius: 28px; box-shadow: var(--shadow); }
.shots figcaption { margin-top: 12px; text-align: center; font: 600 15px var(--round); color: var(--ink-2); }
.shots-note { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }

/* Hero: one phone in each theme */
.hero-art .phone.alt { position: absolute; z-index: 0; width: min(250px, 56vw); right: 0; top: 44px; transform: rotate(6deg); border-color: #3a302e; opacity: .96; }
.hero-art picture:last-of-type .phone { position: relative; z-index: 1; transform: translateX(-34px) rotate(-2deg); }
.hero-art .wave { z-index: 2; }

/* GP report */
.gp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.gp h2 { margin: 10px 0 14px; }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7-7 1.8 1.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7-7 1.8 1.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.gp-art { position: relative; min-height: 460px; }
.gp-art .paper { position: absolute; left: 0; top: 0; width: 78%; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -28px rgba(74, 38, 18, .5); transform: rotate(-3deg); border: 1px solid rgba(29, 22, 20, .08); }
.gp-art .phone { position: absolute; right: 0; bottom: 0; width: min(220px, 46%); border-radius: 30px; border: 5px solid #1d1614; box-shadow: 0 36px 70px -30px rgba(74, 38, 18, .6); }
.gp-art .doc { position: absolute; left: -6px; bottom: -10px; width: 110px; filter: drop-shadow(0 16px 28px rgba(245, 125, 72, .4)); }

/* Beta form */
.beta { padding: 32px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.beta img { width: 120px; }
form .field { margin-bottom: 14px; }
form label.l { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
form input[type=email], form input[type=text], form input[type=password], form select { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font: 16px var(--text); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 6px 0 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); margin-top: 1px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.msg { padding: 14px 18px; border-radius: 16px; margin-bottom: 16px; font-weight: 600; }
.msg.ok { background: rgba(78, 122, 94, .14); color: var(--moss); }
.msg.err { background: rgba(196, 80, 44, .12); color: var(--terra-deep); }

/* Learn */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.row { display: flex; gap: 16px; align-items: center; padding: 16px; text-decoration: none; color: var(--ink); }
.row:hover h3 { color: var(--terra-deep); }
.row .thumb { width: 72px; height: 72px; border-radius: 18px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(222, 102, 64, .12); }
.row .thumb img { width: 58px; height: 58px; }
.row p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.meta { font-size: 13px; color: var(--ink-3); }

/* Article */
.article { padding-block: 48px 24px; }
.article h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 10px 0 14px; }
.article .body { font-size: 18px; }
.article .body p { margin: 0 0 1.1em; }
.article .body ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.article .body li { margin-bottom: .45em; }
.article .body h2 { font-size: 1.3rem; font-weight: 750; margin: 1.6em 0 .5em; }
.article .sources { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.article .sources h2 { font-size: 1.05rem; margin: 0 0 8px; }
.article .sources ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: 15px; }
.article .sources a { color: var(--terra-deep); }
.disclaimer { padding: 18px 22px; margin: 28px 0; font-size: 15px; color: var(--ink-2); }
.disclaimer strong { color: var(--ink); }
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; }

/* Footer */
footer.site { padding: 40px 0 56px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer.site a { color: var(--ink-2); }

@media (max-width: 820px) {
  .hero, .beta { grid-template-columns: 1fr; }
  .hero { padding-block-start: 36px; gap: 28px; }
  .hero-art .wave { width: 100px; left: 0; }
  .features, .features.two, .cats, .gp { grid-template-columns: 1fr; }
  .gp { gap: 28px; }
  .gp-art { min-height: 0; aspect-ratio: 1 / 1.02; }
  .hero-art picture:last-of-type .phone { transform: translateX(-24px) rotate(-2deg); }
  .feature.wide { grid-column: auto; }
  .nav a:not(.cta) { display: none; }
  .beta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* /account — where links in Mina's account emails land */
.account { text-align: center; }
.account img { display: block; margin: 0 auto 8px; filter: drop-shadow(0 16px 32px rgba(245,125,72,.35)); }
.account .lede { max-width: 34ch; margin-inline: auto; }
.account-help { margin-top: 28px; color: var(--ink-3); font-size: .95rem; }

.account-form { max-width: 360px; margin: 24px auto 0; text-align: left; }
.account-form .btn { width: 100%; }
