/* ==========================================================================
   Unleash Productivity Lab, design system v2
   Blue engine = we build. Orange engine = you master.
   Mobile-first. Breakpoints: 480, 768, 1024, 1280.
   ========================================================================== */

:root {
  /* Blue engine: systems, building, trust */
  --blue-100: #E8F4FD;
  --blue-300: #29ABE2;
  --blue-500: #1B75BC;
  --blue-700: #2E3192;
  /* Orange engine: training, transformation, action */
  --orange-100: #FEF3E6;
  --orange-300: #FBB040;
  --orange-500: #F7931E;
  --orange-600: #F15A29;
  --orange-700: #EF4136;
  /* Neutrals */
  --ink: #12142B;
  --ink-soft: #3A3D5C;
  --canvas: #F7F8FA;
  --white: #FFFFFF;
  /* Gradients */
  --grad-blue: linear-gradient(135deg, #29ABE2 0%, #2E3192 100%);
  --grad-orange: linear-gradient(135deg, #FBB040 0%, #EF4136 100%);
  --grad-brand: linear-gradient(135deg, #29ABE2 0%, #2E3192 45%, #F7931E 75%, #EF4136 100%);
  /* Light-hued variants for gradient text on dark backgrounds (WCAG AA) */
  --grad-brand-light: linear-gradient(135deg, #29ABE2 0%, #6FC7EE 40%, #FBB040 75%, #F7931E 100%);
  --grad-blue-light: linear-gradient(135deg, #29ABE2 0%, #8FA1F5 100%);
  /* Deep orange for small orange text on light backgrounds (WCAG AA) */
  --orange-deep: #C13A10;

  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-card: 22px;
  --shadow-soft: 0 6px 30px rgba(18, 20, 43, 0.08);
  --shadow-lift: 0 22px 48px rgba(18, 20, 43, 0.16);
  --nav-h: 72px;
  --card-bg: var(--white);
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange-300); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
}

h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-500); }

:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.grad-text {
  background: var(--grad-brand-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 250;
  background: var(--grad-brand);
  pointer-events: none;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow { max-width: 860px; }

.section {
  padding-block: 76px;
  position: relative;
}

.section--tint { background: var(--white); --card-bg: var(--canvas); }

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--dark h2, .section--dark h3 { color: var(--white); }

/* faint glassy sheen on dark sections, echoing the logo's 3D highlight */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* Section label: small pill chip with a gradient dot */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--white);
  border: 1px solid rgba(18, 20, 43, 0.08);
  box-shadow: 0 3px 14px rgba(18, 20, 43, 0.06);
  border-radius: 999px;
  padding: 7px 16px;
  margin: 0 0 1.4em;
}

.section-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-orange);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--grad-brand-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.2em;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn--primary {
  color: var(--ink);
  background-image: linear-gradient(135deg, #FBB040 0%, #F7931E 40%, #EF4136 100%);
  background-size: 170% 170%;
  background-position: 0% 0%;
  box-shadow: 0 10px 26px rgba(241, 90, 41, 0.35);
}

/* sheen sweep */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn--primary:hover, .btn--primary:focus-visible {
  background-position: 95% 95%;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 36px rgba(241, 90, 41, 0.45);
}

.btn--primary:hover::after, .btn--primary:focus-visible::after { left: 130%; }

.btn--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(3px);
}

.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.section:not(.section--dark) .btn--ghost {
  color: var(--ink);
  border-color: rgba(18, 20, 43, 0.25);
  background: transparent;
}

.btn--lg { padding: 17px 36px; font-size: 1.06rem; }

.btn--nav { padding: 10px 22px; font-size: 0.92rem; }

.btn__icon { flex: 0 0 auto; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-row--center { justify-content: center; }

.text-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-500);
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: transform 0.2s ease;
}
.text-link:hover { text-decoration: underline; transform: translateX(3px); }
.text-link--light { color: var(--blue-300); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 20, 43, 0.07);
  transition: box-shadow 0.3s ease;
}

.nav.is-scrolled { box-shadow: 0 8px 30px rgba(18, 20, 43, 0.1); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--nav-h);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(18, 20, 43, 0.12);
}

