/* Manrope, served from this repo (fonts/, OFL licence included) — the page
   makes no third-party requests. Variable font: one file covers 400–600. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Brand tokens (from the IDera guideline) ---------- */
:root {
  --yellow:   #F7FF8A;   /* Lemon Yellow, Pantone 395 C */
  --blue:     #91CEFF;   /* Soft Blue,    Pantone 2905 C */
  --graphite: #4F4F4F;   /* Cool Gray 10 C */
  --grey:     #C9C9C9;   /* Cool Gray 3 C */
  --white:    #FFFFFF;
  --black:    #0A0A0A;

  --grad-green: #CDFF8A;
  --grad-blue:  #A4CBEA;

  --focus: #9B7FEC;      /* Focus — mind mode */
  --glow:  #EE82B0;      /* Glow  — radiance mode */
  --detox: #2AD67F;      /* Detox — reset mode */
  --slim:  #F5943E;      /* Slim  — shape mode */

  --bg: var(--white);
  --fg: var(--black);
  --muted: var(--graphite);
  --line: var(--grey);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --track-heading: -0.06em;  /* guideline: headings -6% */
  --track-body: 0;           /* guideline: body 0 */

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: var(--track-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .display {
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; }
p  { margin: 0; }

.eyebrow {
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--black);
}
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: var(--fg); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-weight: 600; font-size: 22px; letter-spacing: -0.04em; line-height: 1;
  white-space: nowrap;
}
.brand small { font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.site-header nav { display: flex; gap: 28px; font-size: 15px; }
.site-header nav .loc { color: var(--muted); }
@media (max-width: 560px) {
  /* on a phone the number is the useful contact; the address is in the footer */
  .site-header { gap: 12px; }
  .site-header nav .mail { display: none; }
  .site-header nav { font-size: 14px; }
  .brand { font-size: 19px; }
  .brand small { font-size: 11px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
  min-height: min(78vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(70% 60% at 12% 8%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 68%),
    radial-gradient(55% 50% at 88% 96%, var(--yellow) 0%, rgba(247,255,138,0) 72%),
    linear-gradient(180deg, var(--blue) 0%, #BEE7E0 52%, #EEFF9C 100%);
  color: var(--black);
}
/* soft circles — the guideline's background motif */
.hero .circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.34);
  pointer-events: none;
}
.hero .c1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -10vw; top: -18vw; }
.hero .c2 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; right: 18vw; top: 6vw; background: rgba(255,255,255,.22); }
.hero .c3 { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; left: -6vw; bottom: -8vw; background: rgba(255,255,255,.28); }

.hero-inner { position: relative; max-width: 880px; display: grid; gap: 28px; }
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 52ch; }

.notify {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  max-width: 560px;
}
.notify input[type="email"] {
  flex: 1 1 260px;
  height: 56px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(10,10,10,.28);
  background: rgba(255,255,255,.78);
  font: inherit; font-size: 16px; color: var(--black);
  outline: none;
  transition: border-color .15s, background .15s;
}
.notify input[type="email"]::placeholder { color: var(--graphite); }
.notify input[type="email"]:focus { border-color: var(--black); background: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--black);
  background: var(--black); color: var(--white);
  font: inherit; font-weight: 600; font-size: 16px;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: #262626; border-color: #262626; color: var(--white); }
.btn:active { transform: translateY(1px); }
.notify .hint { flex-basis: 100%; font-size: 13px; color: var(--graphite); }
@media (max-width: 560px) { .notify .btn { flex: 1 1 100%; } }
.notify .success {
  flex-basis: 100%;
  display: none;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(255,255,255,.7); color: var(--black);
}
.notify.is-done input, .notify.is-done .btn, .notify.is-done .hint { display: none; }
.notify.is-done .success { display: block; }

/* visually hidden, still read by screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* hero quick links, in place of the old call-to-action */
.hero-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0; }
.hero-links a {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(10,10,10,.28);
  background: rgba(255,255,255,.55);
  font-size: 15px; font-weight: 600; color: var(--black);
  transition: background .15s, border-color .15s;
}
.hero-links a:hover { background: var(--white); border-color: var(--black); color: var(--black); }

