/* Aleaf marketing landing — design tokens ported from the Organic design
   system handoff (_ds/organic-…/styles.css) + component styles for this
   page. Plain CSS, no build step, matches how this page is hosted. */

@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900&family=Zain:wght@300;400;700;800;900&display=swap');

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-400: #f6a06b;
  --color-accent-700: #8c491a;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-400: #aebf92;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-body: "Figtree", "Zain", system-ui, sans-serif;
  --font-heading: "Caprasimo", "Zain", system-ui, sans-serif;

  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);

  --green: oklch(0.55 0.16 148);
  --green-tint: oklch(0.95 0.04 148);
  --green-headline: oklch(0.5 0.12 148);
  --green-cta: oklch(0.45 0.11 148);
  --green-cta-hover: oklch(0.4 0.1 148);
  --amber: oklch(0.62 0.16 55);
  --amber-tint: oklch(0.96 0.035 70);
  --red: oklch(0.55 0.17 32);
  --red-tint: oklch(0.95 0.03 30);
  --red-banner: oklch(0.57 0.17 32);

  --wrap: 1320px;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(56px, 7vw, 96px);
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent-800, #643312); }
button { font-family: var(--font-body); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad-x); box-sizing: border-box; }
.section { padding-block: var(--pad-y); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.panel-outer { padding: clamp(24px, 4vw, 48px) clamp(12px, 3vw, 40px); }
.panel {
  border-radius: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4.5vw, 64px);
  max-width: var(--wrap);
  margin: 0 auto;
  box-sizing: border-box;
}
.panel-sand { background: var(--color-surface); }
.panel-terracotta { background: var(--color-accent-100); }
.panel-sage { background: var(--color-accent-2-800); color: var(--color-bg); }

.kicker {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-700);
}
.kicker-sage { color: var(--color-accent-2-800); }
.kicker-sage-light { color: var(--color-accent-2-300); }

.h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; margin: 12px 0 18px; text-wrap: balance; }
.h2-wide { max-width: 760px; }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--color-neutral-800); max-width: 480px; text-wrap: pretty; }

/* — pill / icon chip — */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; font-weight: 700; font-size: 14px;
  padding: 7px 14px;
}
.pill-sage { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.pill svg { flex-shrink: 0; }

.icon { stroke-width: 2.75; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke: currentColor; }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; font-weight: 700; font-size: 15px;
  padding: 11px 22px; border: none; cursor: pointer;
  font-family: var(--font-body); color: var(--color-text);
  background: transparent;
}
.btn-dark { background: var(--color-text); color: var(--color-bg); }
.btn-dark:hover { background: var(--color-neutral-800); color: var(--color-bg); }
.btn-outline {
  background: transparent; border: 2px solid var(--color-divider);
  padding: 7px 14px; font-size: 14px;
}
.btn-outline:hover { background: var(--color-surface); }
.btn-cream { background: var(--color-bg); color: var(--color-text); padding: 13px 22px; }
.btn-cream:hover { background: var(--color-accent-2-100); }

.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--color-text); color: var(--color-bg);
  border-radius: 999px;
  padding-block: 11px; padding-inline-start: 20px; padding-inline-end: 24px;
}
.store-badge:hover { background: var(--color-neutral-800); color: var(--color-bg); }
.store-badge-green { background: var(--green-cta); }
.store-badge-green:hover { background: var(--green-cta-hover); }
.store-badge .store-text { text-align: start; }
.store-badge .store-small { display: block; font-size: 11px; font-weight: 500; opacity: .82; }
.store-badge .store-big { display: block; font-size: 17px; font-weight: 700; line-height: 1.15; }

.rating-pill {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--color-neutral-100); border: 1px solid var(--color-divider);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700;
  color: var(--color-neutral-800);
}
.rating-pill[hidden] { display: none; }
.rating-pill svg { color: var(--color-accent-500); flex-shrink: 0; }
.rating-pill .rating-sep { color: var(--color-neutral-700); font-weight: 500; }

.dashed-pill {
  margin-top: 20px; display: inline-flex;
  border: 2px dashed var(--color-accent-400); color: var(--color-accent-700);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
}
.dashed-pill-sage { border-color: var(--color-accent-2-400); color: var(--color-accent-2-200); }

