/* ============================================================
   Start My Protocol — Build
   Premium technologist aesthetic. Linear/Vercel-coded.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #0A0A0B;
  --bg-elev: #111114;
  --bg-card: #15151A;
  --border: #1F1F26;
  --border-strong: #2A2A33;
  --grid: rgba(255, 255, 255, 0.03);

  /* Text */
  --text-1: #F5F5F7;
  --text-2: #A8A8B3;
  --text-3: #6B6B78;

  /* Accent — warm amber, longevity-coded but premium not wellness-cliche */
  --amber: #E5A85B;
  --amber-soft: #C98F4A;
  --amber-glow: rgba(229, 168, 91, 0.14);
  --amber-line: rgba(229, 168, 91, 0.22);

  /* Functional */
  --green: #4ADE80;
  --radius: 6px;
  --radius-lg: 12px;
  --max-w: 1180px;
  --section-pad: clamp(96px, 14vw, 200px);

  /* Type */
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Subtle dot grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Soft amber bloom on the hero */
body::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 600px;
  background: radial-gradient(ellipse at center, var(--amber-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--amber);
  color: var(--bg);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 15px;
  color: var(--text-1);
  text-decoration: none;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.site-header .brand-logo {
  height: 26px;
}

.footer-brand .brand-logo {
  height: 32px;
  margin-bottom: 16px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: var(--bg);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
}

.brand-name {
  font-weight: 600;
}

.brand-slash {
  color: var(--text-3);
  margin: 0 2px;
}

.brand-route {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 13px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-1);
  background: var(--bg-elev);
}

.nav-link.is-active {
  color: var(--text-1);
}

.nav-cta {
  margin-left: 12px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  background: var(--text-1);
  color: var(--bg);
  border-radius: var(--radius);
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
   Layout
   ============================================================ */
main {
  position: relative;
  z-index: 1;
}

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

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* Eyebrow tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--amber);
}

/* Section heading */
.section-heading {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 920px;
}

.section-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--text-2);
  max-width: 680px;
  line-height: 1.5;
  margin-bottom: 80px;
}

.section-heading em {
  font-style: normal;
  color: var(--amber);
  font-weight: 500;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 160px 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elev);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.hero h1 {
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 1100px;
  margin-bottom: 32px;
}

.hero h1 .accent {
  color: var(--amber);
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--amber-line);
}

.hero h1 .strike {
  position: relative;
  color: var(--text-3);
  white-space: nowrap;
}

.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 2px;
  background: var(--text-3);
  transform: rotate(-2deg);
}

.hero-sub {
  font-size: clamp(18px, 1.9vw, 24px);
  color: var(--text-2);
  max-width: 720px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-sub-offer {
  color: var(--text-1);
  margin-bottom: 56px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber);
  color: var(--bg);
}

.btn-primary:hover {
  background: #F0B86B;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--amber-glow);
}

.btn-secondary {
  background: var(--bg-elev);
  color: var(--text-1);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text-3);
  background: var(--bg-card);
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   What you get
   ============================================================ */
.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.deliverables-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.deliverable {
  background: var(--bg-elev);
  padding: 56px 48px;
  position: relative;
  transition: background 0.2s ease;
}

.deliverables-2x2 .deliverable {
  padding: 64px 56px;
}

.deliverable:hover {
  background: var(--bg-card);
}

.deliverable-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.deliverable h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-1);
  line-height: 1.1;
}

.deliverable p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 460px;
}

/* ============================================================
   Math section — subheadings between tiers/breakdown/process
   ============================================================ */
.math-subheading {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-top: 96px;
  margin-bottom: 28px;
}


/* ============================================================
   Contract closer — final CTA inside the contract section
   ============================================================ */
.contract-cta {
  margin-top: 96px;
  padding: 80px 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at center top, var(--amber-glow), transparent 60%),
    var(--bg-elev);
  position: relative;
  overflow: hidden;
}

.contract-cta h2 {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contract-cta .btn {
  font-size: 16px;
  padding: 16px 28px;
}

.contract-cta-note {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-3);
}

.contract-cta-note a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--amber-line);
  padding-bottom: 1px;
}

.contract-cta-note a:hover {
  border-bottom-color: var(--amber);
}

/* ============================================================
   Chooser landing — two big options, click-first
   ============================================================ */
.body-chooser {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.chooser-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 64px;
}

.chooser-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.chooser-title {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.chooser-lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-3);
  margin-bottom: 64px;
}

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.chooser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 48px 44px 40px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  min-height: 340px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.chooser-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
}

