/* ============================================================
   Welltory × Akamai — Proposal Room
   System: Akamai navy foundation, Akamai blue primary,
           deep violet secondary, orange reserved for price signal
   ============================================================ */

:root {
  --background: #03080f;
  --background-2: #050d18;
  --foreground: #f2f7fb;

  --akamai-blue: #009cde;
  --akamai-blue-soft: #5fc4ee;
  --akamai-navy: #002856;
  --akamai-orange: #ff9933;

  --atom-violet: #8587e3;
  --atom-violet-soft: #a2a3e9;
  --atom-violet-pale: #c7c8f2;

  --accent: var(--akamai-blue);
  --secondary: var(--akamai-blue-soft);
  --tertiary: #a9dcf5;

  --line: rgba(242, 247, 251, 0.11);
  --line-strong: rgba(0, 156, 222, 0.38);
  --surface: rgba(242, 247, 251, 0.032);
  --surface-2: rgba(242, 247, 251, 0.06);

  --w-main: 1500px;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.35rem, 1.15rem + 1vw, 2rem);
  --text-2xl: clamp(1.85rem, 1.2rem + 2.2vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.4rem, 0.9rem + 4.6vw, 5.2rem);

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 40px;

  --ease-brand: cubic-bezier(0.76, 0, 0.24, 1);
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

@media (max-width: 1536px) { :root { --w-main: calc(100% - 60px); } }
@media (max-width: 640px) { :root { --w-main: calc(100% - 36px); } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 100px;
}
body {
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100dvh;
  line-height: 1.55;
  font-size: var(--text-base);
  font-weight: 300;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-weight: 600; }
em { font-style: italic; font-weight: 700; color: var(--akamai-blue-soft); }
::selection { background: rgba(0, 156, 222, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--akamai-blue-soft); outline-offset: 3px; border-radius: 6px; }

/* ------------------ Scroll progress ------------------ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 80;
  background: rgba(242, 247, 251, 0.06);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--akamai-blue), var(--atom-violet));
  box-shadow: 0 0 12px rgba(0, 156, 222, 0.7);
  transition: width 0.12s linear;
}

/* ------------------ Container ------------------ */
.container {
  width: var(--w-main);
  max-width: 1500px;
  margin-inline: auto;
}

