/* Sotto — sotto-dictate.com · "Stil & precies"
   Geen cookies, geen analytics, geen bestanden van andere domeinen. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #F6F4F0;
  --surface: #FFFFFF;
  --field: #EFECE7;
  --sep: #DCD7CF;
  --t1: #1A1816;
  --t2: #5C574F;
  --t3: #6F6961;
  --accent: #A4520C;
  --on-accent: #FFFFFF;
  --accent-soft: rgba(164, 82, 12, 0.10);
  --mark-ring: #1A1816;
  --todo-bg: #FFE9A8;
  --todo-fg: #3B2A00;
  --shadow: 0 1px 2px rgba(26, 24, 22, 0.06);
  --serif: "Instrument Serif", "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100F0E;
    --surface: #1A1917;
    --field: #23211F;
    --sep: #35322E;
    --t1: #F2EFEA;
    --t2: #ADA79E;
    --t3: #8E887F;
    --accent: #F0A04B;
    --on-accent: #1A1105;
    --accent-soft: rgba(240, 160, 75, 0.14);
    --mark-ring: #F2EFEA;
    --todo-bg: #5A4300;
    --todo-fg: #FFE9A8;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--t1); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--t1); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- kop ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--t1); text-decoration: none; min-height: 44px; }
.brand svg { width: 38px; height: 38px; display: block; }
.brand span { font: 400 30px/1 var(--serif); letter-spacing: -0.3px; padding-bottom: 3px; }
.mark-ring { fill: none; stroke: var(--mark-ring); stroke-width: 64; }
.mark-wave { fill: none; stroke: var(--accent); stroke-width: 64; stroke-linecap: round; stroke-linejoin: round; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; color: var(--t2); text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--t1); }
.nav a[aria-current="page"] { background: var(--field); }
.nav a.pill { border: 1px solid var(--sep); color: var(--t1); background: var(--surface); margin-left: 6px; }
.nav a.pill:hover { border-color: var(--accent); }

/* ---------- typografie ---------- */
h1, h2, .statement { font-family: var(--serif); font-weight: 400; letter-spacing: -0.4px; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(42px, 7.2vw, 80px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; }
h3 { font: 600 18px/1.3 var(--sans); letter-spacing: -0.2px; margin: 0; }
p { margin: 0; color: var(--t2); text-wrap: pretty; }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--t2); max-width: 34em; }
.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); }
strong { color: var(--t1); font-weight: 600; }

/* ---------- knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 28px; font: 600 17px/1 var(--sans); letter-spacing: -0.2px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn-quiet { color: var(--t1); border: 1px solid var(--sep); background: var(--surface); }
.btn-quiet:hover { border-color: var(--accent); color: var(--t1); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- held ---------- */
.hero { padding-top: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-shot { width: clamp(240px, 26vw, 300px); }

/* schermafbeeldingen van de app, in een rustige rand */
.phone { display: block; border-radius: 13.5% / 6.3%; border: 6px solid var(--sep); background: var(--surface); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
.phone img { display: block; width: 100%; height: auto; }
.hero .actions { padding-top: 8px; }

/* de lijn uit het logo: van rand tot rand */
.line { position: relative; height: 120px; margin: clamp(32px, 6vw, 64px) 0 0; }
.line { overflow: hidden; }
.line svg { position: absolute; top: 0; right: 0; width: max(100%, 900px); height: 100%; display: block; }
.line path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.line .voice { stroke: var(--accent); stroke-width: 2.5; }
.line .voice.old { opacity: 0.55; }
.line .voice.older { opacity: 0.28; }
.line .future { stroke: var(--t3); stroke-width: 2; stroke-dasharray: 1 7; }
.line .rest { stroke: var(--t3); stroke-width: 2; }
.line .pen { position: absolute; right: calc(max(100%, 900px) * 0.23); top: 50%; width: 11px; height: 11px; margin: -5.5px -5.5px 0 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft); }
.line.small { height: 72px; margin: 0; }

/* ---------- secties ---------- */
section.wrap { padding-top: clamp(56px, 9vw, 112px); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--sep); }
.steps li { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.steps .num { font: 400 44px/1 var(--serif); color: var(--accent); }
.steps p { font-size: 16px; padding-bottom: 10px; }
.steps .phone { margin-top: auto; border-width: 4px; box-shadow: none; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--sep); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 16px; }
.more { display: inline-block; margin-top: 24px; font-weight: 600; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.features li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--sep); }
.features svg { width: 24px; height: 24px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features div { display: flex; flex-direction: column; gap: 4px; }
.features p { font-size: 16px; }

.statement { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; max-width: 20em; color: var(--t1); }
.statement em { font-style: normal; color: var(--accent); }

.beta { background: var(--surface); border: 1px solid var(--accent); border-radius: 28px; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.beta p:not(.eyebrow) { font-size: 18px; color: var(--t1); max-width: 34em; }
.beta p.note { font-size: 15px; color: var(--t2); }

/* ---------- artikelpagina's ---------- */
.page-head { padding-top: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.meta { font-size: 14px; color: var(--t2); font-variant-numeric: tabular-nums; }
.prose { display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 32px); margin-top: 36px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; color: var(--t2); display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--t3); }
.summary { background: var(--surface); border: 1px solid var(--sep); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow); margin-top: 28px; }
.summary h2 { font-size: 28px; margin: 0 0 14px; }
.summary ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--t1); font-size: 18px; }
.summary li::marker { color: var(--accent); font-weight: 600; }

.contact { background: var(--surface); border: 1px solid var(--sep); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow); margin-top: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact .mail { font: 400 clamp(22px, 3.4vw, 30px)/1.2 var(--serif); color: var(--t1); text-decoration-color: var(--accent); overflow-wrap: anywhere; }

.faq { margin-top: 12px; border-top: 1px solid var(--sep); }
.faq details { border-bottom: 1px solid var(--sep); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; font: 600 18px/1.35 var(--sans); color: var(--t1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; display: flex; flex-direction: column; gap: 10px; max-width: 40em; }

/* [CONTROLEER]: zichtbaar tot Claude Code de bewering heeft getoetst. Haal ze weg vóór livegang. */
mark.todo { background: var(--todo-bg); color: var(--todo-fg); padding: 1px 6px; border-radius: 6px; font: 600 0.82em/1.4 var(--sans); letter-spacing: 0; white-space: normal; }

/* ---------- voet ---------- */
.site-foot { margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid var(--sep); padding-top: 28px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 15px; color: var(--t2); }
.site-foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-foot a { color: var(--t2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-foot a:hover { color: var(--t1); text-decoration: underline; }
.site-foot p { display: flex; align-items: center; min-height: 44px; font-size: 15px; }

/* ---------- 404 ---------- */
.lost { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 48px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero + .line { display: none; }
  .hero-shot { margin: 8px auto 0; width: min(280px, 72vw); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; border-top: 0; }
  .steps li { border-top: 1px solid var(--sep); }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .steps li { padding-right: 14px; }
  .steps p { font-size: 15px; }
  .btn { width: 100%; }
  .nav a { padding: 0 10px; }
  .nav a.pill { margin-left: 2px; }
  .line { height: 96px; }
}
@media print {
  .site-head .nav, .line, .actions { display: none; }
  body { background: #fff; color: #000; }
}
