:root {
  color-scheme: light;
  --bg: #f2f4f1;
  --paper: #ffffff;
  --ink: #16233a;
  --muted: #566173;
  --sea: #1e6f78;
  --sea-dark: #165860;
  --sun: #e9b949;
  --line: #d6dcd5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

* { 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(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--sea); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Header */
.top { padding: 22px 0; background: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; text-decoration: none; }
.brand span { color: var(--sun); }
.top a.talk { font-weight: 600; text-decoration: none; color: #fff; }
.doc-page .top { background: transparent; }
.doc-page .brand { color: var(--ink); }
.doc-page .brand span { color: var(--sea); }
.doc-page .top a.talk { color: var(--sea); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--sea);
}
.btn.primary { background: var(--sea); color: #fff; }
.btn.primary:hover { background: var(--sea-dark); border-color: var(--sea-dark); }
.btn.ghost { color: var(--sea); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Opening scene */
.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.scene .top { position: relative; z-index: 3; }
.flood { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.msg {
  position: absolute;
  max-width: 270px;
  padding: 10px 15px;
  background: #fff;
  color: var(--ink);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
  font-size: 15px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px) scale(.92) rotate(var(--r, 0deg));
  transition: opacity .3s ease-out, transform .35s cubic-bezier(.2,.9,.3,1.3);
}
.msg small { display: block; font-size: 12px; color: var(--muted); }
.msg.in { opacity: 1; transform: rotate(var(--r, 0deg)); }
.scene.collapsing .msg {
  left: 50% !important;
  top: 42% !important;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.25);
  transition: left .7s cubic-bezier(.6,0,.4,1), top .7s cubic-bezier(.6,0,.4,1), transform .7s ease-in, opacity .5s ease-in .25s;
}

.scene-final {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
}
.answer {
  background: var(--sun);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 18px;
  border-radius: 20px 20px 4px 20px;
  text-align: left;
  max-width: 330px;
  margin-bottom: 36px;
}
.answer small { display: block; font-weight: 400; font-size: .8rem; color: rgba(22,35,58,.65); }
.linkcard { display: block; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.55); font-weight: 400; font-size: .92rem; }
.scene h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 12em; }
.scene .lead { font-size: 1.18rem; color: rgba(255,255,255,.8); max-width: 34em; margin: 24px auto 0; }
.scene .actions { justify-content: center; }
.scene .btn.primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.scene .btn.primary:hover { background: #f2c964; border-color: #f2c964; }
.scene .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.scene .btn.ghost:hover { border-color: #fff; }
.scene .proof { margin: 30px auto 0; font-size: .95rem; color: rgba(255,255,255,.62); max-width: 32em; }

/* Animated states (only when JS runs and motion is allowed) */
.js .scene-final > * { transition: opacity .6s ease-out, transform .6s ease-out; }
.js .scene.flooding .scene-final > * { opacity: 0; transform: translateY(16px); }
.js .scene.flooding .answer { transform: scale(.6); }
.js .scene.settled .answer { transition-delay: 0s; }
.js .scene.settled h1 { transition-delay: .25s; }
.js .scene.settled .lead { transition-delay: .45s; }
.js .scene.settled .actions { transition-delay: .6s; }
.js .scene.settled .proof { transition-delay: .75s; }

.counter {
  position: absolute; z-index: 40; left: 20px; bottom: 20px;
  background: #e5484d; color: #fff; font-weight: 600; font-size: .9rem;
  padding: 7px 14px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.scene.collapsing .counter { opacity: 0; transition: opacity .4s; }
.replay {
  position: absolute; z-index: 3; right: 20px; bottom: 20px;
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75);
  font: inherit; font-size: .85rem; padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.replay:hover { color: #fff; border-color: #fff; }

/* Phone mockup */
.phone {
  width: 290px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(22, 35, 58, 0.55);
}
.screen { background: var(--paper); border-radius: 28px; overflow: hidden; font-size: 14px; line-height: 1.4; }
.screen header { background: var(--sea); color: #fff; padding: 22px 18px 18px; }
.screen header small { display: block; opacity: 0.8; }
.screen header strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.screen ul { list-style: none; margin: 0; padding: 6px 0; }
.screen li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #eceeea; }
.screen li:last-child { border-bottom: 0; }
.screen li span:last-child { color: var(--muted); text-align: right; }
.screen li .ok { color: var(--sea); font-weight: 600; }
.screen .chat { margin: 6px 14px 16px; padding: 11px 14px; border-radius: 14px; background: var(--bg); color: var(--ink); }
.caption { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* Sections */
section.block { padding: 72px 0; }
section.alt { background: var(--paper); }
.intro { max-width: 40em; margin-bottom: 40px; }
.intro p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* The repeated questions */
.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble {
  align-self: flex-start;
  max-width: 85%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 18px 18px 18px 4px;
}
.bubble small { display: block; color: var(--muted); font-size: 0.78rem; }
.bubble.reply {
  align-self: flex-end;
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  margin-top: 8px;
}
.bubble.reply small { color: rgba(255, 255, 255, 0.8); }
.pains { list-style: none; padding: 0; margin: 0; }
.pains li { padding: 16px 0; border-top: 1px solid var(--line); }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.pains span { color: var(--muted); }

/* Two columns */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols h3 { padding-bottom: 12px; border-bottom: 3px solid var(--sun); display: inline-block; margin-bottom: 18px; }
.cols ul { margin: 0; padding-left: 1.1em; }
.cols li { margin-bottom: 10px; }

/* Founder */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.founder blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.4;
}
.founder .sign { margin-top: 20px; color: var(--muted); }
.founder .sign strong { color: var(--ink); }
.case { border-left: 3px solid var(--sea); padding-left: 22px; }
.case h3 { margin-bottom: 10px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Works with */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.works p { color: var(--muted); }

/* FAQ */
.faq { max-width: 46em; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; 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(--sea); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Contact */
.contact { background: var(--ink); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255, 255, 255, 0.78); max-width: 32em; margin: 16px auto 0; }
.contact .btn.primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.contact .btn.primary:hover { background: #f2c964; border-color: #f2c964; }
.contact .actions { justify-content: center; }
.contact .mail { margin-top: 18px; font-size: 0.95rem; }
.contact .mail a { color: #fff; }

/* Footer */
footer { padding: 28px 0 40px; font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* Privacy page */
.doc { max-width: 46em; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.doc ul { padding-left: 1.2em; }

@media (max-width: 860px) {
  .questions, .cols, .founder, .works { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .msg { max-width: 210px; font-size: 14px; }
  .scene-final { padding-bottom: 72px; }
  .replay { right: 50%; transform: translateX(50%); bottom: 16px; }
  section.block { padding: 56px 0; }
}