/* ------------------ Atmosphere ------------------ */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.light-rays {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 140vw; height: 90vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 156, 222, 0.2), transparent 55%),
    conic-gradient(from 200deg at 50% 0%,
      transparent 0deg,
      rgba(0, 156, 222, 0.1) 30deg,
      transparent 60deg,
      rgba(133, 135, 227, 0.11) 100deg,
      transparent 140deg,
      rgba(95, 196, 238, 0.08) 200deg,
      transparent 260deg);
  filter: blur(30px);
  opacity: 0.85;
  animation: rayShift 22s ease-in-out infinite alternate;
}
@keyframes rayShift {
  0% { transform: translateX(-50%) rotate(-4deg); }
  100% { transform: translateX(-50%) rotate(4deg); }
}
.orb { position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.5; }
.orb--primary { width: 820px; height: 820px; background: var(--akamai-navy); top: -220px; right: -300px; opacity: 0.85; }
.orb--accent { width: 620px; height: 620px; background: #2f3080; bottom: 18%; left: -220px; opacity: 0.4; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }

main, .nav, .footer { position: relative; z-index: 1; }

/* ------------------ Nav ------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: transform 0.4s var(--ease-brand), background 0.4s ease;
}
.nav.is-scrolled {
  background: linear-gradient(to bottom, rgba(3, 8, 15, 0.94), rgba(3, 8, 15, 0));
  backdrop-filter: blur(10px);
}
.nav.is-hidden { transform: translateY(-115%); }
.nav__inner {
  width: var(--w-main);
  max-width: 1500px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.02em; font-size: 15px;
  white-space: nowrap;
}
.nav__x { color: var(--akamai-blue); font-weight: 300; }
.nav__wordmark-dim { color: rgba(242, 247, 251, 0.5); font-weight: 400; }
@media (max-width: 480px) { .nav__wordmark { font-size: 13px; } .nav__wordmark-dim { display: none; } }
.nav__links { display: flex; gap: 24px; font-size: 13.5px; color: rgba(242, 247, 251, 0.7); }
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--akamai-blue-soft); }
@media (max-width: 1100px) { .nav__links { display: none; } }

/* ------------------ Buttons ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.35s var(--ease-brand);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(94deg, #00b4ff -10%, #009cde 45%, #0072ad 115%);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 156, 222, 0.5), inset 0 0 2px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn--primary:hover {
  box-shadow: 0 0 30px rgba(0, 156, 222, 0.85), inset 0 0 8px rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}
.btn--inverted {
  background: transparent;
  color: var(--akamai-blue-soft);
  border: 1.5px solid rgba(0, 156, 222, 0.5);
  box-shadow: inset 0 0 2px rgba(0, 156, 222, 0.25);
}
.btn--inverted:hover {
  background: rgba(0, 156, 222, 0.1);
  box-shadow: 0 0 22px rgba(0, 156, 222, 0.35);
  color: #cceffc;
}
.btn--ghost {
  background: transparent;
  color: rgba(242, 247, 251, 0.6);
  border: 1px solid var(--line);
}
.btn--ghost:hover { color: var(--foreground); border-color: rgba(242, 247, 251, 0.3); }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--nav {
  background: rgba(3, 8, 15, 0.4);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 247, 251, 0.3);
  padding: 8px 8px 8px 20px;
  font-size: 13px;
}
.btn--nav .btn__icon {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: linear-gradient(94deg, #00b4ff, #0072ad);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease-brand);
  flex-shrink: 0;
}
.btn--nav:hover .btn__icon { transform: rotate(45deg); }
.btn--nav:hover { border-color: rgba(242, 247, 251, 0.5); }
@media (max-width: 600px) {
  .btn--nav span:not(.btn__icon) { display: none; }
  .btn--nav { padding: 6px; }
}

/* ------------------ Pill / eyebrow ------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 156, 222, 0.3);
  background: rgba(0, 156, 222, 0.06);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.8);
  font-weight: 500;
  align-self: flex-start;
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--akamai-blue);
  box-shadow: 0 0 12px var(--akamai-blue);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akamai-blue-soft);
  font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow--center { display: block; text-align: center; }

/* ------------------ Hero ------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 110px;
  position: relative;
}
.hero__inner { display: flex; flex-direction: column; gap: 26px; max-width: 1150px; }
.hero__title {
  font-size: var(--text-hero);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 17ch;
}
.hero__title-italic {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(93deg, #a9dcf5, #009cde 45%, #8587e3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: var(--text-lg);
  color: rgba(242, 247, 251, 0.72);
  max-width: 60ch;
  font-weight: 300;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero__meta {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 1000px;
}
@media (max-width: 860px) { .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 460px) { .hero__meta { grid-template-columns: 1fr; gap: 16px; } }
.hero__meta-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.45);
  margin-bottom: 6px;
}
.hero__meta-value { display: block; font-size: 14px; color: var(--foreground); font-weight: 500; }

.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1px solid rgba(242, 247, 251, 0.22);
  border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px; border-radius: 999px;
  background: var(--akamai-blue);
  animation: scrollDot 1.9s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ------------------ Sections ------------------ */
.section { padding: clamp(72px, 11vw, 170px) 0; position: relative; }
.section--inputs {
  background:
    linear-gradient(180deg, transparent, rgba(0, 40, 86, 0.28) 22%, rgba(0, 40, 86, 0.28) 78%, transparent);
}
.section__header { max-width: 920px; margin-bottom: clamp(44px, 5.5vw, 76px); }
.section__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section__lede {
  margin-top: 20px;
  font-size: var(--text-lg);
  color: rgba(242, 247, 251, 0.7);
  max-width: 62ch;
  font-weight: 300;
}

/* ------------------ Verdict panel ------------------ */
.verdict {
  position: relative;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 156, 222, 0.18), transparent 62%),
    linear-gradient(140deg, rgba(0, 40, 86, 0.7), rgba(3, 8, 15, 0.5));
  border: 1px solid rgba(0, 156, 222, 0.32);
  box-shadow: 0 0 70px rgba(0, 84, 140, 0.25);
  margin-bottom: 40px;
  overflow: hidden;
}
.verdict__mark { color: var(--akamai-blue); opacity: 0.9; margin-bottom: 22px; }
.verdict__statement {
  font-size: clamp(1.9rem, 1rem + 3.6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 20ch;
}
.verdict__statement em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(93deg, #ffc182, var(--akamai-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.verdict__sub {
  margin-top: 22px;
  font-size: var(--text-base);
  color: rgba(242, 247, 251, 0.72);
  max-width: 60ch;
  font-weight: 300;
}

/* ------------------ Position grid ------------------ */
.position-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .position-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .position-grid { grid-template-columns: 1fr; } }
.pcard {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-brand), background 0.3s ease;
}
.pcard:hover {
  border-color: var(--line-strong);
  background: rgba(0, 156, 222, 0.05);
  transform: translateY(-4px);
}
.pcard__k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--akamai-blue);
  font-weight: 500;
}
.pcard__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
.pcard__body { font-size: 14.5px; color: rgba(242, 247, 251, 0.68); font-weight: 300; line-height: 1.6; }