/* — nav — */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 20px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.brand img { height: 30px; width: auto; transform: rotate(-20deg); }
.brand span { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); flex-wrap: wrap; }
.nav-links a { color: var(--color-neutral-800); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--color-accent-700); }
/* .nav-links a's own color rule (0,1,1) otherwise beats .btn-dark's (0,1,0)
   regardless of source order, leaving "Get Aleaf" dark-on-dark. */
.nav-links a.btn-dark, .nav-links a.btn-dark:hover { color: var(--color-bg); }

/* — hero — */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 80px); padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 96px); }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(52px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.015em; margin-top: 22px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green-headline); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--color-neutral-800); max-width: 500px; margin-top: 24px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-phone-col { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; padding-block: 10px; }
.halo {
  position: absolute; width: min(470px, 100%); aspect-ratio: 1; border-radius: 50%;
  top: 44%; left: 50%; transform: translate(-50%, -50%); transition: background .5s;
  z-index: 0;
}

/* — phone mockup shell — */
.phone {
  position: relative; width: 300px; max-width: 100%; height: 600px;
  border: 10px solid var(--color-text); border-radius: 48px; background: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden; box-sizing: border-box;
  display: flex; flex-direction: column; z-index: 1;
}
.phone-lg { width: 320px; height: 620px; }
.phone-notch { width: 90px; height: 22px; background: var(--color-text); border-radius: 0 0 14px 14px; margin: 0 auto; flex-shrink: 0; }
.phone-topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 10px; }
.phone-round-btn { width: 32px; height: 32px; border-radius: 50%; background: #f2f3f5; display: flex; align-items: center; justify-content: center; }
.phone-title { font-size: 15px; font-weight: 700; }
.phone-banner {
  background: var(--red-banner); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 9px 16px; display: flex; align-items: center; gap: 8px;
}
.phone-banner[hidden] { display: none; }
.phone-product-row { display: flex; gap: 12px; padding: 12px 16px; align-items: center; }
.skeleton-thumb { width: 50px; height: 50px; border-radius: 10px; background: #eef0f2; flex-shrink: 0; }
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.skeleton-line { height: 7px; border-radius: 99px; background: #eef0f2; }
.skeleton-line.wide { height: 11px; width: 72%; background: #e2e5e8; }
.skeleton-line.s1 { width: 36%; } .skeleton-line.s3 { width: 48%; }
.phone-meta-row { display: flex; align-items: center; gap: 8px; padding: 0 16px 10px; flex-wrap: wrap; }
.meta-scanned { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #9ca3af; }
.meta-boycott { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

.score-card { margin: 2px 14px 0; border-radius: 18px; padding: 14px 12px; display: flex; align-items: center; gap: 10px; transition: background .4s; }
.score-ring-wrap { position: relative; width: 78px; height: 78px; flex-shrink: 0; }
.score-ring-wrap .score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring-wrap .score-num b { font-size: 24px; font-weight: 800; line-height: 1; }
.score-ring-wrap .score-num small { font-size: 9px; color: #9ca3af; }
.score-ring circle:first-child { stroke: #e3e5e8; }
.score-ring circle:last-child { stroke-linecap: round; transition: stroke-dasharray .6s, stroke .4s; }
.score-copy { flex: 1; min-width: 0; }
.score-verdict { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.score-sub { font-size: 11px; color: #4b5563; line-height: 1.4; margin-top: 3px; }
.score-mascot { width: 72px; height: 72px; position: relative; flex-shrink: 0; }
.score-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .35s; }
.score-mascot img.active { opacity: 1; }

.breakdown-title { font-size: 14px; font-weight: 800; padding: 16px 16px 10px; }
.breakdown-row { margin: 0 14px 8px; border: 1px solid #eceef0; border-radius: 14px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; }
.breakdown-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.breakdown-text { flex: 1; min-width: 0; }
.breakdown-text .t { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breakdown-text .s { font-size: 10.5px; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breakdown-level { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }

.mood-picker {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  background: var(--color-surface); padding: 6px; border-radius: 30px; z-index: 1;
}
.mood-btn {
  display: flex; align-items: center; gap: 6px; border: none; cursor: pointer;
  border-radius: 999px; font-size: 13px; font-weight: 700;
  padding-block: 5px; padding-inline-start: 8px; padding-inline-end: 14px;
  color: var(--color-text); background: transparent;
}
.mood-btn.active { background: var(--color-neutral-100); box-shadow: var(--shadow-md); }
.mood-btn-img { width: 30px; height: 30px; position: relative; flex-shrink: 0; }
.mood-btn-img img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* — how it works — */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 72px; height: 72px; border-radius: 50%; color: var(--color-bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 32px; }
.step-num.n1 { background: var(--color-accent); }
.step-num.n2 { background: var(--color-accent-2); }
.step-num.n3 { background: var(--green-headline); }
.step h3 { font-size: 26px; margin-top: 6px; }
.step p { font-size: 17px; color: var(--color-neutral-800); line-height: 1.55; max-width: 340px; text-wrap: pretty; }

/* — two-col feature row — */
.feature-row { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature-row.reverse { flex-wrap: wrap-reverse; }
.feature-copy { flex: 1 1 380px; min-width: 0; }
.feature-visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; position: relative; padding: 20px 0 40px; }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; font-weight: 500; }
.check-dot { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--color-accent-2-200); color: var(--color-accent-2-800); display: flex; align-items: center; justify-content: center; }

/* — know your score phone — */
.big-halo { position: absolute; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--color-accent-200); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; }
.phone-scroll { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 12px 16px 28px; }
.phone-scroll::-webkit-scrollbar { display: none; }
.scroll-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.scroll-head .t { font-size: 15px; font-weight: 800; }
.scroll-head .m { font-size: 11px; color: #9ca3af; }
.nutri-row { display: grid; grid-template-columns: minmax(0,1fr) 58px 48px 58px; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0f1f3; font-size: 12px; }
.nutri-row .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nutri-row .value { font-weight: 700; text-align: end; }
.nutri-track { height: 5px; border-radius: 99px; background: transparent; display: flex; }
.nutri-fill { border-radius: 99px; }
.nutri-row .level { font-weight: 700; }

.mini-card { margin-top: 18px; border: 1px solid #eceef0; border-radius: 16px; padding: 14px; }
.mini-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.mini-card-head .t { font-size: 14px; font-weight: 800; }
.mini-card-head .m { font-size: 11px; color: #9ca3af; }
.mini-card-sub { font-size: 11.5px; color: #4b5563; margin: 4px 0 10px; }
.split-bar { display: flex; height: 6px; border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chip-solid { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--color-text); color: #fff; }
.chip-outline { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid #e5e7eb; display: flex; align-items: center; gap: 4px; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.e-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid #eceef0; border-inline-start: 4px solid; margin-bottom: 6px; }
.e-row:last-child { margin-bottom: 0; }
.e-code { font-size: 11px; font-weight: 800; background: #f2f3f5; padding: 6px 7px; border-radius: 8px; }
.e-row .name { font-size: 12.5px; font-weight: 700; }
.e-row .risk { font-size: 10.5px; color: #9ca3af; }

.ing-title { font-size: 14px; font-weight: 800; margin: 20px 0 10px; }
.ing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.ing-card { border: 1px solid #eceef0; border-radius: 12px; padding: 10px; }
.ing-card-head { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; }
.ing-count { font-size: 18px; font-weight: 800; margin: 6px 0 12px; }
.ing-see { font-size: 10.5px; font-weight: 700; }

.beyond-card { border: 1px solid #eceef0; border-radius: 16px; padding: 14px; }
.beyond-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.beyond-head .t { font-size: 14px; font-weight: 800; }
.beyond-tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--amber-tint); color: oklch(0.55 0.15 55); }
.beyond-sub { font-size: 11px; color: #9ca3af; margin: 2px 0 10px; }
.beyond-bars { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-bottom: 10px; }
.beyond-bars span { height: 6px; border-radius: 99px; }
.beyond-body { font-size: 11.5px; line-height: 1.5; color: #4b5563; }

.speech-row { position: absolute; bottom: 0; inset-inline-start: 0; display: flex; align-items: flex-end; z-index: 1; }
.speech-mascot { width: 120px; height: 120px; position: relative; flex-shrink: 0; }
.speech-bubble { background: var(--color-neutral-100); box-shadow: var(--shadow-md); font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 20px; margin-bottom: 96px; margin-inline-start: -14px; }

/* — B: what's really inside — */
.two-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.inside-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.inside-card h3 { font-size: 28px; }
.inside-card > p { font-size: 16px; line-height: 1.6; color: var(--color-neutral-800); text-wrap: pretty; }
.insight-row { background: var(--color-neutral-100); border-radius: var(--radius-md); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.insight-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.insight-icon.terracotta { background: var(--color-accent-200); color: var(--color-accent-700); }
.insight-icon.sage { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.insight-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.insight-title { font-weight: 700; font-size: 15px; }
.nuance-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-2-800); background: var(--color-accent-2-200); padding: 2px 8px; border-radius: 999px; }
.insight-body { font-size: 14px; color: var(--color-neutral-800); line-height: 1.5; margin-top: 3px; }
.small-note { font-size: 14px; color: var(--color-neutral-700); line-height: 1.5; }

.e-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.e-chip { display: flex; align-items: center; gap: 6px; background: var(--color-neutral-100); font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.e-chip.dark { background: var(--color-text); color: var(--color-bg); }
.e-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

.e129-card { background: var(--color-neutral-100); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.e129-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.e129-head .name { font-weight: 800; font-size: 17px; }
.e129-head .what { font-size: 13px; color: var(--color-neutral-700); }
.tier-badge { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.tier-badge.high { background: oklch(0.93 0.04 30); color: oklch(0.42 0.14 30); }
.e129-effects { font-size: 14px; line-height: 1.55; color: var(--color-neutral-800); }
.source-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.source-label { font-size: 12px; font-weight: 700; color: var(--color-neutral-700); }
.source-pill { font-size: 12px; font-weight: 700; border: 1.5px solid var(--color-divider); padding: 3px 10px; border-radius: 999px; }
.tier-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--color-neutral-800); }
.tier-legend span { display: flex; align-items: center; gap: 6px; }
.tier-legend .dot { width: 8px; height: 8px; border-radius: 50%; }

/* — C: made for you — */
.prefs-card { background: var(--color-neutral-100); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -8px 0 12px; padding-bottom: 14px; border-bottom: 1px solid var(--color-divider); }
.demo-head .try { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-700); }
.demo-head .name { font-size: 15px; font-weight: 700; margin-top: 2px; }
.demo-mascot { width: 78px; height: 78px; position: relative; flex-shrink: 0; }
.demo-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .3s; }
.demo-mascot img.active { opacity: 1; }
.pref-head { font-size: 13px; font-weight: 700; color: var(--color-neutral-700); margin-bottom: 12px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip-group:last-of-type { margin-bottom: 0; }
.toggle-chip { font-family: var(--font-body); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 2px solid var(--color-divider); background: transparent; color: var(--color-text); }
.toggle-chip.on { border-color: var(--color-text); background: var(--color-text); color: var(--color-bg); }
.alert-stack { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.alert-banner { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; padding: 11px 16px; border-radius: var(--radius-md); }
.alert-banner svg { flex-shrink: 0; }
.alert-banner.red { background: oklch(0.93 0.04 30); color: oklch(0.4 0.14 30); }
.alert-banner.amber { background: oklch(0.93 0.06 80); color: oklch(0.4 0.1 60); }
.alert-banner.green { background: oklch(0.92 0.05 148); color: oklch(0.36 0.1 148); }

.boycott-card { background: var(--color-neutral-100); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); margin-top: 16px; }
.boycott-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.boycott-head .t { font-size: 13px; font-weight: 700; color: var(--color-neutral-700); }
.boycott-head .off { font-size: 12px; font-weight: 600; color: var(--color-neutral-700); }
.boycott-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--color-divider); }
.boycott-row .label { font-size: 15px; font-weight: 600; }
.switch { flex-shrink: 0; width: 46px; height: 26px; border-radius: 999px; border: none; padding: 3px; cursor: pointer; display: flex; background: var(--color-neutral-300); justify-content: flex-start; }
.switch.on { background: var(--green-headline); justify-content: flex-end; }
.switch .thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }

/* Directional glyphs (back chevron, flow arrows) need an explicit flip —
   unlike layout, an icon's own artwork doesn't mirror itself under dir=rtl. */
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.made-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.made-text { flex: 1 1 380px; min-width: 0; }
.made-text h3 { font-size: 24px; margin: 0 0 8px; }
.made-text p { font-size: 16px; line-height: 1.6; color: var(--color-neutral-800); max-width: 480px; text-wrap: pretty; }

/* — D: built by everyone — */
.built-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.built-card { background: var(--color-neutral-100); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.built-card.dark { background: var(--color-text); color: var(--color-bg); }
.built-card.dark .built-body { color: var(--color-bg); opacity: .85; }
.built-mascot { width: 72px; height: 72px; position: relative; flex-shrink: 0; margin: -10px 0 -6px; }
.built-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; }
.built-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent-200); color: var(--color-accent-700); display: flex; align-items: center; justify-content: center; }
.built-title { font-weight: 800; font-size: 17px; }
.built-body { font-size: 15px; line-height: 1.5; color: var(--color-neutral-800); }

.corrections-strip {
  margin-top: 28px; background: var(--color-neutral-100); border-radius: var(--radius-lg);
  padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.corrections-copy { flex: 1 1 320px; min-width: 0; }
.corrections-copy .t { font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.corrections-copy .b { font-size: 15px; line-height: 1.5; color: var(--color-neutral-800); }
.status-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-pill { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--color-surface); }
.status-pill.amber { background: oklch(0.93 0.06 80); color: oklch(0.4 0.1 60); }
.status-pill.green { background: oklch(0.92 0.05 148); color: oklch(0.36 0.1 148); }
.status-arrow { flex-shrink: 0; }

/* — trust — */
.trust-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.trust-copy { flex: 1 1 340px; min-width: 0; }
.trust-copy .body { font-size: 17px; line-height: 1.6; color: var(--color-neutral-800); max-width: 440px; text-wrap: pretty; margin-bottom: 16px; }
.trust-copy .disclaimer { font-size: 14px; line-height: 1.55; color: var(--color-neutral-700); max-width: 440px; }
.trust-sources { flex: 1.3 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.source-card { border: 2px solid var(--color-divider); border-radius: var(--radius-lg); padding: 22px 24px; }
.source-card .name { font-family: var(--font-heading); font-size: 26px; line-height: 1.1; color: var(--color-accent-2-800); }
.source-card .desc { font-size: 14px; line-height: 1.5; color: var(--color-neutral-800); margin-top: 8px; }
.cross-strip {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: center;
  background: var(--color-accent-2-200); color: var(--color-accent-2-900);
  border-radius: var(--radius-lg); padding: 18px 22px; font-size: 15px; font-weight: 600; line-height: 1.45;
}
.cross-strip svg { flex-shrink: 0; }

/* — global — */
.global-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.global-copy { flex: 1 1 420px; min-width: 0; }
.global-copy h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.global-copy p { font-size: 17px; line-height: 1.6; max-width: 540px; color: var(--color-accent-2-100); text-wrap: pretty; }
.phrase-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.phrase-pill {
  border: 2px solid var(--color-accent-2-600); border-radius: 999px; padding: 12px 22px;
  font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; display: flex; align-items: baseline; gap: 10px;
}
.phrase-pill .lang { font-size: 12px; font-weight: 700; color: var(--color-accent-2-300); }
.phrase-pill.ar-tile { border: none; background: var(--color-bg); color: var(--color-text); padding: 14px 26px; font-size: clamp(22px, 2.4vw, 30px); }
.rtl-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; background: var(--color-accent-2-200); color: var(--color-accent-2-900); padding: 3px 9px; border-radius: 999px; }

/* — final CTA — */
.final-cta { padding-block: clamp(56px, 8vw, 112px); position: relative; }
.final-cta-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.final-cta-mascot { width: 190px; height: 190px; position: relative; flex-shrink: 0; }
.final-cta-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta-copy { flex: 1 1 380px; min-width: 0; }
.final-cta-copy h2 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.01em; }
.final-cta-copy p { font-size: 19px; line-height: 1.55; color: var(--color-neutral-800); margin-top: 18px; max-width: 520px; }
.final-cta-badges { display: flex; gap: 12px; flex-wrap: wrap; }

/* — footer — */
footer { border-top: 2px solid var(--color-divider); }
.footer-row { padding-block: 36px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 24px; width: auto; transform: rotate(-20deg); }
.footer-brand span { font-weight: 800; font-size: 17px; }
.footer-tag { font-size: 14px; color: var(--color-neutral-700); margin-inline-start: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--color-neutral-800); font-size: 14px; font-weight: 600; }
.footer-disclaimer { padding: 0 0 36px; font-size: 13px; line-height: 1.55; color: var(--color-neutral-700); }

/* — visually-hidden skip link — */
.skip-link {
  /* transform (not a huge negative left/inset-inline-start) keeps this out
     of view without inflating the page's scrollable width — a large
     physical offset here combined with dir="rtl" was blowing scrollWidth
     out to ~11000px and collapsing the whole RTL layout into a sliver. */
  position: absolute; inset-inline-start: 0; top: 0; transform: translateY(-100%);
  background: var(--color-text); color: var(--color-bg);
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 640px) {
  .hero h1 { letter-spacing: -0.01em; }
  .global-head { align-items: flex-start; }
}
