/* Answered Instead. One stylesheet, system fonts, no framework. */

:root {
  --bg: #F4F6F9;
  --white: #FFFFFF;
  --tint: #E4EBF6;
  --ink: #0B1B2E;
  --muted: #47586D;
  --navy: #0A2540;
  --navy-2: #12304F;
  --muted-on-navy: #AFC0D6;
  --accent: #1553D6;
  --line: #D3DBE6;
  --track: #71849E;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 1.25rem;
  --section: clamp(3.5rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
  overflow-wrap: break-word;
}

.wrap { width: min(100% - 2 * var(--gutter), 70rem); margin-inline: auto; }

p { margin: 0 0 1em; max-width: 36em; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 1.1rem + 3.8vw, 3.25rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.16em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem;
}
.skip:focus { top: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: 0.75rem 1.75rem;
  background: var(--accent); color: var(--white);
  font: 700 1.125rem/1.2 var(--sans); text-decoration: none;
  border-radius: 8px;
}
.btn:hover { background: var(--navy); }

/* Sections: layout lives on .wrap so spacing is never overridden by a type selector */
.hero, .demo, .what, .cost, .who-for, .now, .dp-hero, .dp-after { padding-block: var(--section); }

.split { display: grid; gap: 0.5rem 4rem; }

/* Header */
.site-header { background: var(--bg); padding-block: 1.1rem; }
.bar { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; align-items: baseline; justify-content: space-between; }
.brand { font: 800 1.2rem/1.2 var(--sans); letter-spacing: -0.03em; text-decoration: none; margin: 0; }
.bar-mail { font-size: 0.9375rem; color: var(--muted); }

/* Hero */
.hero { padding-top: clamp(2rem, 6vw, 5rem); background: var(--bg); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 0.8rem + 7.2vw, 5.75rem); line-height: 1; letter-spacing: -0.035em; max-width: 12em; }
.subline { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); color: var(--muted); margin: 1.25rem 0 2rem; }
.hero-cta { margin-bottom: 0.9rem; }
.hero-note { color: var(--muted); font-size: 0.9375rem; margin: 0; }

.hero-visual { position: relative; max-width: 38rem; }
.photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--tint); }
.phone { margin: 1rem 0 0; max-width: 24rem; display: grid; gap: 0.75rem; }
.notif { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.notif p { margin: 0; max-width: none; }
.notif-call { display: flex; gap: 0.9rem; align-items: center; margin-right: 2.5rem; }
.notif-call svg { flex: none; color: var(--accent); }
.notif-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.35rem; }
.notif-title { font-weight: 700; font-size: 0.9375rem; }
.notif-meta { color: var(--muted); font-size: 0.875rem; }
.notif-body { font-size: 1rem; line-height: 1.45; }
.notif-body + .notif-body { margin-top: 0.35rem; }
.notif-text { margin-left: 1.5rem; border-color: var(--navy); border-width: 2px; }

/* One orchestrated moment: the call arrives, then the text. */
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.notif-call { animation: arrive 0.5s ease-out 0.15s both; }
.notif-text { animation: arrive 0.5s ease-out 0.95s both; }

/* Demo: navy band, white player card */
.demo { background: var(--navy); color: var(--white); }
.demo-grid { display: grid; gap: 2rem 4rem; }
.demo h2 { font-size: clamp(2.5rem, 1.2rem + 5.5vw, 4.5rem); margin: 0; }
.demo :focus-visible { outline-color: var(--white); }
.demo .card :focus-visible { outline-color: var(--accent); }

.card { background: var(--white); color: var(--ink); border-radius: 12px; overflow: hidden; }
.player { margin: 0; padding: 1.25rem; }
.player audio { width: 100%; }
.player-ui { display: flex; align-items: center; gap: 1.25rem; }
.player-ui[hidden] { display: none; }
.player figcaption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }

.play {
  flex: none; width: 4.75rem; height: 4.75rem; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--accent); color: var(--white);
}
.play:hover { background: var(--navy); }
.play svg { grid-area: 1 / 1; width: 2rem; height: 2rem; }
.play .i-pause, .is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: block; }
.play .i-play { margin-left: 0.2rem; }