/* ------------------ Intake ------------------ */
.intake {
  padding: clamp(26px, 3.6vw, 48px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(0, 156, 222, 0.13), transparent 60%),
    rgba(4, 12, 22, 0.72);
  border: 1px solid rgba(0, 156, 222, 0.26);
  box-shadow: 0 0 80px rgba(0, 40, 86, 0.4);
  backdrop-filter: blur(6px);
  margin-bottom: 36px;
}
.intake__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
  .intake__head { flex-direction: row; align-items: center; gap: 16px; }
  .gauge { width: 74px; height: 74px; }
  .gauge__num { font-size: 14px; }
  .gauge__cap { font-size: 8px; letter-spacing: 0.1em; }
}
.intake__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akamai-blue-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.intake__title { font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.02em; }

.gauge { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.gauge svg { transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(242, 247, 251, 0.08); stroke-width: 7; }
.gauge__fill {
  fill: none;
  stroke: var(--akamai-blue);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 0.7s var(--ease-brand), stroke 0.4s ease;
  filter: drop-shadow(0 0 6px rgba(0, 156, 222, 0.7));
}
.gauge.is-complete .gauge__fill { stroke: #34d399; filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.7)); }
.gauge__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
}
.gauge__num { font-family: var(--mono); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.gauge__cap { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 247, 251, 0.45); }

.intake__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 28px;
}
@media (max-width: 760px) { .intake__form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--wide { grid-column: 1 / -1; }
.field label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.005em;
}
.field__n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--akamai-blue);
  border: 1px solid rgba(0, 156, 222, 0.4);
  border-radius: 6px;
  padding: 1px 6px;
  letter-spacing: 0.04em;
}
.field--optional .field__n { color: rgba(242, 247, 251, 0.5); border-color: var(--line); }
.field__unit {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.42);
  font-weight: 500;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: rgba(3, 8, 15, 0.6);
  border: 1px solid var(--line);
  color: var(--foreground);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field textarea { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14.5px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 247, 251, 0.28); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--akamai-blue);
  box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.16);
  background: rgba(0, 40, 86, 0.32);
}
.field input.is-filled { border-color: rgba(52, 211, 153, 0.45); }
.field__hint { font-size: 12.5px; color: rgba(242, 247, 251, 0.45); font-weight: 300; line-height: 1.5; }

.intake__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.intake__status {
  font-size: 13px;
  color: #6ee7b7;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.intake__status.is-on { opacity: 1; transform: translateY(0); }
.intake__status.is-warn { color: var(--akamai-orange); }
.intake__foot {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(242, 247, 251, 0.42);
  font-weight: 300;
}

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }
.why {
  padding: 22px 22px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0, 156, 222, 0.28);
  background: rgba(0, 156, 222, 0.035);
}
.why__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akamai-blue-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.why p { font-size: 14px; color: rgba(242, 247, 251, 0.7); font-weight: 300; line-height: 1.55; }

/* ------------------ Instruments ------------------ */
.instruments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 1080px) { .instruments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .instruments { grid-template-columns: 1fr; } }
.inst {
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s var(--ease-brand), border-color 0.3s ease;
}
.inst:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.inst--flag {
  background:
    linear-gradient(150deg, rgba(255, 153, 51, 0.12), rgba(3, 8, 15, 0.2)),
    var(--surface);
  border-color: rgba(255, 153, 51, 0.34);
}
.inst__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.inst__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.45);
}
.inst__state {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.inst__state--easy { color: #6ee7b7; background: rgba(52, 211, 153, 0.14); }
.inst__state--avail { color: var(--akamai-blue-soft); background: rgba(0, 156, 222, 0.14); }
.inst__state--big { color: #ffc182; background: rgba(255, 153, 51, 0.16); }
.inst__title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.inst__body { font-size: 14.5px; color: rgba(242, 247, 251, 0.68); font-weight: 300; line-height: 1.6; flex-grow: 1; }
.inst__meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(242, 247, 251, 0.07);
  overflow: hidden;
  margin-top: 4px;
}
.inst__meter span {
  display: block; height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--akamai-blue), var(--atom-violet-soft));
  transition: width 1.4s var(--ease-brand);
}
.inst--flag .inst__meter span { background: linear-gradient(90deg, var(--akamai-orange), #ffc182); }
.inst__meter-cap { font-size: 11.5px; color: rgba(242, 247, 251, 0.45); letter-spacing: 0.02em; }

/* ------------------ Callout ------------------ */
.callout {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 156, 222, 0.26);
  background: rgba(0, 156, 222, 0.045);
  max-width: 82ch;
}
.callout__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akamai-blue-soft);
  font-weight: 600;
  margin-bottom: 10px;
}
.callout p { color: rgba(242, 247, 251, 0.8); font-size: 15px; font-weight: 300; line-height: 1.6; }