/* launch updates — the email form, deliberately low-key and far down */
.updates {
  display: grid; gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .updates { grid-template-columns: 1fr; } }
.updates-text { display: grid; gap: 10px; }
.updates h2 { font-size: clamp(24px, 2.4vw, 30px); }
.updates p { color: var(--graphite); font-size: 15px; max-width: 46ch; }
.updates .notify input[type="email"] { background: var(--white); }

/* ---------- Sections ---------- */
section { padding-block: clamp(56px, 8vw, 120px); }
.section-head { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }

/* Modes */
.modes-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 980px) { .modes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .modes-grid { grid-template-columns: 1fr; } }

.mode {
  --c: var(--blue);
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10,10,10,.08);
  overflow: hidden;
  background: var(--white);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
@media (max-width: 520px) { .mode { min-height: 260px; } }
.mode::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 58%;
  background: linear-gradient(180deg, var(--c) 0%, var(--c) 18%, rgba(255,255,255,0) 100%);
}
.mode:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(10,10,10,.28); }
.mode .idx { position: absolute; top: 22px; left: 24px; font-size: 13px; color: rgba(10,10,10,.65); }
.mode .body { position: relative; display: grid; gap: 8px; }
.mode h3 { font-size: 30px; }
.mode p { color: var(--graphite); font-size: 15px; line-height: 1.45; }
.mode .tag { font-size: 13px; color: var(--black); }
.mode.focus { --c: var(--focus); }
.mode.glow  { --c: var(--glow); }
.mode.detox { --c: var(--detox); }
.mode.slim  { --c: var(--slim); }

/* Principles */
.principles {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: #F5F5F5;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
}
.principles .circle {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.9); pointer-events: none;
}
.principles .c1 { width: 520px; height: 520px; right: -160px; top: -220px; }
.principles .c2 { width: 360px; height: 360px; right: 300px; bottom: -220px; }
.principles .c3 { width: 260px; height: 260px; left: -120px; bottom: 40px; }
.principles-grid {
  position: relative;
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 56px);
}
@media (max-width: 820px) { .principles-grid { grid-template-columns: 1fr; } }
.principle { display: grid; gap: 14px; align-content: start; }
.principle .num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
  font-size: 14px; font-weight: 600;
}
.principle p { color: var(--graphite); }

/* Company */
.company {
  display: grid; gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 860px) { .company { grid-template-columns: 1fr; } }
.company-text { display: grid; gap: 22px; }
.company-text p { max-width: 52ch; color: var(--graphite); }
.facts {
  border-radius: var(--radius-lg);
  background: var(--black); color: var(--white);
  padding: clamp(24px, 3vw, 40px);
}
.facts dl { margin: 0; display: grid; gap: 0; }
.facts .row {
  display: grid; gap: 6px 24px;
  grid-template-columns: 116px minmax(0, 1fr);
  padding-block: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.facts .row:first-child { border-top: 0; padding-top: 0; }
.facts .row:last-child { padding-bottom: 0; }
@media (max-width: 480px) { .facts .row { grid-template-columns: 1fr; } }
.facts dt { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.4; }
.facts .badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 13px;
}
.facts .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--detox); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 14px; color: var(--graphite);
}
@media (max-width: 820px) { footer { grid-template-columns: 1fr; } }
footer .col { display: grid; gap: 6px; align-content: start; }
footer strong { color: var(--black); font-weight: 600; }
footer .disclaimer { grid-column: 1 / -1; max-width: 80ch; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mode, .btn { transition: none; }
}

/* ---------- Legal / document pages ---------- */
.legal { max-width: 760px; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px); }
.legal .doc-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
.legal .updated { font-size: 14px; color: var(--graphite); }
.legal h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: clamp(36px, 4vw, 52px); }
.legal h2 + p, .legal h2 + ul { margin-top: 14px; }
.legal p, .legal li { color: var(--graphite); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--graphite); }
.legal .card {
  margin-top: 18px; padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg); background: #F5F5F5;
  display: grid; gap: 6px;
}
.legal .card strong { color: var(--black); }
.legal .card span { color: var(--graphite); font-size: 15px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