.timeline { flex: 1; min-width: 0; }
.time { margin: 0; font: 800 clamp(1.75rem, 1rem + 3vw, 2.75rem)/1.1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.time .sep, #total { color: var(--muted); font-weight: 600; }

#seek {
  --p: 0%;
  display: block; width: 100%; height: 2.75rem; margin: 0.25rem 0 0; padding: 0;
  background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none;
}
#seek::-webkit-slider-runnable-track { height: 0.5rem; border-radius: 4px; background: linear-gradient(to right, var(--accent) var(--p), var(--track) var(--p)); }
#seek::-moz-range-track { height: 0.5rem; border-radius: 4px; background: var(--track); }
#seek::-moz-range-progress { height: 0.5rem; border-radius: 4px; background: var(--accent); }
#seek::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -0.5rem; border-radius: 50%; background: var(--accent); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--accent); }
#seek::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--accent); }

.controls-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin: 0.25rem 0 0; max-width: none; }
.mini {
  font: 600 0.9375rem/1 var(--sans); color: var(--ink); background: transparent;
  border: 1px solid var(--track); border-radius: 8px; padding: 0.7rem 0.9rem; min-height: 2.75rem; cursor: pointer;
}
.mini:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.status { color: var(--muted); font-size: 0.9375rem; }

.transcript { border-top: 1px solid var(--line); background: var(--bg); }
.transcript summary {
  list-style: none; cursor: pointer; padding: 1rem 1.25rem; min-height: 3.5rem;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; font: 400 1.75rem/1 var(--sans); color: var(--accent); }
.transcript[open] summary::after { content: "\2212"; }
.lines { padding: 0.25rem 1.25rem 1.5rem; }
.lines p { margin: 0 0 0.9rem; max-width: 40em; }
.who { display: block; font-weight: 700; font-size: 0.9375rem; }
.who.caller { color: var(--muted); }

.demo-cta { font: 500 clamp(1.25rem, 1rem + 1.2vw, 1.75rem)/1.35 var(--sans); letter-spacing: -0.015em; max-width: 20em; margin: 0; color: var(--muted-on-navy); }
.demo-cta a { color: var(--white); text-decoration-color: var(--white); font-weight: 700; }

/* What it does */
.what { background: var(--white); }
.blocks { display: grid; }
.blocks li { display: flex; gap: 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.blocks li:last-child { border-bottom: 1px solid var(--line); }
.blocks svg { flex: none; color: var(--accent); margin-top: 0.1rem; }
.blocks h3 { margin-bottom: 0.25rem; }
.blocks p { margin: 0; color: var(--muted); }

/* Cost */
.cost { background: var(--bg); }
.price { margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.75rem; }
.price .amount { font: 800 clamp(4.5rem, 2rem + 14vw, 8.5rem)/0.95 var(--sans); letter-spacing: -0.045em; }
.price .per { font: 600 clamp(1.2rem, 1rem + 1vw, 1.6rem)/1 var(--sans); color: var(--muted); }
.ticks { margin-bottom: 1.5rem; }
.ticks li { padding: 0.8rem 0 0.8rem 2rem; border-top: 1px solid var(--line); font-size: 1.1875rem; font-weight: 500; position: relative; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.15rem; width: 0.9rem; height: 0.5rem;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}
.cost-cta { margin: 2rem 0 0; }

/* Who it's for */
.who-for { background: var(--white); }
.trades li { font: 800 clamp(2.1rem, 1rem + 5.5vw, 4rem)/1.1 var(--sans); letter-spacing: -0.03em; padding-block: 0.15em; border-top: 1px solid var(--line); }
.trades li:last-child { border-bottom: 1px solid var(--line); }
.size { margin: 1.5rem 0 0; font-size: 1.1875rem; }

/* Where this is right now */
.now { background: var(--tint); }
.now-lead { font: 800 clamp(1.7rem, 1rem + 2.8vw, 2.75rem)/1.12 var(--sans); letter-spacing: -0.03em; max-width: 18em; margin-bottom: 1.25rem; }
.now .split p:last-child { margin: 0; font-size: 1.1875rem; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding-block: 2.5rem; font-size: 0.9375rem; }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer p { margin: 0; }
.foot { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; align-items: baseline; }
.site-footer .brand { font-size: 1.2rem; }

/* Prose pages (privacy) */
.prose { padding-block: clamp(2rem, 6vw, 5rem) var(--section); }
.prose h1 { font-size: clamp(2.25rem, 1.2rem + 4.5vw, 4rem); margin-bottom: 0.75rem; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); letter-spacing: -0.025em; margin: 2.5rem 0 0.75rem; }
.prose .meta { color: var(--muted); font-size: 0.9375rem; margin-bottom: 2rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; max-width: 38em; }
.prose li { margin-bottom: 0.4em; }

