:root {
  --green-950: #032737;
  --green-900: #083a4f;
  --green-800: #062f42;
  --green-700: #0b4a63;
  --orange: #F26B3A;
  --yellow: #4FBDB5;
  --yellow-soft: #FFD93D;
  --mint: #e3f6f4;
  --cream: #f4f6f7;
  --white: #fff;
  --ink: #111;
  --muted: #5f6d66;
  --line: rgba(3, 39, 55, .14);
  --radius: 24px;
  --shadow: 0 28px 70px rgba(3, 39, 55, .15);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--green-950);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #032737;
  color: white;
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: white; }
.brand span { font-size: clamp(25px, 3vw, 36px); line-height: 1; font-weight: 450; letter-spacing: -1.2px; }
.brand b { font-size: 38px; line-height: .7; font-weight: 400; color: var(--yellow-soft); }
.site-nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.site-nav a { color: rgba(255,255,255,.92); text-decoration: none; font-size: 17px; font-weight: 500; }
.site-nav a:hover { color: var(--yellow-soft); }
.header-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 34px; border-radius: 999px; background: var(--yellow-soft); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 16px; transition: transform .2s ease; }
.header-cta:hover { transform: translateY(-1px); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 8vw, 100px) 24px clamp(64px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 28px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: 11px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green-700); }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; color: var(--green-950); font-size: clamp(52px, 7.5vw, 96px); line-height: .92; letter-spacing: -.07em; font-weight: 760; }
h1 span { color: var(--yellow); }
.hero-lede { max-width: 600px; margin: 30px 0; color: #40554b; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 32px; max-width: 580px; }
.proof-row div { padding: 15px 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.proof-row b { font-size: 26px; color: var(--orange); }
.proof-row span { font-size: 11px; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--muted); }
.primary-cta { display: inline-flex; align-items: center; gap: 20px; min-height: 58px; padding: 15px 26px; border-radius: 999px; color: white; background: var(--green-950); text-decoration: none; font-weight: 800; box-shadow: 0 16px 30px rgba(3,39,55,.18); transition: transform .2s ease, background .2s ease; }
.primary-cta span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--green-950); background: var(--yellow-soft); }
.primary-cta:hover { background: var(--green-700); transform: translateY(-2px); }
.microcopy { max-width: 500px; color: #6d786f; font-size: 11px; line-height: 1.5; }

.product-stage { position: relative; min-height: 590px; display: grid; place-items: center; isolation: isolate; }
.product-stage::before { content: ""; position: absolute; width: min(520px, 82vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 36% 28%, #fff 0 8%, #f8e38d 25%, #eabf1f 62%, #d7a904 100%); box-shadow: inset -40px -45px 80px rgba(110,76,0,.18), 0 46px 90px rgba(3,39,55,.19); z-index: -2; }
.product-stage img { width: min(680px, 110%); height: auto; position: relative; z-index: 3; transform: translateY(20px); filter: drop-shadow(0 34px 25px rgba(3, 39, 55, .28)); animation: product-float 5s ease-in-out infinite; }
.stage-floor { position: absolute; bottom: 50px; width: 64%; height: 34px; background: rgba(3,39,55,.25); border-radius: 50%; filter: blur(18px); z-index: -1; }
.stage-orbit { position: absolute; border: 1px solid rgba(3,39,55,.14); border-radius: 50%; z-index: -1; }
.stage-orbit-one { width: 96%; aspect-ratio: 1; }
.stage-orbit-two { width: 76%; aspect-ratio: 1; border-style: dashed; animation: spin 34s linear infinite; }
.ingredient-note { position: absolute; z-index: 5; padding: 10px 15px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; box-shadow: 0 12px 30px rgba(3,39,55,.13); font-size: 12px; font-weight: 750; }
.note-one { left: 2%; top: 28%; }
.note-two { right: -2%; top: 18%; }
.note-three { right: 5%; bottom: 22%; }

.formula { background: white; padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.section-kicker { color: var(--orange); }
h2 { margin: 0; font-size: clamp(39px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.formula-grid article { min-height: 275px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; background: linear-gradient(145deg, #fff, #f5f9fa); }
.formula-grid article > span { color: var(--orange); font-size: 12px; font-weight: 800; }
.formula-grid h3 { margin: auto 0 14px; font-size: 24px; letter-spacing: -.03em; }
.formula-grid p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.source-note { grid-column: 2; margin: -44px 0 0; color: #778079; font-size: 11px; line-height: 1.5; }

.country-section { padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - var(--max)) / 2)); background: var(--green-950); color: white; overflow: hidden; }
.section-kicker-light { color: var(--yellow-soft); }
.country-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.recommendation { display: flex; align-items: center; gap: 13px; min-width: 250px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.07); border-radius: 18px; }
.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #84ed97; box-shadow: 0 0 0 7px rgba(132,237,151,.1); }
.pulse-dot::after { content: ""; position: absolute; inset: -6px; border: 1px solid #84ed97; border-radius: 50%; animation: pulse 2s infinite; }
.recommendation p { margin: 0; display: grid; gap: 2px; }
.recommendation small { color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.recommendation strong { font-size: 14px; }
.country-intro { max-width: 660px; margin: 28px 0 36px; color: rgba(255,255,255,.66); line-height: 1.65; }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country-card { position: relative; min-height: 160px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; color: white; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); overflow: hidden; cursor: pointer; perspective: 600px; transform-style: preserve-3d; transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease; }
.country-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.13) 46%, transparent 70%); transform: translateX(-120%); transition: transform .5s ease; }
.country-card:hover, .country-card:focus-visible, .country-card.is-recommended { transform: translateY(-7px) rotateX(3deg) rotateY(-3deg); border-color: var(--yellow); background: linear-gradient(145deg, rgba(234,191,31,.22), rgba(255,255,255,.05)); box-shadow: 0 24px 40px rgba(0,0,0,.25); }
.country-card:hover::before { transform: translateX(120%); }
.country-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.flag { display: inline-grid; place-items: center; width: 64px; height: 46px; font-size: 39px; line-height: 1; border-radius: 8px; background: rgba(255,255,255,.1); box-shadow: 0 14px 18px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.45); transform: rotate(-3deg) translateZ(22px); filter: saturate(1.06); }
.country-name { display: flex; width: 100%; align-items: end; justify-content: space-between; gap: 10px; }
.country-name span { display: grid; gap: 2px; text-align: left; }
.country-name strong { font-size: 16px; }
.country-name small { color: rgba(255,255,255,.52); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.country-name b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--green-950); background: var(--yellow-soft); font-size: 17px; }
.recommended-badge { position: absolute; top: 14px; right: 14px; padding: 5px 8px; border-radius: 99px; color: var(--green-950); background: var(--yellow-soft); text-transform: uppercase; letter-spacing: .07em; font-size: 8px; font-weight: 900; }
.language-panel { margin-top: 16px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 20px; background: var(--mint); color: var(--green-950); animation: panel-in .25s ease both; }
.language-panel small { display: block; margin-bottom: 4px; color: var(--green-700); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 9px; }
.language-panel #language-options { display: flex; flex-wrap: wrap; gap: 8px; }
.language-choice { border: 0; padding: 12px 17px; border-radius: 999px; color: white; background: var(--green-950); font-weight: 800; cursor: pointer; }
.language-choice:hover { background: var(--orange); }
.routing-note { margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); display: flex; gap: 15px; align-items: flex-start; color: rgba(255,255,255,.63); }
.routing-note svg { width: 24px; min-width: 24px; fill: none; stroke: var(--yellow-soft); stroke-width: 1.6; }
.routing-note p { margin: 0; max-width: 790px; line-height: 1.55; font-size: 12px; }
.routing-note strong { color: white; }