.nav__wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.wm-blue {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wm-orange {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links { display: none; }

.nav__links a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 2px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--grad-orange);
  transition: width 0.25s ease;
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background:
    radial-gradient(60% 40% at 90% 10%, rgba(41, 171, 226, 0.08), transparent 65%),
    radial-gradient(50% 40% at 10% 95%, rgba(247, 147, 30, 0.09), transparent 65%),
    var(--canvas);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(18, 20, 43, 0.07);
}

.mobile-menu a.btn {
  color: var(--ink);
  border-bottom: 0;
  margin-top: 22px;
  font-size: 1.05rem;
  justify-content: center;
}

body.menu-open { overflow: hidden; }

@media (min-width: 768px) {
  .nav__links { display: flex; gap: 26px; }
  .nav__burger, .mobile-menu { display: none; }
}

/* ---------- Arcs motif (decorative) ---------- */

.arcs-motif {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.arcs-motif svg {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: min(680px, 92vw);
  height: auto;
  opacity: 0.2;
  filter: drop-shadow(0 0 60px rgba(41, 171, 226, 0.25));
}

.arcs-motif--soft svg { opacity: 0.1; left: -14%; right: auto; }

@media (prefers-reduced-motion: no-preference) {
  .arcs-motif svg { animation: arc-float 16s ease-in-out infinite; }
  @keyframes arc-float {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 22px)); }
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 100px 84px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(58% 55% at 8% -5%, rgba(41, 171, 226, 0.22), transparent 62%),
    radial-gradient(48% 48% at 95% 100%, rgba(241, 90, 41, 0.2), transparent 62%),
    radial-gradient(30% 30% at 70% 20%, rgba(46, 49, 146, 0.35), transparent 70%),
    var(--ink);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__sub {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 660px;
}

.trust-strip {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.trust-strip li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-orange);
}

.trust-strip li:nth-child(odd)::before { background: var(--grad-blue); }

@media (min-width: 1024px) {
  .hero { padding-block: 136px 104px; }
}

/* ---------- Outcomes ticker ---------- */

.ticker {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 15px 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
}

.ticker__track span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.ticker__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-orange);
}

.ticker__track .ticker__dot:nth-of-type(odd) { background: var(--grad-blue); }

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker-scroll 38s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  @keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
}

/* ---------- Cards (shared) ---------- */

.card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18, 20, 43, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
    background:
      linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
      var(--grad-brand) border-box;
  }
}

/* ---------- Two Traps ---------- */

.traps-grid {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .traps-grid { grid-template-columns: 1fr 1fr; }
}

.trap-card__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.9em;
}

.trap-card__tag--orange { color: var(--orange-deep); }

.third-way {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 30px 28px 30px 34px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(41, 171, 226, 0.06), transparent 60%),
    var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  font-size: 1.14rem;
}

.third-way::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--grad-brand);
}

.third-way strong { font-family: var(--font-head); }

/* ---------- Why UPL ---------- */

.why-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 42px;
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 26px;
  align-items: start;
  max-width: 880px;
}

.why-item__num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-item:nth-child(even) .why-item__num { background-image: var(--grad-orange); }

.why-item p { color: var(--ink-soft); }

/* ---------- Two Engines ---------- */

.engines {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(50% 60% at 15% 20%, rgba(41, 171, 226, 0.16), transparent 60%),
    radial-gradient(50% 60% at 85% 85%, rgba(241, 90, 41, 0.15), transparent 60%),
    var(--ink);
}

.engines__visual { margin: 24px auto 8px; }

.engines__arcs {
  width: min(430px, 82vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
}

.engines__grid {
  display: grid;
  gap: 22px;
  margin-top: 36px;
  text-align: left;
}

@media (min-width: 768px) {
  .engines__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

.engine {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, background 0.3s ease;
}

@media (hover: hover) {
  .engine:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.075); }
}

.engine--blue { border-top: 4px solid var(--blue-300); }
.engine--orange { border-top: 4px solid var(--orange-500); }

.engine p { color: rgba(255, 255, 255, 0.82); }

.engine__label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}

.engine__label--blue { color: var(--blue-300); }
.engine__label--orange { color: var(--orange-300); }

.engines__center {
  margin: 44px auto 0;
  max-width: 680px;
  padding: 26px 30px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
}

