/* ENDISM — site styles */
:root {
  --bg: #050912;
  --bg-2: #08101f;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef3fa;
  --text-2: #c9d3e1;
  --muted: #8f9db2;
  --green: #1be27f;
  --green-deep: #00c853;
  --cyan: #38bdf8;
  --amber: #fbbf24;
  --rose: #fb7185;
  --violet: #a78bfa;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font: "Instrument Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
main, .site-footer { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: rgba(27, 226, 127, .28); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; background: var(--green); color: #04110a; padding: 8px 14px; border-radius: 10px; z-index: 100; transition: top .2s; }
.skip:focus { top: 8px; }

/* Ambient background */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 560px at 72% -8%, rgba(27, 226, 127, .13), transparent 60%),
    radial-gradient(760px 520px at -8% 30%, rgba(56, 189, 248, .08), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(167, 139, 250, .07), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg));
}
.bg-fx::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(5, 9, 18, .72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand span { font-weight: 700; letter-spacing: .3em; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, #3bf297, var(--green) 45%, var(--green-deep));
  color: #03140a;
  box-shadow: 0 10px 30px -10px rgba(27, 226, 127, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(27, 226, 127, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 8px; padding-inline-end: 14px; border-radius: 999px;
  border: 1px solid rgba(27, 226, 127, .25); background: rgba(27, 226, 127, .07);
  color: #9ff5c8; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(27, 226, 127, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(27, 226, 127, .18); } 50% { box-shadow: 0 0 0 8px rgba(27, 226, 127, 0); } }

h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.08; }
.display { font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.display em, .section-title em {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em;
  background: linear-gradient(100deg, #8ff7c1, var(--green) 40%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-2); line-height: 1.7; max-width: 560px; }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-kicker { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.03em; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 18px; line-height: 1.7; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy .display { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14.5px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--green); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.orb-1 { width: 380px; height: 380px; background: rgba(27, 226, 127, .22); top: 8%; left: 50%; transform: translateX(-50%); }
.orb-2 { width: 260px; height: 260px; background: rgba(56, 189, 248, .14); bottom: 0; right: 4%; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings span { position: absolute; border: 1px solid rgba(27, 226, 127, .12); border-radius: 50%; }
.rings span:nth-child(1) { width: 420px; height: 420px; }
.rings span:nth-child(2) { width: 560px; height: 560px; border-color: rgba(27, 226, 127, .07); }
.rings span:nth-child(3) { width: 700px; height: 700px; border-color: rgba(27, 226, 127, .04); }

.phone {
  position: relative; width: 300px; flex: none;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2a3446, #0d1320 40%, #1a2232);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(27, 226, 127, .25);
  z-index: 2;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #05070c; z-index: 3;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .04);
}
.phone .screen { width: 100%; aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; background: #0a1220; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-sm { width: 230px; border-radius: 36px; padding: 9px; }
.phone-sm .screen { border-radius: 28px; }
.phone-sm::before { top: 16px; width: 10px; height: 10px; }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(13, 21, 36, .78); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: 15px; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.fc-1 { top: 18%; left: -2%; }
.fc-2 { bottom: 22%; right: -4%; animation-delay: -2s; }
.fc-3 { bottom: 4%; left: 6%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ic-green { background: rgba(27, 226, 127, .14); color: var(--green); }
.ic-cyan { background: rgba(56, 189, 248, .14); color: var(--cyan); }
.ic-amber { background: rgba(251, 191, 36, .14); color: var(--amber); }
.ic-rose { background: rgba(251, 113, 133, .14); color: var(--rose); }
.ic-violet { background: rgba(167, 139, 250, .14); color: var(--violet); }

/* Stats strip */
.stats { padding: 30px 0 10px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  overflow: hidden;
}
.stat { padding: 28px 26px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  padding: 30px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(27, 226, 127, .1), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; font-weight: 650; margin-bottom: 10px; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.card-wide { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-bottom: 0; }
.card-wide .card-copy { padding-bottom: 30px; }
.card-wide .peek { align-self: end; display: flex; justify-content: center; }
.card-wide .peek img { width: 240px; height: 310px; object-fit: cover; object-position: top; border-radius: 26px 26px 0 0; border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -10px 50px -10px rgba(27, 226, 127, .25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 12.5px; color: var(--text-2); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }

/* Spotlight */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.spot + .spot { margin-top: 130px; }
.spot.reverse .spot-media { order: 2; }
.spot-media { position: relative; display: flex; justify-content: center; gap: 22px; padding: 20px 0; }
.spot-media .phone-sm:nth-child(2) { margin-top: 60px; }
.spot-media .glow { position: absolute; inset: 10% 15%; background: radial-gradient(closest-side, rgba(27, 226, 127, .18), transparent); filter: blur(30px); z-index: 0; }
.spot-media.cyan .glow { background: radial-gradient(closest-side, rgba(56, 189, 248, .18), transparent); }
.spot-media.amber .glow { background: radial-gradient(closest-side, rgba(251, 191, 36, .15), transparent); }
.spot-copy .section-kicker { margin-bottom: 14px; }
.spot-copy h2 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.spot-copy > p { color: var(--muted); font-size: 17.5px; line-height: 1.75; margin: 0 0 26px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.checks .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(27, 226, 127, .12); color: var(--green); margin-top: 1px; }
.checks .tick svg { width: 15px; height: 15px; }
.checks b { color: var(--text); font-weight: 600; }

/* Gallery */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 24px 34px; margin: 0 -24px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: none; width: 250px; scroll-snap-align: center; margin: 0; }
.shot .frame {
  border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #263044, #0c121e 50%, #182030);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px -24px rgba(0, 0, 0, .8);
  transition: transform .35s var(--ease);
}
.shot:hover .frame { transform: translateY(-6px); }
.shot img { border-radius: 23px; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.shot figcaption { text-align: center; margin-top: 14px; color: var(--muted); font-size: 14px; }
.gallery-nav { display: flex; justify-content: center; gap: 10px; }
.gallery-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s;
}
.gallery-nav button:hover { background: var(--surface-2); transform: translateY(-2px); }
.gallery-nav svg { width: 20px; height: 20px; }

/* Privacy compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .card { padding: 34px; }
.compare h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.compare h3 .ic { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.compare h3 .ic svg { width: 20px; height: 20px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 12px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.compare li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 9px; }
.compare .out li::before { background: var(--cyan); }
.compare .note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.no-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.no-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 14.5px; font-weight: 500;
}
.no-pill svg { width: 16px; height: 16px; color: var(--rose); }

/* Permissions */
.perm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perm { padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.perm h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.perm h3 svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.perm p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.perm .when { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #9ff5c8; padding: 4px 10px; border-radius: 999px; background: rgba(27, 226, 127, .08); border: 1px solid rgba(27, 226, 127, .2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); background: rgba(27, 226, 127, .12); color: var(--green); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq .answer p { margin: 0; }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 32px; border: 1px solid rgba(27, 226, 127, .22);
  padding: 80px 30px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(27, 226, 127, .2), transparent 70%),
    linear-gradient(180deg, rgba(14, 30, 30, .7), rgba(8, 16, 31, .9));
}
.cta img.mark { width: 76px; height: 76px; margin: 0 auto 26px; filter: drop-shadow(0 10px 30px rgba(27, 226, 127, .45)); }
.cta h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 16px; }
.cta p { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.cta .hero-actions { justify-content: center; margin: 0; }
.cta small { display: block; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 120px; padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { margin: 16px 0 0; max-width: 300px; line-height: 1.65; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* Inner pages */
.page-hero { padding: 70px 0 40px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.035em; margin: 20px 0 16px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.meta-row span { font-size: 13.5px; color: var(--text-2); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }

.legal { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.legal > * { min-width: 0; }
.toc { position: sticky; top: 96px; border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.toc b { display: block; color: var(--text); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.toc a:hover, .toc a.active { color: var(--green); }
.prose { max-width: 760px; color: var(--text-2); font-size: 16.5px; line-height: 1.8; }
.prose h2 { font-size: 26px; font-weight: 700; color: var(--text); margin: 56px 0 16px; scroll-margin-top: 96px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; color: var(--text); margin: 30px 0 10px; letter-spacing: -.01em; }
.prose p { margin: 0 0 16px; }
.prose ul { padding: 0; list-style: none; margin: 0 0 18px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 22px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.callout { border: 1px solid rgba(27, 226, 127, .22); background: rgba(27, 226, 127, .06); border-radius: var(--radius-sm); padding: 20px 22px; margin: 22px 0; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 18px 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .02); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.contact-card .label { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.contact-card .value { font-size: 20px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.contact-card a.value { text-decoration: none; }
.contact-card a.value:hover { color: var(--green); }
.contact-card p { margin: 8px 0 0; }

.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf .code { font-size: clamp(96px, 18vw, 180px); font-weight: 700; letter-spacing: -.06em; line-height: 1; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .08)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { color: var(--muted); font-size: 18px; margin: 10px 0 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .card-wide, .bento > .card:last-child { grid-column: span 2; }
  .perm-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.open { background: #050912; border-bottom-color: var(--line); }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 12px 20px 22px;
    background: #050912; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  }
  .site-header.open .nav-links a { padding: 13px 14px; font-size: 16px; }
  .hero { padding-top: 36px; }
  .hero-grid, .spot, .compare, .legal, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust { justify-content: center; }
  .spot { gap: 40px; }
  .spot.reverse .spot-media { order: 0; }
  .spot + .spot { margin-top: 90px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 90px 0; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .gallery { padding: 10px 16px 30px; margin: 0 -16px; }
  .bento, .perm-grid { grid-template-columns: 1fr; }
  .bento > .card, .bento > .card:last-child { grid-column: span 1; }
  .card-wide { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card-wide .peek img { width: 210px; height: 270px; }
  .phone { width: 250px; border-radius: 40px; }
  .phone .screen { border-radius: 31px; }
  .phone-sm { width: 46%; max-width: 190px; border-radius: 28px; padding: 7px; }
  .phone-sm .screen { border-radius: 22px; }
  .spot-media { gap: 12px; }
  .spot-media .phone-sm:nth-child(2) { margin-top: 40px; }
  .rings span:nth-child(1) { width: 320px; height: 320px; }
  .rings span:nth-child(2) { width: 420px; height: 420px; }
  .rings span:nth-child(3) { display: none; }
  .fc-1 { left: 0; top: 10%; }
  .fc-2 { right: 0; }
  .fc-3 { display: none; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; }
  .float-card .ic { width: 34px; height: 34px; }
  .float-card b { font-size: 13.5px; }
  .float-card small { font-size: 11.5px; }
  .stat { padding: 22px 18px; }
  .shot { width: 210px; }
  .cta { padding: 60px 20px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { --h: 50px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 44px; }
  table { min-width: 0; font-size: 14px; }
  th, td { padding: 12px 12px; }
}

/* Sign in link & page */
.nav-links a.nav-login { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); border: 1px solid var(--line-2); }
.nav-links a.nav-login svg { width: 16px; height: 16px; }
.nav-links a.nav-login:hover, .nav-links a.nav-login[aria-current="page"] { border-color: rgba(27, 226, 127, .4); color: var(--green); background: rgba(27, 226, 127, .07); }
.lg-note { max-width: 560px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.lg-note a { color: var(--green); }
@media (max-width: 900px) { .site-header.open .nav-links a.nav-login { justify-content: flex-start; border-color: transparent; } }

/* Language menu */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text-2); font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--surface-2); color: var(--text); }
.lang-menu summary svg { width: 17px; height: 17px; }
.lang-menu summary .caret { width: 12px; height: 12px; transition: transform .2s; }
.lang-menu[open] summary .caret { transform: rotate(180deg); }
.lang-menu ul {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; z-index: 60;
  list-style: none; margin: 0; padding: 6px; border-radius: 16px;
  background: #0b1322; border: 1px solid var(--line-2); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
}
.lang-menu li a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 15px;
}
.lang-menu li a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu li a[aria-current="true"] { color: var(--green); }
.lang-menu li a small { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.lang-menu li a[lang="fa"] { font-family: "Vazirmatn", var(--font); }
@media (max-width: 900px) { .lang-menu summary { height: 42px; } }
@media (max-width: 380px) { .lang-menu summary .lbl { display: none; } }

/* Per-language typography */
html[lang="fa"] { --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif; --serif: "Vazirmatn", Tahoma, sans-serif; }
html[lang="fa"] body { line-height: 1.85; }
html[lang="fa"] *:not(.brand span) { letter-spacing: 0 !important; }
html[lang="fa"] .display, html[lang="fa"] .section-title, html[lang="fa"] h1, html[lang="fa"] h2 { line-height: 1.35; }
html[lang="fa"] .display em, html[lang="fa"] .section-title em { font-style: normal; font-weight: 800; }
html[lang="fa"] .section-kicker, html[lang="fa"] th, html[lang="fa"] .toc b, html[lang="fa"] .contact-card .label { text-transform: none; }
html[lang="zh-CN"] { --font: "Instrument Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Noto Sans SC", "PingFang SC", sans-serif; }
html[lang="zh-CN"] .display, html[lang="zh-CN"] .section-title, html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { letter-spacing: 0; line-height: 1.25; }
html[lang="zh-CN"] .display em, html[lang="zh-CN"] .section-title em { font-style: normal; font-weight: 700; }

/* Right-to-left */
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[dir="rtl"] .fc-1 { left: auto; right: -2%; }
[dir="rtl"] .fc-2 { right: auto; left: -4%; }
[dir="rtl"] .fc-3 { left: auto; right: 6%; }
[dir="rtl"] .trust, [dir="rtl"] .chips { direction: rtl; }
@media (max-width: 640px) {
  [dir="rtl"] .fc-1 { right: 0; }
  [dir="rtl"] .fc-2 { left: 0; }
}
.ltr { direction: ltr; unicode-bidi: isolate; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
