:root {
  --teal: #2F6F62;
  --teal-deep: #1F4D44;
  --teal-soft: #D7EBE5;
  --cream: #FFF8EC;
  --peach: #F2A65A;
  --sun: #FFD27A;
  --ink: #1C2B28;
  --muted: #56706A;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 77, 68, .12);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* beta */
.badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  background: var(--sun); color: #5A4300; font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  padding: 4px 8px; border-radius: 999px;
}
.sub .badge { margin: 0 6px 0 0; }
.brand .badge { margin-left: -2px; }
.beta-bar {
  background: var(--teal-deep); color: #EAF4F1; text-align: center;
  font-size: .88rem; padding: 8px 16px;
}
.beta-bar .badge { margin: 0 8px 0 0; }

/* nav */
nav.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 236, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 111, 98, .08);
}
nav.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
nav.top .links { margin-left: auto; display: flex; gap: 18px; }
nav.top .links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.top .links a:hover { color: var(--teal); }
@media (max-width: 680px) { nav.top .links { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 90px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px);
}
.hero::before { width: 420px; height: 420px; background: var(--teal-soft); top: -120px; right: -80px; }
.hero::after { width: 220px; height: 220px; background: #FCE3C6; bottom: -60px; left: -40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.pill {
  display: inline-block; background: var(--card); color: var(--teal); font-weight: 700;
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; box-shadow: var(--shadow);
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.02em; }
h1 .hl { color: var(--teal); position: relative; white-space: nowrap; }
h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: var(--sun); z-index: -1; border-radius: 6px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 16px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(47, 111, 98, .35); }
.btn.ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn svg { width: 20px; height: 20px; }

/* mock chat */
.phone {
  background: var(--card); border-radius: 30px; box-shadow: var(--shadow);
  padding: 18px; transform: rotate(1.5deg); max-width: 400px; justify-self: center; width: 100%;
}
.phone .bar { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid #EEF2F1; }
.phone .bar img { width: 30px; height: 30px; }
.phone .bar b { font-size: 1rem; }
.phone .bar span { margin-left: auto; font-size: .75rem; color: var(--muted); }
.msgs { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.msg { padding: 10px 14px; border-radius: 18px; max-width: 85%; font-size: .93rem; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--teal-soft); border-bottom-left-radius: 6px; }
.msg.bot .chip { display: inline-block; font-size: .72rem; background: #fff; color: var(--teal); padding: 1px 8px; border-radius: 999px; margin: 4px 4px 0 0; font-weight: 700; }

/* sections */
section { padding: 70px 0; }
section.alt { background: #fff; }
.eyebrow { color: var(--peach); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 6px 0 14px; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 40em; font-size: 1.08rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
section.alt .card { background: var(--cream); box-shadow: none; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card .emo {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 14px; background: var(--teal-soft);
}
.card:nth-child(2) .emo { background: #FCE3C6; }
.card:nth-child(3) .emo { background: #FFF0C2; }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* downloads */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.dl .card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dl .card.yours { outline: 3px solid var(--sun); }
.dl .os { width: 46px; height: 46px; color: var(--teal); }
.dl .card h3 { margin: 4px 0 0; }
.dl .card small { color: var(--muted); }
.dl .card .btn { margin-top: 10px; }
.dl .card small.beta {
  margin-top: 6px; background: #FFF3E3; color: #8A5A1F; padding: 8px 12px;
  border-radius: 12px; font-size: .82rem; line-height: 1.45;
}
.later { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.later span {
  background: var(--card); border: 2px dashed #C9D9D4; color: var(--muted);
  padding: 10px 18px; border-radius: 14px; font-weight: 700;
}
section.alt .later span { background: var(--cream); }
.note { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; margin-top: 30px; padding: 0; list-style: none; }
.steps li {
  counter-increment: s; position: relative; padding: 18px 20px 18px 74px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
section.alt .steps li { background: var(--cream); box-shadow: none; }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 40px; height: 40px; border-radius: 13px; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.steps li > b { display: block; font-size: 1.05rem; }
.steps li span { color: var(--muted); }

.tabs { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.tabs button {
  font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 12px; cursor: pointer;
  border: 2px solid var(--teal-soft); background: transparent; color: var(--muted);
}
.tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.panel[hidden] { display: none; }

.prompts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.prompts span { background: var(--teal-soft); color: var(--teal-deep); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; }

code { background: var(--teal-soft); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* privacy */
.privacy { background: var(--teal-deep); color: #EAF4F1; }
.privacy h2 { color: #fff; }
.privacy .sub { color: #BFD8D1; }
.privacy .eyebrow { color: var(--sun); }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }
.flow .box { border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.flow .box h3 { margin: 0 0 10px; color: #fff; display: flex; gap: 10px; align-items: center; }
.flow .box ul { margin: 0; padding-left: 20px; }
.flow .box li { margin: 6px 0; }
.flow .box.warn { background: rgba(242, 166, 90, .14); border-color: rgba(242, 166, 90, .35); }
.privacy a { color: var(--sun); }

footer { padding: 34px 0 50px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
