:root {
  --bg: #08080a;
  --panel: #131316;
  --panel-2: #1b1b20;
  --line: #26262d;
  --text: #f3f3f6;
  --soft: #a5a5b2;
  --accent: #7c84ff;
  --accent-soft: rgba(124, 132, 255, 0.14);
  --pink: #ff5c8a;
  --green: #4cd08a;
  --radius: 20px;
  --wide: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.soft { color: var(--soft); }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--soft); max-width: 44ch; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 44px; }
.head p { margin-top: 16px; color: var(--soft); font-size: 19px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(8, 8, 10, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; white-space: nowrap; }
.top nav a { color: var(--soft); font-size: 15px; }
.top nav a:hover, .top nav a.here { color: var(--text); text-decoration: none; }

/* The face: two eyes in a ring */
.face { --size: 36px; --ring: var(--accent); width: var(--size); height: var(--size); flex: none; border-radius: 50%; background: #17171a; border: calc(var(--size) * 0.07) solid var(--ring); display: flex; align-items: center; justify-content: center; gap: calc(var(--size) * 0.09); }
.face i { width: calc(var(--size) * 0.24); height: calc(var(--size) * 0.24); border-radius: 50%; background: #fff; position: relative; animation: blink 5.2s infinite; }
.face i::after { content: ""; position: absolute; width: 52%; height: 52%; border-radius: 50%; background: #17171a; left: 34%; top: 24%; animation: look 9s infinite; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.08); } }
@keyframes look { 0%, 30%, 100% { left: 34%; } 36%, 58% { left: 14%; } 64%, 88% { left: 40%; } }
@media (prefers-reduced-motion: reduce) { .face i, .face i::after { animation: none; } }

/* Buttons and pills */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; background: var(--accent); color: #0a0a12; }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.quiet { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.pill.mac { background: rgba(255, 92, 138, 0.14); color: var(--pink); }
.pill.both { background: rgba(76, 208, 138, 0.14); color: var(--green); }

/* Hero */
.hero { padding: 76px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .lead { margin-top: 22px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--soft); }
.stage { position: relative; height: 620px; }
.stage .mac { position: absolute; right: -60px; top: 20px; width: 470px; }
.stage .phone { position: absolute; left: 0; bottom: -40px; width: 250px; }

/* Device frames */
.phone { border-radius: 38px; border: 6px solid #2a2a31; background: #000; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.window { border-radius: 14px; border: 1px solid #33333b; background: #1c1c1e; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.window.bare { border-radius: 18px; }
.window.chat img { aspect-ratio: 1040 / 860; object-fit: cover; object-position: bottom; }
.window.cut img { aspect-ratio: 1240 / 650; object-fit: cover; object-position: top; }

/* Cards */
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--soft); font-size: 16px; }
.card .pill { margin-bottom: 14px; }
.say { color: var(--text); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.say::before { content: "\201C"; color: var(--accent); }
.say::after { content: "\201D"; color: var(--accent); }
.num { color: var(--accent); font-weight: 700; font-size: 15px; margin-bottom: 12px; }

/* A feature beside its picture */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.row.flip > :first-child { order: 2; }
.row h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.row p { color: var(--soft); }
.row ul, .list { margin: 18px 0 0; padding: 0; list-style: none; }
.row li, .list li { padding: 9px 0 9px 26px; position: relative; color: var(--soft); border-top: 1px solid var(--line); font-size: 16px; }
.row li::before, .list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.row li b, .list li b { color: var(--text); font-weight: 600; }
.shot.small { max-width: 300px; margin: 0 auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 520px; margin: 0 auto; }

/* The row of phone screens */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 20px; overflow-x: auto; padding: 6px 20px 24px; scroll-snap-type: x mandatory; }
.strip figure { margin: 0; scroll-snap-align: center; }
.strip figcaption { margin-top: 14px; font-size: 15px; color: var(--soft); }
.strip figcaption b { display: block; color: var(--text); font-weight: 600; }

/* Tables of features */
.table { width: 100%; border-collapse: collapse; }
.table td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 16px; color: var(--soft); }
.table td:first-child { color: var(--text); font-weight: 600; width: 32%; padding-right: 20px; }
.group { margin-top: 56px; }
.group h3 { font-size: 26px; margin-bottom: 14px; }

/* Plain words about privacy */
.plain { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plain p + p { margin-top: 14px; }
.plain p { color: var(--soft); }
.plain b { color: var(--text); }
.draft { background: rgba(255, 92, 138, 0.1); border: 1px solid rgba(255, 92, 138, 0.35); color: #ffc2d2; border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-bottom: 30px; }

/* Long text: the terms */
.text { max-width: 720px; }
.text h2 { font-size: 26px; margin: 46px 0 14px; }
.text p { color: var(--soft); margin-top: 14px; }
.text strong { color: var(--text); }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--soft); }
footer .brand { margin-right: auto; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero .wrap, .row, .three, .two { grid-template-columns: 1fr; }
  .row { gap: 28px; padding: 30px 0; }
  .row.flip > :first-child { order: 0; }
  .stage { height: 520px; }
  .stage .mac { right: -20px; width: 78%; }
  .stage .phone { width: 42%; bottom: -30px; }
  .top nav { gap: 16px; }
  .table td:first-child { width: 40%; }
}

/* Moods of the face, set from site.js */
.face { transition: transform 0.25s ease; }
.face.wide i { transform: scale(1.22); animation: none; }
.face.up i::after { top: 6%; animation: none; }
.face.chew { animation: chew 0.45s ease 2; }
@keyframes chew { 50% { transform: scale(1.08, 0.92); } }
button.face { padding: 0; cursor: pointer; font: inherit; }

/* The guide in the corner */
.guide { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.guide > * { pointer-events: auto; }
.guide .face { --size: 58px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }
.guide .face:hover { transform: translateY(-3px); }
.guide .bubble { max-width: 290px; background: #f3f3f6; color: #111116; border-radius: 18px 18px 4px 18px; padding: 14px 16px 12px; font-size: 15px; line-height: 1.4; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(8px) scale(0.97); transform-origin: bottom right; transition: opacity 0.2s, transform 0.2s; }
.guide.in .bubble { opacity: 1; transform: none; }
.guide.quiet .bubble { display: none; }
.guide .acts { display: flex; gap: 8px; margin-top: 10px; }
.guide .acts button { border: 0; border-radius: 999px; padding: 6px 12px; font: 600 13px/1 inherit; cursor: pointer; }
.guide .next { background: #111116; color: #fff; }
.guide .hide { background: transparent; color: #6a6a78; }
@media (max-width: 560px) { .guide .bubble { max-width: 220px; font-size: 14px; } .guide .face { --size: 48px; } }
@media (prefers-reduced-motion: reduce) { .guide .bubble, .face { transition: none; } .face.chew { animation: none; } }

/* The demo: things on the left, Pokko in the middle of its own tree */
.try .board { display: grid; grid-template-columns: 290px 1fr; gap: 22px; align-items: start; }
.try .col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.try h3 { font-size: 15px; color: var(--soft); font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.tray { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); border-radius: 14px; padding: 11px 14px; font: 500 15px/1.2 inherit; cursor: grab; text-align: left; transition: transform 0.15s, opacity 0.25s, border-color 0.15s; }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip.gone { opacity: 0.28; cursor: default; transform: none; text-decoration: line-through; }
.chip.ask { cursor: pointer; background: var(--accent-soft); border-color: transparent; color: #c9ccff; }
.try form { display: flex; gap: 8px; margin-top: 18px; }
.try input { flex: 1; min-width: 0; background: #0c0c0f; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; }
.try input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.try form button { border: 0; border-radius: 12px; padding: 0 16px; background: var(--accent); color: #0a0a12; font: 600 15px/1 inherit; cursor: pointer; }
.again { border: 0; background: transparent; color: var(--soft); padding: 0; font: 500 13px/1 inherit; cursor: pointer; text-decoration: underline; }
.fine { margin-top: 14px; font-size: 13px; color: var(--soft); }
.treewrap { --branch: #3a3d7a; display: flex; flex-direction: column; align-items: center; min-height: 460px; }
.eater { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 280px; border: 2px dashed var(--line); border-radius: 28px; padding: 22px 16px 16px; text-align: center; transition: border-color 0.15s, background 0.15s; }
.eater.over { border-color: var(--accent); background: var(--accent-soft); }
.eater .face { --size: 104px; }
.eater .bubble { background: #f3f3f6; color: #111116; border-radius: 16px; padding: 10px 14px; font-size: 15px; line-height: 1.35; position: relative; min-height: 60px; display: flex; align-items: center; }
.eater .bubble::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; background: #f3f3f6; transform: rotate(45deg); }
.eater .hint { font-size: 13px; color: var(--soft); }
.memory-top { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.memory-top h3 { margin: 0; color: var(--text); font-size: 17px; }
.count { font-size: 13px; color: var(--soft); }
.empty { color: var(--soft); font-size: 15px; padding: 26px 0; text-align: center; }
/* The tree, as in the iPhone app: a trunk down the middle, a node for each stretch of time, what was kept hanging below */
.shelves { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 460px; }
.shelf { width: 100%; display: flex; flex-direction: column; align-items: center; }
.shelf::before, .kept::before { content: ""; display: block; border-left: 2px solid var(--branch); }
.shelf::before { height: 20px; }
.shelf h4 { margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(124, 132, 255, 0.18); border: 1.5px solid rgba(124, 132, 255, 0.55); color: var(--text); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: land 0.35s ease; }
.shelf h4 span { font-size: 12px; font-weight: 500; color: var(--soft); background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 1px 7px; }
.kept { position: relative; width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; animation: land 0.35s ease; text-align: left; }
.kept::before { position: absolute; top: -13px; left: 50%; height: 12px; }
.kept .icon { font-size: 18px; line-height: 1.3; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.kept b { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.kept small { color: var(--soft); font-size: 13px; line-height: 1.35; display: block; }
.kept em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.kept.lock b, .kept.lock em { color: var(--pink); }
@keyframes land { from { opacity: 0; transform: translateY(-10px) scale(0.96); } }
.asks { margin-top: 22px; }
.asks .row { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin-top: 12px; }
.asks .label { color: var(--soft); font-size: 15px; }
.reply { margin-top: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-width: 640px; }
.reply .q { display: inline-block; background: #1d2145; border-radius: 16px; padding: 9px 14px; margin-bottom: 12px; }
.reply .a { font-size: 18px; }
.reply .from { margin-top: 8px; font-size: 13px; color: var(--accent); }
[hidden] { display: none !important; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #0a0a12; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
@media (max-width: 860px) {
  .try .board { grid-template-columns: 1fr; }
  .treewrap { min-height: 0; }
}

/* The day, written up */
.days { display: flex; flex-direction: column; align-items: center; max-width: 440px; margin: 0 auto; width: 100%; }
.day-step { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.day-step .when { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.day-step p { color: var(--text); font-size: 15px; line-height: 1.45; }
.day-step .said { align-self: flex-start; background: var(--panel-2); border-radius: 14px; padding: 8px 12px; max-width: 88%; }
.day-step .said.me { align-self: flex-end; background: #1d2145; }
.day-step .tag { align-self: flex-start; font-size: 12px; color: var(--accent); }
.day-step.sum { border-color: rgba(124, 132, 255, 0.55); background: rgba(124, 132, 255, 0.1); }
.day-step.sum p { font-size: 16px; }
.day-arrow { height: 44px; border-left: 2px solid #3a3d7a; position: relative; }
.day-arrow span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; color: var(--soft); }
#day .row li { font-size: 16px; }

/* Things come into view as the page is scrolled. site.js adds the class, so without it nothing is hidden. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; transition-delay: var(--wait, 0s); }
.reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* One memory, every device */
.flow { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 0; margin-bottom: 30px; }
.device { background: var(--panel); border: 1px solid var(--line); border-radius: 30px; padding: 16px; max-width: 380px; width: 100%; justify-self: center; }
.device.mac { border-radius: 14px; max-width: 460px; }
.device.solo { margin: 0 auto; }
.device .label { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin: 2px 4px 12px; }
.device .screen { background: #0c0c0f; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.device.mac .screen { border-radius: 10px; }
.device .said { align-self: flex-start; background: var(--panel-2); border-radius: 14px; padding: 8px 12px; max-width: 88%; font-size: 15px; line-height: 1.4; }
.device .said.me { align-self: flex-end; background: #1d2145; }
.receipt { align-self: flex-start; width: 170px; background: #f4f4f1; color: #1a1a1a; border-radius: 6px; padding: 12px 12px 14px; font: 11px/1.7 ui-monospace, "SF Mono", Menlo, monospace; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); transform: rotate(-1.5deg); }
.receipt b { margin-bottom: 6px; }
.receipt span { display: flex; justify-content: space-between; }
.receipt .total { font-weight: 700; margin-top: 6px; }
.receipt i { font-style: normal; }
.flow .link { position: relative; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.flow .link span { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--soft); }
.flow .link::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); top: -4px; left: 0; animation: travel 2.4s ease-in-out infinite; }
@keyframes travel { from { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
.private { display: flex; gap: 12px; align-items: center; background: rgba(255, 92, 138, 0.1); border: 1px solid rgba(255, 92, 138, 0.35); border-radius: 14px; padding: 10px 12px; }
.private span { font-size: 20px; }
.private b { display: block; color: var(--pink); }
.private small { color: var(--soft); font-size: 13px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow .link { height: 60px; width: 2px; justify-self: center; background: linear-gradient(180deg, transparent, var(--accent), transparent); }
  .flow .link span { left: 14px; top: 50%; transform: translateY(-50%); }
  .flow .link::after { left: -4px; animation-name: drop; }
  @keyframes drop { from { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .flow .link::after { animation: none; display: none; } }
