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

/* Routes.razor's <FocusOnNavigate Selector="h1" /> focuses the h1 programmatically on every
   page load for screen readers, which triggers the browser's default focus outline visually
   too. An h1 is never in the normal tab order, so it's safe to always suppress this without
   harming keyboard accessibility for actually-interactive elements. */
h1:focus {
  outline: none;
}

html { scroll-behavior: smooth; }

#blazor-error-ui {
  background: var(--warn);
  color: var(--text);
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #FCFBFA;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-image {
  height: 57px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-link-caret {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link-caret svg { width: 10px; height: 10px; transition: transform 0.15s; }

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 14px;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(36, 31, 28, 0.12);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-link-caret svg,
.nav-dropdown:focus-within .nav-link-caret svg { transform: rotate(180deg); }

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-dropdown-menu li a:hover { background: var(--bg-alt); }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-ctas .btn-primary,
.nav-ctas .btn-ghost { height: 40px; padding: 0 20px; font-size: 14px; }

/* ─── BUTTONS ─────────────────────────────────────────── */
/* Exactly one solid .btn-primary should be prominent at a time on screen (style guide,
   Section 6/11) — the nav CTA deliberately uses .btn-ghost so it doesn't compete with the
   hero's primary action. */
.btn-primary,
.btn-ghost,
.btn-outline,
.btn-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary,
.btn-ghost,
.btn-outline {
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(51, 51, 51, 0.28);
}

.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-on-accent);
  transform: translateY(-1px);
}

.btn-text {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  transition: gap 0.2s;
}

.btn-text:hover { gap: 10px; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-muted) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-2-muted) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-media-wrap {
  max-width: 840px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(36, 31, 28, 0.14);
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
}

.hero-media-wrap img,
.hero-media-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--eyebrow-on-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: #837D77;
}

.hero .eyebrow { color: var(--cycle-blue); }

.hero-sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 auto 40px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── HERO V2 — two-column exploratory layout ──────────── */
.hv2-value { padding-top: 40px; }

.hero-v2 {
  padding: 140px 0 60px;
  /* Grey palette scoped to this layout only, pulled from the Workleap reference — the blue
     half of the old "hv2-blue" palette was dropped 9 Sept 2026 now that Indigo #2545FF is
     --accent itself (Brand & Style Guidelines §3/§11); use var(--accent) directly instead. */
  --hv2-grey-100:    #F1F1F4;
  --hv2-grey-300:    #D9D9E1;
  --hv2-grey-600:    #6B7280;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-v2 .hero-v2-copy.hero-v2-copy,
.hero-v2-copy {
  text-align: left;
  max-width: none;
  margin: 0;
}

.hero-v2::before { background: radial-gradient(circle, var(--accent-muted) 0%, transparent 70%); }
.hero-v2::after { background: radial-gradient(circle, var(--hv2-grey-100) 0%, transparent 70%); }

.hero-v2 h1 em {
  font-family: 'Lora', var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text);
  opacity: 0.75;
}

.hero-v2 .eyebrow { color: var(--hv2-grey-600); }

.hero-v2-copy { padding-top: 40px; }

.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-v2-trust { margin-top: 44px; }

.hero-v2-trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hv2-grey-600);
  margin-bottom: 16px;
}

.cloud-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  list-style: none;
}

.cloud-logo-row li {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--hv2-grey-600);
  opacity: 0.7;
  display: flex;
  align-items: center;
}

.cloud-logo-row li img {
  height: 22px;
  width: auto;
  display: block;
}

.hero-v2-copy .hero-sub { margin: 0 0 32px; max-width: 480px; }

.hero-v2-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  justify-self: center;
}

.hero-v2-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-v2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-v2-slide-fade 16s ease-in-out infinite;
}

@keyframes hero-v2-slide-fade {
  0%    { opacity: 0; }
  3%    { opacity: 1; }
  22%   { opacity: 1; }
  25%   { opacity: 0; }
  100%  { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2-slide {
    animation: none;
    opacity: 0;
  }
  .hero-v2-slide:first-child { opacity: 1; }
}

.floating-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(36, 31, 28, 0.16);
  padding: 20px;
  z-index: 1;
}

.floating-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
}

.fc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.fc-badge {
  margin-left: auto;
  background: var(--hv2-grey-100);
  color: var(--hv2-grey-600);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
}

.fc-row { padding: 12px 0; border-top: 1px solid var(--border); }
.fc-row:first-of-type { border-top: none; padding-top: 0; }