.before-you-go { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px; }
.checks { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.checks div { padding: 26px; background: white; border-radius: 20px; box-shadow: 0 18px 50px rgba(3,39,55,.08); display: flex; gap: 14px; }
.checks span { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; color: var(--green-950); background: var(--yellow-soft); font-weight: 900; }
.checks p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.checks strong { display: block; color: var(--green-950); font-size: 15px; margin-bottom: 5px; }

.site-footer { background: var(--green-800); color: white; padding: 60px max(24px, calc((100vw - var(--max)) / 2)) 32px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.brand-footer { color: white; }
.footer-main p { color: rgba(255,255,255,.62); font-size: 13px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; max-width: 570px; }
.footer-main nav a, .footer-main nav button { padding: 0; border: 0; color: white; background: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 12px; }
.footer-disclaimer { margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; color: rgba(255,255,255,.56); }
.footer-disclaimer p { margin: 0; font-size: 10px; line-height: 1.6; }
.footer-disclaimer strong { color: rgba(255,255,255,.82); }
dialog { width: min(640px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 35px; color: var(--green-950); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3,39,55,.74); backdrop-filter: blur(5px); }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: none; font-size: 30px; cursor: pointer; }
#modal-content h2 { font-size: 34px; margin-bottom: 22px; }
#modal-content p, #modal-content li { color: var(--muted); line-height: 1.65; font-size: 14px; }
.noscript { margin: 0; padding: 18px; text-align: center; background: #fff4c7; }

@keyframes product-float { 0%, 100% { transform: translateY(20px) rotate(-.5deg); } 50% { transform: translateY(4px) rotate(.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-lede, .proof-row, .microcopy { margin-left: auto; margin-right: auto; }
  .product-stage { min-height: 520px; order: -1; }
  .formula { grid-template-columns: 1fr; gap: 38px; }
  .source-note { grid-column: 1; margin: 0; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-disclaimer { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 64px; gap: 12px; }
  .site-nav { display: none; }
  .header-cta { min-height: 42px; padding: 0 22px; font-size: 14px; margin-left: auto; }
  .hero { min-height: auto; padding: 35px 18px 72px; }
  .product-stage { min-height: 370px; }
  .product-stage::before { width: 88vw; }
  .stage-orbit-one { width: 110%; }
  .stage-orbit-two { width: 88%; }
  .product-stage img { width: 116%; max-width: none; }
  .ingredient-note { padding: 8px 10px; font-size: 9px; }
  .note-one { left: 0; top: 22%; }
  .note-two { right: 0; top: 13%; }
  .note-three { right: 1%; bottom: 17%; }
  h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero-lede { font-size: 16px; }
  .proof-row { gap: 4px; }
  .proof-row div { padding: 12px 5px; grid-template-columns: 1fr; gap: 4px; }
  .proof-row b { font-size: 22px; }
  .formula, .country-section { padding-left: 18px; padding-right: 18px; }
  .formula-grid { grid-template-columns: 1fr; }
  .formula-grid article { min-height: 220px; }
  .country-heading { display: grid; }
  .recommendation { min-width: 0; width: 100%; }
  .country-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .country-card { min-height: 145px; padding: 14px; }
  .flag { width: 57px; height: 42px; font-size: 35px; }
  .country-name strong { font-size: 14px; }
  .country-name b { width: 26px; height: 26px; }
  .language-panel { align-items: flex-start; flex-direction: column; }
  .checks { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; }
  .footer-main nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Memo Matrix additions */
.brand b { font-size: 26px; line-height: 1; }
.formula-grid-8 { grid-template-columns: repeat(4, 1fr); }
.formula-grid-8 article { min-height: 200px; }
.formula-grid-8 h3 { font-size: 20px; }
.badges-row { grid-column: 1 / -1; margin: 8px 0 0; text-align: center; }
.badges-row img { width: min(560px, 100%); height: auto; }
.country-grid-5 { grid-template-columns: repeat(5, 1fr); }
.guarantee-row { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; gap: 22px; align-items: center; }
.guarantee-row img { width: 110px; height: auto; flex: none; }
.guarantee-row p { margin: 0; max-width: 640px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 1000px) { .formula-grid-8 { grid-template-columns: repeat(2, 1fr); } .country-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .formula-grid-8 { grid-template-columns: 1fr; } .country-grid-5 { grid-template-columns: repeat(2, 1fr); } .guarantee-row { flex-direction: column; align-items: flex-start; } }

[hidden] { display: none !important; }
.hero { overflow: hidden; }

/* v20260904c: centred ingredient cards, bigger flags */
.formula-grid-8 article { min-height: 230px; justify-content: flex-start; align-items: center; text-align: center; padding: 24px 18px; }
.formula-grid-8 article > span { margin-bottom: 12px; }
.formula-grid-8 h3 { margin: 0 0 12px; min-height: 2.4em; display: flex; align-items: center; justify-content: center; line-height: 1.15; }
.formula-grid-8 p { text-wrap: balance; }
.country-card { min-height: 200px; padding: 22px; }
.flag { width: 104px; height: 74px; font-size: 62px; border-radius: 12px; }
@media (max-width: 680px) { .country-card { min-height: 170px; padding: 16px; } .flag { width: 84px; height: 60px; font-size: 50px; } }

/* v20260904d: larger flags */
.country-card { min-height: 250px; padding: 24px; }
.flag { width: 150px; height: 106px; font-size: 90px; border-radius: 14px; }
@media (max-width: 1000px) { .country-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .country-card { min-height: 205px; } .flag { width: 118px; height: 84px; font-size: 70px; } }
