/* helloowner landing — mobile first */

:root {
  --bg: #f5f3ee;
  --bg-tint: #ebe8e0;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #4a4a46;
  --ink-3: #77756f;
  --line: #dcd8ce;
  --accent: #e4ff8d;       /* the one accent: soft lime */
  --accent-ink: #141414;
  --dark: #141414;
  --dark-2: #232321;
  --ok: #1f7a3d;
  --err: #c0362c;
  --chat-bg: #e7ecef;
  --bubble: #ffffff;
  --bubble-me: #f3ffcf;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 16px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 64px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-3); font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  background: var(--accent); color: var(--accent-ink);
  border: 2px solid var(--ink); border-radius: 999px;
  font: 700 16px/1.1 var(--font-body);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font: 800 20px/1 var(--font-head); text-decoration: none; letter-spacing: -0.02em; }
.logo span { background: var(--accent); padding: 0 4px; border-radius: 6px; margin-left: 1px; }
.logo--sm { font-size: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 40px; }
.hero__grid { display: grid; gap: 24px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-2); text-transform: uppercase;
}
.hero__title {
  font: 800 clamp(32px, 9vw, 60px)/1.12 var(--font-head);
  letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance;
}
/* Lime "marker" highlight: keeps dark text readable on the accent colour. */
.hl {
  background: var(--accent); color: var(--ink);
  padding: 0 .14em; margin: 0 -.04em; border-radius: .16em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { font-size: 18px; color: var(--ink-2); margin-bottom: 22px; max-width: 34em; }
.hero__actions .btn { width: 100%; }
.badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 15px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badge__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }

