/* Looplabs — shared styles (direction 1a "Warm studio") */
:root {
  --cream: #FBF6EE;
  --ink: #2A2320;
  --muted: #6B5E55;
  --faint: #9A8C80;
  --line: #E7DAC6;
  --sand: #F4ECDF;
  --purple: #5B4BDB;
  --purple-dark: #4A3BC4;
  --purple-tint: #ECE9FC;
  --purple-shadow: #C9C2F5;
  --gold: #F2B33D;
  --gold-dark: #B8862A;
  --gold-soft: #F5C463;
  --butter: #FDF1D8;
  --terracotta: #B84A33;
  --rose: #F8E6E0;
  --sky: #E3EFF8;
  --sky-ink: #2F6DB5;
  --mint: #E3F4EB;
  --mint-ink: #1E7A4F;
  --green: #4CC38A;
  --green-ink: #0E2A1C;
  --night: #1B1630;
  --night-card: #28232F;
  --night-line: #3A3445;
  --night-text: #F6F0E7;
  --stone: #BFB5AA;
  --stone-dim: #8A8079;
  --error: #B83232;
  --shadow-soft: 0 4px 16px rgba(42, 35, 32, .08);

  --f-display: 'Bricolage Grotesque', sans-serif;
  --f-body: Figtree, system-ui, sans-serif;
  --f-serif: Fraunces, serif;
  --f-round: Nunito, sans-serif;
  --f-kufi: 'Reem Kufi', sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --inset: clamp(12px, 3vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
}
a { color: var(--purple); text-decoration: none; }
img { max-width: 100%; display: block; }
input, textarea, button { font: inherit; }
h1, h2, p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { position: relative; width: 40px; height: 26px; }
.logo-mark span {
  position: absolute; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 4px solid var(--purple);
}
.logo-mark span + span { left: 14px; border-color: var(--gold); }
.logo-mark span:first-child { left: 0; }
.logo-word {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-size: 17px;
  font-weight: 600;
  flex-wrap: wrap;
}
.site-nav a { color: var(--ink); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--purple); }
.header-cta {
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px var(--gutter) 40px;
  font-size: 15px;
  color: var(--muted);
}
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Type ---------- */
.h-hero {
  font-family: var(--f-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.h-section {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.h-section-sm {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.h-cta {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.h-serif {
  font-family: var(--f-serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.02;
  font-weight: 600;
}
.lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.body-lg { font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow.gold { color: var(--gold-soft); }
.text-link { font-weight: 800; font-size: 18px; }
.text-link:hover { color: var(--purple-dark); }

/* Highlighted Darija number chips (3, 7, 9) */
.chip {
  display: inline-block;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--purple-tint);
  color: var(--purple);
}

/* ---------- Pills & buttons ---------- */
.pill {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--butter);
  font-weight: 700;
  font-size: 15px;
}
.tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  background: var(--butter);
}
.tag.live { background: var(--green); color: var(--green-ink); }
.tag.sand { background: var(--sand); }
.tag.glass { background: rgba(255, 255, 255, .14); font-weight: 700; }

.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 18px 28px;
  border-radius: 16px;
  border: none;
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translateY(3px); }
.btn-primary { background: var(--purple); box-shadow: 0 4px 0 var(--purple-dark); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-primary:active { box-shadow: 0 1px 0 var(--purple-dark); }
.btn-ghost {
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 0 4px 0 var(--line);
  color: var(--ink);
  font-weight: 800;
}
.btn-ghost:active { box-shadow: 0 1px 0 var(--line); }
.btn-gold {
  margin-top: 8px;
  padding: 16px 24px;
  background: var(--gold);
  box-shadow: 0 4px 0 var(--gold-dark);
  color: var(--ink);
}
.btn-gold:active { box-shadow: 0 1px 0 var(--gold-dark); }
.btn-white { background: #fff; box-shadow: 0 4px 0 var(--purple-shadow); color: var(--purple-dark); }
.btn-white:active { box-shadow: 0 1px 0 var(--purple-shadow); }

/* ---------- Layout helpers ---------- */
.stack { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-14 { gap: 14px; }
.gap-16 { gap: 16px; } .gap-18 { gap: 18px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-28 { gap: 28px; } .gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.row-wrap { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
  align-items: center;
}
.panel {
  margin: 0 var(--inset);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 32px;
  background: #fff;
}
.panel-dark { background: var(--ink); color: var(--cream); }
.cta-band {
  margin: 0 var(--inset) 40px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
  align-items: center;
}
.cta-band .stack > span { font-size: 19px; line-height: 1.5; color: var(--stone); }
.cta-band > img { width: min(260px, 100%); justify-self: center; }

.grid-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Feature tiles */
.tile {
  padding: 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile-title { font-family: var(--f-round); font-weight: 900; font-size: 22px; }
.tile-text { font-size: 17px; line-height: 1.5; }
.bg-purple-tint { background: var(--purple-tint); }
.bg-rose { background: var(--rose); }
.bg-butter { background: var(--butter); }
.bg-sky { background: var(--sky); }
.bg-mint { background: var(--mint); }
.bg-sand { background: var(--sand); }
.c-purple { color: var(--purple); }
.c-purple-dark { color: var(--purple-dark); }
.c-terracotta { color: var(--terracotta); }
.c-sky { color: var(--sky-ink); }
.c-mint { color: var(--mint-ink); }

/* Ruled principles */
.ruled { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.ruled-title { font-size: 24px; font-weight: 800; }
.ruled-text { font-size: 17px; line-height: 1.55; color: var(--muted); }

/* App cards */
.app-card {
  padding: 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.app-card.featured { background: var(--purple); color: #fff; transition: transform .15s ease; }
.app-card.featured:hover { transform: translateY(-3px); color: #fff; }
.app-card.soon { border: 2px dashed var(--line); }
.app-card .name-serif {
  font-family: var(--f-serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 40px;
  font-weight: 600;
}
.app-card .name-soon { font-family: var(--f-display); font-size: 36px; font-weight: 800; color: var(--faint); }
.app-card .desc { font-size: 17px; line-height: 1.5; color: var(--muted); }
.app-card.featured .desc { color: var(--purple-tint); }

/* Arch frame for mascot art */
.arch {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.arch img { position: relative; }
.zellige { position: absolute; inset: 0; opacity: .08; }
.zellige-purple {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='none' stroke='%235B4BDB' stroke-width='1.6'%3E%3Crect x='12' y='12' width='20' height='20'/%3E%3Crect x='12' y='12' width='20' height='20' transform='rotate(45 22 22)'/%3E%3C/g%3E%3C/svg%3E");
}
.zellige-terracotta {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='none' stroke='%23B84A33' stroke-width='1.6'%3E%3Crect x='12' y='12' width='20' height='20'/%3E%3Crect x='12' y='12' width='20' height='20' transform='rotate(45 22 22)'/%3E%3C/g%3E%3C/svg%3E");
}
.zellige-white {
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Crect x='12' y='12' width='20' height='20'/%3E%3Crect x='12' y='12' width='20' height='20' transform='rotate(45 22 22)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============ Home ============ */
.home-hero { padding: 48px var(--gutter) 80px; }
.home-hero .lead { max-width: 520px; }
.home-hero-art { position: relative; display: flex; justify-content: center; }
.home-hero-art .arch {
  max-width: 420px;
  aspect-ratio: 420 / 520;
  border-radius: 210px 210px 28px 28px;
  background: var(--purple-tint);
}
.home-hero-art .arch img { width: 80%; margin-bottom: 5%; }
.speech {
  position: absolute;
  left: 0;
  top: 18%;
  padding: 16px 20px;
  border-radius: 20px 20px 20px 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.speech-big { font-family: var(--f-round); font-weight: 900; font-size: 24px; }
.speech-small { font-size: 15px; color: var(--muted); }

.home-dwi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
}
.home-dwi .city { width: 100%; border-radius: 20px; background: var(--sand); }
.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-content: start;
}
.home-features .tile { padding: 24px; border-radius: 20px; gap: 10px; }
.home-features .tile .tile-title { font-size: 20px; }
.home-features .tile .tile-text { font-size: 16px; }
.home-features .tile.wide { grid-column: 1 / -1; }
.home-features .tile.wide:first-child .tile-title { font-size: 22px; }
.home-features .tile.wide:first-child .tile-text { font-size: 17px; }

.home-ai { padding: 100px var(--gutter) 40px; }
.three-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.home-lab { padding: 60px var(--gutter) 100px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============ Apps ============ */
.page-main { max-width: 1280px; margin: 0 auto; padding: 48px var(--gutter) 100px; }
.apps-intro { max-width: 760px; }
.apps-feature {
  border-radius: 32px;
  background: var(--purple);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  overflow: hidden;
  transition: transform .15s ease;
}
.apps-feature:hover { color: #fff; transform: translateY(-3px); }
.apps-feature-body { padding: clamp(28px, 4vw, 56px); }
.apps-feature-name { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.apps-feature-name .serif {
  font-family: var(--f-serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(64px, 8vw, 96px);
  line-height: .9;
  font-weight: 600;
}
.apps-feature-name .kufi { font-family: var(--f-kufi); font-size: 32px; color: var(--gold-soft); }
.apps-feature-body p { font-size: 20px; line-height: 1.5; color: var(--purple-tint); max-width: 460px; }
.apps-feature-body .btn { margin-top: 8px; padding: 16px 24px; font-size: 17px; }
.apps-feature-art {
  background: var(--purple-dark);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 320px;
  position: relative;
}
.apps-feature-art img { width: min(320px, 80%); position: relative; }
.apps-soon .app-card { min-height: 260px; }
.apps-soon .name-soon { font-size: 40px; }
.idea-card { background: var(--sand); color: var(--ink); }
.idea-card:hover { color: var(--ink); }
.idea-card img { width: 88px; }
.idea-card .idea-title { font-size: 24px; font-weight: 800; }
.idea-card .idea-more { margin-top: auto; font-weight: 800; color: var(--purple); }

/* ============ Dwi ============ */
.dwi-hero { padding: 40px var(--gutter) 80px; }
.dwi-hero .kufi { font-family: var(--f-kufi); font-size: 36px; color: var(--terracotta); line-height: 1; }
.dwi-hero h1 {
  font-family: var(--f-serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(56px, 8vw, 104px);
  line-height: .92;
  font-weight: 600;
}
.dwi-hero h1 .chip {
  padding: 0 12px;
  border-radius: 16px;
  font-family: var(--f-round);
  font-weight: 900;
}
.dwi-hero .tagline { font-size: 22px; line-height: 1.45; font-weight: 600; }
.dwi-hero .body-lg { max-width: 520px; }
.store-note { font-size: 15px; color: var(--muted); font-weight: 600; }
.dwi-hero-art { display: flex; justify-content: center; }
.dwi-hero-art .arch {
  max-width: 440px;
  aspect-ratio: 440 / 540;
  border-radius: 220px 220px 28px 28px;
  background: var(--rose);
}
.dwi-hero-art .arch img { width: 78%; margin-bottom: 6%; }

.dwi-talk {
  margin: 0 var(--inset);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 32px;
  background: var(--night);
  color: var(--night-text);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: center;
}
.dwi-talk .body-lg { color: var(--stone); }
.personas { display: flex; gap: 12px; margin-top: 6px; }
.personas img {
  width: 64px;
  height: 72px;
  object-fit: cover;
  border-radius: 32px 32px 10px 10px;
  background: var(--night-card);
}
.convo {
  padding: 28px;
  border-radius: 28px;
  background: var(--night-card);
  border: 1px solid var(--night-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.convo-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.convo-who { font-weight: 800; font-size: 16px; }
.convo-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 196, 99, .16);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}
.convo-line { font-family: var(--f-round); font-size: 28px; font-weight: 800; line-height: 1.25; }
.convo-line .chip { background: #2A2550; color: #8F84F2; }
.convo-arabic { font-family: 'Noto Naskh Arabic', serif; font-size: 22px; line-height: 1.5; color: var(--stone); }
.convo-en { font-size: 15px; color: var(--stone-dim); }
.convo-you {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.convo-you-label { font-size: 13px; color: var(--stone-dim); font-weight: 700; }
.convo-you-said { font-size: 18px; font-weight: 700; }
.convo-better {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(245, 196, 99, .14);
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 800;
}
.convo-better .chip { padding: 0 4px; background: #3A2F17; color: inherit; }

.dwi-inside { padding: 100px var(--gutter) 60px; }
.dwi-inside .grid-cards { gap: 16px; }

.sounds { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding: clamp(32px, 5vw, 64px); }
.sound-words {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--f-round);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
}
.sound-words .chip { padding: 0 12px; border-radius: 14px; }
.sounds-caption { font-size: 19px; color: var(--muted); max-width: 640px; line-height: 1.5; }

.dwi-for {
  padding: 100px var(--gutter) 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: center;
}
.dwi-for > img { width: 100%; border-radius: 28px; background: var(--sand); }
.reasons { display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.5; }
.reasons > div { display: flex; gap: 14px; }
.num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dwi-cta { margin: 40px var(--inset); background: var(--purple); color: #fff; gap: 32px; }
.dwi-cta h2 {
  font-family: var(--f-serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
}
.dwi-cta .stack > span { color: var(--purple-tint); }

/* ============ About ============ */
.about-hero { padding: 48px var(--gutter) 80px; max-width: 1000px; }
.about-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.about-hero .lead { line-height: 1.55; max-width: 720px; }
.loop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.loop-grid .tile { gap: 10px; }
.loop-word { font-family: var(--f-display); font-size: 44px; font-weight: 800; }
.about-values {
  padding: 100px var(--gutter) 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 56px;
  align-items: start;
}
.about-values .ruled { gap: 8px; }
.about-cta { margin: 40px var(--inset); }

/* ============ Contact ============ */
.contact-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px var(--gutter) 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: start;
}
.contact-main .lead { max-width: 460px; }
.contact-email {
  align-self: flex-start;
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 800;
  border-bottom: 3px solid var(--gold);
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--purple-dark); }
.contact-art { width: 220px; margin-top: 16px; }
.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.form legend, .field-label { font-weight: 700; font-size: 15px; padding: 0; }
.form legend { margin-bottom: 10px; }
.topics { display: flex; gap: 8px; flex-wrap: wrap; }
.topic {
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.topic[aria-pressed="true"] { background: var(--purple-tint); color: var(--purple-dark); border-color: var(--purple); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input,
.field textarea {
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--cream);
  font-size: 17px;
  outline: none;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--purple); }
.form-error { font-size: 15px; font-weight: 700; color: var(--error); }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0;
}
.sent img { width: 180px; }
.sent-title { font-family: var(--f-display); font-size: 36px; font-weight: 800; }
.sent-text { font-size: 18px; color: var(--muted); max-width: 360px; }
.btn-outline {
  margin-top: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  font-family: var(--f-round);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
}

[hidden] { display: none !important; }

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ============ Privacy ============ */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--f-display); font-size: 28px; font-weight: 800; margin-top: 16px; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.last-updated { font-size: 15px; font-weight: 700; color: var(--faint); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose a { font-weight: 700; }

/* ============ Support ============ */
.support-hero { padding-bottom: 20px; }
.support-art { width: min(260px, 70%); justify-self: center; }
.support-faq { margin: 0; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  padding: 0 24px;
}
.faq details[open] { background: #fff; border-color: var(--purple-tint); box-shadow: var(--shadow-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  position: relative;
  font-size: 19px;
  font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-round);
  font-size: 26px;
  font-weight: 900;
  color: var(--purple);
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq details a { font-weight: 700; }
.support-cta { margin: 0; }

/* ============ 404 ============ */
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-height: 60vh; }
.notfound img { width: 160px; }
.prose .summary {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: var(--purple-tint);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prose .summary h2 { margin-top: 0; color: var(--purple-dark); }
.prose .summary li { color: var(--ink); }
.faq details ul { margin: -10px 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq details p + ul { margin-top: -12px; }