@media (min-width: 40rem) {
  :root { --gutter: 2rem; }
  .player { padding: 2rem; }
  .play { width: 6rem; height: 6rem; }
  .play svg { width: 2.5rem; height: 2.5rem; }
  .transcript summary { padding-inline: 2rem; }
  .lines { padding-inline: 2rem; }
  .lines p { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0 1rem; }
  .who { padding-top: 0.1rem; }
}

@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
  .hero-visual { justify-self: end; }
  .photo { aspect-ratio: 4 / 5; object-position: 38% 50%; }
  .phone { position: absolute; left: -3rem; bottom: 2rem; margin: 0; width: 22rem; }
  .split { grid-template-columns: 1fr 1.7fr; align-items: start; }
  .split h2 { margin-bottom: 0; }
  .demo-grid { grid-template-columns: 1fr 1.7fr; grid-template-areas: "head card" "cta card"; grid-template-rows: auto 1fr; align-items: start; }
  .demo-grid h2 { grid-area: head; }
  .demo-grid .card { grid-area: card; }
  .demo-grid .demo-cta { grid-area: cta; align-self: end; }
  .player { padding: 2.5rem; }
  .play { width: 7rem; height: 7rem; }
  .time { font-size: 3.5rem; }
}

/* Demo page: the call is the page. */
.dp-hero { background: var(--navy); color: var(--white); padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 7vw, 5.5rem); }
.dp-hero :focus-visible { outline-color: var(--white); }
.dp-hero .card :focus-visible { outline-color: var(--accent); }
.dp-grid { display: grid; gap: 1.75rem; justify-items: center; }
.dp-intro { text-align: center; }
.dp-hero h1 { font-size: clamp(2.1rem, 1rem + 4.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 14em; margin-inline: auto; }
.dp-lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); line-height: 1.4; color: var(--muted-on-navy); margin: 0.9rem auto 0; }

.dp-card { width: 100%; max-width: 44rem; box-shadow: 0 1.5rem 3rem -1rem rgba(0,0,0,0.5); }
.dp-hint { margin: 0 0 0.25rem; max-width: none; color: var(--muted); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }

/* Pulse on the play button until the call has been started. */
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(21,83,214,0.5); } 70%, 100% { box-shadow: 0 0 0 1.1rem rgba(21,83,214,0); } }
.demo-page .player-ui:not(.has-played) .play { animation: ring 1.8s ease-out infinite; }

/* After the call */
.dp-after { background: var(--bg); }
.dp-after .dp-phone { position: static; width: auto; margin: 0 0 1.5rem; max-width: 26rem; }
.dp-after-note { font-size: 1.1875rem; }
.dp-cta { margin: 1.75rem 0 0; }
.dp-more { margin: 1.25rem 0 0; font-size: 1.0625rem; }

/* Demo page on phones: one navy block, player is the whole first screen. */
@media (max-width: 39.99rem) {
  .demo-page .site-header { background: var(--navy); color: var(--white); padding-block: 0.9rem 0; }
  .demo-page .site-header :focus-visible { outline-color: var(--white); }
  .demo-page .bar-mail { display: none; }
  .demo-page .brand { font-size: 1.05rem; opacity: 0.9; }

  .dp-hero { margin-top: -1px; padding-top: calc(1.5rem + 1px); padding-bottom: 2rem; }
  .dp-grid { gap: 1.25rem; }
  .dp-hero h1 { font-size: 2rem; }
  .dp-lead { font-size: 1.05rem; margin-top: 0.6rem; }

  .dp-card { box-shadow: none; }
  .dp-card .player { padding: 1.5rem 1.25rem 1.25rem; }
  .dp-card .player-ui { flex-direction: column; gap: 1.25rem; }
  .dp-card .play { width: 7rem; height: 7rem; }
  .dp-card .play svg { width: 2.75rem; height: 2.75rem; }
  .dp-card .timeline { width: 100%; text-align: center; }
  .dp-card .time { font-size: 2.25rem; }
  .dp-card .controls-row { justify-content: center; }
  .dp-hint { margin-bottom: 0.5rem; }
  .player figcaption { margin-top: 1rem; padding-top: 0.9rem; font-size: 0.875rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.price-eu { margin: -0.75rem 0 1.5rem; font-size: 1.1875rem; }