/* ------------------ Phases ------------------ */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }
.phase {
  padding: 30px 26px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-brand);
}
.phase:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.phase--accent {
  background: linear-gradient(150deg, rgba(0, 156, 222, 0.13), rgba(3, 8, 15, 0.15)), var(--surface);
  border-color: rgba(0, 156, 222, 0.3);
}
.phase__head { display: flex; flex-direction: column; gap: 8px; }
.phase__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akamai-blue);
  font-weight: 500;
}
.phase__title { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; }
.phase__desc { font-size: 15px; color: rgba(242, 247, 251, 0.7); font-weight: 300; line-height: 1.6; flex-grow: 1; }
.phase__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 247, 251, 0.14);
  background: rgba(242, 247, 251, 0.04);
  color: rgba(242, 247, 251, 0.72);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ------------------ Stat band ------------------ */
.stat-band {
  padding: clamp(26px, 3.6vw, 48px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 20% 15%, rgba(0, 156, 222, 0.14), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 36px;
}
.stat-band__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.55);
  font-weight: 600;
  margin-bottom: 30px;
}
.stat-band__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .stat-band__row { grid-template-columns: 1fr; gap: 28px; } }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat__brand { font-size: 13px; font-weight: 500; color: rgba(242, 247, 251, 0.62); letter-spacing: 0.02em; }
.stat__brand--win { color: var(--akamai-blue-soft); font-weight: 600; }
.stat__bar { height: 8px; background: rgba(242, 247, 251, 0.06); border-radius: 999px; overflow: hidden; }
.stat__bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.6s var(--ease-brand); }
.stat__bar-fill--weak { background: linear-gradient(90deg, rgba(242, 247, 251, 0.22), rgba(242, 247, 251, 0.38)); }
.stat__bar-fill--strong {
  background: linear-gradient(90deg, #009cde, #5fc4ee);
  box-shadow: 0 0 20px rgba(0, 156, 222, 0.5);
}
.stat__value {
  font-size: clamp(1.9rem, 1rem + 3.2vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__value--win {
  background: linear-gradient(93deg, #a9dcf5, #009cde);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.stat__caption { font-size: 12px; color: rgba(242, 247, 251, 0.5); letter-spacing: 0.02em; }

.stat-band__secondary {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}
@media (max-width: 720px) { .stat-band__secondary { grid-template-columns: 1fr; } }
.mini { display: flex; flex-direction: column; gap: 10px; }
.mini__label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.45);
  font-weight: 600;
}
.mini__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: rgba(242, 247, 251, 0.75);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(242, 247, 251, 0.06);
}
.mini__row b { font-family: var(--mono); font-weight: 500; color: var(--akamai-blue-soft); font-size: 15px; }
.mini__b--dim { color: rgba(242, 247, 251, 0.55) !important; }

.stat-band__foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: rgba(242, 247, 251, 0.55);
  max-width: 82ch;
  font-weight: 300;
  line-height: 1.65;
}
.stat-band__foot a { color: var(--akamai-blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.stat-band__foot a:hover { color: #cceffc; }

/* ------------------ Healthcare panel ------------------ */
.health {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  padding: clamp(26px, 3.6vw, 44px);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(133, 135, 227, 0.12), rgba(3, 8, 15, 0.3));
  border: 1px solid rgba(133, 135, 227, 0.3);
}
@media (max-width: 820px) { .health { grid-template-columns: 1fr; gap: 24px; } }
.health__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--atom-violet-soft);
  font-weight: 600;
  margin-bottom: 12px;
}
.health__title { font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.health__body p { font-size: 15px; color: rgba(242, 247, 251, 0.75); font-weight: 300; line-height: 1.65; max-width: 62ch; }
.health__aside {
  border-left: 1px solid rgba(133, 135, 227, 0.3);
  padding-left: 28px;
  display: flex; flex-direction: column; gap: 6px;
  justify-content: center;
}
@media (max-width: 820px) {
  .health__aside { border-left: none; border-top: 1px solid rgba(133, 135, 227, 0.3); padding-left: 0; padding-top: 22px; }
}
.health__aside-k {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.42);
  font-weight: 600;
  margin-top: 10px;
}
.health__aside-k:first-child { margin-top: 0; }
.health__aside p { font-size: 15.5px; font-weight: 500; color: var(--foreground); }

/* ------------------ Commitments ------------------ */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 980px) { .commit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .commit-grid { grid-template-columns: 1fr; } }
.commit {
  position: relative;
  text-align: left;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease-brand);
}
.commit:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.commit.is-on {
  border-color: rgba(0, 156, 222, 0.6);
  background: rgba(0, 156, 222, 0.09);
  box-shadow: 0 0 30px rgba(0, 156, 222, 0.18);
}
.commit__check {
  position: absolute;
  top: 20px; right: 20px;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(242, 247, 251, 0.25);
  transition: all 0.25s ease;
}
.commit.is-on .commit__check {
  border-color: var(--akamai-blue);
  background: var(--akamai-blue);
  box-shadow: 0 0 12px rgba(0, 156, 222, 0.7);
}
.commit.is-on .commit__check::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.commit__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; padding-right: 32px; }
.commit__desc { font-size: 13.5px; color: rgba(242, 247, 251, 0.62); font-weight: 300; line-height: 1.55; }

