/* Dam website. Brand colors only: yellow, ink navy, white, and one pale yellow tint.
   Visual language: thick ink outlines, hard offset shadows, big rounded shapes, very large type. */
:root {
  --yellow: #FFC53D;
  --ink: #17172E;
  --white: #FFFFFF;
  --tint: #FFF1CC;
  --soft: #4A4B63; /* quieter text on white or tint */
  --font: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1.2rem; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.09em; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.on-ink :focus-visible { outline-color: var(--yellow); }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }

/* Type */
h1, h2, h3, p { margin: 0; }
h1 { font-weight: 800; font-size: clamp(3.1rem, 9.4vw, 7.25rem); line-height: 0.94; letter-spacing: -0.045em; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(2.4rem, 6.4vw, 4.75rem); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
h3 { font-weight: 800; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.4; max-width: 34ch; }
.intro { margin-top: 20px; max-width: 52ch; font-size: 1.3rem; }

/* Bands */
.band { padding-block: clamp(64px, 10vw, 128px); }
.yellow { background: var(--yellow); }
.tint { background: var(--tint); }
.on-ink { background: var(--ink); color: var(--white); }
.white .intro, .tint .intro { color: var(--soft); }

/* Buttons */
.btn { display: inline-block; padding: 18px 30px; border-radius: 999px; border: var(--line); background: var(--ink); color: var(--white); font: inherit; font-weight: 600; font-size: 1.15rem; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.yellow .btn:hover { box-shadow: 4px 4px 0 var(--white); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.sun { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn.sun:hover { box-shadow: 4px 4px 0 var(--white); }
.btn[disabled] { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.04em; text-decoration: none; }
.brand svg { width: 44px; height: 44px; display: block; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 1.05rem; font-weight: 600; }
.top nav a { text-decoration: none; padding-block: 10px; }
.top nav a:hover { text-decoration: underline; }
.top nav .btn { padding: 12px 20px; font-size: 1rem; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.hero .lead { margin-top: 28px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.hero .cta small { font-size: 1rem; font-weight: 600; }

/* Demo */
.demo { background: var(--white); border: var(--line); border-radius: 44px; box-shadow: var(--shadow); padding: 26px 26px 22px; text-align: center; }
.demo-top { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.demo-face { position: relative; width: 190px; height: 190px; margin: 14px auto 10px; }
.demo-face svg { display: block; width: 100%; height: 100%; overflow: visible; }
.demo .mouth, .demo .waves { display: none; }
.demo[data-state="ringing"] .mouth.shout, .demo[data-state="ringing"] .waves,
.demo[data-state="waiting"] .mouth.flat,
.demo[data-state="done"] .mouth.smile,
.demo[data-state="missed"] .mouth.sad { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .demo[data-state="ringing"] .head { animation: shake 0.5s ease-in-out infinite; transform-origin: 100px 100px; }
  .demo[data-state="ringing"] .waves path { animation: pulse 1s ease-in-out infinite; }
  .demo[data-state="ringing"] .waves path:nth-child(2n) { animation-delay: 0.25s; }
  .demo[data-state="done"] .head { animation: hop 0.5s ease-out 1; transform-origin: 100px 100px; }
  @keyframes shake { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
  @keyframes pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
  @keyframes hop { 0% { transform: translateY(0); } 40% { transform: translateY(-16px); } 100% { transform: translateY(0); } }
}
.demo-task { font-weight: 800; font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.03em; }
.demo-msg { margin-top: 8px; min-height: 3.1em; color: var(--soft); font-size: 1.1rem; line-height: 1.35; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.demo-actions .btn { flex: 1 1 130px; padding: 16px 14px; }
.demo-hint { margin-top: 14px; font-size: 0.95rem; color: var(--soft); }

/* Who it's for */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding: 0; list-style: none; }
.people li { border: var(--line); border-radius: 32px; padding: 28px; background: var(--white); }
.people li:nth-child(odd) { box-shadow: var(--shadow); }
.people li:nth-child(4n+1), .people li:nth-child(4n) { background: var(--yellow); }
.people p { margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 52px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border: var(--line); border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: 2rem; box-shadow: 5px 5px 0 var(--ink); }
.steps p { margin-top: 10px; color: var(--soft); }

/* Two-column feature lists */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); margin-top: 48px; }
.pair ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pair li { border: var(--line); border-radius: 22px; padding: 16px 20px; background: var(--white); }
.pair li strong { display: block; font-weight: 800; }
.pair li span { color: var(--soft); font-size: 1.1rem; }

/* Character */
.grow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px clamp(16px, 4vw, 44px); margin-top: 56px; padding: 0; list-style: none; }
.grow li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.grow svg { display: block; overflow: visible; }

/* Voices */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding: 0; list-style: none; }
.voices li { border: var(--line); border-radius: 32px 32px 32px 8px; padding: 26px; background: var(--white); box-shadow: var(--shadow); }
.voices li:nth-child(2) { background: var(--ink); color: var(--white); box-shadow: 8px 8px 0 var(--white); }
.voices q { display: block; font-weight: 800; font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.02em; quotes: none; }
.voices span { display: block; margin-top: 16px; font-weight: 600; font-size: 1.05rem; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.plan { border: var(--line); border-radius: 36px; padding: 32px; }
.plan.pro { background: var(--yellow); box-shadow: var(--shadow); }
.plan ul { margin: 18px 0 0; padding-left: 1.1em; display: grid; gap: 8px; }
.plan .price { margin-top: 6px; font-weight: 600; }

/* Big statement band */
.statement h2 { max-width: 16ch; }
.statement p { margin-top: 22px; max-width: 50ch; font-size: 1.3rem; }

/* FAQ */
.faq { margin-top: 40px; border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary { cursor: pointer; padding-block: 22px; font-weight: 800; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.8rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding-bottom: 24px; max-width: 62ch; color: var(--soft); }

/* Final call */
.final { text-align: center; }
.final h2 { font-size: clamp(3rem, 10vw, 7.5rem); max-width: none; }
.final p { margin: 22px auto 0; max-width: 40ch; font-size: 1.3rem; }
.final .btn { margin-top: 32px; }

/* Footer */
.foot { padding-block: 44px; font-size: 1.05rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot .small { flex-basis: 100%; opacity: 0.8; font-size: 0.98rem; max-width: 70ch; }

/* Text pages: terms, privacy, contact */
.page { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.page h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.page .updated { margin-top: 18px; font-weight: 600; }
.prose { margin-top: 40px; max-width: 68ch; }
.prose h2 { margin-top: 48px; font-size: 1.8rem; line-height: 1.15; letter-spacing: -0.02em; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose .box { margin-top: 28px; border: var(--line); border-radius: 28px; padding: 24px; background: var(--tint); }
.mailbox { margin-top: 44px; display: inline-block; max-width: 100%; border: var(--line); border-radius: 36px; padding: clamp(24px, 4vw, 40px); background: var(--yellow); box-shadow: var(--shadow); }
.mailbox a.address { display: block; font-weight: 800; font-size: clamp(1.6rem, 6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; }
.mailbox .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }

@media (max-width: 860px) {
  body { font-size: 1.12rem; }
  .hero, .pair, .plans { grid-template-columns: minmax(0, 1fr); }
  .steps, .voices { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: minmax(0, 1fr); }
  .people li:nth-child(n) { background: var(--white); box-shadow: none; }
  .people li:nth-child(odd) { background: var(--yellow); box-shadow: var(--shadow); }
  .top nav .hide-small { display: none; }
  .demo { border-radius: 36px; }
}