.engines__center span {
  background: var(--grad-brand-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Offer cards ---------- */

.offers-grid {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

@media (min-width: 768px) {
  .offers-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
}

.offer-card { display: flex; flex-direction: column; }

.offer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.2em;
}

.offer-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(27, 117, 188, 0.3);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .offer-card:hover .offer-card__icon { transform: scale(1.08) rotate(-4deg); }
}

.offer-card__tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0;
}

.offer-card > p:not([class]) {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.micro {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 0.5em;
  color: var(--ink-soft);
}

.micro span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.micro--build { margin-top: 1.1em; }
.micro--build span { color: var(--blue-500); }
.micro--master span { color: var(--orange-deep); }

.offer-card__outcome {
  margin-top: auto;
  padding-top: 1em;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.98rem;
}

.offers-cta {
  margin-top: 48px;
  text-align: center;
}

.offers-cta p {
  font-size: 1.12rem;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 24px;
}

/* ---------- Results ---------- */

.results-grid {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

@media (min-width: 768px) {
  .results-grid { grid-template-columns: repeat(3, 1fr); }
}

.result-card p:not([class]) {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.result-card__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 1.5em 0 0.45em;
}

.result-card__step::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.result-card__step:first-child { margin-top: 0; }

.result-card__step--problem { color: var(--ink-soft); }
.result-card__step--build { color: var(--blue-500); }
.result-card__step--outcome { color: var(--orange-deep); }

.result-card__final {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.98rem;
}

.results-note {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Time-drain calculator ---------- */

.calc {
  background:
    radial-gradient(55% 70% at 0% 0%, rgba(41, 171, 226, 0.07), transparent 60%),
    radial-gradient(55% 70% at 100% 100%, rgba(247, 147, 30, 0.08), transparent 60%),
    var(--canvas);
}

.calc__sub {
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 1.08rem;
}

.calc__card {
  margin-top: 36px;
  display: grid;
  gap: 34px;
  padding: 34px 28px;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--grad-brand) border-box;
  box-shadow: var(--shadow-lift);
}

@media (min-width: 768px) {
  .calc__card { grid-template-columns: 1.15fr 1fr; gap: 44px; padding: 42px 40px; }
}

.calc__field { margin-bottom: 26px; }
.calc__field:last-child { margin-bottom: 0; }

.calc__field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.calc__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--orange-deep);
  white-space: nowrap;
}

.calc input[type="range"] {
  width: 100%;
  accent-color: var(--orange-600);
  cursor: pointer;
  height: 28px;
}

.calc__hint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.calc__result {
  border-top: 1px solid rgba(18, 20, 43, 0.08);
  padding-top: 28px;
}

@media (min-width: 768px) {
  .calc__result {
    border-top: 0;
    border-left: 1px solid rgba(18, 20, 43, 0.08);
    padding-top: 0;
    padding-left: 44px;
  }
}

.calc__big {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.1em;
}

.calc__big-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.1em;
}

.calc__days {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}

.calc__days strong {
  font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.3em;
}

.calc__note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  min-height: 3em;
}

.calc__result .btn { margin-top: 6px; }

.calc__bring {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .calc__big.pop { animation: num-pop 0.35s ease; }
  @keyframes num-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.06); }
    100% { transform: scale(1); }
  }
}

/* ---------- Founder ---------- */

.founder-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .founder-grid { grid-template-columns: 2fr 3fr; gap: 60px; }
}

.founder-visual {
  justify-self: center;
  text-align: center;
}

.founder-ring {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  isolation: isolate;
}

/* rotating brand ring, the two engines circling the founder */
.founder-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #29ABE2, #1B75BC 22%, #2E3192 38%, #F7931E 62%, #EF4136 82%, #29ABE2);
  filter: drop-shadow(0 18px 40px rgba(18, 20, 43, 0.22));
  z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
  .founder-ring::before { animation: ring-spin 16s linear infinite; }
  @keyframes ring-spin {
    to { transform: rotate(360deg); }
  }
}

.founder-ring img,
.founder-ring .founder-photo__monogram {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.founder-photo__monogram {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--white);
  background: var(--grad-blue);
}