.commit-readout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: rgba(0, 40, 86, 0.34);
  border: 1px solid rgba(0, 156, 222, 0.24);
  margin-bottom: 28px;
}
@media (max-width: 820px) { .commit-readout { grid-template-columns: 1fr; gap: 20px; } }
.commit-readout__label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.45);
  font-weight: 600;
  margin-bottom: 10px;
}
.commit-readout__list { font-size: 15px; color: var(--foreground); font-weight: 400; line-height: 1.6; }
.commit-readout__effect {
  font-size: 15px;
  color: var(--akamai-blue-soft);
  font-weight: 500;
  line-height: 1.55;
}
.commit-readout__right { border-left: 1px solid rgba(0, 156, 222, 0.22); padding-left: 28px; }
@media (max-width: 820px) {
  .commit-readout__right { border-left: none; border-top: 1px solid rgba(0, 156, 222, 0.22); padding-left: 0; padding-top: 20px; }
}

/* ------------------ Session ------------------ */
.section--session { padding: clamp(100px, 13vw, 190px) 0 clamp(70px, 9vw, 130px); position: relative; }
.dark-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0, 40, 86, 0.75), transparent 70%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.4), transparent 60%);
  pointer-events: none;
}
.session__head { position: relative; text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 76px); }
.session__title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.session__title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(93deg, #a9dcf5, #009cde);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.session__lede {
  margin: 22px auto 0;
  font-size: var(--text-base);
  color: rgba(242, 247, 251, 0.7);
  max-width: 62ch;
  font-weight: 300;
}

.agenda {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 44px;
  padding-top: 26px;
}
@media (max-width: 1080px) { .agenda { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .agenda { grid-template-columns: 1fr; } }
.agenda__rail {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 156, 222, 0.15), var(--akamai-blue), rgba(133, 135, 227, 0.4));
  border-radius: 999px;
}
.agenda__item {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(4, 12, 22, 0.6);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-brand);
}
.agenda__item::before {
  content: '';
  position: absolute;
  top: -30px; left: 22px;
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--akamai-blue);
  box-shadow: 0 0 12px rgba(0, 156, 222, 0.9);
}
@media (max-width: 1080px) { .agenda__item::before { display: none; } }
.agenda__item:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.agenda__item--final { border-color: rgba(0, 156, 222, 0.4); background: rgba(0, 40, 86, 0.5); }
.agenda__time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--akamai-blue-soft);
  font-weight: 500;
}
.agenda__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; }
.agenda__item p { font-size: 13.5px; color: rgba(242, 247, 251, 0.62); font-weight: 300; line-height: 1.55; }

