/* Landing page */
section { padding: 88px 0 0; }
.kicker { font-size: 15px; font-weight: 700; color: var(--accent-text); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 20ch; }
.sub { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 58ch; }

/* ---- hero ------------------------------------------------------------------- */
.hero { padding-top: 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 span { display: block; }
.hero h1 .ink { color: var(--primary); position: relative; width: fit-content; }
/* the line of ink the pen draws under the second half of the promise */
.hero h1 .ink svg { position: absolute; left: 0; bottom: -0.16em; width: 100%; height: 0.22em; overflow: visible; }
.hero h1 .ink path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s 0.35s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lede { margin-top: 26px; font-size: 20px; line-height: 1.5; color: #24394a; max-width: 34ch; }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .cta .btn { padding: 14px 24px; font-size: 17px; }
.hero .fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }

/* ---- the demo: notes in, message out ---------------------------------------------- */
.demo { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.demo-tabs { display: flex; gap: 4px; padding: 8px; background: var(--surface-alt); border-bottom: 1px solid var(--border); overflow-x: auto; }
.demo-tabs button { flex: none; padding: 8px 14px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { background: var(--surface); color: var(--primary); box-shadow: 0 1px 2px rgba(3, 61, 99, 0.12); }
.demo-body { padding: 20px 22px 22px; min-height: 372px; display: flex; flex-direction: column; }
.demo-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.demo-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.demo-label.out .dot { background: var(--accent); }
.demo-notes { margin: 8px 0 0; padding: 12px 14px; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--bg); color: #3b4f5e; font-size: 16px; line-height: 1.5; }
.demo-notes .from { display: block; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed var(--border); color: var(--muted); font-size: 14px; }
.demo-bar { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.demo-bar .pen { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); box-shadow: 0 2px 8px rgba(3, 61, 99, 0.4); }
.demo-bar .pen.busy svg { animation: nudge 0.9s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translate(-1px, 0); } 50% { transform: translate(1.5px, -0.5px); } }
.chip { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--primary); }
.chip.action { background: var(--primary); border-color: var(--primary); color: #fff; }
.demo-out { flex: 1; margin: 8px 0 0; font-size: 17px; line-height: 1.55; white-space: pre-wrap; color: var(--text); }
.demo-out .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: text-bottom; background: var(--primary); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- the three differences ----------------------------------------------------------- */
.diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 2px solid var(--primary); }
.diff article { padding: 26px 26px 0 0; }
.diff article + article { padding-left: 26px; border-left: 1px solid var(--border); }
.diff h3 { font-size: 22px; letter-spacing: -0.015em; }
.diff p { margin-top: 10px; color: #33495a; }
@media (max-width: 820px) { .diff { grid-template-columns: 1fr; } .diff article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); margin-top: 22px; } }