.chooser-card-featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 40px 140px -40px var(--amber-glow);
}

.chooser-card-featured:hover {
  border-color: var(--amber);
}

.chooser-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  padding: 7px 14px;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
}

.chooser-card h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.chooser-card p {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 8px;
}

.chooser-contact {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-3);
  padding: 6px 10px;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  margin-top: -8px;
}

/* Sibling-product redirect — "different audience? we have a page for you" */
.audience-redirect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-3);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.audience-redirect a {
  color: var(--text-1);
  border-bottom: 1px dashed var(--amber-line);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.audience-redirect a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.chooser-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 0.2s ease;
}

.chooser-card:hover .chooser-cta {
  gap: 18px;
}

.chooser-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 40px 56px;
  min-height: 0;
  margin-top: 32px;
}

.chooser-card-wide .chooser-tag {
  align-self: center;
  flex-shrink: 0;
}

.chooser-wide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chooser-card-wide h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
}

.chooser-card-wide p {
  font-size: 15px;
  margin-bottom: 0;
  max-width: none;
}

.chooser-card-wide .chooser-cta {
  margin-top: 0;
  flex-shrink: 0;
}

.site-footer-slim {
  margin-top: 0;
  border-top: 1px solid var(--border);
  padding: 0;
}

.site-footer-slim .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  margin: 0;
  border-top: 0;
  padding: 20px 32px;
  font-size: 12.5px;
  color: var(--text-3);
}

.footer-links {
  display: inline-flex;
  gap: 18px;
}

.footer-links a {
  color: var(--text-3);
  text-decoration: none;
}

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

@media (max-width: 760px) {
  .chooser-grid { grid-template-columns: 1fr; }
  .chooser-main { padding: 96px 20px 48px; }
  .chooser-card { padding: 40px 32px; min-height: 0; }
  .chooser-card-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 32px;
  }
  .chooser-card-wide .chooser-tag { align-self: flex-start; }
  .site-footer-slim .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 18px 20px;
  }
}

/* ============================================================
   Tiers / Pricing
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tiers-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tier {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tier:hover {
  border-color: var(--border-strong);
}

.tier {
  position: relative;
}

.tier-featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 18px 60px -28px var(--amber-glow);
}

.tier-featured:hover {
  border-color: var(--amber);
}

.tier-stamp {
  position: absolute;
  top: 0;
  left: 28px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-stamp-required {
  background: var(--amber);
  color: var(--bg);
}

.tier-stamp-optional {
  background: var(--bg-card);
  color: var(--text-2);
  border: 1px solid var(--border-strong);
}

.tier-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.tier-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.tier-tag {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.5;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.tier-price .from {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.tier-price .num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-1);
  font-feature-settings: 'tnum';
}

.tier-price .unit {
  font-size: 14px;
  color: var(--text-2);
}

.tier-price-note {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

.tier-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.tier-features li {
  font-size: 14.5px;
  color: var(--text-2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--amber);
  margin-top: 11px;
  flex-shrink: 0;
}

.tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  background: var(--bg-card);
  transition: all 0.2s ease;
}

.tier-cta:hover {
  background: var(--text-1);
  color: var(--bg);
  border-color: var(--text-1);
}

/* ============================================================
   Year math callout (Year 1 vs Year 2 onward)
   ============================================================ */
.year-math {
  margin-top: 48px;
  padding: 36px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}

.year-math-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}

.year-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.year-block {
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.year-block-head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}

.year-block-formula {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-2);
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.year-block-formula .num {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-1);
  font-feature-settings: 'tnum';
}

.year-block-formula .op {
  color: var(--text-3);
  margin: 0 4px;
}

.year-block-total {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.year-block-total .num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}

.year-block-total .unit {
  font-size: 14px;
  color: var(--text-2);
}

.year-block:first-child .year-block-total .num {
  color: var(--amber);
}

.year-math-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-3);
}

@media (max-width: 720px) {
  .year-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .year-math {
    padding: 28px 24px;
  }
}

/* ============================================================
   ICP — normalized two-column layout
   ============================================================ */
