/* Layout: left-aligned editorial hero with a phone-text card on the right, then plain sections on a 12-col feel.
   Palette: chalk, deep ink, harbour teal, one amber flag for "missed". */
/* The site is always dark. */
:root {
  --bg: #0C1519; --surface: #131F25; --ink: #E7EFED; --muted: #98ADB3; --line: #243740;
  --accent: #4FD1B5; --accent-ink: #072019; --accent-soft: #14312D; --flag: #E8A33D; --flag-soft: #3A2C12;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
.wrap { max-width: 1080px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* header */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.logo svg { width: 36px; height: 36px; flex: none; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: var(--accent-ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0 84px; }
.hero > * { min-width: 0; }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 18px; }

/* call-to-text visual */
.flow { display: grid; gap: 12px; }
.call { background: var(--ink); color: var(--bg); border-radius: 24px; padding: 18px 20px 16px; }
.call-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; padding-bottom: 12px; border-bottom: 1px solid rgba(127,127,127,.35); margin-bottom: 12px; }
.call-title { font-weight: 600; }
.call-state { margin-left: auto; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.ring { position: relative; width: 14px; height: 14px; flex: none; }
.ring b { position: absolute; inset: 3px; border-radius: 50%; background: var(--flag); }
.ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--flag); opacity: .5; }
.line { font-size: 0.9rem; line-height: 1.45; padding: 8px 0; }
.line .who { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; opacity: .6; margin-bottom: 2px; }
.line.a .who { color: var(--accent); opacity: 1; }
.line.c { padding-left: 14px; border-left: 2px solid rgba(127,127,127,.4); }
.wave { width: 120px; height: 24px; color: var(--accent); margin-top: 4px; display: block; }
.seconds { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.seconds::before, .seconds::after { content: ""; flex: 1; border-top: 1px dashed var(--line); }
.seconds span::before { content: "\2193  "; color: var(--accent); }

/* phone */
.phone { background: var(--surface); border: 1.5px solid var(--line); border-radius: 24px; padding: 16px 16px 18px; box-shadow: 0 24px 50px -30px rgba(16, 34, 43, 0.45); }
.phone .bar { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); padding: 0 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.msg { background: var(--accent-soft); border-radius: 18px 18px 18px 6px; padding: 14px 16px; font-size: 0.95rem; line-height: 1.5; }
.msg + .msg { margin-top: 10px; }
.msg b { font-weight: 600; }
.tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 999px; margin-right: 6px; background: var(--accent); color: var(--accent-ink); vertical-align: 1px; }
.tag.personal { background: var(--flag-soft); color: var(--flag); }
.missed { display: flex; gap: 10px; align-items: center; background: var(--flag-soft); color: var(--flag); font-size: 0.85rem; font-weight: 600; padding: 9px 14px; border-radius: 12px; margin-bottom: 14px; }
.example { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.sec-head:has(> h2:only-child) { grid-template-columns: 1fr; }
.sec-head { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; margin-bottom: 40px; }
.sec-head > * { min-width: 0; }
.sec-head p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }

.callers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.caller { padding: 22px 0; border-top: 1px solid var(--line); }
.caller h3 { font-size: 1.05rem; }
.caller p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.rule p { color: var(--muted); font-size: 0.98rem; margin-top: 6px; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 10px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card .big { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -0.01em; margin: 8px 0 6px; overflow-wrap: anywhere; user-select: all; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.copy { margin-top: 16px; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { border-radius: 18px; padding: 26px 26px 22px; border: 1px solid var(--line); background: var(--surface); }
.vs-col.without { border-style: dashed; }
.vs-col.with { background: var(--accent-soft); border-color: transparent; }
.vs-label { font-size: 0.8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 14px; color: var(--flag); }
.vs-col.with .vs-label { color: var(--accent); }
.vs ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.vs li { position: relative; padding-left: 28px; }
.vs li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--flag); }
.vs-col.with li::before { background: var(--accent); border-color: var(--accent); }
.vs-col.without li:last-child { text-decoration: line-through; text-decoration-color: var(--flag); text-decoration-thickness: 1.5px; color: var(--muted); }

.player-card { background: var(--ink); color: var(--bg); border-radius: 20px; overflow: hidden; }
.player { display: flex; align-items: center; gap: 16px; padding: 16px 22px; }
.player > * { min-width: 0; }
.play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; }
.play:disabled { opacity: .45; cursor: default; }
.play svg { width: 24px; height: 24px; }
.player-body { flex: 1; }
.player-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.track { height: 6px; border-radius: 999px; background: rgba(127,127,127,.4); cursor: pointer; overflow: hidden; }
.fill { height: 100%; width: 0; background: var(--accent); }
.player-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; opacity: .75; margin-top: 8px; }
.tx-wrap { border-top: 1px solid rgba(127,127,127,.35); padding: 12px 22px 16px; }
.tx-label { font-size: 0.7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; opacity: .6; margin-bottom: 8px; }
.tx { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 11.5rem; overflow: hidden; }
.tx-empty { opacity: .6; align-self: center; margin: auto; text-align: center; font-size: 0.95rem; }
.tl { max-width: 84%; font-size: 0.97rem; line-height: 1.45; }
.tl .who { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 2px; }
.tl.a { align-self: flex-start; }
.tl.a .who { color: var(--accent); }
.tl.c { align-self: flex-end; text-align: right; padding-right: 12px; border-right: 2px solid rgba(127,127,127,.5); }
.tl.c .who { opacity: .6; }
.tl.old { opacity: .4; }
.tl.gone { opacity: 0; max-height: 0; margin-top: -10px; overflow: hidden; }
.tl.future { display: none; }
.tl .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; }
.hear .fine { margin-top: 14px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 0.9rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero, .sec-head, .contact, .vs { grid-template-columns: 1fr; gap: 32px; }
  .player { padding: 14px 16px; gap: 14px; }
  .play { width: 46px; height: 46px; }
  .tx-wrap { padding: 12px 16px 14px; }
  .tl { max-width: 94%; }
  .tx { height: 13rem; }
  .hero { padding: 32px 0 56px; }
  .steps, .rules { grid-template-columns: 1fr; }
  .callers { grid-template-columns: 1fr; }
  .nav a.hide-sm { display: none; }
  section { padding: 52px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .tl { transition: opacity .45s ease, max-height .45s ease, margin .45s ease; max-height: 14rem; }
  .ring i:nth-child(1) { animation: ping 1.8s ease-out infinite; }
  .ring i:nth-child(2) { animation: ping 1.8s ease-out .9s infinite; }
  @keyframes ping { from { transform: scale(.7); opacity: .7; } to { transform: scale(2); opacity: 0; } }
  .wave rect { transform-box: fill-box; transform-origin: center; animation: bar 1.1s ease-in-out infinite; }
  .wave rect:nth-child(3n) { animation-delay: .15s; }
  .wave rect:nth-child(3n+1) { animation-delay: .3s; }
  .wave rect:nth-child(4n) { animation-delay: .5s; }
  @keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
  .btn { transition: filter .15s ease, border-color .15s ease; }
}

/* form pages */
.page { max-width: 640px; padding: 24px 0 72px; }
.page h1 { font-size: clamp(2.1rem, 6vw, 3rem); }
.page .lead { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }
form.inquiry { display: grid; gap: 20px; margin-top: 32px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two > * { min-width: 0; }
.privacy { font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
form.inquiry .btn { justify-self: start; font-size: 1.05rem; padding: 14px 28px; }
.back { display: inline-block; margin-top: 28px; color: var(--accent); font-weight: 600; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
