/* Kolling — light, calm, professional. No external fonts, no trackers. */
:root {
  --bg: #faf8f3;          /* warm paper */
  --surface: #ffffff;
  --band: #f2efe7;        /* alternating section background */
  --ink: #16202e;         /* near-navy text */
  --ink-2: #4a5568;       /* secondary text */
  --line: #e4dfd3;
  --accent: #0f6b57;      /* deep green: "call answered" */
  --accent-2: #0b5243;
  --accent-soft: #e3f1ec;
  --warm: #c2620f;        /* used sparingly for numbers */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 32, 46, .04), 0 12px 32px -12px rgba(22, 32, 46, .14);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.08rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 90vw); margin: 0 auto; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.fine { font-size: .84rem; color: var(--ink-2); }
.fine a { color: var(--accent); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 10px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(15, 107, 87, .6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.btn-small { padding: .55rem 1rem; font-size: .92rem; }
.account-link { gap: .5rem; padding-left: .45rem; }
.account-avatar { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--accent); font-weight: 700; font-size: .85rem; display: inline-grid; place-items: center; }
.btn:disabled { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid rgba(15, 107, 87, .45); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 243, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.nav nav { display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: var(--ink); }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 750; font-size: 1.2rem; text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; }
.logo-mark rect { fill: var(--accent); }
.logo-mark path { fill: #fff; }

/* Hero */
.hero { padding: 5rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34rem; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--ink-2); font-size: .95rem; }
.ticks li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .5rem; vertical-align: middle; }

/* Call demo card */
.call { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 1.2rem; min-height: 460px; display: flex; flex-direction: column; }
.call-head { display: flex; gap: .8rem; align-items: center; padding: .2rem .3rem 1rem; border-bottom: 1px solid var(--line); }
.call-head small { display: block; color: var(--ink-2); font-size: .82rem; }
.call-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #1f9d55; flex: none; margin: 0 .3rem; }
.call-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #1f9d55; opacity: .5; animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.chat { list-style: none; margin: 0; padding: 1rem .1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.chat li { max-width: 86%; padding: .62rem .9rem; border-radius: 14px; font-size: .95rem; line-height: 1.45; animation: rise .35s ease both; }
.chat li small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .15rem; opacity: .7; }
.chat li.ai { background: var(--accent-soft); color: #0d3b31; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat li.caller-msg { background: #f1efe9; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat li.typing { color: var(--ink-2); letter-spacing: .2em; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.booked { display: flex; gap: .6rem; align-items: center; padding: .7rem .9rem; border-radius: 12px; background: #eaf6ef; border: 1px solid #bfe3cf; color: #145c3a; margin-bottom: .8rem; animation: rise .4s ease both; }
.booked[hidden] { display: none; }
.booked svg { width: 22px; height: 22px; flex: none; background: #1f9d55; border-radius: 50%; padding: 3px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.booked em { font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: .35rem .8rem; font: 500 .82rem var(--sans); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Fit strip */
.fit { border-block: 1px solid var(--line); padding: 1.1rem 0; }
.fit p { margin: 0; text-align: center; color: var(--ink-2); font-size: .98rem; }
.fit span { color: var(--ink); font-weight: 600; }

/* Sections */
.section { padding: 6rem 0; }
.band { background: var(--band); }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step { border-top: 2px solid var(--ink); padding-top: 1.3rem; }
.step .num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); margin-bottom: .7rem; }
.step p, .feature p { color: var(--ink-2); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature svg { width: 30px; height: 30px; margin-bottom: 1rem; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Voices */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.voice { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.voice:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.voice.playing { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.voice-play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.voice-play:hover { background: var(--accent-2); transform: scale(1.05); }
.voice-play svg { width: 22px; height: 22px; fill: currentColor; }
.voice-play .i-pause, .voice.playing .voice-play .i-play { display: none; }
.voice.playing .voice-play .i-pause { display: block; }
.voice-body { flex: 1; min-width: 0; }
.voice h3 { margin: .1rem 0 .1rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.voice-meta { font-size: .85rem; color: var(--accent); font-weight: 600; margin: 0 0 .5rem; }
.voice-context { font-size: .92rem; color: var(--ink-2); font-style: italic; margin: 0 0 .9rem; }
.voice-track { display: flex; align-items: center; gap: .6rem; }
.voice-bar { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.voice-bar i { width: 3px; height: 4px; border-radius: 2px; background: var(--line); }
.voice.playing .voice-bar i { background: var(--accent); animation: eq 0.9s ease-in-out infinite; }
.voice.playing .voice-bar i:nth-child(2) { animation-delay: .15s; }
.voice.playing .voice-bar i:nth-child(3) { animation-delay: .3s; }
.voice.playing .voice-bar i:nth-child(4) { animation-delay: .45s; }
.voice.playing .voice-bar i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.voice-progress { flex: 1; height: 4px; border-radius: 4px; background: var(--band); overflow: hidden; }
.voice-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s linear; }
.voice-time { font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 2.4em; text-align: right; }
.voices-note { margin-top: 1.2rem; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.slider { display: block; margin: 1.5rem 0; }
.slider span { display: flex; justify-content: space-between; font-weight: 600; font-size: .98rem; margin-bottom: .55rem; }
.slider output { color: var(--accent); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-result { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2.4rem; text-align: center; box-shadow: var(--shadow); }
.calc-result strong { display: block; font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 600; color: var(--warm); line-height: 1.1; margin: .4rem 0; font-variant-numeric: tabular-nums; }
.calc-result small { color: var(--ink-2); font-size: 1rem; }
.calc-result hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 2rem; background: var(--accent); color: #fff; padding: .18rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.plan .price { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; margin: .2rem 0 .3rem; }
.plan .price small { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.8rem; flex: 1; }
.plan li { padding: .42rem 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .6rem; }
.plan .btn { width: 100%; }
#price-note { margin-top: 1.8rem; }

/* Trust */
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust-list li { padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .96rem; }
.trust-list b { display: block; color: var(--ink); margin-bottom: .25rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: .75rem 0 0; }

/* Join */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; background: var(--ink); color: #e9edf3; border-radius: 24px; padding: 3.5rem; }
.join h2 { color: #fff; }
.join .kicker { color: #7fd1b9; }
.join p { color: #c3cbd6; font-size: 1.08rem; }
.join-form { background: var(--surface); color: var(--ink); padding: 1.8rem; border-radius: 16px; display: grid; gap: .9rem; }
.join-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.join-form input, .join-form select { font: inherit; font-size: 1rem; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.join-form input:focus, .join-form select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(15, 107, 87, .15); }
.join-form .hp { position: absolute; left: -9999px; }
.join-form .fine { margin: 0; color: var(--ink-2); font-size: .84rem; }
.form-msg { min-height: 1.4em; margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #b42318; }

/* Footer */
.foot { padding: 2.2rem 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--accent); }

/* Scroll reveal (only when JS is running; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .nav nav { display: none; }
  .hero { padding-top: 3rem; }
  .hero-grid, .calc, .trust, .join, .faq-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps, .features, .plans, .voices { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .join { padding: 2rem 1.4rem; }
  .section { padding: 4.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