.hero-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border-radius: var(--radius);
  background: var(--dark); color: #fff; text-decoration: none;
}
.hero-card__label { font-size: 14px; font-weight: 700; color: #bdbdb6; text-transform: uppercase; letter-spacing: .04em; }
.hero-card__sum {
  font: 800 clamp(38px, 11.5vw, 68px)/1 var(--font-head);
  color: var(--accent); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.hero-card__note { color: #bdbdb6; font-size: 15px; }
.hero-card__link { margin-top: 10px; font-weight: 700; font-size: 15px; }

@media (min-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .hero__grid { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; }
  .hero__title { font-size: clamp(40px, 4.4vw, 54px); }
  .hero__actions .btn { width: auto; }
  .hero-card { padding: 32px; }
  .hero-card__sum { font-size: clamp(36px, 3.8vw, 52px); white-space: nowrap; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: #fff; }
.section__title {
  font: 800 clamp(26px, 6.6vw, 40px)/1.1 var(--font-head);
  letter-spacing: -0.025em; margin-bottom: 24px; text-wrap: balance;
}
.big-text { font-size: clamp(20px, 5vw, 26px); line-height: 1.4; font-weight: 600; max-width: 30em; }
@media (min-width: 860px) { .section { padding: 88px 0; } }

/* ---------- Calculator ---------- */
.calc__box {
  display: grid; gap: 20px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px;
}
.calc__inputs { display: grid; gap: 18px; }
.calc__result { background: var(--accent); border-radius: var(--radius-sm); padding: 20px; border: 2px solid var(--ink); }
.calc__result-label { display: block; font-weight: 700; font-size: 15px; }
.calc__result-sum {
  display: block; margin: 4px 0 14px;
  font: 800 clamp(38px, 11.5vw, 64px)/1 var(--font-head);
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.hero-card__sum [data-out], .calc__result-sum [data-out] { white-space: nowrap; }
.cur { font-size: .5em; letter-spacing: 0; white-space: nowrap; }
.calc__rows { margin: 0; display: grid; gap: 6px; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(0,0,0,.18); padding-top: 6px; }
.calc__rows dt { font-weight: 600; }
.calc__rows dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__hint { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 860px) {
  .calc__box { grid-template-columns: 1fr 1.2fr; padding: 28px; gap: 28px; align-items: center; }
  .calc__result { padding: 28px; }
}

/* ---------- Fields ---------- */
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-weight: 700; font-size: 15px; padding: 0; }
.field__hint { font-size: 13px; color: var(--ink-3); margin-top: -4px; }
.field__error { display: none; font-size: 13px; font-weight: 600; color: var(--err); }
.field.is-invalid .field__error, .field__error.is-shown { display: block; }
.field.is-invalid input:not([type=radio]), .field.is-invalid textarea { border-color: var(--err); }

input[type=text], input[type=url], input[type=date], input[type=tel], textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 600 17px/1.2 var(--font-body); color: var(--ink);
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm);
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; line-height: 1.4; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: #a9a69e; font-weight: 500; }

.phone-field {
  display: flex; align-items: stretch; overflow: hidden;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm);
}
.phone-field:focus-within { border-color: var(--ink); }
.field.is-invalid .phone-field { border-color: var(--err); }
.phone-field__prefix {
  display: flex; align-items: center; padding: 0 12px 0 14px;
  font-weight: 700; font-size: 17px; color: var(--ink-3);
  background: var(--bg-tint); border-right: 1px solid var(--line);
}
.phone-field input[type=tel] { border: 0; border-radius: 0; min-width: 0; flex: 1; letter-spacing: .02em; }
.field.is-invalid .phone-field input { border-color: transparent; }

.money-input { position: relative; display: block; }
.money-input input { font: 800 24px/1 var(--font-head); padding-right: 56px; min-height: 60px; font-variant-numeric: tabular-nums; }
.money-input__cur { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-3); }

.seg {
  --gap: 6px; --pad: 4px;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: var(--pad);
  background: var(--bg-tint); border-radius: 999px;
}
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-align: center; cursor: pointer;
  border: 2px solid transparent;
  transition: color .25s ease, transform .15s ease;
}
.seg__opt input:checked + span { background: var(--ink); color: var(--accent); }
.seg__opt input:focus-visible + span { border-color: var(--ink); }
.seg__opt:active span { transform: scale(.94); }
.seg__opt:hover input:not(:checked) + span { color: var(--ink-2); }

/* Sliding pill: a dark thumb that moves under the selected option. */
@supports selector(:has(*)) {
  .seg::before {
    content: ""; position: absolute; z-index: -1;
    top: var(--pad); bottom: var(--pad); left: var(--pad);
    width: calc((100% - 2 * var(--pad) - var(--gap)) / 2);
    background: var(--ink); border-radius: 999px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
    transition: transform .42s cubic-bezier(.34, 1.56, .64, 1);
  }
  .seg:has(.seg__opt:nth-child(2) input:checked)::before {
    transform: translateX(calc(100% + var(--gap)));
  }
  .seg .seg__opt input:checked + span { background: transparent; }
}

/* Result sum "pops" when the fee changes (class set by app.js). */
.calc__result-sum.is-bump { animation: bump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.calc__result-sum { transform-origin: left center; }

@media (prefers-reduced-motion: reduce) {
  .seg::before, .seg__opt span { transition: none !important; }
  .calc__result-sum.is-bump { animation: none; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); position: relative; }
.step__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
  background: var(--accent); border: 2px solid var(--ink); border-radius: 50%;
  font: 800 18px/1 var(--font-head);
}
.step__title { font: 700 19px/1.2 var(--font-head); margin-bottom: 6px; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); font-size: 16px; }
.callout {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--dark); color: #fff; font-weight: 700; font-size: 17px;
}
.callout::before { content: "✓ "; color: var(--accent); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Pay / no pay ---------- */
.paycols { display: grid; gap: 14px; }
.paycol { border-radius: var(--radius); padding: 22px; }
.paycol--yes { background: var(--surface); border: 2px solid var(--ink); }
.paycol--no { background: var(--accent); border: 2px solid var(--ink); }
.paycol__title { font: 800 22px/1.15 var(--font-head); margin-bottom: 12px; }
.paycol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.paycol li { padding-left: 30px; position: relative; font-weight: 600; }
.paycol li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.paycol--yes li::before { content: "→"; }
.paycol--no li::before { content: "✕"; }
@media (min-width: 700px) { .paycols { grid-template-columns: 1fr 1fr; } }
.paynote {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 14px;
  padding: 20px 22px; border-radius: var(--radius); background: var(--dark); color: #d9d9d3;
}
.paynote__icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
}
.paynote__title { font: 800 19px/1.2 var(--font-head); color: #fff; margin-bottom: 6px; }
.paynote p { font-size: 16px; }

/* ---------- Chat / example ---------- */
.example { display: grid; gap: 28px; }
.example__copy p { color: var(--ink-2); max-width: 28em; }
/* iPhone-style mockup */
.iphone {
  --frame: #161616;
  position: relative; width: 100%; max-width: 340px; margin: 0 auto;
  padding: 11px; border-radius: 58px; background: var(--frame);
  box-shadow:
    inset 0 0 0 2px #3b3b3b,          /* metal edge */
    inset 0 0 0 4px var(--frame),
    12px 12px 0 var(--accent),        /* brand hard shadow */
    12px 12px 0 2px var(--ink);
}
/* side buttons */
.iphone::before, .iphone::after {
  content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2a2a2a;
}
.iphone::before { right: -3px; top: 150px; height: 74px; }                       /* power */
.iphone::after { left: -3px; top: 120px; height: 46px; box-shadow: 0 62px 0 #2a2a2a, 0 -44px 0 0 #2a2a2a; } /* volume + action */
.iphone__screen {
  position: relative; overflow: hidden; border-radius: 47px;
  background: var(--chat-bg);
  font-family: -apple-system, "SF Pro Text", var(--font-body);
}
.iphone__island {
  position: absolute; z-index: 3; top: 11px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 31px; border-radius: 20px; background: #000;
}
.ios-status {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 4px 26px 0 34px;
  background: rgba(248, 248, 248, .94); color: #000;
}
.ios-status__time { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.ios-status__icons { display: flex; align-items: center; gap: 6px; }
.ios-status__icons svg { display: block; fill: currentColor; }
/* Telegram-style chat (iOS) */
.tg-nav {
  position: relative; z-index: 2; display: grid; grid-template-columns: 72px 1fr 72px; align-items: center;
  padding: 2px 10px 7px; background: rgba(247, 247, 247, .95);
  border-bottom: .5px solid rgba(0, 0, 0, .2);
}
.tg-nav__back { display: flex; align-items: center; gap: 5px; color: #037ee5; font-size: 16px; }
.tg-nav__title { text-align: center; line-height: 1.2; white-space: nowrap; }
.tg-nav__title b { display: block; font-size: 16px; font-weight: 600; color: #000; }
.tg-nav__title small { font-size: 12.5px; color: #8e8e93; }
.tg-avatar {
  justify-self: end; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(180deg, #f0ffc0, var(--accent)); color: var(--ink);
  font: 800 16px/1 var(--font-head);
}
.phone__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); font: 800 16px/1 var(--font-head); }

.chat.tg-chat {
  gap: 3px; padding: 8px 10px 12px 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150' fill='none' stroke='%233f6b2a' stroke-opacity='.16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 38 28 26l14 12v16H14Z'/%3E%3Cpath d='M24 54v-9h8v9'/%3E%3Ccircle cx='108' cy='24' r='8'/%3E%3Cpath d='M108 16v-4M108 36v-4M116 24h4M96 24h4'/%3E%3Cpath d='m98 82 4 8 9 1-6.5 6 1.7 9-8.2-4.5-8.2 4.5 1.7-9-6.5-6 9-1z'/%3E%3Cpath d='M30 108a6 6 0 0 1 12 0 6 6 0 0 1 12 0c0 8-12 15-12 15s-12-7-12-15Z'/%3E%3Ccircle cx='70' cy='60' r='6'/%3E%3Cpath d='M76 60h14m-4 0v5m-5-5v4'/%3E%3Crect x='112' y='116' width='18' height='13' rx='3'/%3E%3Cpath d='M116 116v-4a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M60 132c4-6 10-6 14 0'/%3E%3C/svg%3E") 0 0 / 150px 150px,
    radial-gradient(circle at 15% 10%, #dfe3b0 0, transparent 55%),
    radial-gradient(circle at 90% 35%, #a8cf8a 0, transparent 55%),
    radial-gradient(circle at 20% 85%, #8fbf96 0, transparent 60%),
    linear-gradient(160deg, #d6e2a4, #9cc48e 55%, #87b896);
}
.tg-day { align-self: center; margin: 0 0 8px; }
.tg-day span {
  display: inline-block; padding: 3px 9px; border-radius: 11px;
  background: rgba(40, 70, 30, .32); color: #fff; font-size: 12.5px; font-weight: 600;
}
.tg-msg {
  position: relative; align-self: flex-start; max-width: 80%; margin: 0;
  padding: 6px 10px 7px 11px; border-radius: 17px;
  background: #fff; color: #000; font-size: 14.5px; line-height: 1.33;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
}
.tg-msg--out { align-self: flex-end; background: #e1ffc7; margin-top: 6px; }
.tg-msg--out + .tg-msg { margin-top: 6px; }
/* Tail on the last bubble of a group */
.tg-msg--tail { border-bottom-left-radius: 5px; }
.tg-msg--tail::after {
  content: ""; position: absolute; bottom: 0; left: -6px; width: 12px; height: 17px;
  background: inherit; clip-path: path("M12 0V17H1.5C.4 17 0 16.1.9 15.5 5.5 12.8 10.6 8.6 12 0Z");
}
.tg-msg--out.tg-msg--tail { border-bottom-left-radius: 17px; border-bottom-right-radius: 5px; }
.tg-msg--out.tg-msg--tail::after { left: auto; right: -6px; transform: scaleX(-1); }

.tg-time {
  float: right; position: relative; top: 8px; margin-left: 9px;
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 11px; line-height: 1; color: #a0a8b0; font-weight: 400;
}
.tg-msg--out .tg-time { color: #4fae4e; }
.tg-ticks { display: block; }

.tg-msg--photo { padding: 3px; width: 80%; }
.tg-photo {
  display: block; height: 78px; border-radius: 14px 14px 6px 6px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #c9d3da, #eef1f3);
}
.tg-photo__lines {
  position: absolute; inset: 0; filter: blur(3px);
  background: repeating-linear-gradient(0deg, transparent 0 16px, rgba(0, 0, 0, .09) 16px 26px);
}
.tg-caption { display: block; padding: 5px 7px 5px 8px; font-size: 13.5px; color: #000; }
.tg-caption .tg-time { float: none; position: static; display: flex; justify-content: flex-end; margin-top: 1px; }

.tg-inline { align-self: flex-start; width: 80%; margin: 3px 0 0; }
.tg-inline span {
  display: block; padding: 9px 10px; border-radius: 12px;
  background: rgba(40, 70, 30, .3); color: #fff;
  font-size: 14px; font-weight: 600; text-align: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.ios-input {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 6px; background: rgba(248, 248, 248, .96); color: #8e8e93;
  border-top: .5px solid rgba(0, 0, 0, .18);
}
.ios-input svg { flex: none; }
.ios-input__field {
  flex: 1; height: 34px; padding: 0 14px; display: flex; align-items: center;
  border: .5px solid rgba(0, 0, 0, .2); border-radius: 17px; background: #fff;
  font-size: 15px; color: #b0b0b5;
}
.iphone__home { height: 26px; background: rgba(248, 248, 248, .96); position: relative; }
.iphone__home::after {
  content: ""; position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%);
  width: 38%; height: 5px; border-radius: 3px; background: #000;
}

/* Messages appear one by one when the phone scrolls into view (class set by app.js). */
.chat--play .tg-msg, .chat--play .tg-day, .chat--play .tg-inline { opacity: 0; transform: translateY(10px) scale(.97); }
.chat--play.is-playing .tg-msg, .chat--play.is-playing .tg-day, .chat--play.is-playing .tg-inline {
  animation: msg-in .38s cubic-bezier(.2, .8, .3, 1.2) forwards;
  animation-delay: calc(var(--i, 0) * 420ms);
}
@keyframes msg-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .chat--play .tg-msg, .chat--play .tg-day, .chat--play .tg-inline { opacity: 1; transform: none; animation: none !important; }
}

.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.bubble {
  align-self: flex-start; max-width: 86%; margin: 0;
  background: var(--bubble); padding: 10px 14px; border-radius: 16px 16px 16px 4px;
  font-size: 15px; line-height: 1.4; box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.bubble--me { align-self: flex-end; background: var(--bubble-me); border-radius: 16px 16px 4px 16px; }
.bubble--proof { display: grid; gap: 8px; width: 86%; }
.proof__blur {
  height: 84px; border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(0,0,0,.06) 14px 22px),
    linear-gradient(135deg, #cfd8dc, #eceff1);
  filter: blur(1.5px);
}
.proof__cap { font-size: 13px; color: var(--ink-3); font-weight: 600; }
@media (min-width: 860px) {
  .example { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ---------- Limits ---------- */
.limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.limits li { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--dark-2); color: #d9d9d3; }
.limits b { color: #fff; }
@media (min-width: 860px) { .limits { grid-template-columns: 1fr 1fr; } }

/* ---------- About ---------- */
.about { max-width: 720px; display: grid; gap: 16px; }
.about p { margin: 0; color: var(--ink-2); font-size: 18px; }
.about .about__lead { color: var(--ink); font-size: clamp(20px, 5vw, 24px); line-height: 1.4; font-weight: 600; }
.about__motto {
  justify-self: start; margin-top: 6px !important; padding: 12px 18px;
  background: var(--accent); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink) !important; font: 800 clamp(17px, 4.6vw, 21px)/1.25 var(--font-head) !important;
  letter-spacing: -0.01em;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details {
  background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq details[open]:not(.is-closing) { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 18px; position: relative;
  font-weight: 700; font-size: 17px; border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
/* Plus icon drawn with two bars; the vertical bar rotates flat to become a minus. */
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 14px; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: var(--ink);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open]:not(.is-closing) summary::before { transform: rotate(180deg); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(180deg); }
.faq__body { overflow: hidden; }
.faq details > p, .faq__body > p { padding: 0 18px; color: var(--ink-2); }
.faq details > p:last-child, .faq__body > p:last-child { padding-bottom: 18px; }
@media (prefers-reduced-motion: reduce) {
  .faq details, .faq summary::before, .faq summary::after { transition: none; }
}

/* ---------- Request form ---------- */
.request { background: var(--accent); border-top: 2px solid var(--ink); }
.request__head p { font-weight: 700; font-size: 18px; margin-top: -12px; margin-bottom: 24px; }
.form, .success {
  display: grid; gap: 18px; max-width: 620px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px; box-shadow: 6px 6px 0 var(--ink);
}
.success { background: var(--chat-bg); padding: 4px; }
.success:focus { outline: none; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } .form { padding: 28px; } }
.note { margin: 0; padding: 10px 12px; background: #fff6d6; border-radius: 10px; font-size: 14px; border: 1px solid #f0d77a; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.form__promise { font-size: 14px; color: var(--ink-2); text-align: center; margin-top: -6px; }
.form__error { color: var(--err); font-weight: 700; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alt-channels { margin-top: 28px; max-width: 620px; }
.alt-channels p { font-weight: 700; }
.alt-channels__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #bdbdb6; padding: 28px 0 100px; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer .logo { color: #fff; }
.footer .logo span { color: var(--ink); }
@media (min-width: 860px) { .footer { padding-bottom: 28px; } }

/* ---------- Sticky CTA (phones) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) { .sticky-cta { display: none !important; } }

/* ---------- Consent ---------- */
.consent {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 12px; z-index: 40;
  max-width: 520px; margin: 0 auto; padding: 16px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--ink); font-size: 14px;
}
.consent__actions { display: flex; gap: 10px; margin-top: 10px; }

/* ---------- Privacy page ---------- */
.doc { padding: 28px 0 56px; }
.doc__wrap { max-width: 760px; display: grid; gap: 20px; }
.doc h2 { font: 700 19px/1.25 var(--font-head); letter-spacing: -0.01em; margin: 0 0 10px; }
.doc p { color: var(--ink-2); margin: 0 0 10px; }
.doc p:last-child { margin-bottom: 0; }
.doc a { text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }

.doc__head h1 {
  font: 800 clamp(28px, 8vw, 44px)/1.08 var(--font-head); letter-spacing: -0.03em;
  margin-bottom: 12px; text-wrap: balance;
}
.doc__date {
  display: inline-block; margin: 0; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-tint); color: var(--ink-2) !important; font-size: 14px; font-weight: 600;
}

.doc__owner {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 18px; box-shadow: 4px 4px 0 var(--ink);
}
.doc__owner dl { margin: 0; display: grid; gap: 12px; }
.doc__owner dl div { display: grid; gap: 2px; }
.doc__owner dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.doc__owner dd { margin: 0; font-weight: 700; font-size: 17px; }

.doc__tldr {
  background: var(--accent); border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px;
}
.doc__tldr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc__tldr li { position: relative; padding-left: 26px; font-weight: 600; }
.doc__tldr li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; }

.doc__sections { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: doc; }
.doc__sections > li {
  counter-increment: doc; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.doc__sections > li > h2 { display: flex; align-items: center; gap: 10px; }
.doc__sections > li > h2::before {
  content: counter(doc); flex: none; display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--ink); font: 800 14px/1 var(--font-head);
}
.doc__sections ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc__sections ul li { position: relative; padding-left: 20px; color: var(--ink-2); }
.doc__sections ul li::before {
  content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink);
}
.doc__back { justify-self: start; margin-top: 8px; }

.footer--plain { padding-bottom: 28px; }
.footer a { color: #e6e6e0; }

@media (min-width: 700px) {
  .doc { padding: 56px 0 88px; }
  .doc__wrap { gap: 24px; }
  .doc__owner dl { grid-template-columns: 1fr auto auto; column-gap: 28px; }
  .doc__owner dd a { white-space: nowrap; overflow-wrap: normal; }
  .doc__owner, .doc__tldr, .doc__sections > li { padding: 24px; }
}