/* ---- how it works -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; list-style: none; padding: 0; }
.steps li { counter-increment: step; }
.steps figure { margin: 0 0 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; aspect-ratio: 27 / 32; background: #eef1f5; }
.steps img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top right; }
.steps h3 { font-size: 19px; letter-spacing: -0.01em; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; vertical-align: 2px; }
.steps p { margin-top: 8px; color: #33495a; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---- where it works -------------------------------------------------------------------------- */
.where { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.place { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 24px; }
.place.now { background: var(--night); border-color: #143952; color: rgba(250, 248, 245, 0.8); }
.place.now h3 { color: #faf8f5; }
.place h3 { font-size: 22px; margin-top: 14px; }
.place p { margin-top: 8px; font-size: 15px; }
.place .status { align-self: flex-start; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.place.now .status { background: var(--accent); color: #2a1503; }
.place.soon .status { background: var(--primary-soft); color: var(--primary); }
.place ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; }
.place li { padding: 5px 0 5px 20px; position: relative; }
.place li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 2px; border-radius: 2px; background: var(--accent); }
.place .btn { margin-top: auto; align-self: flex-start; }
.place .gap { flex: 1; min-height: 18px; }
/* small device drawings */
.device { height: 132px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; }
.place.soon .device { background: var(--bg); border-color: var(--border); }
.device .bar { height: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.place.soon .device .bar { border-color: var(--border); }
.device .bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.place.soon .device .bar i { background: var(--border-strong); }
.device .field { position: absolute; left: 14px; right: 14px; bottom: 14px; top: 36px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); }
.place.soon .device .field { background: var(--surface); border: 1px solid var(--border); }
.device .field::before, .device .field::after { content: ""; position: absolute; left: 12px; height: 6px; border-radius: 3px; background: #c9d6de; }
.device .field::before { top: 14px; width: 62%; }
.device .field::after { top: 28px; width: 40%; }
.device .nib { position: absolute; right: 22px; bottom: 22px; width: 26px; height: 26px; }
.device.phone { width: 96px; height: 132px; margin: 0 auto 0 0; border-radius: 16px; }
.device.phone .field { top: 14px; bottom: 44px; left: 10px; right: 10px; }
.device.phone .keys { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 28px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--border) 0 9px, transparent 9px 12px); }
.device.phone .nib { right: 14px; bottom: 50px; width: 20px; height: 20px; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }

/* ---- professions ---------------------------------------------------------------------------------- */
.pro .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 15px; font-weight: 600; }
.same { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.same .in { padding: 16px 20px; background: var(--surface-alt); border-bottom: 1px solid var(--border); font-size: 15px; color: #3b4f5e; }
.same .in b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.same .outs { display: grid; grid-template-columns: 1fr 1fr; }
.same .outs div { padding: 18px 20px; font-size: 15px; }
.same .outs div + div { border-left: 1px solid var(--border); }
.same .outs b { display: block; margin-bottom: 6px; color: var(--primary); font-size: 13px; }
@media (max-width: 900px) { .pro .wrap { grid-template-columns: 1fr; gap: 28px; } .same .outs { grid-template-columns: 1fr; } .same .outs div + div { border-left: 0; border-top: 1px solid var(--border); } }

/* ---- privacy ------------------------------------------------------------------------------------------ */
.priv { margin-top: 88px; padding: 72px 0; background: var(--night); color: rgba(250, 248, 245, 0.8); }
.priv .h2, .priv h3 { color: #faf8f5; }
.priv .sub { color: rgba(250, 248, 245, 0.72); }
.mask { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-top: 36px; }
.mask .pane { padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 16px; line-height: 1.7; }
.mask .pane b { display: block; font-size: 13px; color: #8fb3cc; margin-bottom: 8px; }
.mask mark { padding: 1px 6px; border-radius: 5px; background: rgba(230, 148, 76, 0.22); color: #ffd3ad; font-weight: 700; }
.mask .pane.ai mark { background: #e6944c; color: #2a1503; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.mask .arrow { align-self: center; color: #8fb3cc; font-size: 13px; font-weight: 700; text-align: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.facts h3 { font-size: 18px; letter-spacing: -0.01em; }
.facts p { margin-top: 8px; font-size: 15px; }
@media (max-width: 820px) { .mask { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }

/* ---- get it + questions -------------------------------------------------------------------------------- */
.get .box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.get .h2 { max-width: 16ch; }
.get .actions { display: grid; gap: 10px; }
.get .actions .btn { padding: 14px 20px; font-size: 17px; }
@media (max-width: 820px) { .get .box { grid-template-columns: 1fr; padding: 26px; } }
.faq { max-width: 760px; margin-top: 32px; }
.faq details { border-top: 1px solid var(--border); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: #33495a; max-width: 64ch; }

/* ---- languages strip ---------------------------------------------------------------------- */
.langs { padding-top: 64px; }
.langs-title { font-size: 15px; font-weight: 700; color: var(--muted); }
.langs ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--primary); }
.langs li.more { color: var(--accent-text); font-weight: 600; font-size: 18px; align-self: center; }
@media (max-width: 720px) { .langs ul { font-size: 18px; gap: 4px 16px; } .langs li.more { font-size: 16px; } }