.fc-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.fc-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.fc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.fc-tag.new { background: var(--accent-muted); color: var(--accent-hover); }
.fc-tag.overdue { background: var(--hv2-grey-100); color: var(--hv2-grey-600); }

.fc-row-fade {
  position: relative;
  max-height: 52px;
  overflow: hidden;
}

.fc-row-fade::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, var(--surface));
}

.floating-pill {
  position: absolute;
  bottom: 18%;
  right: 4%;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 69, 255, 0.35);
  z-index: 2;
  transition: transform 0.15s;
}

.floating-pill:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  .hero-v2-grid { grid-template-columns: 1fr; }
  .hero-v2-copy { text-align: center; margin: 0 auto; }
  .hero-v2-copy .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-v2-actions { justify-content: center; }
  .hero-v2-visual { margin-top: 40px; }
}

/* ─── SECTION HEADERS ─────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow-on-light);
  margin-bottom: 16px;
}

.section-header { text-align: center; margin-bottom: 56px; }

.section-h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 16px;
}

/* The one shared "italicised phrase inside a headline" treatment — every H2 on the site
   should get this via plain <em>, never a per-section duplicate of these five lines. */
.section-h2 em {
  font-family: 'Lora', var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text);
  opacity: 0.75;
}

.section-copy-narrow-center {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
}

/* ─── CARD GRID (e.g. "who it's for") ────────────────── */
.card-grid-section { background: var(--bg); padding: 88px 0; }
.card-grid-section.alt { background: var(--bg-alt); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  background: #F5F5F3;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% -12%, rgba(37, 69, 255, 0.16) 0%, transparent 55%);
  pointer-events: none;
}

.info-card:nth-child(3n+2)::before {
  background: radial-gradient(circle at 88% -12%, rgba(107, 114, 128, 0.16) 0%, transparent 55%);
}

.info-card:nth-child(3n+3)::before {
  background: radial-gradient(circle at 88% -12%, rgba(37, 69, 255, 0.10) 0%, transparent 60%);
}

.info-card-head,
.info-card p {
  position: relative;
  z-index: 1;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(36, 31, 28, 0.08);
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.info-card-head svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0;
}

.info-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ─── "Why Terlo" header — eyebrow/heading left, CTA right, Workleap-style ── */
.hv2-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  margin-bottom: 24px;
}

.hv2-section-header .section-h2 { margin-bottom: 0; }

.hv2-value-intro { text-align: left; margin: 0 0 40px; max-width: 640px; }