.icp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.icp-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.icp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.icp-list li {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.5;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.icp-list li:last-child {
  border-bottom: none;
}

.icp-list strong {
  color: var(--text-1);
  font-weight: 500;
}

/* ============================================================
   Process timeline
   ============================================================ */
.process {
  position: relative;
}

.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.process-step {
  position: relative;
  padding: 22px 22px 22px 64px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.process-step:hover {
  border-color: var(--amber-line);
  transform: translateY(-2px);
}

.step-num {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--amber-line);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.process-step .day {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 6px;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.testimonial {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.testimonial:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.testimonial-video {
  aspect-ratio: 16 / 10;
  width: 100%;
  background:
    radial-gradient(ellipse at center, rgba(229, 168, 91, 0.08), transparent 60%),
    var(--bg-card);
  display: block;
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* Looped muted preview video sits below the overlay + play icon */
.testimonial-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Soft vignette so the corner play icon stays legible without obscuring the face */
.testimonial-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.testimonial-video:hover::before {
  opacity: 0.75;
}

.testimonial-video:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.testimonial-video .play-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.testimonial-video .play-icon svg {
  width: 16px;
  height: 16px;
  margin-left: 2px; /* visually centre the play triangle */
}

.testimonial:hover .play-icon,
.testimonial-video:focus-visible .play-icon {
  transform: scale(1.08);
  background: #F0B86B;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(229, 168, 91, 0.18);
}

.testimonial.is-placeholder .testimonial-video {
  cursor: default;
}

.testimonial.is-placeholder .testimonial-video::after {
  content: 'Coming soon';
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  background: rgba(0, 0, 0, 0.45);
  padding: 5px 10px;
  border-radius: 999px;
}

.testimonial-meta {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.testimonial-name {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.testimonial-business {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}

.testimonial.is-placeholder .testimonial-quote,
.testimonial.is-placeholder .testimonial-name,
.testimonial.is-placeholder .testimonial-business {
  color: var(--text-3);
  font-style: italic;
}

/* ============================================================
   Discipline columns (will / won't)
   ============================================================ */
.discipline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.discipline-col {
  padding: 56px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}

.discipline-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.discipline-col.will h4 { color: var(--green); }
.discipline-col.wont h4 { color: var(--text-3); }

.discipline-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.discipline-col li {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
  letter-spacing: -0.015em;
  padding-left: 32px;
  position: relative;
}

.discipline-col.will li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.discipline-col.wont li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 2px;
  background: var(--text-3);
}

/* ============================================================
   Legal pages (privacy / terms / refund / cancellation / billing)
   ============================================================ */
.legal-page {
  position: relative;
  z-index: 1;
  padding: 100px 0 var(--section-pad);
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--text-1);
}

.legal-page h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-1);
  margin-bottom: 18px;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-top: 56px;
  margin-bottom: 18px;
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.legal-page p {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-page strong {
  color: var(--text-1);
  font-weight: 500;
}

.legal-page a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: rgba(229, 168, 91, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.legal-page a:hover {
  text-decoration-color: var(--amber);
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
  margin-bottom: 18px;
  color: var(--text-2);
  line-height: 1.7;
}

.legal-page li {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.legal-page hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* Subprocessor tables (ECS-1443). Wrapped so a four-column table scrolls inside itself on a
   phone rather than making the whole legal page scroll sideways. */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
}

.legal-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: left;
  padding: 0 20px 10px 0;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.legal-table td {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  line-height: 1.6;
  vertical-align: top;
  min-width: 150px;
}

.legal-table td strong {
  color: var(--text-1);
  font-weight: 500;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* Slim footer for legal pages */
.footer-inner-slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-legal-nav a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.footer-legal-nav a:hover {
  color: var(--text-1);
}

@media (max-width: 640px) {
  .footer-inner-slim {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 260px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-2);
}

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

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 28px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}

.footer-bottom .legal {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============================================================
   Hero entrance — only the hero animates on load. Everything else
   is visible by default to keep the page robust without JS.
   ============================================================ */
.hero .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .discipline {
    grid-template-columns: 1fr;
  }

  .deliverables-2x2 {
    grid-template-columns: 1fr;
  }

  .deliverables-2x2 .deliverable {
    padding: 40px 32px;
  }

  .tiers-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .icp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .math-subheading {
    margin-top: 72px;
  }

  .contract-cta {
    margin-top: 64px;
    padding: 56px 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 80px;
  }

  .header-inner {
    padding: 14px 20px;
  }

  .nav-link {
    display: none;
  }

  .container,
  .hero-inner,
  .footer-inner,
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 96px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .deliverables {
    grid-template-columns: 1fr;
  }

  .process-grid { grid-template-columns: 1fr; }
  .tiers, .tiers-3 { grid-template-columns: 1fr; }
}