.booking {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 36px;
  padding: clamp(26px, 3.6vw, 44px);
  border-radius: var(--radius-xl);
  background: rgba(4, 12, 22, 0.75);
  border: 1px solid rgba(0, 156, 222, 0.26);
  box-shadow: 0 0 80px rgba(0, 40, 86, 0.45);
  backdrop-filter: blur(6px);
}
@media (max-width: 1080px) { .booking { grid-template-columns: 1fr 1fr; } .booking__col--slots { grid-column: 1 / -1; } }
@media (max-width: 640px) { .booking { grid-template-columns: 1fr; gap: 28px; } }
.booking__col { display: flex; flex-direction: column; gap: 12px; }
.booking__col--slots { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 1080px) {
  .booking__col--slots { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
}
.booking__label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.45);
  font-weight: 600;
}
.booking__label--sp { margin-top: 14px; }
.people { display: flex; flex-direction: column; gap: 10px; }
.people li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14.5px;
  color: rgba(242, 247, 251, 0.82);
  font-weight: 400;
  line-height: 1.45;
}
.people__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--akamai-blue);
  box-shadow: 0 0 10px var(--akamai-blue);
  margin-top: 8px; flex-shrink: 0;
}
.people__dot--atom { background: var(--atom-violet); box-shadow: 0 0 10px var(--atom-violet); }

.slots { display: flex; flex-direction: column; gap: 9px; }
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(3, 8, 15, 0.55);
  text-align: left;
  transition: all 0.25s ease;
}
.slot:hover { border-color: var(--line-strong); background: rgba(0, 156, 222, 0.07); }
.slot.is-on {
  border-color: var(--akamai-blue);
  background: rgba(0, 156, 222, 0.13);
  box-shadow: 0 0 22px rgba(0, 156, 222, 0.22);
}
.slot__day { font-size: 14.5px; font-weight: 500; }
.slot__time { font-family: var(--mono); font-size: 13px; color: rgba(242, 247, 251, 0.65); }
.slot.is-on .slot__time { color: var(--akamai-blue-soft); }
.slots__note { font-size: 12px; color: rgba(242, 247, 251, 0.42); font-weight: 300; margin-top: 2px; }
.booking__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Calendar date + time picker — matches the old slot-card look */
.picker { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.picker__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 8, 15, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.picker__field:hover { border-color: var(--line-strong); background: rgba(0, 156, 222, 0.07); }
.picker__field:focus-within {
  border-color: var(--akamai-blue-soft);
  background: rgba(0, 156, 222, 0.09);
  box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.18);
}
.picker__label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.005em;
  flex: 0 0 auto;
}
.picker__input {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--akamai-blue-soft);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13px;
  text-align: right;
  color-scheme: dark;
  flex: 1 1 auto;
  min-width: 0;
}
.picker__input:focus { outline: none; }
.picker__input::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.4);
  cursor: pointer;
  opacity: 0.7;
  margin-left: 6px;
}
.picker__preview {
  margin: 6px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 156, 222, 0.08);
  border: 1px solid rgba(0, 156, 222, 0.22);
  color: var(--akamai-blue-soft);
  font-size: 13px;
  font-weight: 500;
}

.session__foot {
  position: relative;
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: rgba(242, 247, 251, 0.5);
  font-weight: 300;
}

/* ------------------ Footer ------------------ */
.footer {
  position: relative;
  padding: 96px 0 40px;
  overflow: hidden;
  border-top: 1px solid rgba(242, 247, 251, 0.06);
}
.footer__glow {
  position: absolute;
  bottom: -60%; left: 50%;
  width: 150%; height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, var(--akamai-navy), transparent 55%);
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
}
.footer__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px 40px; }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 400px; }
.footer__logo { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.footer__logo-dim { color: rgba(242, 247, 251, 0.55); font-weight: 400; }
.footer__tag { font-size: 14px; color: rgba(242, 247, 251, 0.55); font-weight: 300; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col a { color: rgba(242, 247, 251, 0.82); font-size: 14px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--akamai-blue-soft); }
.footer__label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.45);
  font-weight: 600;
  margin-bottom: 8px;
}
.footer__name { font-size: 15px; font-weight: 600; color: var(--foreground); }
.footer__name--sp { margin-top: 12px; }
.footer__role { font-size: 13px; color: rgba(242, 247, 251, 0.6); font-weight: 300; line-height: 1.55; }
.footer__clock {
  margin-top: 12px;
  font-size: 12px;
  color: var(--akamai-blue-soft);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.footer__foot {
  grid-column: 1 / -1;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 247, 251, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(242, 247, 251, 0.45);
  letter-spacing: 0.02em;
}

/* ------------------ Reveal ------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-brand), transform 0.85s var(--ease-brand);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
