/* Zep Proxy: the light theme of zep-protection.com, as wide as the main site. Photos carry the story; key
   sections stand on lighter surfaces that alternate with the paper; tariffs, checkout and support get the main
   site's block light. One accent, our yellow: primary buttons, chosen states and markers. Motion uses transform
   and opacity only and stops with «reduce motion» in the system settings. */
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:400 900; font-display:swap; src:url('./fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:400 900; font-display:swap; src:url('./fonts/golos-text-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* The «Zep» of the wordmark: the same letters as our main logo (the subset holds the letters of that logo only). */
@font-face { font-family:'Zep Wordmark'; font-style:normal; font-weight:600 800; font-display:block; src:url('./fonts/montserrat-wordmark.woff2') format('woff2'); }

/* The main site's light theme tokens. */
:root {
  color-scheme:light;
  --bg:#f1efe6; --surface:#f7f6ee; --card:#fbfaf5; --ink:#151616; --ink-2:#43463f; --muted:#5f625b;
  --hair:#dcd9c6; --line-2:#c8c4ad; --block-line:#d9d6c2;
  --yellow:#ffdf32; --yellow-hover:#ffe865; --on-yellow:#101112; --yellow-text:#7d6300; --yellow-mark:#cfa700; --yellow-art:#c9a000; --focus:#7d6300;
  --featured-bg:#fbf5d6; --featured-line:#e2bd00;
  --button-2-bg:rgba(255,255,255,.5); --button-2-hover-bg:rgba(21,22,22,.04); --button-2-hover-line:#9c9883;
  --field-bg:#fbfaf5; --field-line:#bdb9a2; --field-line-strong:#a9a58e; --field-label:#43463f; --placeholder:#7b7e74;
  --faq-open:rgba(226,189,0,.10);
  --glow-spot:rgba(226,189,0,.10); --glow-haze:rgba(226,189,0,.045); --glow-ring:rgba(226,189,0,.9); --glow-ring-soft:rgba(226,189,0,.25);
  --glow-line:rgba(205,170,0,.5); --glow-shadow:0 22px 50px -30px rgba(160,130,0,.35);
  --error:#a3321d; --bad-bg:#fbe9e4; --bad-line:#e6b0a4; --warn:#6f5600; --warn-line:#dcc15a; --warn-bg:#fbf2c8;
  --shadow-phone:0 44px 80px -44px rgba(40,34,12,.5),0 10px 24px -14px rgba(40,34,12,.28);
  --text:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --wordmark:'Zep Wordmark','Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1); --ease-out:cubic-bezier(.22,1,.36,1);
  --gutter:clamp(20px,5vw,128px);
  --page:min(1880px,100% - 2 * var(--gutter));
  --section:104px;
}

*,*::before,*::after { box-sizing:border-box; }
html { background:var(--bg); scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { margin:0; min-height:100vh; min-height:100dvh; background:var(--bg); color:var(--ink); font:400 17px/1.6 var(--text); font-synthesis-weight:none; overflow-x:hidden; }
/* One fine grain over the page, as on the main site. */
body::after { content:""; position:fixed; inset:0; z-index:60; pointer-events:none; opacity:.1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 0 0 0 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img,svg { display:block; max-width:100%; }
a { color:inherit; }
p { margin:0 0 14px; text-wrap:pretty; }
h1,h2,h3 { margin:0; font-family:var(--text); font-weight:700; letter-spacing:-.022em; text-wrap:balance; font-feature-settings:"lnum"; }
h1 { font-size:clamp(34px,1.9vw + 27px,76px); line-height:1.05; }
h2 { font-size:clamp(28px,.9vw + 24px,42px); line-height:1.14; }
h3 { font-size:20px; line-height:1.3; letter-spacing:-.01em; }
button,input,select,textarea { font:inherit; color:inherit; }
button,a,input,select,summary,label { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; border-radius:8px; }
.nowrap { white-space:nowrap; }
.sr { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
[hidden] { display:none!important; }
.container { width:var(--page); margin-inline:auto; }
.skip-link { position:fixed; top:-100px; left:16px; z-index:70; padding:12px 18px; border-radius:10px; background:var(--yellow); color:var(--on-yellow); font-weight:600; }
.skip-link:focus { top:12px; }

/* The particle field sits behind everything, as on the main site. */
.zp-particles { position:fixed; inset:0; width:100%; height:100vh; z-index:0; pointer-events:none; }
.site-header,main,.site-footer { position:relative; z-index:1; }

/* Buttons: colour and border answer the pointer, a press answers the finger (the main site's buttons). */
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:0 26px; border:1px solid var(--yellow); border-radius:10px;
  background:var(--yellow); color:var(--on-yellow); font:600 16px/1.2 var(--text); text-align:center; text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background-color 180ms var(--ease),border-color 180ms var(--ease),color 180ms var(--ease),scale 110ms var(--ease); }
.button:hover { background:var(--yellow-hover); border-color:var(--yellow-hover); }
.button:active { scale:.98; }
.button.secondary { background:var(--button-2-bg); border-color:var(--line-2); color:var(--ink); }
.button.secondary:hover { background:var(--button-2-hover-bg); border-color:var(--button-2-hover-line); }
.button:disabled,.button[aria-disabled=true] { opacity:.5; cursor:not-allowed; scale:1; }
.button.wide { width:100%; }
.text-link { color:var(--yellow-text); font-weight:600; text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; transition:color 180ms var(--ease); }
.text-link:hover { color:var(--ink); }

/* Header: one quiet bar over the field. */
.site-header { position:sticky; top:0; z-index:40; background:rgba(241,239,230,.96); border-bottom:1px solid var(--hair); }
.island { position:relative; display:flex; align-items:center; gap:28px; min-height:76px; }
.brand { display:inline-flex; align-items:center; gap:11px; min-height:44px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.brand-mark { width:25px; height:auto; aspect-ratio:48/53; color:var(--yellow-mark); flex:none; }
.brand-word { font:800 22px/1 var(--text); letter-spacing:-.025em; }
.brand-zep { font-family:var(--wordmark); color:var(--yellow-mark); }
.site-links { display:flex; align-items:center; gap:4px; margin-left:auto; }
.site-links a { display:inline-flex; align-items:center; min-height:44px; padding:0 14px; color:var(--ink-2); font-size:15px; font-weight:600; text-decoration:none; transition:color 180ms var(--ease); }
.site-links a:hover { color:var(--ink); }
.header-cta { min-height:44px; padding:0 20px; font-size:15px; }
.menu-toggle { display:none; position:relative; width:46px; height:46px; padding:0; margin-left:auto; border:1px solid var(--line-2); border-radius:10px; background:var(--button-2-bg); cursor:pointer; }
.menu-toggle span { position:absolute; left:13px; right:13px; height:2px; border-radius:2px; background:var(--ink); transition:transform 280ms var(--ease),top 280ms var(--ease); }
.menu-toggle span:first-child { top:18px; }
.menu-toggle span:last-child { top:26px; }
.menu-toggle[aria-expanded=true] span:first-child { top:22px; transform:rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { top:22px; transform:rotate(-45deg); }

/* Reveal on scroll: quick and once; only with scripts, an observer and motion allowed (app.js adds .js-reveal). */
.js-reveal [data-reveal] { opacity:0; transform:translate3d(0,18px,0); transition:opacity 520ms var(--ease-out),transform 620ms var(--ease-out); transition-delay:calc(var(--i,0) * 60ms); }
.js-reveal [data-reveal].is-in { opacity:1; transform:none; }

/* Sections and surfaces: the paper and a lighter surface take turns. */
.section { padding:var(--section) 0 0; }
.section-head { max-width:60ch; margin-bottom:44px; }
.section-head .lead { margin:16px 0 0; }
.lead { font-size:19px; line-height:1.55; color:var(--ink-2); max-width:60ch; }
.surface { padding:clamp(28px,4.5vw,72px); border:1px solid var(--block-line); border-radius:28px; background:var(--surface); }
.surface-band { margin-top:var(--section); }
.block + .block { margin-top:clamp(64px,7vw,104px); }

/* Hero: the words on the left, the real app screen on the right. */
.hero { padding:40px 0 16px; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:clamp(40px,5vw,96px); align-items:center; min-height:min(calc(100dvh - 220px),720px); }
.hero h1 { margin:0 0 24px; }
.hero .lead { margin-bottom:36px; max-width:46ch; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; }
.hero-price { margin:0; color:var(--muted); font-size:16px; }
.hero-notes { margin:22px 0 0; max-width:60ch; color:var(--muted); font-size:15px; }
.hero-stage { display:flex; justify-content:center; }
.phone { width:clamp(290px,20vw,460px); padding:8px; border-radius:46px; background:#141516; box-shadow:var(--shadow-phone),inset 0 0 0 1px #2d3033; }
.phone img { width:100%; height:auto; aspect-ratio:589/1188; object-fit:cover; border-radius:38px; background:#1a1d3a; }
/* The offer is readable from the first frame: the first screen only settles into place, it never fades in. */
@media (prefers-reduced-motion:no-preference) {
  .hero-copy > * { animation:zp-slide 520ms var(--ease-out) backwards; }
  .hero-copy > :nth-child(2) { animation-delay:50ms; }
  .hero-copy > :nth-child(3) { animation-delay:100ms; }
  .hero-copy > :nth-child(4) { animation-delay:150ms; }
  .hero-stage { animation:zp-slide 700ms var(--ease-out) 60ms backwards; }
  @keyframes zp-slide { from { transform:translate3d(0,10px,0); } }
}

/* What is included: three columns, the photo 4:3 on top. */
.story { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.story-row { display:flex; flex-direction:column; gap:20px; }
.photo { display:block; overflow:hidden; border-radius:20px; }
.photo img { width:100%; height:auto; transition:transform 900ms var(--ease-out); }
.story .photo img { aspect-ratio:4/3; object-fit:cover; }
.story-row:hover .photo img { transform:scale(1.02); }
.story-text h3 { font-size:22px; line-height:1.25; margin-bottom:8px; }
.story-text p { margin:0; color:var(--ink-2); font-size:16px; max-width:60ch; }
.cta-row { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:clamp(48px,5vw,72px); }
.cta-row p { margin:0; color:var(--muted); font-size:16px; }

/* How to start: the steps beside the photo, on a surface. */
.start-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:clamp(40px,5vw,96px); align-items:stretch; }
.start-grid .photo { height:100%; min-height:320px; }
.start-grid .photo img { height:100%; object-fit:cover; }
.start-text h2 { margin-bottom:32px; }
.steps { display:grid; gap:24px; margin:0; padding:0; list-style:none; counter-reset:step; }
.steps li { display:grid; grid-template-columns:40px minmax(0,1fr); column-gap:14px; }
.steps li::before { counter-increment:step; content:counter(step); grid-row:span 2; display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--featured-line); border-radius:50%;
  background:var(--featured-bg); color:var(--yellow-text); font:700 15px/1 var(--text); font-variant-numeric:tabular-nums; }
.steps h3 { font-size:18px; margin:4px 0 4px; }
.steps p { margin:0; color:var(--ink-2); max-width:46ch; }

/* Tariffs in the main site's style: the term pills, then three device cards. */
.periods { display:inline-flex; flex-wrap:wrap; row-gap:16px; padding:4px; margin:0 0 34px; border:1px solid var(--line-2); border-radius:12px; background:rgba(255,255,255,.55); }
.periods button { position:relative; min-height:46px; padding:0 22px; border:0; border-radius:9px; background:transparent; color:var(--ink-2); font-weight:600; cursor:pointer; white-space:nowrap;
  transition:background-color 180ms var(--ease),color 180ms var(--ease),scale 110ms var(--ease); }
.periods button:hover { color:var(--ink); background:rgba(21,22,22,.05); }
.periods button:active { scale:.98; }
.periods button[aria-pressed=true] { background:var(--yellow); color:var(--on-yellow); }
.periods small { position:absolute; top:-11px; right:6px; padding:0 7px; border:1px solid var(--featured-line); border-radius:999px; background:var(--featured-bg); color:var(--yellow-text);
  font:600 11px/1.6 var(--text); white-space:nowrap; }
.plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.plan { display:flex; flex-direction:column; padding:30px 28px 28px; border:1px solid var(--block-line); border-radius:20px; background:var(--card);
  transition:border-color 180ms var(--ease),box-shadow 300ms var(--ease); }
.plan:hover { border-color:var(--line-2); }
.plan.featured { border-color:var(--featured-line); background:var(--featured-bg); }
.plan-tag { font:600 12px/1.4 var(--text); letter-spacing:.06em; text-transform:uppercase; color:var(--yellow-text); }
.plan h3 { margin:8px 0 0; font-size:24px; letter-spacing:-.02em; }
.plan .price { margin:22px 0 4px; font:800 clamp(44px,2vw + 22px,58px)/1 var(--text); letter-spacing:-.035em; font-variant-numeric:tabular-nums lining-nums; white-space:nowrap; }
.plan .price small { font:600 22px var(--text); color:var(--ink-2); letter-spacing:0; }
.plan-old { display:flex; align-items:baseline; gap:8px; min-height:24px; margin:0; color:var(--muted); font-size:15px; }
.plan-old s { font-variant-numeric:tabular-nums; white-space:nowrap; }
.plan-cut { font-weight:600; color:var(--yellow-text); font-variant-numeric:tabular-nums; }
.plan-month { margin:8px 0 4px; color:var(--ink); font-size:17px; font-weight:600; font-variant-numeric:tabular-nums; }
.plan .term { margin:10px 0 0; color:var(--muted); font-size:14.5px; font-variant-numeric:tabular-nums; }
.plan .included { display:grid; gap:6px; margin:20px 0 24px; padding:18px 0 0; border-top:1px solid var(--block-line); list-style:none; color:var(--ink-2); font-size:15.5px; line-height:1.5; }
.plan.featured .included { border-top-color:rgba(226,189,0,.45); }
.plan .button { width:100%; margin-top:auto; }
.plans-foot { margin:22px 0 0; color:var(--muted); font-size:14px; }
/* Tariff and checkout in one block (Stas 26.11.2026): on a computer the term, its price and what is included on
   the left, the form on the right, everything on one screen; on a phone term → price → mail → pay, what is
   included below. */
.buy-shell { border:1px solid var(--featured-line); border-radius:20px; background:var(--card); }
.buy { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); grid-template-rows:auto 1fr; grid-template-areas:"choice form" "facts form"; }
.buy-choice { grid-area:choice; padding:32px 40px 0; border-radius:19px 0 0 0; background:var(--featured-bg); }
.buy-facts { grid-area:facts; padding:26px 40px 32px; border-radius:0 0 0 19px; background:var(--featured-bg); }
.buy-form { grid-area:form; padding:32px 40px; border-left:1px solid rgba(226,189,0,.45); }
.buy .periods { width:100%; margin:0 0 28px; background:rgba(255,255,255,.7); }
.buy .periods button { flex:1 1 auto; padding:0 8px; }
.buy .plan { display:block; padding:0; border:0; background:none; }
.buy .plan h3 { margin-top:6px; font-size:22px; }
.price-line { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 18px; margin:16px 0 0; }
.buy .plan .price { margin:0; }
.buy .plan-old { font-size:16px; }
.buy .plan-month { margin:8px 0 0; }
.buy .plan .term { margin:8px 0 0; }
.buy .included { display:grid; gap:10px; margin:0; padding:22px 0 0; border-top:1px solid rgba(226,189,0,.45); list-style:none; color:var(--ink-2); font-size:16px; line-height:1.45; }
.buy .included li { position:relative; padding-left:26px; }
.buy .included li::before { content:""; position:absolute; left:2px; top:.62em; width:12px; height:7px; border-left:2px solid var(--yellow-mark); border-bottom:2px solid var(--yellow-mark); transform:translateY(-55%) rotate(-45deg); }
.buy .plans-foot { margin:18px 0 0; font-size:13.5px; }
.buy .consent { margin-bottom:20px; }
.buy .assurances { margin-top:20px; border-top-color:rgba(226,189,0,.45); }

/* Until two columns hold the five terms in one row: one column, term → form → what is included. */
@media (max-width:1140px) {
  .buy-shell { max-width:760px; }
  .buy { grid-template-columns:minmax(0,1fr); grid-template-rows:none; grid-template-areas:"choice" "form" "facts"; }
  .buy-choice { padding:26px 24px 24px; border-radius:19px 19px 0 0; }
  .buy-form { padding:24px; border-left:0; border-top:1px solid rgba(226,189,0,.45); }
  .buy-facts { padding:22px 24px 26px; border-radius:0 0 19px 19px; background:none; border-top:1px solid var(--block-line); }
  .buy .included { padding:0; border-top:0; }
}
/* Wide screens: the questions beside the block instead of under it. */
@media (min-width:1700px) {
  #plans { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.34fr); column-gap:56px; align-items:start; }
  #plans .section-head { grid-column:1 / -1; }
  #plans .objections { grid-template-columns:1fr; gap:26px; margin-top:6px; }
}

/* The main site's block light: a warm spot under the pointer and a lit stretch of the border (particles.js). */
[data-card-glow] { position:relative; isolation:isolate; }
[data-card-glow]::after { content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none; opacity:0;
  background:radial-gradient(130px circle at var(--pointer-x,50%) var(--pointer-y,50%),var(--glow-spot),transparent 70%),
    radial-gradient(420px circle at var(--pointer-x,50%) var(--pointer-y,50%),var(--glow-haze),transparent 72%); }
[data-card-glow]::before { content:""; position:absolute; inset:0; z-index:2; border-radius:inherit; padding:1px; pointer-events:none; opacity:0;
  background:radial-gradient(220px circle at var(--pointer-x,50%) var(--pointer-y,50%),var(--glow-ring),var(--glow-ring-soft) 42%,transparent 72%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite:exclude; }
[data-card-glow].is-pointer-lit::after,[data-card-glow].is-pointer-lit::before { opacity:1; transition:opacity 360ms var(--ease-out); }
[data-card-glow].is-pointer-lit { border-color:var(--glow-line); box-shadow:var(--glow-shadow); }
.plan.featured.is-pointer-lit { border-color:var(--featured-line); }
@media (forced-colors:active) { [data-card-glow]::before,[data-card-glow]::after { display:none; } }

/* Checkout form. */
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:22px; }
.field-label,.field legend { font-weight:600; color:var(--field-label); font-size:14.5px; }
.field-hint { margin:0; color:var(--muted); font-size:14px; line-height:1.45; }
.input { width:100%; min-height:52px; padding:12px 16px; border:1px solid var(--field-line-strong); border-radius:10px; background:var(--field-bg); color:var(--ink); font-size:17px;
  transition:border-color 180ms var(--ease),box-shadow 180ms var(--ease); }
.input:hover { border-color:var(--button-2-hover-line); }
.input::placeholder { color:var(--placeholder); }
.input:focus { border-color:var(--yellow-text); box-shadow:0 0 0 4px rgba(255,223,50,.35); outline:none; }
.input[aria-invalid=true] { border-color:var(--error); background:var(--bad-bg); }
.email-suggest { margin:0; }
.suggest-button { display:inline-flex; align-items:center; min-height:40px; padding:6px 14px; border:1px solid var(--featured-line); border-radius:999px; background:var(--featured-bg); color:var(--ink);
  font:500 14.5px/1.3 var(--text); text-align:left; cursor:pointer; transition:background-color 180ms var(--ease); }
.suggest-button:hover { background:#fff3b8; }
fieldset.field { margin:0 0 22px; padding:0; border:0; min-width:0; }
fieldset.field legend { padding:0; margin-bottom:9px; }
.methods { display:grid; gap:8px; }
.method { position:relative; display:flex; align-items:center; gap:14px; min-height:62px; padding:11px 16px; border:1px solid var(--field-line); border-radius:12px; background:var(--field-bg); cursor:pointer;
  transition:border-color 180ms var(--ease),background-color 180ms var(--ease),box-shadow 180ms var(--ease),scale 110ms var(--ease); }
.method:hover { border-color:var(--button-2-hover-line); }
.method:active { scale:.99; }
.method input { width:20px; height:20px; margin:0; flex:none; accent-color:#7d6300; }
.method-text { display:flex; flex-direction:column; min-width:0; }
.method-title { font-weight:600; font-size:16px; }
.method-note { color:var(--muted); font-size:13.5px; }
.method-fee { margin-left:auto; padding-left:10px; color:var(--ink-2); font-size:13.5px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.method:has(input:checked) { border-color:var(--featured-line); background:var(--featured-bg); box-shadow:0 0 0 3px rgba(255,223,50,.3); }
.method:has(input:disabled) { opacity:.55; cursor:not-allowed; }
.method:has(input:focus-visible) { outline:3px solid var(--focus); outline-offset:2px; }
.methods-state { margin:0; padding:14px 16px; border:1px dashed var(--field-line); border-radius:12px; color:var(--muted); }
.methods-state .button { margin-top:10px; }
.consent { display:flex; align-items:flex-start; gap:12px; min-height:44px; margin:0; cursor:pointer; color:var(--ink-2); font-size:15px; }
.consent input { width:22px; height:22px; margin:1px 0 0; flex:none; accent-color:#7d6300; }
.consent a { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.consent a:hover { color:var(--yellow-text); }
.pay-marks { margin:10px 0 0; color:var(--muted); font-size:13px; text-align:center; letter-spacing:.01em; }
.pay-error { margin:12px 0 0; padding:11px 14px; border:1px solid var(--bad-line); border-radius:10px; background:var(--bad-bg); color:var(--error); font-size:15px; }
.pay-error:empty { display:none; }
.assurances { display:grid; gap:7px; margin:20px 0 0; padding:18px 0 0; border-top:1px solid var(--block-line); list-style:none; }
.assurances li { position:relative; padding-left:28px; color:var(--ink-2); font-size:14px; line-height:1.45; }
.assurances li::before { content:""; position:absolute; left:0; top:0; width:19px; height:19px; border-radius:50%; background:var(--yellow); }
.assurances li::after { content:""; position:absolute; left:6.5px; top:4px; width:5px; height:9px; border:solid var(--on-yellow); border-width:0 2px 2px 0; transform:rotate(45deg); }
.assurances a { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.noscript-note { margin:12px 0 0; padding:14px 16px; border:1px solid var(--warn-line); border-radius:12px; background:var(--warn-bg); color:var(--warn); }
.objections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 40px; margin-top:40px; }
.objections h3 { font-size:16.5px; margin-bottom:6px; }
.objections p { margin:0; color:var(--muted); font-size:15px; }

/* Phones: «Оформить» under the thumb past the first screen (app.js shows it while the form is out of view). */
.paybar { position:fixed; left:0; right:0; bottom:0; z-index:45; display:flex; align-items:center; gap:12px; padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
  background:rgba(247,246,238,.97); border-top:1px solid var(--block-line); box-shadow:0 -12px 30px -24px rgba(40,34,12,.45); }
.paybar-plan { flex:1; min-width:0; margin:0; font-size:14.5px; color:var(--ink-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.paybar .button { min-height:46px; padding:0 18px; }
@media (min-width:801px) { .paybar { display:none!important; } }
body.has-paybar { padding-bottom:76px; }

/* Countries: a row of flags on the paper. */
.countries { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.countries li { display:flex; align-items:center; gap:10px; min-height:48px; padding:6px 16px 6px 8px; border:1px solid var(--hair); border-radius:999px; background:rgba(251,250,245,.7);
  color:var(--ink-2); font-size:15.5px; transition:border-color 180ms var(--ease),background-color 180ms var(--ease); }
.countries li:hover { border-color:var(--line-2); background:var(--card); }
.countries img { width:28px; height:28px; flex:none; border-radius:50%; object-fit:cover; box-shadow:0 0 0 1px rgba(21,22,22,.1); }

/* FAQ: lines, not boxes; the open answer gets a warm tint and a yellow marker on the left, and opens with its height. */
.faq-layout { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr); gap:56px; align-items:start; }
.faq-aside { position:sticky; top:104px; display:grid; gap:28px; }
.support { padding:28px; }
.support h3 { font-size:22px; margin-bottom:10px; }
.support p { margin:0 0 20px; color:var(--ink-2); font-size:15.5px; }
.faq-list { border-top:1px solid var(--hair); }
.faq-list details { position:relative; isolation:isolate; border-bottom:1px solid var(--hair); }
.faq-list details::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:var(--faq-open); box-shadow:inset 2px 0 0 var(--yellow-art);
  opacity:0; transition:opacity 220ms var(--ease); }
.faq-list details[open]::before { opacity:1; }
.faq-list summary { display:flex; align-items:center; gap:24px; min-height:72px; padding:14px 6px 14px 20px; font:600 18px/1.35 var(--text); cursor:pointer; list-style:none; transition:color 180ms var(--ease); }
.faq-list summary:hover { color:var(--yellow-text); }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:""; flex:none; width:18px; height:18px; margin-left:auto;
  background:linear-gradient(var(--yellow-mark),var(--yellow-mark)) center/18px 2px no-repeat,linear-gradient(var(--yellow-mark),var(--yellow-mark)) center/2px 18px no-repeat;
  transition:background-size 220ms var(--ease); }
.faq-list details[open] summary::after { background-size:18px 2px,2px 0; }
.faq-list details p { max-width:62ch; margin:0; padding:0 20px 22px; color:var(--ink-2); }
@supports (interpolate-size:allow-keywords) {
  .faq-list { interpolate-size:allow-keywords; }
  .faq-list details::details-content { height:0; overflow:clip; transition:height 220ms var(--ease),content-visibility 220ms allow-discrete; }
  .faq-list details[open]::details-content { height:auto; }
}

/* Footer */
.site-footer { margin-top:var(--section); padding:40px 0 48px; border-top:1px solid var(--hair); color:var(--muted); font-size:14px; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:24px 56px; }
.footer-links { display:flex; flex-wrap:wrap; gap:0 22px; margin:12px 0 0; padding:0; list-style:none; }
.footer-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink-2); text-decoration:none; transition:color 180ms var(--ease); }
.footer-links a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.seller,.disclaimer,.copyright { margin:0 0 10px; line-height:1.6; }
.seller b { font-weight:600; color:var(--ink-2); }

/* Thanks */
.thanks { padding:64px 0 16px; }
.thanks-shell { max-width:760px; margin-inline:auto; }
.thanks-card { padding:44px; border:1px solid var(--block-line); border-radius:20px; background:var(--surface); }
.thanks-card h1 { font-size:clamp(30px,1.4vw + 22px,46px); margin-bottom:18px; }
.thanks-card .lead { margin-bottom:22px; }
.status-mark { display:grid; place-items:center; width:58px; height:58px; margin-bottom:24px; border-radius:50%; background:var(--yellow); color:var(--on-yellow); box-shadow:0 0 0 8px rgba(255,223,50,.22); }
.status-mark svg { width:26px; height:26px; }
.status-mark.wait { background:var(--warn-bg); color:var(--warn); box-shadow:inset 0 0 0 1px var(--warn-line); }
.status-mark.bad { background:var(--bad-bg); color:var(--error); box-shadow:inset 0 0 0 1px var(--bad-line); }
.spinner { width:24px; height:24px; border:3px solid var(--warn-line); border-top-color:var(--warn); border-radius:50%; animation:zp-spin 900ms linear infinite; }
@keyframes zp-spin { to { rotate:360deg; } }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin:8px 0 22px; }
.quiet-support { margin:22px 0 0; }
.order-line { margin:22px 0 0; padding-top:18px; border-top:1px solid var(--block-line); color:var(--ink-2); }
.order-line b { color:var(--ink); font-variant-numeric:tabular-nums; }
.hint { color:var(--muted); font-size:15px; }

/* Documents */
.legal { max-width:780px; padding:64px 0 16px; overflow-wrap:anywhere; }
.legal h1 { font-size:clamp(30px,1.4vw + 20px,46px); margin-bottom:12px; }
.legal h2 { font-size:22px; line-height:1.3; margin:40px 0 14px; }
.legal p,.legal li { color:var(--ink-2); font-size:16.5px; line-height:1.7; }
.legal ul { padding-left:22px; margin:0 0 14px; }
.legal li { margin-bottom:8px; }
.legal a:not(.button) { text-decoration:underline; text-underline-offset:4px; }
.legal .info-box { margin:0 0 14px; padding:18px 20px; border:1px solid var(--block-line); border-radius:12px; background:var(--surface); }
.legal .info-box p { margin:0; }
.legal-date { color:var(--muted); margin-bottom:28px; }
.legal .button { margin-top:28px; }

/* Narrower screens */
@media (max-width:1180px) {
  .plan { padding:26px 22px 22px; }
}
@media (max-width:1020px) {
  .island { gap:12px; }
  .menu-toggle { display:block; order:3; margin-left:0; }
  .header-cta { margin-left:auto; }
  .site-links { position:absolute; top:100%; left:calc(-1 * var(--gutter)); right:calc(-1 * var(--gutter)); display:flex; flex-direction:column; align-items:stretch; gap:0; margin:0;
    padding:8px var(--gutter) 16px; background:var(--bg); border-bottom:1px solid var(--hair); opacity:0; visibility:hidden; transform:translateY(-6px);
    transition:opacity 220ms var(--ease),transform 320ms var(--ease),visibility 0s linear 320ms; }
  .site-links.is-open { opacity:1; visibility:visible; transform:none; transition:opacity 220ms var(--ease),transform 320ms var(--ease),visibility 0s; }
  .site-links a { min-height:52px; padding:0; font-size:18px; border-bottom:1px solid var(--hair); }
  .site-links a:last-child { border-bottom:0; }
  .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,.75fr); min-height:0; padding:24px 0; }
  .phone { width:260px; }
  .faq-layout { grid-template-columns:1fr; gap:28px; }
  .faq-aside { position:static; }
  .countries { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .story { grid-template-columns:1fr; gap:40px; max-width:680px; }
}
@media (max-width:800px) {
  :root { --section:72px; }
  html { scroll-padding-top:76px; }
  .island { min-height:64px; }
  .hero { padding:32px 0 0; }
  .hero-grid { grid-template-columns:1fr; gap:44px; padding:0; }
  .hero .lead { margin-bottom:28px; }
  .phone { width:min(260px,68vw); }
  .section-head { margin-bottom:32px; }
  .start-grid { grid-template-columns:1fr; gap:24px; }
  .start-grid .photo { min-height:0; }
  .start-grid .photo img { height:auto; }
  .start-text h2 { margin-bottom:24px; }
  .surface { border-radius:22px; }
  .objections { grid-template-columns:1fr; gap:18px; margin-top:32px; }
  .footer-grid { grid-template-columns:1fr; gap:16px; }
  .thanks { padding:32px 0 8px; }
  .thanks-card { padding:28px 22px; }
}
@media (max-width:560px) {
  body { font-size:16.5px; }
  .header-cta { display:none; }
  .menu-toggle { margin-left:auto; }
  .lead { font-size:17px; }
  .hero-actions .button,.cta-row .button { flex:1 1 100%; }
  .hero { padding-bottom:0; }
  .hero-grid { gap:32px; }
  .hero-notes { text-align:center; margin-top:16px; }
  .hero-stage { max-height:380px; overflow:hidden; align-items:flex-start; }
  .phone { width:min(240px,62vw); }
  .hero + .surface-band { margin-top:0; }
  .hero-price,.cta-row p { width:100%; text-align:center; }
  /* Five terms: 7/30/90 in the first row, 180/365 in the second, as on the main site. */
  .periods { display:grid; grid-template-columns:repeat(6,1fr); row-gap:16px; width:100%; margin-bottom:28px; }
  .periods button { grid-column:span 2; padding:0 6px; }
  .periods button:nth-child(n+4) { grid-column:span 3; }
  .surface { padding:22px 12px; margin-inline:-8px; }
  .plan .price { font-size:46px; }
  /* The block: term, price, mail, method and the button within the first screen of it. */
  #plans .section-head { margin-bottom:20px; }
  .buy-choice { padding:18px 14px 16px; }
  .buy .periods { margin-bottom:16px; }
  .buy .plan-tag,.buy .plan h3 { display:none; }
  .price-line { margin-top:0; gap:4px 14px; }
  .buy .plan .term { margin-top:4px; font-size:14px; }
  .buy-form { padding:18px 14px 16px; }
  .buy .consent { margin-bottom:14px; }
  .buy .assurances { margin-top:14px; }
  .buy-facts { padding:18px 14px 20px; }
  .field { gap:6px; margin-bottom:14px; }
  .input { min-height:50px; }
  fieldset.field { margin-bottom:12px; }
  .methods { display:flex; flex-wrap:wrap; gap:6px; }
  .method { flex:1 1 auto; flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; min-height:58px; padding:9px 12px; }
  .method input { position:absolute; opacity:0; pointer-events:none; }
  .method-title { font-size:15px; line-height:1.2; }
  .method-note:not([data-limit]) { display:none; }
  .method-fee { margin:0; padding:0; font-size:12.5px; }
  .consent { font-size:14px; min-height:40px; }
  .assurances { margin-top:12px; padding-top:12px; gap:5px; }
  .assurances li { font-size:13.5px; }
  .countries { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .countries li { font-size:15px; padding:5px 12px 5px 6px; }
  .countries img { width:26px; height:26px; }
  .support .button { width:100%; }
  .support { padding:22px 18px; }
  .faq-list summary { font-size:16.5px; padding-left:14px; gap:16px; }
  .faq-list details p { padding:0 14px 20px; }
  .legal { padding:40px 0 8px; }
  .legal p,.legal li { font-size:16px; }
}
@media (max-width:400px) { .periods button { font-size:14px; } }
@media (hover:none),(pointer:coarse) { .periods button,.site-links a { min-height:48px; } .story-row:hover .photo img { transform:none; } }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition-duration:0s!important; transition-delay:0s!important; animation-duration:0s!important; animation-iteration-count:1!important; }
  .spinner { animation:none; border-top-color:var(--warn-line); }
}
@media (forced-colors:active) {
  .faq-list summary::after { content:"+"; width:auto; height:auto; background:none; color:CanvasText; }
  .faq-list details[open] summary::after { content:"\2212"; }
}
