/* One stylesheet for the whole public site: the landing page, the per-app
   privacy policies and the account-deletion page. The palette is the apps'
   own design system (AppColors.kAcademic*), so the site and the products
   look like one thing. */
:root {
  color-scheme: light;
  --brand: #2d424c;
  --brand-2: #43606d;
  --brand-3: #5c7987;
  --brand-ink: #1a262c;
  --accent: #926d51;
  --accent-soft: #f6ece3;
  --ink: #223038;
  --body: #4c5f68;
  --muted: #7d8f97;
  --line: #e2e8ec;
  --line-soft: #eef2f4;
  --paper: #fff;
  --wash: #f1f4f5;
  --wash-2: #f7fafb;
  --radius: 18px;
  --shadow: 0 14px 38px rgb(26 38 44 / 8%);
  --shadow-sm: 0 6px 18px rgb(26 38 44 / 6%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--body);
  font: 16px/1.85 Tajawal, "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: #2f6b8a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3 { color: var(--brand-ink); line-height: 1.35; margin: 0; }
h1 { font-size: clamp(28px, 4.4vw, 42px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 10px 0; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(880px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { color: var(--brand-ink); font-size: 17px; display: block; line-height: 1.3; }
.brand span { color: var(--muted); font-size: 12.5px; display: block; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { border-color: rgb(255 255 255 / 45%); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.btn-outline { border-color: var(--line); background: var(--paper); color: var(--brand); }
.btn-outline:hover { border-color: var(--brand-3); color: var(--brand-ink); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #1a262c 0%, #2d424c 45%, #43606d 100%);
  color: #fff; padding: clamp(48px, 8vw, 92px) 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset-inline-start: -120px; bottom: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgb(146 109 81 / 30%) 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #d7e2e8; font-size: clamp(16px, 1.8vw, 18.5px); max-width: 60ch; }
.eyebrow {
  display: inline-block; padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgb(255 255 255 / 12%); color: #e5edf1; border: 1px solid rgb(255 255 255 / 18%);
  margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .btn-primary { background: #fff; color: var(--brand-ink); }
.hero-actions .btn-primary:hover { background: var(--accent-soft); color: var(--brand-ink); }
.crest {
  background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 22px 50px rgb(0 0 0 / 22%);
  width: min(260px, 70%); margin-inline: auto;
}

/* ---------- sections ---------- */
section { padding: clamp(46px, 7vw, 82px) 0; }
.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head p { color: var(--muted); }
.alt { background: var(--paper); border-block: 1px solid var(--line); }

.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.alt .card { background: var(--wash-2); }

.app-card { display: flex; flex-direction: column; }
.app-card .tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
  align-self: flex-start;
}
.app-card h3 { margin-bottom: 6px; }
.app-card .who { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.app-card ul { margin: 0 0 20px; padding-inline-start: 20px; }
.app-card li { margin: 4px 0; font-size: 15px; }
.app-card .foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.app-card .foot a { font-size: 14.5px; font-weight: 700; text-decoration: none; }

.app-card.wide { margin-top: 20px; gap: 30px; }
.app-card.wide .side { display: flex; flex-direction: column; }
.app-card.wide ul { margin: 0; }
.app-card.wide code { direction: ltr; unicode-bidi: isolate; font-size: 13px; }
@media (min-width: 760px) {
  .app-card.wide { flex-direction: row; align-items: stretch; }
  .app-card.wide .side, .app-card.wide ul { flex: 1; }
  .app-card.wide ul { align-self: center; }
}

.feature { padding: 22px; }
.feature .ico {
  width: 42px; height: 42px; border-radius: 12px; background: #e8eef1; color: var(--brand);
  display: grid; place-items: center; margin-bottom: 12px;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 16.5px; margin-bottom: 4px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- policy links ---------- */
.policy-list { display: grid; gap: 14px; }
.policy-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px;
}
.policy-row .name { font-weight: 700; color: var(--brand-ink); min-width: 190px; }
.policy-row .name small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.policy-row code {
  direction: ltr; unicode-bidi: isolate; font-size: 13.5px; background: var(--wash);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: #33505c;
  overflow-wrap: anywhere;
}
.policy-row .btn { margin-inline-start: auto; }

/* ---------- article (policy pages) ---------- */
.doc { padding: clamp(28px, 5vw, 56px) 0; }
.doc main {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 54px); box-shadow: var(--shadow);
}
.doc header { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 8px; }
.doc header .kicker { color: var(--accent); font-weight: 700; font-size: 13.5px; margin: 0 0 6px; }
.doc h2 { color: var(--brand); font-size: 20px; margin: 32px 0 6px; }
.doc h3 { font-size: 16.5px; margin: 18px 0 4px; color: var(--brand-2); }
.doc ul { padding-inline-start: 22px; margin: 8px 0; }
.doc li { margin: 5px 0; }
.date { color: var(--muted); margin: 0; font-size: 14.5px; }
.note {
  padding: 16px 20px; background: var(--wash-2); border-inline-start: 4px solid var(--brand-3);
  border-radius: 10px; margin: 18px 0;
}
.note.warn { background: var(--accent-soft); border-inline-start-color: var(--accent); }
.crumbs { margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
table.data { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
table.data th, table.data td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
table.data th { background: var(--wash); color: var(--brand-ink); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-ink); color: #b9c8cf; padding: 46px 0 30px; }
.site-footer a { color: #dce6ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .grid { gap: 28px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; font-size: 14.5px; }
.site-footer .legal {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 13.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

@media (max-width: 640px) {
  .nav { gap: 14px; width: 100%; }
  .nav a { font-size: 14px; }
  .policy-row .btn { margin-inline-start: 0; }
}

/* ---------- iPhone 17 frame (landing page screenshots) ----------
   Pure CSS so no mock-up image ships. Everything is sized from the frame's
   own width (cqw), so one `--w` scales the bezel, the Dynamic Island and the
   status bar together. Screenshots are pre-cropped to the 1206×2622 screen. */
.iphone {
  --w: 250px;
  container-type: inline-size;
  position: relative; flex: none;
  width: var(--w);
  padding: 3.4%;
  border-radius: 17% / 7.9%;
  background:
    linear-gradient(145deg, #5b6166 0%, #24282b 22%, #3a3f43 52%, #1b1e20 78%, #4a5055 100%);
  box-shadow:
    inset 0 0 0 1.5px rgb(255 255 255 / 14%),
    inset 0 0 0 4px #0c0e0f,
    0 30px 60px -18px rgb(10 20 26 / 45%),
    0 12px 24px -12px rgb(10 20 26 / 30%);
}
/* Side buttons: action + volume on the left, power + Camera Control on the right. */
.iphone::before, .iphone::after {
  content: ""; position: absolute; width: 1.4%; border-radius: 2px;
  background: linear-gradient(90deg, #1b1e20, #53595e);
}
.iphone::before {
  left: -1.1%; top: 17%; height: 5%;
  box-shadow: 0 9cqw 0 #3a3f43, 0 23cqw 0 #3a3f43;
}
.iphone::after { right: -1.1%; top: 27%; height: 14%; box-shadow: 0 31cqw 0 -.4cqw #3a3f43; }

.iphone .screen {
  position: relative; overflow: hidden; background: #000;
  border-radius: 13.6% / 6.3%;
  aspect-ratio: 1206 / 2622;
}
.iphone .screen img { width: 100%; height: 100%; object-fit: cover; }
.iphone .island {
  position: absolute; z-index: 2; top: 3.9cqw; left: 50%; transform: translateX(-50%);
  width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000;
}
.iphone .island::after {
  content: ""; position: absolute; right: 9%; top: 50%; transform: translateY(-50%);
  width: 3.6cqw; height: 3.6cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2c3b52 0%, #0b0f16 60%);
}
.iphone .status {
  position: absolute; z-index: 1; inset: 0 0 auto; height: 13cqw;
  direction: ltr; display: flex; align-items: center; justify-content: space-between;
  padding: 1.5cqw 10cqw 0 12cqw;
  font: 700 5.4cqw/1 -apple-system, "SF Pro Text", "Segoe UI", sans-serif; color: #111;
}
.iphone .status svg { height: 4.4cqw; width: auto; fill: currentColor; }
.iphone .status .icons { display: flex; gap: 1.5cqw; align-items: center; }
.iphone.dark .status { color: #fff; }

.shot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; scroll-snap-align: center; }
.shot figcaption { font-size: 14.5px; font-weight: 700; color: var(--brand-ink); }

/* ---------- hero (with phones) ---------- */
.hero .wrap { grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.hero-phones {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  min-height: 460px; padding-top: 10px;
}
.hero-phones .iphone { --w: clamp(190px, 24vw, 250px); }
.hero-phones .iphone.back {
  position: absolute; inset-inline-start: calc(50% - var(--w) * 0.05); top: 0;
  transform: rotate(8deg) scale(.9); transform-origin: bottom center; opacity: .96;
}
.hero-phones .iphone.front {
  z-index: 1; margin-inline-end: calc(var(--w) * 0.45); transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -10px; } }
.hero-phones::before {
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; top: 8%;
  border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 12%), transparent 65%);
}
@media (max-width: 520px) {
  .hero-phones { min-height: 380px; }
  .hero-phones .iphone { --w: 170px; }
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}
.hero-stats div { color: #b9c8cf; font-size: 14px; line-height: 1.5; }
.hero-stats b { display: block; color: #fff; font-size: 24px; font-weight: 800; }

/* ---------- app showcase ---------- */
.showcase {
  display: grid; gap: 28px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); margin-bottom: 24px;
  overflow: hidden;
}
@media (min-width: 1000px) { .showcase { grid-template-columns: 330px 1fr; } }
.showcase .app-card { padding: 0; border: 0; box-shadow: none; background: none; }
.gallery {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 18px 6px 22px; margin: -18px -6px -22px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery .iphone { --w: 200px; }
.gallery .shot:first-child { margin-inline-start: auto; }
.gallery .shot:last-child { margin-inline-end: auto; }
.app-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-ink));
  box-shadow: 0 8px 18px rgb(26 38 44 / 22%);
}
.app-icon svg { width: 26px; height: 26px; }
.store-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.store-badges span {
  font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: var(--wash); color: var(--brand-2); border: 1px solid var(--line);
}
.store-badges span:first-child { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.app-card ul.checks { list-style: none; padding: 0; }
.app-card ul.checks li { position: relative; padding-inline-start: 26px; }
.app-card ul.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 16px; height: 16px; border-radius: 50%;
  background: #e5eef0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232d424c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.app-row { margin-top: 4px; }
.app-row .app-card { height: 100%; }

.feature { transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phones .iphone.front { animation: none; }
  .feature { transition: none; }
}
.app-card code { direction: ltr; unicode-bidi: isolate; font-size: 13px; }
/* Grid items default to min-width:auto, which lets a scrolling gallery push
   the whole page wider than the phone screen. */
.showcase > *, .hero .wrap > * { min-width: 0; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }

/* ---------- landing polish ---------- */
.menu-toggle {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--brand-ink); transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .site-header .wrap { flex-wrap: nowrap; min-height: 64px; }
  .nav {
    position: absolute; inset: 100% 0 auto; margin: 0; padding: 12px 20px 18px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 12px; }
}

/* hero */
.hero {
  background:
    radial-gradient(900px 500px at 15% 20%, rgb(146 109 81 / 22%), transparent 60%),
    radial-gradient(700px 500px at 90% 110%, rgb(92 121 135 / 40%), transparent 60%),
    linear-gradient(135deg, #16212650 0%, transparent 100%),
    linear-gradient(135deg, #1a262c 0%, #2d424c 50%, #3b5561 100%);
  padding-bottom: clamp(90px, 12vw, 140px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero h1 { font-weight: 800; letter-spacing: -.3px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #f3d9c2, #e2b893 60%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #5fd49a; position: relative;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #5fd49a; animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero-actions .btn { padding: 13px 26px; }
.hero-actions .btn-primary { box-shadow: 0 10px 24px rgb(0 0 0 / 25%); }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px;
  border-top: 0; padding-top: 0; margin-top: 34px;
}
.hero-stats div {
  background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 14px; padding: 12px 14px; backdrop-filter: blur(6px);
}
.hero-stats b { font-size: 21px; }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgb(255 255 255 / 96%); color: var(--brand-ink); border-radius: 16px;
  padding: 10px 14px 10px 16px; box-shadow: 0 18px 40px -12px rgb(0 0 0 / 45%);
  font-size: 13px; line-height: 1.35; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip b { display: block; font-size: 13.5px; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip-ico svg { width: 18px; height: 18px; }
.chip-ico.ok { background: #e3f6ec; color: #22945b; }
.chip-ico.bus { background: var(--accent-soft); color: var(--accent); }
.chip-a { top: 16%; inset-inline-start: -2%; animation-delay: -2s; }
.chip-b { bottom: 12%; inset-inline-end: -4%; animation-delay: -4s; }
@media (max-width: 520px) {
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip-a { inset-inline-start: 0; }
  .chip-b { inset-inline-end: 0; }
}

/* audiences strip, overlapping the hero's bottom edge */
.audiences { position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 8vw, 84px)); }
.aud-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); overflow: hidden;
}
.aud { display: flex; gap: 14px; padding: 22px; align-items: flex-start; }
.aud + .aud { border-inline-start: 1px solid var(--line-soft); }
.aud h3 { font-size: 16px; margin-bottom: 2px; }
.aud p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }
.aud-ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: #e8eef1; color: var(--brand);
}
.aud:nth-child(2) .aud-ico { background: var(--accent-soft); color: var(--accent); }
.aud:nth-child(3) .aud-ico { background: #e4f3ec; color: #2c7a55; }
.aud:nth-child(4) .aud-ico { background: #e7eefb; color: #3c5f9e; }
.aud-ico svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .aud + .aud { border-inline-start: 0; border-top: 1px solid var(--line-soft); }
}

/* section heads */
.kicker {
  display: inline-block; color: var(--accent); font-weight: 800; font-size: 13.5px;
  margin-bottom: 8px; letter-spacing: .2px;
}
.kicker::before {
  content: ""; display: inline-block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent); vertical-align: middle; margin-inline-end: 8px;
}

/* showcase */
.showcase { position: relative; }
.showcase::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  inset-inline-end: -160px; top: -200px; pointer-events: none;
  background: radial-gradient(circle, rgb(92 121 135 / 10%), transparent 65%);
}
.gallery-wrap { position: relative; min-width: 0; }
.gallery {
  mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gal-btn {
  position: absolute; z-index: 2; top: 42%; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--brand-ink);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .15s ease, background .15s;
}
.gal-btn:hover { background: var(--wash); transform: scale(1.06); }
.gal-btn svg { width: 20px; height: 20px; }
.gal-btn.prev { right: -6px; }
.gal-btn.next { left: -6px; }
@media (hover: none), (max-width: 640px) { .gal-btn { display: none; } }
.shot .iphone { transition: transform .25s ease; }
.shot:hover .iphone { transform: translateY(-6px); }

/* features */
.feature { position: relative; overflow: hidden; }
.feature::after {
  content: ""; position: absolute; inset: auto 0 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-3));
  transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.feature:hover::after { transform: scaleX(1); }
.feature:nth-child(4n+2) .ico { background: var(--accent-soft); color: var(--accent); }
.feature:nth-child(4n+3) .ico { background: #e4f3ec; color: #2c7a55; }
.feature:nth-child(4n+4) .ico { background: #e7eefb; color: #3c5f9e; }

/* privacy rows */
.policy-row { transition: border-color .15s, box-shadow .15s; }
.policy-row:hover { border-color: var(--brand-3); box-shadow: var(--shadow-sm); }

/* CTA band */
.cta-band { padding-top: 0; }
.cta {
  position: relative; overflow: hidden; border-radius: 26px; color: #fff;
  padding: clamp(28px, 5vw, 52px);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background:
    radial-gradient(500px 300px at 10% 0%, rgb(146 109 81 / 35%), transparent 60%),
    linear-gradient(135deg, #1a262c, #2d424c 55%, #43606d);
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: #cfdbe1; margin: 0; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--brand-ink); }
.cta .btn-primary:hover { background: var(--accent-soft); }

/* scroll reveal (only when JS opted in) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .grid > .reveal:nth-child(2), .js-reveal .aud-grid > .reveal:nth-child(2) { transition-delay: .06s; }
.js-reveal .grid > .reveal:nth-child(3), .js-reveal .aud-grid > .reveal:nth-child(3) { transition-delay: .12s; }
.js-reveal .grid > .reveal:nth-child(4), .js-reveal .aud-grid > .reveal:nth-child(4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .chip, .pulse::after { animation: none; }
  .shot .iphone, .feature::after { transition: none; }
}
