/* Ailyq — the site (21.11.2026). One sheet for the landing, the family invitation and the policy / support pages.
   Brand: ink #16171D, paper, apricot #F29B4E, Onest. Light and dark follow the system, as the app does. */
@font-face { font-family: "Onest"; src: url("/fonts/onest.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #16171D;
  --paper: #F7F5F0;
  --bg: #FFFFFF;
  --bg2: #F4F3EF;
  --card: #FFFFFF;
  --fg: #16171D;
  --mut: #5E5F66;
  --line: #E6E3DC;
  --apricot: #F29B4E;
  --apricot-ink: #B5601C;
  --apricot-soft: #FCE7D3;
  --pos: #1B7A4A;
  --neg: #B23A26;
  --hero: #16171D;
  --hero-fg: #F7F5F0;
  --hero-mut: #A9A8A2;
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --r: 28px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E0F13; --bg2: #15161B; --card: #1B1C22; --fg: #ECEAE5; --mut: #A3A29D; --line: #2A2B31; --apricot-ink: #F4A766; --apricot-soft: #3A2A1C; --pos: #47C084; --neg: #F07A66; --hero: #08090C; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--apricot-ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.dark { background: color-mix(in srgb, var(--hero) 78%, transparent); color: var(--hero-fg); }
.top.lined { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: inherit; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
/* the logo E: track, the days gone, the apricot dot (the dot keeps its colour everywhere) */
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.mk-tr { stroke: #D9D3C7; } .mk-arc { stroke: #16171D; }
@media (prefers-color-scheme: dark) { .mk-tr { stroke: #34353C; } .mk-arc { stroke: #F0EDE6; } }
.top.dark .mk-tr { stroke: #34353C; } .top.dark .mk-arc { stroke: #F0EDE6; }
.inv .mk-tr { stroke: rgba(22,23,29,.14); }
@media (prefers-color-scheme: dark) { .inv .mk-tr { stroke: rgba(255,255,255,.16); } }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { color: inherit; opacity: .78; text-decoration: none; }
.top nav a:hover { opacity: 1; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 14px; padding: 6px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 40px; margin: 0; padding: 6px; list-style: none; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.14); min-width: 150px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; color: inherit; text-decoration: none; font-size: 15px; }
.lang li a:hover, .lang li a[aria-current] { background: var(--bg2); }
@media (max-width: 760px) { .top nav { display: none; } .lang { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-fg); padding: 56px 0 80px; margin-top: -64px; padding-top: 120px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero::before { width: 520px; height: 520px; background: #F29B4E; right: -120px; top: -80px; animation: drift 14s ease-in-out infinite alternate; opacity: .35; }
.hero::after { width: 420px; height: 420px; background: #3E9A86; left: -160px; bottom: -200px; animation: drift 18s ease-in-out infinite alternate-reverse; opacity: .22; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker { font-size: 15px; color: var(--apricot); font-weight: 600; margin: 0 0 14px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 0; font-weight: 800; text-wrap: balance; }
.hero h1 .ink { color: var(--apricot); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--hero-mut); max-width: 32em; margin: 20px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--hero-fg); color: var(--ink); border-radius: 16px; padding: 12px 18px; font-weight: 700; font-size: 16px; text-decoration: none; }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-weight: 500; font-size: 12px; opacity: .65; line-height: 1.1; }
.store.soon { cursor: default; }
.note { font-size: 14px; color: var(--hero-mut); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-bottom: 56px; } }

/* the phone: straight and whole, drawn the way the app looks (21.11.2026: «оформи скрин нормально») */
.stagep { display: grid; place-items: center; padding: 8px 0; }
.phone { --w: min(312px, 82vw); width: var(--w); aspect-ratio: 71.5 / 149; border-radius: calc(var(--w) * .165); background: #0B0B0E; padding: calc(var(--w) * .033); position: relative;
  box-shadow: 0 0 0 1.5px #3A3B41, 0 0 0 3px #1A1B20, 0 50px 90px -20px rgba(0,0,0,.6), 0 30px 60px -30px rgba(242,155,78,.35); animation: float 8s ease-in-out infinite; }
.phone::before { content: ""; position: absolute; top: calc(var(--w) * .058); left: 50%; width: 31%; height: calc(var(--w) * .088); transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 5; }
.phone::after { content: ""; position: absolute; right: -4px; top: 26%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #2A2B30; }
@keyframes float { 50% { transform: translateY(-10px); } }
.screen { width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #FFFFFF; color: #16171D; position: relative; padding: 0 16px; font-size: 12px; letter-spacing: -.005em; }
.sb { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 0 18px; font-size: 13px; }
.sb span { display: flex; gap: 5px; align-items: center; }
.sb svg { height: 10px; width: auto; }
.hd { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 4px; }
.screen .date { color: #6B6A66; font-size: 11px; }
.screen h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.gear { width: 30px; height: 30px; border-radius: 50%; background: #F2F2EF; display: grid; place-items: center; }
.gear svg { width: 15px; height: 15px; }
.tc { margin-top: 12px; }
.tc .l { font-size: 12px; color: #4A4B52; }
.tc .fig { font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; transition: color .5s; }
.tc .fig.down { color: #D9472E; }
.pace { position: relative; height: 52px; margin-top: 8px; }
.pace svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pace path, .pace line { vector-effect: non-scaling-stroke; transition: d .9s cubic-bezier(.2,.9,.3,1); }
.pace .gap { fill: #2E9E78; opacity: .26; }
.pace .plan { stroke: #8E8D88; stroke-width: 1.2; stroke-dasharray: 3 4; opacity: .7; }
.pace .real { fill: none; stroke: #16171D; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pace .dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 2px #FFFFFF; transition: top .9s cubic-bezier(.2,.9,.3,1); }
.pace .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--apricot); opacity: 0; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.pr { display: flex; justify-content: space-between; font-size: 10px; color: #6B6A66; margin-top: 4px; }
.ahead { font-size: 11.5px; font-weight: 600; margin-top: 3px; }
.ib { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.ib svg { width: 15px; height: 15px; }
.grp { background: #F6F5F2; border-radius: 16px; padding: 2px 10px; margin-top: 12px; }
.gi { display: flex; align-items: center; gap: 9px; padding: 8px 0; }
.gi + .gi { border-top: 1px solid #E8E6E0; }
.gi div, .opi div { flex: 1; min-width: 0; }
.gi b, .opi b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gi small, .opi small { display: block; font-size: 10px; color: #6B6A66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gi span { font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.mini-h { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 6px; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.mini-h span { color: #6B6A66; font-weight: 500; font-size: 11px; }
.ops { background: #F6F5F2; border-radius: 16px; padding: 0 10px; }
.op { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s cubic-bezier(.3,1.2,.5,1), opacity .4s; }
.op > .opw { overflow: hidden; min-height: 0; }
.opi { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid #E8E6E0; }
.opi em { font-style: normal; font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.js .op.new { grid-template-rows: 0fr; opacity: 0; }
.js .op.new.shown { grid-template-rows: 1fr; opacity: 1; }
.op.new.shown .opi { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { background: #FCE7D3; } 100% { background: transparent; } }
.tabs { position: absolute; left: 10px; right: 10px; bottom: 22px; display: flex; align-items: center; gap: 8px; z-index: 4; }
.tabs .bar { flex: 1; display: flex; justify-content: space-around; padding: 5px; border-radius: 99px; background: rgba(250,249,247,.78); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 6px 20px rgba(0,0,0,.12), inset 0 0 0 .5px rgba(0,0,0,.08); }
.tabs .bar span { flex: 1; display: grid; justify-items: center; gap: 1px; padding: 5px 0 4px; border-radius: 99px; font-size: 8px; color: #6B6A66; }
.tabs .bar span.on { background: rgba(22,23,29,.07); color: #16171D; font-weight: 600; }
.tabs .bar svg { width: 15px; height: 15px; }
.tabs .plus { width: 44px; height: 44px; border-radius: 50%; background: #16171D; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); transition: transform .18s; flex-shrink: 0; }
.tabs .plus svg { width: 20px; height: 20px; }
.tabs .plus.tap { transform: scale(.86); }
.home { position: absolute; bottom: 7px; left: 50%; width: 36%; height: 4px; border-radius: 3px; background: #16171D; transform: translateX(-50%); z-index: 4; }

/* ---------- sections ---------- */
section.s { padding: 96px 0; }
section.alt { background: var(--bg2); }
.s .wrap.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.s .wrap.two > * { min-width: 0; }
.s .wrap.two.flip > :first-child { order: 2; }
@media (max-width: 900px) { .s .wrap.two { grid-template-columns: minmax(0, 1fr); gap: 36px; } .s .wrap.two.flip > :first-child { order: 0; } section.s { padding: 72px 0; } }
.s h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; text-wrap: balance; }
.s p.lead { font-size: 19px; color: var(--mut); margin: 0; max-width: 34em; }
.eyebrow { color: var(--apricot-ink); font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 20px 50px rgba(22,23,29,.06); }

/* «Откуда цифра»: a receipt written row by row */
.rec { display: grid; gap: 2px; font-size: 16px; }
.rec .r { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.rec .r b { font-weight: 700; white-space: nowrap; }
.rec .rule { height: 2px; background: var(--fg); border-radius: 1px; margin: 4px 0; transform-origin: right; }
.rec .tot { font-weight: 800; }
.rec .big { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rec .big b { font-size: clamp(34px, 4vw, 44px); letter-spacing: -.02em; font-weight: 800; color: var(--apricot-ink); }
.play .rec .r { animation: rowin .5s both; }
.play .rec .r:nth-child(2) { animation-delay: .5s; } .play .rec .r:nth-child(3) { animation-delay: 1s; }
.play .rec .rule { animation: rule .5s 1.5s both; } .play .rec .r:nth-child(5) { animation-delay: 1.9s; } .play .rec .r:nth-child(6) { animation-delay: 2.4s; }
.play .rec .big { animation: rowin .6s 3s both; }
@keyframes rowin { from { opacity: 0; transform: translateX(-14px); } }
@keyframes rule { from { transform: scaleX(0); } }

/* three ways to record */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.way h3 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.way p { margin: 0; color: var(--mut); font-size: 16px; }
.stage { height: 170px; border-radius: 20px; background: var(--bg2); position: relative; overflow: hidden; display: grid; place-items: center; }
.wave { display: flex; gap: 5px; align-items: center; height: 60px; }
.wave i { width: 6px; border-radius: 3px; background: var(--apricot); height: 20%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: .15s; } .wave i:nth-child(3n) { animation-delay: .3s; } .wave i:nth-child(5n) { animation-delay: .45s; }
@keyframes wave { 50% { height: 100%; } }
.said { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 15px; }
.said span { display: inline-block; background: var(--card); border-radius: 12px; padding: 6px 12px; box-shadow: 0 6px 16px rgba(0,0,0,.08); animation: said 4s ease-in-out infinite; }
@keyframes said { 0%, 20% { opacity: 0; transform: translateY(10px); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.paper { width: 130px; background: #fff; color: #16171D; border-radius: 6px; padding: 12px 12px 16px; font-size: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.12); position: relative; display: grid; gap: 5px; }
.paper i { display: block; height: 6px; border-radius: 3px; background: #E3E1DB; }
.paper .t { display: flex; justify-content: space-between; font-weight: 800; font-size: 11px; margin-top: 4px; }
.scan { position: absolute; left: -10px; right: -10px; height: 3px; background: var(--apricot); box-shadow: 0 0 18px var(--apricot); animation: scan 2.6s ease-in-out infinite; border-radius: 2px; }
@keyframes scan { 0% { top: 4%; } 50% { top: 94%; } 100% { top: 4%; } }
.rows { width: 86%; display: grid; gap: 7px; }
.rows div { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--card); border-radius: 10px; padding: 7px 10px; font-size: 12px; font-weight: 600; animation: slide 5s ease-in-out infinite; }
.rows div:nth-child(2) { animation-delay: .4s; } .rows div:nth-child(3) { animation-delay: .8s; }
.rows em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 8px; background: var(--apricot-soft); color: var(--apricot-ink); }
@keyframes slide { 0%, 8% { opacity: 0; transform: translateX(40px); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* capital */
.capbig { font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.capup { color: var(--pos); font-weight: 600; margin-top: 8px; }
.capbar { display: flex; gap: 4px; height: 14px; margin: 22px 0 14px; }
.capbar b { border-radius: 7px; transform-origin: left; }
.play .capbar b { animation: grow 1.1s cubic-bezier(.2,.9,.3,1) both; }
.play .capbar b:nth-child(2) { animation-delay: .15s; } .play .capbar b:nth-child(3) { animation-delay: .3s; } .play .capbar b:nth-child(4) { animation-delay: .45s; }
@keyframes grow { from { transform: scaleX(0); } }
.legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; font-size: 15px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 5px; flex-shrink: 0; }
.legend b { margin-left: auto; }

/* plan */
.env { display: grid; gap: 14px; }
.env .e { display: grid; gap: 6px; }
.env .e div { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; }
.env .e div span { color: var(--mut); font-weight: 500; }
.env .bar { height: 10px; border-radius: 5px; background: var(--bg2); overflow: hidden; }
.env .bar b { display: block; height: 100%; border-radius: 5px; transform-origin: left; }
.play .env .bar b { animation: grow 1.2s cubic-bezier(.2,.9,.3,1) both; }
.pays { display: grid; gap: 8px; margin-top: 20px; }
.pay { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pay .ok { width: 22px; height: 22px; border-radius: 11px; background: var(--pos); display: grid; place-items: center; color: #fff; }
.pay .ok svg { width: 13px; height: 13px; }
.pay .no { width: 22px; height: 22px; border-radius: 11px; border: 2px dashed var(--line); }
.pay b { margin-left: auto; }
.play .pay .ok { animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.play .pay:nth-child(2) .ok { animation-delay: .4s; }
@keyframes pop { from { transform: scale(0); } }

/* family */
.fam { background: radial-gradient(120% 90% at 70% 10%, #FFC58F 0%, #F29B4E 45%, #D9772F 100%); color: #16171D; }
@media (prefers-color-scheme: dark) { .fam { background: radial-gradient(120% 90% at 70% 10%, #6B3E1E 0%, #3A2413 55%, #1A120B 100%); color: #F7F5F0; } }
.fam .eyebrow { color: inherit; opacity: .7; }
.fam p.lead { color: inherit; opacity: .8; }
.sky { position: relative; height: 380px; }
.ring { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; border: 2px dashed rgba(22,23,29,.25); animation: spin 60s linear infinite; }
@media (prefers-color-scheme: dark) { .ring { border-color: rgba(247,245,240,.25); } }
@keyframes spin { to { transform: rotate(360deg); } }
.face { position: absolute; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #16171D; border: 4px solid rgba(255,255,255,.85); box-shadow: 0 10px 24px rgba(0,0,0,.18); animation: breathe 5s ease-in-out infinite; }
.face:nth-child(3) { animation-delay: 1.2s; } .face:nth-child(4) { animation-delay: 2.4s; } .face:nth-child(5) { animation-delay: 3.6s; }
@keyframes breathe { 50% { transform: translateY(-8px) scale(1.04); } }
.evt { position: absolute; background: #FFFFFF; color: #16171D; border-radius: 16px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 34px rgba(0,0,0,.18); display: grid; gap: 2px; animation: bob 6s ease-in-out infinite; }
.evt small { font-weight: 500; color: #6B6A66; }
.evt .n { color: #B23A26; } .evt .p { color: #1B7A4A; }
.evt.e2 { animation-delay: 2s; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 600; }
.points li { display: flex; gap: 10px; align-items: center; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: currentColor; opacity: .55; flex-shrink: 0; }
@media (max-width: 520px) { .points { grid-template-columns: 1fr; } }
/* «Семья видит общее. Мы — нет»: one shared purchase on its way, readable only at both ends */
.seal { margin-top: 64px; }

/* privacy */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--apricot-soft); color: var(--apricot-ink); display: grid; place-items: center; }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { margin: 0; font-size: 18px; }
.tile p { margin: 0; color: var(--mut); font-size: 15px; }

/* end */
.end { background: var(--hero); color: var(--hero-fg); text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.end h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; margin: 0 0 14px; }
.end p { color: var(--hero-mut); margin: 0 auto 26px; max-width: 30em; }
.end .cta { justify-content: center; }
.end a.mail { color: var(--apricot); font-weight: 600; }

footer.foot { padding: 34px 0 48px; color: var(--mut); font-size: 14px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer.foot a { color: inherit; }
footer.foot .sp { margin-left: auto; }

/* reveal on scroll: visible at rest; a light rise when it comes into view */
.rv { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.9,.3,1); }
.js .rv:not(.in) { opacity: 0; transform: translateY(28px); }

/* ---------- documents (privacy, support) ---------- */
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 14px; }
.doc .intro { font-size: 19px; color: var(--mut); }
.doc h2 { font-size: 21px; margin: 34px 0 8px; letter-spacing: -.01em; }
.doc p, .doc li { margin: 6px 0; }
.doc ul { padding-left: 22px; }
.doc .upd { color: var(--mut); font-size: 14px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- the family invitation ---------- */
.inv { min-height: 100vh; background: radial-gradient(120% 70% at 70% 0%, #FFC58F 0%, #F29B4E 40%, #F7F5F0 78%); color: #16171D; }
@media (prefers-color-scheme: dark) { .inv { background: radial-gradient(120% 70% at 70% 0%, #6B3E1E 0%, #2A1B10 45%, #0E0F13 80%); color: #ECEAE5; } }
.inv main { max-width: 560px; margin: 0 auto; padding: 28px max(20px, env(safe-area-inset-left)) 56px; }
.inv .faces { display: flex; justify-content: center; margin: 26px 0 18px; }
.inv .faces span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #16171D; border: 4px solid rgba(255,255,255,.9); margin-left: -14px; box-shadow: 0 10px 24px rgba(0,0,0,.16); animation: breathe 5s ease-in-out infinite; }
.inv .faces span:first-child { margin-left: 0; }
.inv .faces span:nth-child(2) { animation-delay: 1s; } .inv .faces span:nth-child(3) { animation-delay: 2s; } .inv .faces span:nth-child(4) { animation-delay: 3s; }
.inv h1 { text-align: center; font-size: clamp(30px, 7vw, 42px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 12px; text-wrap: balance; }
.inv .sub { text-align: center; font-size: 18px; opacity: .8; margin: 0 0 26px; }
.card2 { background: var(--card); color: var(--fg); border-radius: 26px; padding: 22px; box-shadow: 0 24px 50px rgba(22,23,29,.12); display: grid; gap: 14px; }
.code { font: 700 clamp(17px, 5vw, 22px)/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; text-align: center; padding: 14px 8px; border-radius: 16px; background: var(--bg2); }
.code span { display: block; white-space: nowrap; }
.code span + span { color: var(--mut); font-size: .86em; }
.code-l { font-size: 14px; color: var(--mut); text-align: center; margin: 0; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; padding: 15px 18px; font: 700 17px var(--font); cursor: pointer; text-decoration: none; }
.btn.main { background: #16171D; color: #F7F5F0; }
@media (prefers-color-scheme: dark) { .btn.main { background: #F7F5F0; color: #16171D; } }
.btn.soft { background: var(--bg2); color: var(--fg); }
.warn { font-size: 15px; background: var(--apricot-soft); color: var(--fg); border-radius: 14px; padding: 12px 14px; margin: 0; }
.steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 14px; background: var(--apricot); color: #16171D; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.fine { font-size: 13px; color: var(--mut); margin: 0; }
.inv .lines { display: grid; gap: 6px; margin-top: 22px; font-size: 15px; opacity: .85; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv:not(.in) { opacity: 1; transform: none; }
  .js .op.new { grid-template-rows: 1fr; opacity: 1; }
}
/* the list fades out under the tab bar, as it does on the phone */
.screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255,255,255,0), #FFFFFF 60%); z-index: 3; pointer-events: none; }

.sealh { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 10px; text-wrap: balance; }
.seal .lead { max-width: 40em; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .9fr) minmax(0, 1.2fr) minmax(130px, .9fr) minmax(0, 1fr); align-items: center; margin-top: 30px; }
.node { background: #FFFFFF; color: #16171D; border-radius: 20px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(60,30,0,.16); display: grid; gap: 6px; min-width: 0; }
.node small { font-size: 12px; color: #6B6A66; font-weight: 600; }
.node .msg { font-weight: 600; font-size: 14px; display: grid; gap: 2px; }
.node .msg b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; color: #B23A26; }
.node.srv { background: #16171D; color: #F7F5F0; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.node.srv small { color: #A9A8A2; }
.node.srv code { font: 600 13px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; color: #FFC58F; word-break: break-all; min-height: 2.7em; }
.node.srv em { font-style: normal; font-size: 12px; color: #F07A66; font-weight: 600; }
.pipe { position: relative; height: 72px; display: grid; place-items: end center; padding: 0 6px; }
.pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; border-top: 2px dashed rgba(22,23,29,.35); }
.pipe small { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.25; display: flex; gap: 4px; align-items: center; padding: 0 4px; }
.pipe small svg { width: 12px; height: 12px; flex-shrink: 0; }
.pk { position: absolute; top: 9px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: #16171D; color: #FFC58F; display: grid; place-items: center; animation: carry 4s cubic-bezier(.5,0,.5,1) infinite; }
.pk svg { width: 14px; height: 14px; }
.pipe.two .pk { animation-delay: 2s; }
@keyframes carry { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 45% { left: calc(100% - 28px); opacity: 1; } 55%, 100% { left: calc(100% - 28px); opacity: 0; } }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.keys div { background: rgba(255,255,255,.55); border-radius: 18px; padding: 16px 18px; }
.keys b { font-size: 16px; }
.keys p { margin: 6px 0 0; font-size: 15px; opacity: .85; }
.tech { margin: 16px 0 0; font-size: 13px; opacity: .65; }
@media (prefers-color-scheme: dark) {
  .pipe::before { border-color: rgba(247,245,240,.35); }
  .keys div { background: rgba(255,255,255,.07); }
  .node:not(.srv) { background: #F7F5F0; }
}
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .pipe { height: 70px; place-items: center start; padding-left: 52px; }
  .pipe::before { left: 34px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed rgba(22,23,29,.35); }
  .pk { left: 21px; top: 0; animation-name: carryv; }
  @keyframes carryv { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 45% { top: calc(100% - 28px); opacity: 1; } 55%, 100% { top: calc(100% - 28px); opacity: 0; } }
  .keys { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) and (prefers-color-scheme: dark) { .pipe::before { border-color: rgba(247,245,240,.35); } }

/* ---------- /help: steps with drawn iPhone screens of «Команды» (22.11.2026) ---------- */
.help .crumb { margin: 0; font-size: 15px; }
.help .need, .help .hwhy, .help .hcheck { background: var(--bg2); border-radius: 16px; padding: 14px 16px; margin: 14px 0; }
.help .hwhy { background: var(--apricot-soft); }
.help .hsmall { color: var(--mut); font-size: 15px; }
.help .hgrp { font-size: 19px; margin: 34px 0 6px; }
.help .hdone { margin: 6px 0 0; }
.ver > input { position: absolute; opacity: 0; pointer-events: none; }
.ver > label { display: inline-block; padding: 8px 16px; border-radius: 12px; background: var(--bg2); color: var(--mut); font-weight: 600; cursor: pointer; margin: 18px 6px 0 0; }
.ver > input:focus-visible + label { outline: 2px solid var(--apricot); outline-offset: 2px; }
#v27:checked + label, #v26:checked + label { background: var(--fg); color: var(--bg); }
.ver > section { display: none; }
#v27:checked ~ .v27, #v26:checked ~ .v26 { display: block; }
.hsteps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 22px; }
.hsteps > li { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: start; counter-increment: s; }
.hsteps > li > p { margin: 0; padding-left: 40px; position: relative; }
.hsteps .n { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--apricot-soft); color: var(--apricot-ink); display: grid; place-items: center; font-size: 15px; }
@media (max-width: 620px) { .hsteps > li { grid-template-columns: 1fr; } .hsteps .hp { justify-self: center; } }
.hnote { border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 10px; margin: 18px 0; }
.hnote h3 { font-size: 17px; margin: 12px 0 4px; }
.hcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.hcard { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--fg); text-decoration: none; }
.hcard:hover { background: var(--bg2); }
.hcard span { display: grid; gap: 4px; color: var(--mut); font-size: 15px; }
.hcard b { color: var(--fg); font-size: 18px; }
.hcard .hp { zoom: .6; }
/* the phone */
.hp { --s: #F2F2F7; --c: #FFFFFF; --t: #111; --m: #8A8A8E; --b: #0A84FF; margin: 0; width: 200px; aspect-ratio: 9 / 16; border-radius: 30px; background: #111; padding: 7px; box-shadow: 0 10px 30px rgba(0,0,0,.14); font: 600 10.5px/1.3 -apple-system, var(--font); color: var(--t); }
@media (prefers-color-scheme: dark) { .hp { --s: #000; --c: #1C1C1E; --t: #F2F2F7; --m: #8E8E93; box-shadow: 0 0 0 1px #2A2B31; } }
.hp-s { position: relative; height: 100%; border-radius: 24px; background: var(--s); overflow: hidden; padding: 26px 10px 10px; display: flex; flex-direction: column; gap: 7px; }
.hp .ttl { font-size: 1.9em; font-weight: 800; letter-spacing: -.02em; }
.hp .ttl.s { font-size: 1.35em; }
.hp .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hp .tiles b { height: 52px; border-radius: 12px; background: linear-gradient(135deg, #5E5CE6, #BF5AF2); opacity: .85; }
.hp .tiles b:nth-child(2) { background: linear-gradient(135deg, #FF9F0A, #FF375F); }
.hp .tiles b:nth-child(3) { background: linear-gradient(135deg, #30D158, #0A84FF); }
.hp .plus-at { position: absolute; right: 12px; bottom: 14px; }
.hp .plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--b); font-size: 22px; font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hp .ed { display: grid; gap: 7px; }
.hp .blk { display: flex; gap: 7px; align-items: flex-start; background: var(--c); border-radius: 12px; padding: 9px; }
.hp .blk > span { display: block; }
.hp .ic { flex: none; width: 18px; height: 18px; border-radius: 5px; background: #8E8E93; display: inline-block; vertical-align: middle; margin-right: 6px; }
.hp .blk .ic { margin: 0; }
.hp .ic-auto { background: #0A84FF; }
.hp .ic-wallet { background: #1C1C1E; box-shadow: inset 0 -5px 0 #FF9F0A; }
.hp .ic-bell { background: #FF453A; }
.hp .ic-mail { background: #0A84FF; }
.hp .ic-clock { background: #FF9F0A; }
.hp .ic-ailyq { background: #16171D; background-image: radial-gradient(circle at 34% 70%, #F29B4E 0 22%, transparent 24%); }
.hp .tok { color: #fff; background: var(--b); border-radius: 6px; padding: 0 4px; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hp .fld { color: var(--m); background: var(--s); border-radius: 6px; padding: 0 4px; font-weight: 600; }
.hp .fld.set { background: none; padding: 0; }
.hp .more { display: grid; gap: 4px; margin-top: 6px; font-weight: 500; color: var(--m); }

.hp .under { padding-left: 25px; margin-top: -3px; }
.hp .sbar { margin-top: auto; background: var(--c); border-radius: 14px; padding: 8px; display: grid; gap: 7px; }
.hp .sbar.up { margin-top: 6px; }
.hp .sfield { background: var(--s); border-radius: 9px; padding: 6px 8px; color: var(--m); font-weight: 500; }
.hp .sfield.typed { color: var(--t); }
.hp .chips { display: flex; gap: 5px; flex-wrap: wrap; }
.hp .chip { background: var(--s); border-radius: 8px; padding: 3px 7px; font-weight: 600; }
.hp .res, .hp .list, .hp .props { list-style: none; margin: 0; padding: 0; background: var(--c); border-radius: 12px; }
.hp .res { background: none; }
.hp .res li, .hp .list li, .hp .props li { display: flex; align-items: center; justify-content: flex-start; gap: 6px; padding: 8px 9px; border-bottom: 1px solid color-mix(in srgb, var(--m) 25%, transparent); }
.hp .tick, .hp .tog { margin-left: auto; }
.hp li:last-child { border-bottom: 0; }
.hp .hgrpl { color: var(--m); text-transform: uppercase; font-size: .85em; padding-left: 4px; }
.hp .tick { color: var(--b); font-style: normal; }
.hp .tog { width: 26px; height: 16px; border-radius: 9px; background: color-mix(in srgb, var(--m) 40%, transparent); position: relative; display: inline-block; }
.hp .tog::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.hp .tog.on { background: #30D158; }
.hp .tog.on::after { left: 12px; }
.hp .kbar { margin-top: auto; background: var(--c); border-radius: 10px; padding: 8px; text-align: center; color: var(--b); }
.hp .sheet { margin-top: auto; background: var(--c); border-radius: 16px 16px 12px 12px; padding: 6px 0; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.hp .sheet .props { background: none; }
.hp .topbar { display: flex; justify-content: flex-end; }
.hp .donebtn { color: var(--b); font-weight: 700; padding: 2px 4px; }
.hp .tabs { margin-top: auto; display: flex; justify-content: space-around; background: var(--c); border-radius: 14px; padding: 8px; color: var(--m); }
.hp .tabs .on { color: var(--b); }
.hp .nextbtn { align-self: flex-end; color: var(--b); }
.hp .blankcard { background: var(--c); border-radius: 12px; padding: 12px 9px; color: var(--m); }
/* the place to tap: an apricot ring that breathes */
.hp .hit { position: relative; display: inline-block; border-radius: 10px; outline: 2.5px solid #F29B4E; outline-offset: 2px; animation: hit 1.6s ease-in-out infinite; }
@keyframes hit { 50% { outline-offset: 5px; outline-color: color-mix(in srgb, #F29B4E 55%, transparent); } }
@media (prefers-reduced-motion: reduce) { .hp .hit { animation: none; } }
.hp li > .hit, .hp li > span.hit { flex: 1; }
.faq { display: grid; gap: 8px; margin-top: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mut); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 12px; color: var(--mut); }

/* /trust (22.11.2026) */
.trust ol { padding-left: 22px; }
.trust code { font-family: ui-monospace, Menlo, monospace; font-size: .88em; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.trust .hosts { list-style: none; padding: 0; display: grid; gap: 6px; }
.tscroll { overflow-x: auto; margin: 10px 0; border: 1px solid var(--line); border-radius: 16px; }
.ttable { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
.ttable th, .ttable td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ttable th { color: var(--mut); font-weight: 600; font-size: 13px; background: var(--bg2); }
.ttable tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .tscroll { overflow: visible; border: 0; border-radius: 0; }
  .ttable { min-width: 0; font-size: 15px; }
  .ttable thead { display: none; }
  .ttable tr { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
  .ttable td { display: block; padding: 0; border: 0; }
  .ttable td:first-child { font-weight: 700; font-size: 16px; }
  .ttable td[data-l]::before { content: attr(data-l) ": "; color: var(--mut); }
}

.doc .guides { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 24px; }
.doc .guides li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.doc .guides a { font-weight: 600; font-size: 18px; }

/* 24.11.2026: /tools/statement — the drop area, the result table */
.st { margin: 28px 0 8px; }
.st-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 180px; padding: 28px 20px; border: 2px dashed var(--line); border-radius: 24px; background: var(--bg2); text-align: center; font-weight: 600; cursor: pointer; }
.st-drop.on, .st-drop:hover { border-color: #F29B4E; }
.st-drop:focus-within { outline: 3px solid #F29B4E; outline-offset: 3px; }
.st-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.st-ico { display: inline-flex; padding: 8px 14px; border-radius: 10px; background: #C8352B; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.st-status { margin: 14px 0 0; color: var(--mut); min-height: 1.4em; }
.st-status.err { color: #C8352B; }
.st-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.st-btns .btn { flex: 0 0 auto; }
.st-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.st-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.st-table th, .st-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.st-table th { font-weight: 700; color: var(--mut); white-space: nowrap; }
.st-table td.num, .st-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-table td.pos { color: #1F7A45; }
.st-more { color: var(--mut); font-size: 14px; }

/* 24.11.2026: /tools calculators */
.calc { display: grid; gap: 14px; margin: 28px 0 8px; padding: 22px; border-radius: 24px; background: var(--bg2); }
.calc-f { display: grid; gap: 6px; font-weight: 600; }
.calc-f input, .calc-f select { font: 600 19px var(--font); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); min-width: 0; width: 100%; }
.calc-f input:focus, .calc-f select:focus { outline: 3px solid #F29B4E; outline-offset: 1px; }
.calc-f small { font-weight: 500; color: var(--mut); font-size: 14px; }
.calc-out { display: grid; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.calc-big { display: grid; gap: 2px; } .calc-big span { color: var(--mut); font-weight: 600; } .calc-big b { font-size: clamp(32px, 7vw, 44px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; } .calc-line b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out p { margin: 4px 0 0; color: var(--mut); }
.st-table .sub { color: var(--mut); font-size: 13px; font-weight: 400; }
.st-table tr.off td { color: var(--mut); }
.calc .mob { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.calc .mob li { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; margin: 0; }
.calc .mob-top { display: flex; justify-content: space-between; gap: 12px; } .calc .mob-top b:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc .mob .sub { color: var(--mut); font-size: 13px; }
.calc .mob li.off { opacity: .6; }
