/* melonn.si — one stylesheet, no scripts, no web fonts, no trackers. Light and dark follow the system. */
:root {
  --canvas: #fffaf5;
  --canvas-2: #fbf2ea;
  --card: #ffffff;
  --text: #1f1d1b;
  --muted: #6f6a65;
  --faint: #a19b95;
  --line: #ece5dd;
  --melon: #e8495c;
  --melon-deep: #c9364a;
  --melon-soft: #ffe4e7;
  --rind: #2e9e5b;
  --rind-soft: #e3f5e9;
  --ink: #1d1b19;
  --shadow: 0 1px 2px rgb(60 30 20 / 6%), 0 12px 40px rgb(60 30 20 / 10%);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #1b1a19;
    --canvas-2: #222120;
    --card: #252322;
    --text: #f2efeb;
    --muted: #a8a29c;
    --faint: #76716c;
    --line: #3a3734;
    --melon: #ff6b7c;
    --melon-deep: #ff8a97;
    --melon-soft: #4a2a2f;
    --rind: #5bd08c;
    --rind-soft: #24402f;
    --ink: #121110;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 48px rgb(0 0 0 / 40%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--melon-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--melon) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--canvas) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 11px 20px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--melon); color: #fff; box-shadow: 0 6px 20px color-mix(in srgb, var(--melon) 35%, transparent); }
.btn-primary:hover { background: var(--melon-deep); }
.btn-quiet { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-small { padding: 8px 15px; font-size: 14px; }
.btn svg { width: 17px; height: 17px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 96px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; z-index: -1;
  background: radial-gradient(48% 52% at 72% 40%, color-mix(in srgb, var(--melon) 16%, transparent), transparent 70%),
              radial-gradient(40% 40% at 18% 20%, color-mix(in srgb, var(--rind) 12%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--rind); background: var(--rind-soft); border-radius: 999px; padding: 6px 12px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); }
.hero h1 em { font-style: italic; color: var(--melon); }
.lede { margin-top: 22px; font-size: 20px; color: var(--muted); max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.fineprint { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* The dictation demo: a notch pill and a page being written. CSS only. */
.demo { position: relative; justify-self: end; width: min(100%, 480px); margin-bottom: 70px; }
.screen { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--canvas-2); }
.screen-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.screen-bar span { margin-left: 8px; font-size: 12.5px; color: var(--faint); }
.screen-body { padding: 22px 24px 26px; font-size: 15px; line-height: 1.65; min-height: 250px; }
.screen-body .to { color: var(--faint); font-size: 13px; margin-bottom: 14px; }
.screen-body ul { margin: 10px 0 12px; padding-left: 20px; }
.line { animation: appear .5s ease both; }
.line:nth-child(2) { animation-delay: .6s; } .line:nth-child(3) { animation-delay: 1.2s; } .line:nth-child(4) { animation-delay: 1.8s; }
@keyframes appear { from { opacity: 0; transform: translateY(4px); } }
.pill { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 16px 9px 12px; box-shadow: 0 10px 30px rgb(0 0 0 / 25%); font-size: 13px; }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--melon); box-shadow: 0 0 0 4px color-mix(in srgb, var(--melon) 30%, transparent); }
.bars { display: flex; align-items: center; gap: 3px; height: 16px; }
.bars b { width: 3px; border-radius: 2px; background: #fff; height: 30%; animation: talk 1.1s ease-in-out infinite; }
.bars b:nth-child(2) { animation-delay: .15s; } .bars b:nth-child(3) { animation-delay: .3s; } .bars b:nth-child(4) { animation-delay: .45s; } .bars b:nth-child(5) { animation-delay: .6s; }
@keyframes talk { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.said { position: absolute; bottom: -78px; right: -18px; max-width: 290px; background: var(--melon-soft); color: var(--text); border-radius: 16px 16px 4px 16px; padding: 12px 15px; font-size: 13.5px; line-height: 1.45; box-shadow: var(--shadow); }
.said small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 3px; letter-spacing: .02em; text-transform: uppercase; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.alt { background: var(--canvas-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--melon-soft); color: var(--melon-deep); margin-bottom: 18px; }
.feature:nth-child(even) .icon { background: var(--rind-soft); color: var(--rind); }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.points .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rind-soft); color: var(--rind); }
.points .tick svg { width: 15px; height: 15px; }
.points strong { display: block; font-size: 16.5px; }
.points span { color: var(--muted); font-size: 15.5px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); font: 600 40px/1 var(--serif); color: var(--melon); display: block; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--melon); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

.closing { text-align: center; padding: 96px 0; }
.closing h2 { font-size: clamp(34px, 4.5vw, 52px); }
.closing p { color: var(--muted); margin: 14px auto 30px; max-width: 30em; font-size: 18px; }
.closing .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Policy pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc header { margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.doc h1 { font-size: clamp(36px, 5vw, 48px); }
.doc .updated { margin-top: 12px; color: var(--faint); font-size: 14px; }
.doc .summary { background: var(--rind-soft); border-radius: 14px; padding: 18px 22px; margin: 0 0 36px; }
.doc .summary p + p, .doc .summary ul { margin-top: 8px; }
.doc h2 { font-size: 26px; margin: 42px 0 12px; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; font-family: var(--sans); letter-spacing: 0; }
.doc p, .doc li { font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.doc .table-wrap { overflow-x: auto; }

/* 404 */
.missing { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.missing h1 { font-size: 48px; margin-bottom: 12px; }
.missing p { color: var(--muted); margin-bottom: 26px; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 84px; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .demo { justify-self: center; margin-top: 18px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .said { position: static; margin-top: 30px; max-width: none; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.said small.next { margin-top: 8px; }
