/* NI Mail landing. Colours and radii follow the app's light theme
   (apps/flutter/lib/core/design/tokens.dart). */
:root {
  --canvas: #F7F9FD;
  --surface: #FFFFFF;
  --hover: #F1F5FB;
  --border: #D9E0ED;
  --ink: #061427;
  --ink-2: #142942;
  --muted: #5F6E8C;
  --faint: #8C99B0;
  --accent: #0F77FF;
  --accent-hover: #0A68E6;
  --accent-subtle: #EBF3FF;
  --danger: #CE2222;
  --success: #11834B;
  --r-sm: 6px; --r-md: 9px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 12px 32px rgba(11, 37, 69, .08);
  --shadow-lg: 0 2px 6px rgba(11, 37, 69, .06), 0 32px 80px rgba(11, 37, 69, .16);
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(15, 119, 255, .45); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-md); transition: top .2s; }
.skip:focus { top: 12px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border-radius: var(--r-lg); border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .2s var(--ease), border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: var(--r-md); }
.btn--lg { padding: 16px 24px; font-size: 16px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(15, 119, 255, .28); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15, 119, 255, .34); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: #BCC8DC; transform: translateY(-1px); box-shadow: var(--shadow); }

/* Header ----------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 40; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.top.is-scrolled { background: rgba(247, 249, 253, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--border); }
.top__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.nav { display: flex; gap: 28px; margin-left: 20px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; background: var(--hover); border: 1px solid var(--border); border-radius: 999px; }
.lang button { font: 600 12px/1 var(--font); letter-spacing: .04em; color: var(--muted); background: none; border: 0; padding: 7px 10px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 37, 69, .12); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.blob--a { width: 520px; height: 520px; left: 52%; top: 4%; background: radial-gradient(circle, #A9D2FF, transparent 70%); }
.blob--b { width: 420px; height: 420px; left: 72%; top: 30%; background: radial-gradient(circle, #7DBBFF, transparent 70%); animation-duration: 28s; animation-delay: -6s; }
.blob--c { width: 380px; height: 380px; left: 8%; top: 18%; background: radial-gradient(circle, #DCEBFF, transparent 70%); animation-duration: 25s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.08); }
  100% { transform: translate(40px, -30px) scale(.96); }
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7.4fr); gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; margin: 16px 0 20px; font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #0F77FF, #5CA6FF 60%, #0A5FD6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 16px; font-size: 14px; color: var(--faint); }

.badges { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; list-style: none; padding: 0; margin: 56px auto 0; color: var(--muted); font-weight: 500; font-size: 15px; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-subtle); padding: 3px 7px; border-radius: 999px; }
.badges .soon { color: var(--faint); }

/* Platform glyphs (masks, so they take the text colour). */
.pi { display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; }
.pi--lg { width: 34px; height: 34px; }
.pi--win { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5 10.5 4.4V11.3H3ZM11.5 4.3 21 3V11.3H11.5ZM3 12.3H10.5V19.2L3 18.1ZM11.5 12.3H21V20.6L11.5 19.3Z'/%3E%3C/svg%3E"); }
.pi--android { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.8 5.6 5.4 3.2l.9-.5 1.4 2.5A9.3 9.3 0 0 1 12 4.3c1.6 0 3 .3 4.3.9l1.4-2.5.9.5-1.4 2.4A7.6 7.6 0 0 1 21 11.8H3a7.6 7.6 0 0 1 3.8-6.2ZM8 8.3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm8 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2ZM3 13h18v5.5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E"); }
.pi--web { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.7 5.6 3.7 9s-1.2 6.4-3.7 9c-2.5-2.6-3.7-5.6-3.7-9S9.5 5.6 12 3Z'/%3E%3C/svg%3E"); }
.pi--apple { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='14' height='10' rx='1.5'/%3E%3Cpath d='M1.5 17.5h17'/%3E%3Crect x='17' y='8' width='5.5' height='11' rx='1.2'/%3E%3C/svg%3E"); }
.pi--linux { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='16' rx='2'/%3E%3Cpath d='m7 10 3 2.5L7 15M12.5 15h4.5'/%3E%3C/svg%3E"); }

/* The promo ---------------------------------------------------------------- */
.demo-frame { margin: 0; position: relative; }
.demo-frame::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 32px; background: linear-gradient(140deg, rgba(92, 166, 255, .35), rgba(15, 119, 255, .12)); filter: blur(40px); z-index: -1; }
.demo-fit { position: relative; width: 100%; aspect-ratio: 1000 / 620; }
.demo {
  position: absolute; left: 0; top: 0; width: 1000px; height: 620px; transform-origin: 0 0; transform: scale(var(--s, .6));
  background: var(--canvas); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 37, 69, .08);
  font: 13px/1.4 var(--font); color: var(--ink); user-select: none;
}
.demo__bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EEF2F8; border-bottom: 1px solid var(--border); }
.demo__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D4DCE8; }
.demo__bar i:nth-child(1) { background: #FF6B6B; } .demo__bar i:nth-child(2) { background: #FFC451; } .demo__bar i:nth-child(3) { background: #3ECF8E; }
.demo__bar span { margin-left: 18px; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--faint); font-size: 11.5px; border: 1px solid var(--border); }
.demo__app { display: grid; grid-template-columns: 190px 330px 1fr; gap: 10px; height: calc(100% - 36px); padding: 10px 12px 12px 0; }

.d-side { padding: 8px 10px 0 16px; }
.d-logo { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--display); margin: 4px 0 14px; }
.d-logo img { width: 20px; height: 20px; }
.d-compose { background: var(--accent); color: #fff; font-weight: 600; text-align: center; border-radius: 10px; padding: 9px 0; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(15, 119, 255, .28); }
.d-folder { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.d-folder.is-on { background: var(--accent-subtle); color: var(--accent); }
.d-folder em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 7px; transform: scale(0); transition: transform .35s var(--ease); }
.d-folder em.is-on { transform: scale(1); }
.d-ico { width: 15px; height: 15px; border-radius: 4px; border: 2px solid currentColor; opacity: .8; }
.d-ico--star { border-radius: 50%; } .d-ico--sent { border-radius: 2px 8px 8px 2px; } .d-ico--draft { border-radius: 3px 3px 7px 3px; }

.d-list, .d-reader { background: var(--surface); border-radius: 14px; border: 1px solid rgba(217, 224, 237, .8); box-shadow: 0 8px 24px rgba(11, 37, 69, .06); position: relative; overflow: hidden; }
.d-search { margin: 10px; padding: 9px 12px; border-radius: 9px; background: var(--hover); color: var(--faint); }
.d-rows { padding: 0 6px; }
.d-row { display: grid; grid-template-columns: 8px 34px 1fr; gap: 8px; align-items: center; padding: 9px 8px; border-radius: 10px; margin-bottom: 2px; opacity: 0; transform: translateY(-14px); transition: opacity .45s var(--ease), transform .45s var(--ease), background-color .25s; }
.d-row.is-in { opacity: 1; transform: none; }
.d-row.is-sel { background: var(--accent-subtle); }
.d-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: opacity .3s; }
.d-row.is-read .dot { opacity: 0; }
.d-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; }
.d-av--travel { background: linear-gradient(135deg, #2E8BFF, #0A5FD6); }
.d-av--a { background: #E8A013; } .d-av--b { background: #11834B; } .d-av--c { background: #8B5CF6; }
.d-row > div { min-width: 0; }
.d-row b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.d-row b small { font-weight: 500; color: var(--faint); font-size: 11px; }
.d-row span.s, .d-row span.p { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-row span.p { color: var(--faint); font-size: 12px; }
.d-row.is-read b { font-weight: 600; }

.d-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); transition: opacity .3s; }
.d-empty span { width: 48px; height: 48px; border-radius: 14px; background: var(--hover); }
.d-msg { position: absolute; inset: 0; padding: 0 22px; opacity: 0; transform: translateX(18px); transition: opacity .4s var(--ease), transform .4s var(--ease); overflow: hidden; }
.d-reader.is-open .d-msg { opacity: 1; transform: none; }
.d-reader.is-open .d-empty { opacity: 0; }
.d-tools { display: flex; gap: 12px; align-items: center; height: 46px; border-bottom: 1px solid var(--border); margin: 0 -22px 14px; padding: 0 18px; }
.d-tools i { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #9AA7BD; }
.d-tools .t-reply { border-radius: 50% 50% 50% 4px; }
.d-tools b { flex: 1; }
.d-tools .t-star { border-radius: 50%; }
.d-tools i.is-press { border-color: var(--accent); background: var(--accent-subtle); }
.d-from { display: flex; gap: 10px; align-items: center; }
.d-from small { display: block; color: var(--faint); font-size: 11.5px; }
.d-msg h4 { font: 700 18px/1.3 var(--display); margin: 12px 0; }
.d-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 9px; background: var(--hover); border: 1px solid var(--border); color: var(--muted); font-size: 12px; margin-bottom: 12px; max-height: 60px; transition: opacity .35s, max-height .45s var(--ease), margin .45s var(--ease), padding .45s var(--ease); }
.d-banner b { color: var(--accent); font-weight: 600; padding: 4px 8px; border-radius: 6px; transition: background-color .2s; }
.d-banner b.is-press { background: var(--accent-subtle); }
.d-banner.is-gone { opacity: 0; max-height: 0; margin-bottom: 0; padding-block: 0; border-width: 0; }
.d-paper { border-radius: 12px; overflow: hidden; background: #F4F4F4; border: 1px solid #E5EAF2; }
.d-hero-img { position: relative; height: 150px; }
.d-hero-img .ph { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #E7EBF2 0 12px, #EEF1F6 12px 24px); transition: opacity .6s; }
.d-hero-img .ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 26px; margin: -13px 0 0 -17px; border: 2px solid #B7C1D3; border-radius: 5px; }
.d-hero-img.is-shown .ph { opacity: 0; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #5CA6FF, #A9D2FF 70%, #DCEBFF); overflow: hidden; }
.sun { position: absolute; right: 60px; top: 26px; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, #FFF6D5, #FFD36E 60%, rgba(255, 211, 110, 0)); }
.plane { position: absolute; left: -80px; top: 58px; width: 72px; fill: #fff; filter: drop-shadow(0 4px 6px rgba(10, 95, 214, .3)); }
.d-hero-img.is-shown .plane { animation: fly 6s linear infinite; }
@keyframes fly { from { transform: translate(0, 10px) rotate(-4deg); } to { transform: translate(560px, -24px) rotate(-8deg); } }
.cloud { position: absolute; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .85); }
.cloud.c1 { width: 90px; left: 40px; top: 104px; } .cloud.c2 { width: 120px; left: 250px; top: 38px; opacity: .7; }
.d-nl-body { padding: 16px 20px 18px; display: grid; gap: 8px; justify-items: start; background: #fff; margin: 12px; border-radius: 10px; }
.d-nl-body b { font: 700 17px/1.2 var(--display); color: #00427D; }
.d-nl-body p { color: #4D5B72; font-size: 12.5px; }
.d-code { font: 700 15px/1 var(--font); letter-spacing: .06em; color: #00427D; border: 2px solid #00427D; border-radius: 6px; padding: 8px 12px; }
.d-btn { background: #FF7A1A; color: #fff; font-weight: 700; border-radius: 8px; padding: 9px 16px; }

.d-composer { position: absolute; inset: 0; background: var(--surface); transform: translateY(100%); transition: transform .5s var(--ease), opacity .4s; display: flex; flex-direction: column; }
.d-composer.is-open { transform: none; }
.d-composer.is-sent { transform: translateY(-40%) scale(.9); opacity: 0; }
.d-composer__bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--border); }
.d-composer__bar span { color: var(--muted); }
.d-composer__bar b { flex: 1; }
.d-composer__bar em { font-style: normal; font-weight: 600; background: var(--accent); color: #fff; padding: 7px 14px; border-radius: 8px; transition: transform .15s, background-color .2s; }
.d-composer__bar em.is-press { transform: scale(.94); background: var(--accent-hover); }
.d-field { display: flex; gap: 14px; padding: 10px 22px; border-bottom: 1px solid var(--border); }
.d-field small { width: 44px; color: var(--muted); font-size: 12px; }
.d-text { padding: 16px 22px; font-size: 14px; white-space: pre-wrap; }
.caret { display: inline-block; width: 2px; height: 17px; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.d-toast { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 500; box-shadow: var(--shadow); transition: opacity .35s, transform .45s var(--ease); display: flex; gap: 8px; align-items: center; }
.d-toast::before { content: "✓"; color: #3ECF8E; font-weight: 700; }
.d-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.d-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; transform: translate(760px, 520px); transition: transform .9s var(--ease); pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.d-cursor svg { width: 22px; fill: #061427; stroke: #fff; stroke-width: 1.4; transition: transform .12s; }
.d-cursor.is-press svg { transform: scale(.82); }
.d-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: rgba(15, 119, 255, .35); transform: scale(0); opacity: 0; }
.d-cursor.is-press::after { animation: ripple .5s ease-out; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.demo.is-resetting .demo__app { opacity: 0; transition: opacity .5s; }
.demo--compact { width: 620px; }
.demo--compact .demo__app { grid-template-columns: 250px 1fr; padding-left: 12px; }
.demo--compact .d-side { display: none; }
.demo--compact .d-msg { padding: 0 16px; }
.demo--compact .d-tools { margin: 0 -16px 12px; }
.demo__app { transition: opacity .5s; }

/* Sections ------------------------------------------------------------------ */
.section { padding: 110px 0; }
.section--tint { background: linear-gradient(180deg, #FFFFFF, #F1F6FE); border-block: 1px solid var(--border); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head h2, .privacy h2, .faq h2, .final h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; margin-top: 12px; }
.section__sub { margin-top: 12px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(15, 119, 255, .08), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D5E8; }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 20px; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-subtle); position: relative; }
.card__ico::before { content: ""; position: absolute; inset: 12px; background: var(--accent); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-key { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='15' r='5'/%3E%3Cpath d='m11.5 11.5 9-9M17 6l3 3M14.5 8.5l2 2'/%3E%3C/svg%3E"); }
.ico-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 4 5.5v6c0 5 3.4 8.6 8 10 4.6-1.4 8-5 8-10v-6Z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico-mask { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 12s3.5-6 9-6 9 6 9 6-3.5 6-9 6-9-6-9-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M4 20 20 4'/%3E%3C/svg%3E"); }
.ico-brush { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M8 13h8M8 16h5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.ico-draft { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }

/* Privacy ---------------------------------------------------------------- */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.privacy__copy p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.flow { display: grid; gap: 22px; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow); }
.flow__row { display: flex; align-items: center; gap: 0; }
.node { flex: none; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 14px 14px; min-width: 104px; border-radius: 14px; background: var(--canvas); border: 1px solid var(--border); font-size: 14px; }
.node small { color: var(--faint); font-size: 12px; line-height: 1.3; }
.node img { width: 26px; height: 26px; margin-bottom: 4px; }
.node--mail { border-color: #F5C6C6; background: #FFF6F6; }
.node--you { border-color: #CFE2FF; background: var(--accent-subtle); }
.node--proxy { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 119, 255, .1); background: #fff; }
.link { flex: 1; position: relative; height: 2px; min-width: 24px; margin: 0 6px; }
.link span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--c) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dash 1.2s linear infinite; }
.link--ok { --c: var(--accent); }
.link--blocked { --c: #E7A4A4; }
.link--blocked span { animation-duration: 2.4s; }
.link em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; background: var(--danger); box-shadow: 0 0 0 5px #fff; animation: pulse 2s ease-in-out infinite; }
@keyframes dash { to { background-position: 28px 0; } }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.12); } }

/* Download ----------------------------------------------------------------- */
.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl__card { display: grid; gap: 10px; justify-items: start; padding: 30px; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.dl__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D5E8; }
.dl__card .pi { color: var(--accent); margin-bottom: 8px; }
.dl__card b { font: 700 22px/1.2 var(--display); }
.dl__card small { color: var(--muted); font-size: 14.5px; line-height: 1.45; min-height: 42px; }
.dl__card .btn { margin-top: 8px; }
.soon-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; margin-top: 32px; color: var(--faint); font-weight: 500; }
.soon-row > span { display: inline-flex; gap: 8px; align-items: center; }
.soon-row em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: var(--accent-subtle); padding: 4px 10px; border-radius: 999px; }
.checksums { text-align: center; margin-top: 18px; font-size: 13px; }
.checksums a { color: var(--faint); }

/* FAQ ---------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 12px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #C9D5E8; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Final + footer ------------------------------------------------------------- */
.final { padding: 110px 0; }
.final__box { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 64px 24px; border-radius: 28px; background: radial-gradient(600px circle at 50% 0%, #DCEBFF, transparent 70%), var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.final__box p { color: var(--muted); font-size: 17px; margin-bottom: 10px; }
.foot { border-top: 1px solid var(--border); padding: 28px 0; color: var(--faint); font-size: 14px; }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* Scroll reveal -------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { text-align: center; }
  .hero__copy .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .eyebrow { justify-content: center; }
  .cards, .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .top__row { height: 60px; gap: 12px; }
  .top__actions .btn { padding: 9px 12px; }
  .hero { padding-top: 28px; }
  .cta .btn { width: 100%; }
  .cards, .dl { grid-template-columns: 1fr; }
  .section, .final { padding: 72px 0; }
  .flow { padding: 18px; }
  .flow__row { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .flow__row .link { flex-basis: 40px; }
  .node { min-width: 92px; padding: 10px; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