.founder-ring--fallback .founder-photo__monogram { display: flex; }

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -26px;
  position: relative;
  z-index: 1;
}

.founder-badge {
  margin: 0;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18, 20, 43, 0.06);
}

.founder-badge strong { font-family: var(--font-head); color: var(--ink); }

.founder-tagline {
  margin: 18px auto 0;
  max-width: 300px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.founder-story p { color: var(--ink-soft); }

.founder-points {
  list-style: none;
  margin: 30px 0 6px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.founder-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.founder-points__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--white);
  margin-top: 2px;
}

.founder-points__icon--blue {
  background: var(--grad-blue);
  box-shadow: 0 6px 16px rgba(27, 117, 188, 0.3);
}

.founder-points__icon--orange {
  background: var(--grad-orange);
  box-shadow: 0 6px 16px rgba(241, 90, 41, 0.3);
}

.founder-points strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ink);
}

.founder-points p {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.founder-sign {
  margin-top: 1.6em;
  color: var(--ink);
}

.founder-sign strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: 36px;
  border-top: 1px solid rgba(18, 20, 43, 0.1);
}

.faq__item { border-bottom: 1px solid rgba(18, 20, 43, 0.1); }

.faq__item h3 { margin: 0; font-size: 1rem; }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 4px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.faq__q:hover { color: var(--blue-500); }

.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--orange-600);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq__icon::before {
  left: 0; right: 0; top: 9px; height: 2.5px;
}

.faq__icon::after {
  top: 0; bottom: 0; left: 9px; width: 2.5px;
}

.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq__a p {
  padding: 0 4px 22px;
  color: var(--ink-soft);
  max-width: 700px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 12% 10%, rgba(41, 171, 226, 0.18), transparent 60%),
    radial-gradient(55% 60% at 88% 90%, rgba(241, 90, 41, 0.18), transparent 60%),
    var(--ink);
}

.final-cta__content { position: relative; z-index: 1; }

.final-cta__body {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
  margin-inline: auto;
}

.final-cta__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 540px;
  margin: 1.4em auto 0;
}

.final-cta__soft { margin-top: 32px; }

/* ---------- Contact form (dark section) ---------- */

.contact-form {
  margin: 36px auto 0;
  max-width: 640px;
  text-align: left;
  padding: 30px 26px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .contact-form { padding: 38px 36px; }
}

.cform__row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .cform__row { grid-template-columns: 1fr 1fr; }
  .cform__field--wide { grid-column: 1 / -1; }
}

.cform__field { margin-bottom: 16px; }
.cform__row .cform__field { margin-bottom: 0; }

.cform__field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 7px;
}

.cform__field input,
.cform__field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cform__field textarea { resize: vertical; min-height: 110px; }

.cform__field input::placeholder,
.cform__field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.cform__field input:focus-visible,
.cform__field textarea:focus-visible {
  outline-color: var(--orange-300);
  border-color: rgba(251, 176, 64, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.cform__error {
  color: var(--orange-300);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.cform__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 6px;
}

.cform__actions .btn { width: 100%; }

@media (min-width: 640px) {
  .cform__actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .cform__actions .btn { width: auto; }
}

.cform__alt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.cform__alt:hover { color: var(--blue-300); }

.cform__success {
  margin-top: 16px;
  color: var(--orange-300);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 60px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .nav__wordmark { color: var(--white); }

/* Darker gradient ends vanish on the ink background; use light variants */
.footer .wm-blue { background-image: var(--grad-blue-light); }

/* the logo sits on its off-white ground; frame it as a deliberate tile */
.footer .nav__logo {
  background: var(--white);
  padding: 3px;
}

.footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 2fr; }
}

.footer__brand p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer__col { display: flex; flex-direction: column; gap: 10px; }

.footer h3 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__col a:hover { color: var(--orange-300); }

.footer__newsletter p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.newsletter-form input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.newsletter-form input:focus-visible { outline-color: var(--orange-300); }

.newsletter-confirm {
  margin-top: 12px;
  color: var(--orange-300);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer__bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0s);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Larger screens ---------- */

@media (min-width: 768px) {
  .section { padding-block: 100px; }
}

@media (min-width: 1280px) {
  .section { padding-block: 118px; }
  .container { padding-inline: 24px; }
}
