/* LeoKnows site — app palette: mint wash, ink, lime. Display: Bricolage Grotesque. Body: Plus Jakarta Sans. */
:root {
  --bg: #F6FAF5;
  --surface: #FFFFFF;
  --ink: #0E1A12;
  --muted: #4A5F53;
  --soft: #6A7C70;
  --line: #E1EBE3;
  --green: #2F6B45;
  --lime: #A3E635;
  --washA: #B9F2DC;
  --washB: #E9FBB8;
  --tint: #E6F6DA;
  --signal: #FFC86B;
  --dark: #0E1A12;
  --dark-ink: #FFFFFF;
  --dark-muted: #B8C7BC;
  --pill: #0E1A12;
  --pill-ink: #FFFFFF;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --r: 24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1610; --surface: #15231A; --ink: #EAF3EC; --muted: #A9BCAF; --soft: #8A9E91; --line: #24372B;
    --green: #8FD6A6; --lime: #B6F25A; --washA: #123B2B; --washB: #2B3A12; --tint: #1C3324; --signal: #FFC86B;
    --dark: #1A2B20; --dark-ink: #FFFFFF; --dark-muted: #B8C7BC; --pill: #B6F25A; --pill-ink: #0C1610;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1610; --surface: #15231A; --ink: #EAF3EC; --muted: #A9BCAF; --soft: #8A9E91; --line: #24372B;
  --green: #8FD6A6; --lime: #B6F25A; --washA: #123B2B; --washB: #2B3A12; --tint: #1C3324; --signal: #FFC86B;
  --dark: #1A2B20; --dark-ink: #FFFFFF; --dark-muted: #B8C7BC; --pill: #B6F25A; --pill-ink: #0C1610;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.lede { color: var(--muted); font-size: 17px; max-width: 58ch; }
.sec { padding-block: clamp(64px, 9vw, 104px); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 40px; }
[lang="zh-CN"] { font-family: var(--zh); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 25px; font: 800 15px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--pill); color: var(--pill-ink); }
.btn-dark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
:root[data-theme="dark"] .btn-dark .dot { background: var(--pill-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-dark .dot { background: var(--pill-ink); } }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 11px; transform: rotate(-6deg); }
.brand .cn { font-family: var(--zh); font-size: 13px; color: var(--soft); font-weight: 600; letter-spacing: 0.08em; }
.nav { display: flex; gap: 20px; margin-left: auto; font-weight: 700; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.top .btn { height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 920px) { .nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 420px) { .brand .cn { display: none; } }

/* phones */
.phone { width: 230px; max-width: 100%; border-radius: 34px; padding: 7px; background: #0E1A12; box-shadow: 0 30px 60px -22px rgba(20, 60, 30, 0.38); }
.phone img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 28px; background: #EEF6EC; }

/* hero */
.hero { position: relative; overflow: hidden; }
.wash { position: absolute; width: 520px; height: 520px; border-radius: 50%; opacity: 0.8; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 56px 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 0.98; }
.hero h1 em { font-style: normal; background: var(--lime); color: #0E1A12; padding: 0 0.12em; border-radius: 10px; display: inline-block; transform: rotate(-1.5deg); }
.hero .lede { font-size: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 14px 8px 11px; line-height: 1.15; }
.store small { display: block; font-size: 11px; color: var(--soft); font-weight: 600; }
.store b { font-family: var(--display); font-size: 16px; }
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.phones { position: relative; height: 560px; min-width: 0; }
.phones .phone { position: absolute; }
.p1 { left: 4%; top: 70px; transform: rotate(-7deg); }
.p2 { left: 50%; top: 0; z-index: 2; width: 270px; transform: translateX(-50%) rotate(3deg); }
.p3 { right: 0; top: 96px; transform: rotate(8deg); }
.bubble { position: absolute; z-index: 3; left: 4%; bottom: 60px; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 18px; padding: 9px 14px 9px 9px; box-shadow: 0 18px 36px -18px rgba(14, 26, 18, 0.45); transform: rotate(-4deg); font-weight: 800; font-size: 14px; line-height: 1.3; max-width: 240px; }
.bubble img { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.bubble small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 24px; }
  .phones { height: 450px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phones .phone { width: 180px; border-radius: 28px; }
  .phones .phone img { border-radius: 22px; }
}
@media (max-width: 480px) { .phones { height: 390px; } .phones .phone { width: 150px; } .p3 { top: 80px; } .bubble { bottom: 10px; } }

/* proof strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-block: 18px; font-weight: 600; font-size: 14px; color: var(--muted); }
.strip b { color: var(--ink); }

/* modes */
.switch { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--surface); border-radius: 999px; padding: 5px; margin-bottom: 30px; border: 1px solid var(--line); }
.switch button { font: 800 15px var(--body); border: 0; background: transparent; color: var(--muted); padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.mode { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.mode > div:first-child { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mode-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mode-item { background: var(--surface); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mode-item b { font-family: var(--display); font-size: 18px; }
.mode-item p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .mode { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .mode-list { grid-template-columns: 1fr; } }

/* features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { grid-column: span 2; background: var(--surface); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card p { color: var(--muted); font-size: 15px; }
.card .zh { font-size: 13px; color: var(--soft); font-weight: 600; margin-top: auto; }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; color: var(--green); flex: none; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card.big { grid-column: span 3; }
.card.big h3 { font-size: 28px; }
.card.lime { background: var(--lime); color: #0E1A12; }
.card.lime p, .card.lime .zh { color: #34431F; }
.card.lime .ico { background: rgba(14, 26, 18, 0.1); color: #0E1A12; }
.card.black { background: var(--dark); color: var(--dark-ink); }
.card.black p, .card.black .zh { color: var(--dark-muted); }
.card.black .ico { background: var(--lime); color: #0E1A12; }
.navchip { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: #0E1A12; color: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 13px; }
.navchip i { font-style: normal; color: #A3E635; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .card, .card.big { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.rev .media { order: 2; }
.split .media { display: flex; gap: 16px; justify-content: center; min-width: 0; }
.split .media .phone + .phone { margin-top: 48px; }
.split .copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: #A3E635 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E1A12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .media { order: 0; }
  .split .media .phone { width: min(44vw, 200px); }
}

/* ready */
.ready { background: var(--dark); color: var(--dark-ink); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.ring { width: 150px; height: 150px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 38px; font-variant-numeric: tabular-nums; }
.ready .kicker { color: #A3E635; }
.ready h2 { margin-top: 8px; }
.ready .lede { color: var(--dark-muted); margin-top: 12px; }
.todo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.todo div { background: rgba(255, 255, 255, 0.07); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.todo b { font-family: var(--display); font-size: 17px; display: flex; align-items: center; gap: 8px; }
.todo b::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #A3E635; flex: none; }
.todo span { color: var(--dark-muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 860px) { .ready { grid-template-columns: 1fr; } .todo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .todo { grid-template-columns: 1fr; } }

/* tickets */
.tickets { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.tickets .sec-head { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 16px; background: var(--surface); border-radius: 20px; padding: 18px 20px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #A3E635; color: #0E1A12; }
.steps b { display: block; font-family: var(--display); font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; }
.fine { font-size: 14px; color: var(--soft); max-width: 52ch; }
@media (max-width: 860px) { .tickets { grid-template-columns: 1fr; gap: 28px; } }

/* driver band */
.driver { background: var(--dark); color: var(--dark-ink); }
.driver .wrap { padding-block: 72px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.driver .kicker { color: #A3E635; }
.driver p { color: var(--dark-muted); font-size: 17px; margin-top: 14px; }
.card-zh { background: var(--signal); color: #0E1A12; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transform: rotate(-1.5deg); min-width: 0; }
.card-zh small { font-weight: 700; font-size: 13px; opacity: 0.7; }
.card-zh .big { font-family: var(--zh); font-weight: 800; font-size: clamp(32px, 5vw, 50px); line-height: 1.2; }
.card-zh .addr { font-family: var(--zh); font-weight: 600; font-size: clamp(18px, 2.4vw, 24px); }
.card-zh .en { font-weight: 700; font-size: 15px; border-top: 1px solid rgba(14, 26, 18, 0.2); padding-top: 12px; }
@media (max-width: 860px) { .driver .wrap { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--surface); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.hl { background: var(--dark); color: var(--dark-ink); }
.plan .k { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.plan.hl .k { color: #A3E635; }
.price { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); }
.passes { display: flex; flex-direction: column; gap: 8px; }
.pass { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed rgba(255, 255, 255, 0.22); padding-bottom: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pass b { font-family: var(--display); font-size: 24px; color: #A3E635; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.plan.hl ul { color: var(--dark-muted); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #A3E635 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E1A12' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .btn { margin-top: auto; }
.plan.hl .btn { background: #A3E635; color: #0E1A12; }
.note { font-size: 14px; color: var(--soft); margin-top: 18px; }
.note a { color: var(--green); font-weight: 700; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq .sec-head { margin-bottom: 0; }
.qs { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
details { background: var(--surface); border-radius: 18px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; font-weight: 800; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-size: 19px; line-height: 1; color: var(--green); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 28px; } }

/* beta */
.beta { background: var(--lime); color: #0E1A12; border-radius: 36px; padding: clamp(28px, 6vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.beta .logo { width: 68px; height: 68px; border-radius: 20px; transform: rotate(-6deg); display: block; margin-bottom: 16px; }
.beta .kicker { color: #2E5A1E; }
.beta h2 { margin-top: 8px; }
.beta .lede { color: #34431F; margin-top: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; background: var(--surface); color: var(--ink); border-radius: 26px; padding: 26px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 800; }
.form input, .form select { font: 500 16px var(--body); padding: 12px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
.form input[aria-invalid="true"] { border-color: #D9472B; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { align-self: flex-start; }
.status { background: var(--tint); border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
@media (max-width: 820px) { .beta { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .row2 { grid-template-columns: 1fr; } }

/* company + contact */
.company { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
.company .contact { grid-template-columns: 1fr; margin-top: 0; }
.co { background: var(--surface); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.co .role { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.co h3 { font-size: 22px; }
.co .zhname { font-size: 15px; color: var(--muted); font-weight: 600; }
.co dl { margin: 6px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.co dt { color: var(--soft); font-weight: 600; }
.co dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .company { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.mail { background: var(--surface); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mail b { font-size: 15px; }
.mail span { color: var(--muted); font-size: 14px; }
.mail code { font-family: var(--body); font-weight: 800; color: var(--green); font-size: 14px; overflow-wrap: anywhere; user-select: all; margin-top: 4px; }
@media (max-width: 520px) { .contact { grid-template-columns: 1fr; } }

/* inner pages */
.page-head { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 60px); }
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-bottom: 40px; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-radius: 10px; }
.toc a:hover { background: var(--surface); color: var(--ink); }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 70ch; min-width: 0; }
.prose h2 { font-size: 28px; margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 8px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--green); font-weight: 700; }
.box { background: var(--surface); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.box.warn { background: var(--tint); }
@media (max-width: 820px) { .doc { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; flex-direction: row; flex-wrap: wrap; } }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--surface); }
.doc { padding-bottom: clamp(56px, 8vw, 96px) !important; }
footer .wrap { padding-block: 48px 28px; display: flex; flex-direction: column; gap: 32px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; font-size: 14px; color: var(--muted); }
.foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--green); }
.foot .about p { margin-top: 12px; max-width: 34ch; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 18px; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; min-width: 0; }
.gallery figure:nth-child(even) { margin-top: 40px; }
.gallery .phone { width: 100%; max-width: 230px; }
.gallery figcaption { display: flex; flex-direction: column; gap: 4px; }
.gallery figcaption b { font-family: var(--display); font-size: 19px; }
.gallery figcaption span { color: var(--muted); font-size: 14px; max-width: 26ch; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery { gap: 14px; } .gallery figure:nth-child(even) { margin-top: 28px; } }

/* human help band */
.human { background: var(--dark); color: var(--dark-ink); }
.human .wrap { padding-block: 80px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.human-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.human .kicker { color: #A3E635; }
.human p { color: var(--dark-muted); font-size: 17px; max-width: 54ch; }
.human .media { display: flex; justify-content: center; }
.human .phone { border: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 860px) { .human .wrap { grid-template-columns: 1fr; } .human .phone { width: min(60vw, 230px); } }

#contact { padding-top: clamp(64px, 9vw, 104px); }

.chat { background: var(--bg); color: var(--ink); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 400px; width: 100%; justify-self: center; transform: rotate(1.5deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); }
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chat-top img { width: 38px; height: 38px; border-radius: 12px; }
.chat-top span { display: flex; flex-direction: column; line-height: 1.25; }
.chat-top small { color: var(--soft); font-size: 12px; font-weight: 600; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); font-size: 14px; line-height: 1.45; color: var(--ink) !important; }
.msg.me { align-self: flex-end; background: #0E1A12; color: #fff !important; border-radius: 18px 18px 6px 18px; }
.msg.photo { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.msg.photo::before { content: ""; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #B9F2DC, #A3E635); flex: none; }
:root[data-theme="dark"] .msg.me { background: #A3E635; color: #0E1A12 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg.me { background: #A3E635; color: #0E1A12 !important; } }
