/* Maglead site styles, shared by every page. */
:root {
  --ink: #0B0B0C;
  --ink-2: #17171A;
  --paper: #FFFFFF;
  --paper-2: #F6F5F3;
  --muted: #6A6A70;
  --muted-dark: #9A9AA2;
  --line: #E6E4E0;
  --line-dark: #2A2A2F;
  --brand: #F68A45;
  --radius: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --brand-text: #E2702B; /* the brand orange, a shade deeper so large text reads on white */
  --accent-gray: #8B8B92;
}
* { box-sizing: border-box; }
/* Menu links land a little below the sticky header, not under it */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* Moving to another page of the site (a language) fades instead of flashing */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.label { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--brand-text); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; }
/* Accent words keep the main font and change only colour */
.accent { color: var(--accent-gray); }
p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #26262B; }
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-brand:hover { background: #FF9A58; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
/* Links open Telegram, so the arrow points up and out */
.btn .arr { width: 14px; height: 14px; flex: none; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translate(2px, -2px); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Header: a plain bar at the top that gathers into a floating rounded bar once the page
   scrolls. The header keeps its height either way, so the page never jumps. */
header { position: sticky; top: 0; z-index: 10; height: 68px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
  transition: max-width .45s cubic-bezier(.2,.7,.2,1), height .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1), padding .45s cubic-bezier(.2,.7,.2,1), background .3s ease, box-shadow .3s ease, border-radius .45s ease;
}
header.scrolled .nav {
  max-width: 1080px; height: 56px; transform: translateY(10px); padding: 0 8px 0 22px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 0 0 1px var(--line), 0 14px 34px -20px rgba(11,11,12,.35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { width: 22px; height: 24px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.nav-end { display: flex; align-items: center; gap: 10px; }

/* Language: a flag button that opens a short list, the same in both header states */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 11px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  font: 500 14px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease, background .2s ease;
}
.lang-btn:hover, .lang.open .lang-btn { box-shadow: inset 0 0 0 1px var(--ink); }
.lang-btn .chev { width: 10px; height: 10px; color: var(--muted); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.flag { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(11,11,12,.08); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; min-width: 190px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px; border-radius: 16px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 20px 44px -20px rgba(11,11,12,.38);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.2,1), visibility 0s linear .25s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-menu a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; font-size: 15px; text-decoration: none; color: var(--ink); transition: background .15s ease; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--paper-2); }
.lang-menu a[aria-current="page"] { font-weight: 600; }
/* A drawn tick next to the current language */
.lang-menu a[aria-current="page"]::after { content: ""; margin-left: auto; width: 10px; height: 5px; border-left: 1.8px solid var(--brand-text); border-bottom: 1.8px solid var(--brand-text); transform: translateY(-2px) rotate(-45deg); }
@media (max-width: 640px) {
  header.scrolled .nav { margin: 0 12px; width: auto; padding: 0 6px 0 16px; }
}

/* Hero */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: .98; margin: 0 0 26px; }
h1 .label { display: block; margin-bottom: 22px; letter-spacing: -0.01em; }
.hero h1 .accent { color: var(--brand-text); }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* No separators: when a long language wraps the row, a divider would be left at the start of a line */
.trust { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 14px; color: var(--muted); }

/* Hero: many customers write to one bot, and every one gets an answer */
.hv-stage { position: relative; height: 540px; }
/* The team's phone, drawn after Telegram for iOS in its light theme */
/* Telegram for iOS colors */
.phone {
  --tg-accent: #3390EC; --tg-in: #FFFFFF; --tg-out: #E1FEC6; --tg-meta: #8E9AA6; --tg-out-meta: #4FAE4E;
  --tg-bar: rgba(248,248,248,.94); --tg-sep: rgba(0,0,0,.14);
}
.phone {
  position: relative; flex: none; width: 264px; height: 528px; border-radius: 46px; padding: 10px;
  background: var(--ink); box-shadow: 0 60px 100px -50px rgba(11,11,12,.6), inset 0 0 0 1.5px #2E2E33;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 64px; height: 20px; margin-left: -32px; border-radius: 999px; background: var(--ink); z-index: 3; }
.screen {
  height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; color: #000;
  /* Telegram's default green wallpaper with its faint doodles */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23000' stroke-opacity='.07' stroke-width='1.6'%3E%3Ccircle cx='18' cy='20' r='7'/%3E%3Cpath d='M70 12l4 8 9 1-7 6 2 9-8-5-8 5 2-9-7-6 9-1z'/%3E%3Cpath d='M98 64c0-6 9-6 9 0 0 5-9 10-9 10s-9-5-9-10c0-6 9-6 9 0z'/%3E%3Cpath d='M20 80h22v14H20zM24 80v-4h14v4'/%3E%3Cpath d='M58 98c6-8 14-8 20 0'/%3E%3Ccircle cx='50' cy='56' r='3'/%3E%3C/svg%3E"),
    radial-gradient(circle at 12% 18%, #E2E9BC 0, transparent 46%),
    radial-gradient(circle at 88% 28%, #9CC6A1 0, transparent 52%),
    radial-gradient(circle at 26% 88%, #B4D39B 0, transparent 50%),
    radial-gradient(circle at 84% 86%, #DDE3B0 0, transparent 46%),
    #BCD5A6;
}
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 24px 5px 28px; font-size: 13px; font-weight: 600; background: var(--tg-bar); }
.sbar .icons { display: flex; align-items: center; gap: 4px; }
.sbar svg { height: 10px; width: auto; fill: #000; }
.tg-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 3px 10px 7px; background: var(--tg-bar); border-bottom: .5px solid var(--tg-sep); }
.tg-back { display: flex; align-items: center; gap: 4px; color: var(--tg-accent); }
.tg-back svg { width: 9px; height: 16px; }
.tg-head .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--tg-accent); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.tg-title { text-align: center; line-height: 1.2; }
.tg-title b { display: block; font-size: 15px; font-weight: 600; }
.tg-title small { display: block; font-size: 12px; color: var(--tg-meta); }
.tg-head .av { justify-self: end; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--sans); flex: none; background: var(--brand); color: var(--ink); }
.tg-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 10px 8px; min-height: 0; }
.b { position: relative; max-width: 82%; padding: 6px 9px 6px 10px; border-radius: 17px; font-size: 13.5px; line-height: 1.32; background: var(--tg-in); color: #000; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.b.in { align-self: flex-start; border-bottom-left-radius: 5px; }
.b.out { align-self: flex-end; background: var(--tg-out); border-bottom-right-radius: 5px; }
.b .m { float: right; display: inline-flex; align-items: center; gap: 2px; margin: 7px -2px -3px 8px; font-size: 11px; color: var(--tg-meta); white-space: nowrap; }
.b.out .m { color: var(--tg-out-meta); }
.b .m svg { width: 15px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.b .fwd { display: block; font-size: 12.5px; color: var(--tg-accent); margin-bottom: 1px; }
.b .fwd b { font-weight: 600; }
.b .q { display: block; border-left: 3px solid var(--tg-out-meta); background: rgba(79,174,78,.13); border-radius: 4px; padding: 2px 7px 3px; margin: 1px 0 4px; font-size: 12.5px; }
.b .q strong { display: block; color: #3B9A38; font-weight: 600; }
.b .q span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1F1F1F; }

/* The compose bar: who you are replying to, and the answer being typed */
.tg-compose { background: var(--tg-bar); border-top: .5px solid var(--tg-sep); padding: 6px 8px 18px; }
.tg-reply { display: none; align-items: center; gap: 8px; padding: 1px 4px 7px; }
.tg-reply.on { display: flex; animation: drop .25s ease both; }
.tg-reply i { width: 2px; align-self: stretch; border-radius: 1px; background: var(--tg-accent); }
.tg-reply div { min-width: 0; }
.tg-reply b { display: block; font-size: 12px; font-weight: 600; color: var(--tg-accent); }
.tg-reply span { display: block; font-size: 12px; color: var(--tg-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-row { display: flex; align-items: center; gap: 7px; }
.tg-row > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #858E99; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-field { flex: 1; min-width: 0; height: 32px; padding: 0 12px; border-radius: 16px; background: #fff; border: .5px solid #D3D3D3; display: flex; align-items: center; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.tg-field:empty::before { content: attr(data-ph); color: #A1A8B0; }
.tg-field.typing::after { content: ""; flex: none; width: 1.5px; height: 17px; margin-left: 1px; background: var(--tg-accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.tg-send { display: none; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--tg-accent); place-items: center; }
.tg-send svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tg-compose.ready .tg-send { display: grid; }
.tg-compose.ready .tg-mic { display: none; }

/* Customers on the left, wires, dots that carry messages to the team's phone */
.flow { position: relative; height: 100%; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: #DEDAD3; stroke-width: 1.2; transition: stroke .3s ease; }
.wires path.hot { stroke: var(--brand); stroke-width: 1.6; }
.wires path.back { stroke: var(--ink); stroke-width: 1.6; }
.wires circle.in { fill: var(--brand); }
.wires circle.out { fill: var(--ink); }
.custs { position: absolute; left: 0; top: 0; bottom: 0; width: 216px; display: flex; flex-direction: column; justify-content: center; gap: 7px; z-index: 2; }
.cust { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 20px -16px rgba(11,11,12,.3); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease, background .3s ease; }
.cust.on { border-color: var(--ink); transform: translateX(8px); box-shadow: 0 16px 30px -18px rgba(11,11,12,.45); }
.cust.answered { background: #FFF3EA; border-color: #F6C29F; }
.cust .av { width: 32px; height: 32px; font-size: 12px; }
.cust > div { min-width: 0; }
.cust b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.cust > div > span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust > div > .rep { display: none; color: var(--ink); }
.cust > div > .rep em { font-style: normal; font-weight: 600; color: var(--brand-text); }
.cust.answered > div > .ask { display: none; }
.cust.answered > div > .rep { display: block; animation: drop .45s ease both; }
.flow .phone { position: absolute; right: 0; top: 6px; }
.feed { overflow: hidden; }
.feed .b { flex: none; animation: drop .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Sections */
section { padding: 120px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 32em; }
.sec-head .label { margin-bottom: 18px; display: block; }

/* Definition strip, written for search and answer engines */
.define { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.define p { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; letter-spacing: -0.015em; max-width: 46em; }
.define p strong { font-weight: 600; }
.define p span { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 32px 32px 0 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .num { font-size: 14px; font-weight: 600; color: var(--brand-text); }
.step h3 { font-size: 24px; margin: 22px 0 12px; }
.step p { color: var(--muted); }
.step code { font: 500 14px/1 var(--mono); background: var(--paper-2); border: 1px solid var(--line); padding: 3px 7px; border-radius: 6px; color: var(--ink); }

/* Features */
/* Features: soft grey cards, each with its own drawn line icon, white in a black circle
   that turns brand orange on hover. No square icon boxes, the user dislikes them. */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 30px 28px 34px; border-radius: 18px; background: var(--paper-2); transition: background .25s ease; }
.feature:hover { background: #EFEDE9; }
.feature h3 { font-size: 19px; letter-spacing: -0.02em; margin: 0 0 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ficon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: background .25s ease, color .25s ease; }
.feature:hover .ficon { background: var(--brand); color: var(--ink); }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; gap: 12px; } }

/* Privacy band */
.dark { background: var(--ink); color: var(--paper); }
.dark .label { color: var(--brand); }
.privacy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.privacy-grid h2 .accent { color: var(--brand); }
.privacy-grid > div > p { color: var(--muted-dark); font-size: 18px; margin-top: 26px; max-width: 30em; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.facts .k { font-size: 16px; font-weight: 600; color: var(--paper); }
.facts .v { color: #D9D9DE; font-size: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; }
.plan.pro { background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; overflow: hidden; }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 22px; }
.tag { font-size: 12.5px; font-weight: 600; line-height: 1; padding: 7px 11px; border-radius: 999px; background: var(--brand); color: var(--ink); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 6px; }
.price b { font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); }
.plan.pro .price span, .plan.pro .sub { color: var(--muted-dark); }
.sub { font-size: 14.5px; color: var(--muted); min-height: 44px; }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: 15.5px; }
/* A short rule instead of check badges: quieter, reads like a spec sheet */
.plan ul { border-top: 1px solid var(--line); gap: 0; }
.plan li { padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.plan.pro ul, .plan.pro li { border-color: var(--line-dark); }
.plan .btn { margin-top: auto; justify-content: center; }
/* Longer Pro periods: one small card each, the yearly one marked as the best deal */
.periods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 920px; margin: 20px auto 0; }
.period { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 20px; background: var(--paper); display: flex; flex-direction: column; }
.period-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 26px; }
.period-top span { font-size: 14.5px; font-weight: 500; }
.period em { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 9px; border-radius: 999px; background: rgba(246,138,69,.14); color: var(--brand-text); white-space: nowrap; }
.period b { font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin: 18px 0 8px; }
.period small { font-size: 13.5px; color: var(--muted); }
.period.best { border-color: var(--ink); }
.period.best em { background: var(--brand); color: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
/* A drawn plus, two thin lines, that turns into a minus when open */
summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.5px 14px no-repeat;
  transition: background-size .25s ease;
}
details[open] summary::after { background-size: 14px 1.5px, 1.5px 0; }
/* The script animates the height, so the answer slides open and shut */
details { overflow: hidden; }
details p { transition: opacity .3s ease; }
details.closing p { opacity: 0; }
summary:hover::after { opacity: .6; }
details p { color: var(--muted); padding: 0 48px 24px 0; }

/* Final call */
.final { padding: 0 0 120px; }
.final-box { background: var(--brand); border-radius: 28px; padding: 80px 64px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; position: relative; overflow: hidden; }
.final-box h2 { font-size: clamp(36px, 5vw, 64px); }
.final-box h2 .accent { color: rgba(11,11,12,.5); }
.final-box p { margin-top: 18px; font-size: 18px; max-width: 28em; }
.final-box .cta { justify-content: flex-end; margin: 0; }
/* The full mark, its four pieces sliding in from alternate sides */
.final-box svg.mark { position: absolute; right: 64px; top: 64px; width: 104px; height: 114px; fill: var(--ink); }
.mark path { opacity: 0; transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.mark path:nth-child(odd) { transform: translateX(40px); }
.mark path:nth-child(even) { transform: translateX(-40px); }
.reveal.in .mark path { opacity: 1; transform: none; }
.mark path:nth-child(2) { transition-delay: .1s; }
.mark path:nth-child(3) { transition-delay: .2s; }
.mark path:nth-child(4) { transition-delay: .3s; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { margin: 0; max-width: 18em; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h { margin: 0 0 4px; font-weight: 600; color: var(--ink); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .sec-head, .privacy-grid, .faq-grid, .final-box { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { gap: 48px; }
  section { padding: 88px 0; }
  .final-box { padding: 56px 36px; }
  .final-box .cta { justify-content: flex-start; }
  .final-box svg.mark { position: static; width: 52px; height: 57px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn { display: none; }
  /* Phones: customers in a row on top, the team's phone below them */
  .hv-stage { height: 624px; }
  .custs { right: 0; bottom: auto; width: auto; height: 48px; flex-direction: row; justify-content: space-between; align-items: center; gap: 0; }
  .cust, .cust.on, .cust.answered { padding: 0; border: 0; background: none; box-shadow: none; transform: none; }
  .cust > div { display: none; }
  .cust .av { width: 38px; height: 38px; font-size: 14px; box-shadow: 0 0 0 2px var(--paper), 0 6px 14px -8px rgba(11,11,12,.5); transition: box-shadow .3s ease, transform .3s ease; }
  .cust.on .av { transform: translateY(-3px) scale(1.08); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--brand); }
  .cust.answered .av { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px #4FAE4E; }
  .flow .phone { left: 50%; right: auto; top: 92px; width: min(300px, 100%); height: 528px; margin-left: calc(min(300px, 100%) / -2); }
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px; }
  .periods { grid-template-columns: 1fr 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 6px; }
  .final-box { padding: 44px 24px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .msg { opacity: 1; transform: none; }
}

/* Feature cards link to their own pages: the whole card is the link */
.feature { position: relative; }
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.feature:has(a:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.feature h3 a:focus-visible { outline: none; }
.more-link { margin: 28px 0 0; }
.more-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s ease; }
.more-link a:hover { border-color: var(--ink); }
.more-link .arr { width: 13px; height: 13px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.more-link a:hover .arr { transform: translate(2px, -2px); }

/* Inner pages: a feature, the features hub, a guide */
.page-hero { padding: 64px 0 56px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 36px; font-size: 14px; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: #C9C7C2; }
.crumbs [aria-current] { color: var(--ink); }
.page-hero .ficon { margin-bottom: 28px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; max-width: 15em; margin: 0 0 24px; }
.page-hero h1 .accent { color: var(--brand-text); }
.page-hero .lead { max-width: 36em; }
.page-body { padding: 24px 0 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.prose { max-width: 720px; font-size: 17.5px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 52px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: #3A3A40; }
/* Lists read like a spec sheet: thin rules, no dots or dashes in front */
.prose ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); color: #3A3A40; }
.prose ul li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.prose ol { margin: 0 0 18px; padding-left: 22px; color: #3A3A40; }
.prose ol li { margin-bottom: 10px; padding-left: 4px; }
.prose ol li::marker { color: var(--brand-text); font-weight: 600; }
.prose a { color: var(--ink); text-decoration-color: var(--brand); text-underline-offset: 3px; }
.prose b { color: var(--ink); font-weight: 600; }
.howto { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--ink); }
.howto li { padding: 26px 0; border-bottom: 1px solid var(--line); margin: 0; }
.howto .num { display: block; font-size: 14px; font-weight: 600; color: var(--brand-text); margin-bottom: 8px; }
.howto h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.02em; }
.howto p { margin: 0; }
.prose .howto { padding: 0; }
.prose .howto li { margin: 0; padding: 26px 0; }
.page-aside { position: sticky; top: 96px; }
.aside-card { padding: 28px; border-radius: 18px; background: var(--paper-2); }
.aside-card h2 { font-size: 21px; margin: 0 0 10px; letter-spacing: -0.02em; }
.aside-card p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }
.aside-card .btn { width: 100%; justify-content: center; }
.page-faq { padding-top: 0; }
.related { padding-top: 0; }
.related h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 28px; }
@media (max-width: 960px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page-aside { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 0 40px; }
  .crumbs { margin-bottom: 26px; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
}

/* Comparison and plan tables on inner pages */
.table-wrap { margin: 8px 0 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.compare td { color: #3A3A40; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th:last-child, .compare td:last-child { background: rgba(246,138,69,.06); }
@media (max-width: 640px) {
  /* Phones: the table fits the screen instead of scrolling sideways */
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 11px 10px; }
  .compare tbody th { width: 34%; }
}

/* Privacy, terms and refunds */
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 10px; }
.legal .muted { color: var(--muted); margin-bottom: 28px; }