.hv2-value .eyebrow { color: #6B7280; }
.hv2-value .btn-primary { flex-shrink: 0; }

/* Flat, icon-led variant — no card boxes, icon circled and inline with the title */
.hv2-value .card-grid {
  row-gap: 48px;
}

.hv2-value .info-card {
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
  transition: none;
}

.hv2-value .info-card::before { display: none; }
.hv2-value .info-card:hover { transform: none; box-shadow: none; }

.hv2-value .info-card-head {
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.hv2-value .icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hv2-value .info-card-head svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hv2-value .info-card h3 { font-size: 19px; }

@media (max-width: 700px) {
  .hv2-section-header { flex-direction: column; align-items: flex-start; }
}

/* ─── FEATURE STRIP (3-up) ────────────────────────────── */
.feature-strip { background: var(--bg-alt); padding: 88px 0; }

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.feature-tile-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.feature-tile h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-tile p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CLOSING CTA ─────────────────────────────────────── */
/* The one section that earns the dark ground — don't use it twice on the same page. */
.cta-section {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section .eyebrow { color: var(--eyebrow-on-dark); }

.cta-h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Use when a page already has a dark section elsewhere (style guide: don't use the dark
   ground twice on one page) — a coral-accented panel on warm off-white instead. */
.cta-section.on-light {
  background: var(--bg-alt);
}

.cta-section.on-light .cta-inner {
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}

.cta-section.on-light .eyebrow { color: var(--eyebrow-on-light); }
.cta-section.on-light .cta-h2 { color: var(--text); }
.cta-section.on-light .cta-sub { color: var(--text-muted); }
.cta-section.on-light .cta-email { color: var(--accent); }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-email {
  font-size: 15px;
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
}

.cta-email:hover { text-decoration: underline; }

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── PAGE HERO (interior pages) ──────────────────────── */
.page-hero {
  background: var(--bg);
  padding: 148px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-muted) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── VALUE PROP GRID (3-up variant) ──────────────────── */
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ─── VALUE CYCLE ──────────────────────────────────────── */
.cycle-section-v2 { padding-top: 40px; }

.cycle-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

.cycle-content { text-align: left; }
.cycle-content .section-h2 { margin-bottom: 16px; }
.cycle-intro { margin: 0; max-width: none; }

.cycle-stage-card .floating-card-head { margin-bottom: 0; }
.cycle-stage-desc { font-size: 14px; margin-top: 14px; line-height: 1.5; }

.cycle-badge { color: #fff; }
.cycle-badge.s1 { background: var(--cycle-blue); }
.cycle-badge.s2 { background: var(--cycle-purple); }
.cycle-badge.s3 { background: var(--cycle-amber); }
.cycle-badge.s4 { background: var(--cycle-coral); }
.cycle-badge.s5 { background: var(--cycle-lime); }

@media (max-width: 900px) {
  .cycle-v2-grid { grid-template-columns: 1fr; }
  .cycle-content { text-align: center; order: -1; margin-bottom: 40px; }
  .hero-v2-visual { margin-top: 0; }
}

/* ─── PRICING ──────────────────────────────────────────── */
.pricing-section { background: var(--bg-alt); padding: 88px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.pricing-tbd-badge {
  display: inline-block;
  background: var(--accent-2-muted);
  color: #8A5A06;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-tier-fit {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-tier-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
}

.pricing-tier-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── OPEN-ITEM CALLOUT ────────────────────────────────── */
.callout {
  border: 1.5px solid var(--accent-2);
  background: var(--accent-2-muted);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
}

.callout-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A5A06;
  margin-bottom: 10px;
}

.callout p { font-size: 14.5px; color: var(--text); line-height: 1.6; margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin: 8px 0 10px 20px; }
.callout li { font-size: 14.5px; color: var(--text); line-height: 1.6; }

/* ─── FAQ ACCORDION (Home) ─────────────────────────────── */
.faq-section { padding: 96px 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.faq-intro { position: sticky; top: 120px; }
.faq-intro .eyebrow { color: #6B7280; }

.faq-accordion { display: flex; flex-direction: column; }

.faq-category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 4px;
}

.faq-category:not(:first-child) { margin-top: 36px; }

.faq-acc-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.faq-acc-item summary::-webkit-details-marker { display: none; }
.faq-acc-item summary::marker { content: ""; }

.faq-acc-chevron {
  flex-shrink: 0;
  width: 12px;
  height: 8px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-acc-item[open] .faq-acc-chevron { transform: rotate(180deg); }
.faq-acc-item[open] summary { color: var(--text); }

.faq-acc-body { padding-top: 14px; max-width: 640px; }
.faq-acc-body p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
}

/* ─── ENGAGEMENT MODES ─────────────────────────────────── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.engage-card {
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: 32px 28px 0;
  height: 460px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.engage-card:hover {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(37, 69, 255, 0.14);
}

.engage-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.engage-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.engage-visual { margin: 24px -28px 0; margin-top: auto; }

.engage-mock {
  position: static;
  transform: none;
  width: 100%;
  max-width: 280px;
  margin: 0 0 0 24px;
  box-shadow: 0 16px 40px rgba(36, 31, 28, 0.10);
}

.engage-duration {
  display: inline-block;
  flex: none;
  background: var(--accent-muted);
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.engage-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0;
  transition: color 0.2s ease;
}

.engage-title-icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.engage-arrow {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.engage-card:hover h3,
.engage-card:hover .engage-title-icon,
.engage-card:hover .engage-arrow {
  color: var(--accent);
}

.engage-card:hover .engage-arrow {
  transform: translateX(3px);
}

.engage-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .engage-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── CONTACT FORM (How We Engage) ─────────────────────── */
.contact-form-section { background: var(--bg-alt); padding: 88px 0; }

.contact-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

@media (max-width: 900px) {
  .contact-v2-grid { grid-template-columns: 1fr; }
  .contact-v2-grid .quiz-content { text-align: center; margin-bottom: 40px; }
}

.contact-form {
  max-width: 720px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group .hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.required-star { color: var(--danger); }

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
}

.form-control:focus { outline: none; border-color: var(--accent); }

textarea.form-control { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-radio-group,
.form-checkbox-group { display: flex; flex-direction: column; gap: 10px; }

.form-radio-group label,
.form-checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text);
}

.form-note { font-size: 13px; color: var(--text-muted); margin-top: 18px; text-align: center; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ─── FIT QUIZ (Find Your Fit) ──────────────────────────── */
.quiz-section { padding: 88px 0; }

.quiz-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: start;
  gap: 56px;
}

.quiz-content { text-align: left; }
.quiz-content .eyebrow { color: var(--hv2-grey-600); }
.quiz-content .section-h2 { margin-bottom: 16px; }
.quiz-intro { margin: 0; max-width: none; }
.quiz-intro + .quiz-intro { margin-top: 16px; }

@media (max-width: 900px) {
  .quiz-v2-grid { grid-template-columns: 1fr; }
  .quiz-content { text-align: center; order: -1; margin-bottom: 40px; }
}

.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 30px 80px rgba(36, 31, 28, 0.08);
}

.quiz-progress { margin-bottom: 28px; }

.quiz-progress-bar {
  height: 6px;
  border-radius: 4px;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 10px;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.quiz-progress-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }

.quiz-question { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.quiz-hint { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.quiz-option {
  text-align: left;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.quiz-option:hover { border-color: var(--accent); }

.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-muted);
  font-weight: 600;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.quiz-actions .btn-primary,
.quiz-actions .btn-ghost { min-width: 140px; }

.quiz-actions button:disabled { opacity: 0.45; cursor: not-allowed; }

.quiz-result { text-align: center; }
.quiz-result .eyebrow, .contact-form .eyebrow { color: var(--accent); }
.quiz-result .engage-duration { margin-top: 8px; }
.quiz-result h3 { font-size: 26px; font-weight: 700; color: var(--text); margin: 10px 0 12px; }
.quiz-result-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 480px; margin: 0 auto 24px; }

.quiz-link-btn {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  text-decoration: underline;
  cursor: pointer;
}

/* ─── CUSTOMER PORTAL (login) ───────────────────────────── */
.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 30px 80px rgba(36, 31, 28, 0.10);
  position: relative;
  z-index: 1;
  text-align: center;
}

.auth-logo { display: inline-flex; margin-bottom: 24px; }
.auth-logo img { height: 52px; width: auto; }

.auth-card .eyebrow { justify-content: center; color: var(--text-muted); }

.auth-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.auth-sub { color: var(--text-muted); font-size: 14.5px; margin: 0 0 28px; }

.auth-card .form-group { text-align: left; margin-bottom: 18px; }

.auth-error {
  background: rgba(254, 86, 51, 0.08);
  border: 1px solid rgba(254, 86, 51, 0.3);
  color: var(--danger);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  cursor: pointer;
  user-select: none;
}
.auth-remember input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

.auth-links { margin-top: 18px; font-size: 13.5px; }
.auth-links a { color: var(--accent); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

.auth-footnote { text-align: center; margin-top: 28px; color: var(--text-muted); font-size: 14px; position: relative; z-index: 1; }
.auth-footnote a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-footnote a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 36px 24px; }
}

/* ─── LEGAL PAGES (Privacy / Terms) ────────────────────── */
.legal-page { padding: 148px 0 96px; }
.legal-header { max-width: 760px; margin: 0 auto 32px; }
.legal-header .eyebrow { margin-bottom: 12px; }
.legal-header h1 { font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.legal-meta { font-size: 13px; color: var(--text-muted); }

.legal-draft-note {
  max-width: 760px;
  margin: 0 auto 40px;
  background: var(--accent-2-muted);
  border: 1px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
}

.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 22px; font-weight: 600; color: var(--text); margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px 22px; }

.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.legal-body th { color: var(--text); font-weight: 600; }

.legal-toc { columns: 2; gap: 24px; margin-bottom: 8px; list-style: none; }
.legal-toc li { font-size: 14px; margin-bottom: 8px; }
.legal-toc a { color: var(--accent); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner  { padding: 0 20px; }
  .nav-links  { display: none; }
  .hero { padding: 120px 0 56px; }
  .hero h1 { font-size: 30px; }
  .page-hero { padding: 120px 0 48px; }
  .page-hero h1 { font-size: 32px; }
  .card-grid,
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .cycle-stage-list { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .cta-section.on-light .cta-inner { padding: 32px 24px; }
  .legal-toc { columns: 1; }
  .card-grid-section,
  .feature-strip,
  .cta-section,
  .cycle-section,
  .pricing-section,
  .contact-form-section { padding: 56px 0; }
  .section-h2 { font-size: 30px; }
  .cta-h2 { font-size: 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── VIDEO MODAL ─────────────────────────────────────── */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.video-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-modal-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}

.video-modal-close:hover { background: rgba(0, 0, 0, 0.7); }
