/* ─────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────── */
:root {
  --color-bg:             #F5F2ED;
  --color-card:           #E8F0E6;
  --color-primary:        #2D5A27;
  --color-primary-faint:  rgba(45, 90, 39, 0.10);
  --color-white:          #FFFFFF;
  --color-text-primary:   #1A2118;
  --color-text-secondary: #5C6B59;
  --color-border:         rgba(92, 107, 89, 0.15);
  --color-danger:         #C0392B;

  --shadow-subtle:    0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-softglass: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-floating:  0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-elevated:  0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);

  --radius-xl: 100px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 72px;

  --max-width:  1100px;
  --layout-pad: 20px;
  --nav-height: 72px;

  --font-heading: 'Lexend', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition: 200ms ease;
}


/* ─────────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
  overflow-x: clip;
}
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: var(--font-body); }


/* ─────────────────────────────────────────────────────────
   FEATHER ICON DEFAULTS
───────────────────────────────────────────────────────── */
.feather {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────────── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--layout-pad);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.hidden { display: none !important; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-xl);
  text-wrap: balance;
}


/* ─────────────────────────────────────────────────────────
   CARD
───────────────────────────────────────────────────────── */
.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-softglass);
  padding: var(--sp-lg);
}


/* ─────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn:active  { transform: scale(0.97); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-xl);
}
.btn-primary:hover {
  box-shadow: var(--shadow-floating);
  opacity: 0.92;
}

.btn-lg {
  font-size: 16px;
  padding: 0 var(--sp-xl);
  height: 56px;
}
.btn-lg .feather { width: 18px; height: 18px; position: relative; top: 1px; }

.btn-block {
  width: 100%;
  margin-top: var(--sp-sm);
}


/* ─────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) max(var(--layout-pad), calc((100% - var(--max-width)) / 2 + var(--layout-pad)));
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav--scrolled {
  background: rgba(245, 242, 237, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(92, 107, 89, 0.1);
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.04em;
}
.nav-cta {
  font-size: 14px;
  padding: 0 var(--sp-lg);
  height: 40px;
}


/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-3xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--layout-pad);
  min-height: clamp(560px, calc(100dvh - 61px), 860px);
}
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: 6px 14px;
  margin-bottom: var(--sp-lg);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-lg);
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-xl);
  max-width: 460px;
  text-wrap: pretty;
}

/* Hero entrance stagger */
.hero-text .tag        { animation: heroEntrance 0.7s ease-out 0.1s both; }
.hero-text .hero-title { animation: heroEntrance 0.7s ease-out 0.25s both; }
.hero-text .hero-sub   { animation: heroEntrance 0.7s ease-out 0.4s both; }
.hero-text .btn-lg     { animation: heroEntrance 0.7s ease-out 0.55s both; }
.phone-frame           { animation: floatPhone 5s ease-in-out infinite, heroEntrance 0.8s ease-out 0.7s both; }


/* ─────────────────────────────────────────────────────────
   PHONE MOCKUP
───────────────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(232, 240, 230, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 70% 60%, rgba(45, 90, 39, 0.06) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.phone-frame {
  width: 272px;
  background: var(--color-text-primary);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 40px 80px rgba(26,33,24,0.38),
    0 12px 20px rgba(26,33,24,0.16);
  position: relative;
  z-index: 1;
}
.phone-screen {
  background: var(--color-bg);
  border-radius: 36px;
  overflow: hidden;
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) var(--sp-xs);
}
.phone-brand {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.04em;
}
.phone-bell .feather { width: 16px; height: 16px; color: var(--color-text-secondary); }

.phone-search {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 7px 12px;
  color: var(--color-text-secondary);
}
.phone-search .feather { width: 13px; height: 13px; }
.phone-search-text { font-size: 12px; color: var(--color-text-secondary); }

.phone-breed-pills { display: flex; gap: 6px; }
.phone-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-xl);
  background: var(--color-card);
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.phone-pill.active { background: var(--color-primary); color: var(--color-white); }

.phone-card { flex-shrink: 0; }
.phone-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.phone-card-image--1 { background: linear-gradient(145deg, #c8d8c0 0%, #9ab89a 50%, #6d9468 100%); }
.phone-card-image--2 { background: linear-gradient(145deg, #ddd0c0 0%, #c4b098 50%, #a88e70 100%); }
.phone-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-card-heart {
  position: absolute;
  top: 7px; right: 7px;
  width: 26px; height: 26px;
  background: rgba(245,242,237,0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-primary);
}
.phone-card-heart .feather { width: 12px; height: 12px; }

.phone-card-info { padding: 5px 2px 4px; }
.phone-card-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.phone-card-meta {
  display: block;
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}


/* ─────────────────────────────────────────────────────────
   STATS STRIP
───────────────────────────────────────────────────────── */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--layout-pad);
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.stats-item .feather { width: 14px; height: 14px; opacity: 0.5; flex-shrink: 0; }
.stats-dot  { opacity: 0.3; font-size: 18px; line-height: 1; }


/* ─────────────────────────────────────────────────────────
   PROBLEM
───────────────────────────────────────────────────────── */
.problem-card { padding: var(--sp-xl); }
.problem-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}
.problem-icon { display: flex; color: var(--color-primary); }
.problem-icon .feather { width: 26px; height: 26px; }
.problem-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

/* Left-border accent */
.pain-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.pain-list li {
  background: var(--color-bg);
  border-left: 2.4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.55;
  text-wrap: pretty;
}


/* ─────────────────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding: var(--sp-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-floating); }

.feature-icon { display: flex; color: var(--color-primary); margin-bottom: var(--sp-xs); }
.feature-icon .feather { width: 30px; height: 30px; }

.feature-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.2; }
.feature-upcoming { font-size: 11px; font-weight: 600; color: var(--color-text-secondary); font-family: var(--font-body); }
.feature-desc  { font-size: 15px; color: var(--color-text-secondary); line-height: 1.65; text-wrap: pretty; }


/* ─────────────────────────────────────────────────────────
   FOUNDER
───────────────────────────────────────────────────────── */
.founder-card { max-width: 720px; margin: 0 auto; padding: var(--sp-2xl); }

/* Carousel container */
.founder-carousel { position: relative; min-height: 180px; }

/* Slide crossfade */
.founder-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.founder-slide--active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.founder-quote {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-xl);
  text-wrap: pretty;
}
.founder-footer { display: flex; align-items: center; gap: var(--sp-md); }
.founder-avatar {
  width: 52px; height: 52px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}
.founder-avatar .feather { width: 22px; height: 22px; }
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.founder-name { font-size: 14px; font-weight: 600; }
.founder-pet  { font-size: 13px; color: var(--color-text-secondary); margin-top: 2px; }

/* Dot indicators */
.founder-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
}
.founder-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.founder-dot:hover { background: var(--color-text-secondary); }
.founder-dot--active {
  background: var(--color-primary);
  transform: scale(1.25);
}


/* ─────────────────────────────────────────────────────────
   REGISTER SECTION — shared
───────────────────────────────────────────────────────── */
.register-section { max-width: var(--max-width); }

/* Step 1 (role picker) — centre content to balance the wide container */
#step-role { text-align: center; }
#step-role .register-sub { margin-left: auto; margin-right: auto; }
#step-role .role-cards { margin: 0 auto; text-align: left; }

/* Step 2A (customer) — centre the whole form block */
#step-customer .step-title,
#step-customer .step-sub { text-align: center; }
#step-customer .step-sub { margin-left: auto; margin-right: auto; }
#step-customer .register-form { margin: 0 auto; text-align: left; }
#step-customer .back-btn {
  display: flex;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Step 2B (shop) — centre only the form block below the tier cards */
#step-shop .shop-form-wrap { margin-left: auto; margin-right: auto; }
#step-shop .shop-form-title { text-align: center; }
.register-sub {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-top: calc(-1 * var(--sp-lg));
  margin-bottom: var(--sp-2xl);
  max-width: 480px;
}

/* Step containers */
.form-step { display: none; }
.form-step.active {
  display: block;
  animation: stepEntrance 0.35s ease-out both;
}
.form-step.exit {
  display: block;
  animation: stepExit 0.2s ease-in both;
}


/* Back button */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: var(--sp-xl);
  transition: color var(--transition);
}
.back-btn:hover { color: var(--color-primary); }
.back-btn .feather { width: 16px; height: 16px; }

/* Step headings */
.step-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
  text-wrap: balance;
}
.step-sub {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-2xl);
  max-width: 540px;
}


/* ─────────────────────────────────────────────────────────
   ROLE CARDS (Step 1)
───────────────────────────────────────────────────────── */
.role-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  max-width: 560px;
}
.role-card {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  background: var(--color-card);
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-xl);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-softglass);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.role-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-floating);
  transform: translateY(-2px);
}
.role-card:active { transform: scale(0.98); }

.role-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--color-bg);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--color-primary);
}
.role-card-icon .feather { width: 22px; height: 22px; }

.role-card-text { flex: 1; }
.role-card-text strong { display: block; font-size: 16px; font-weight: 600; color: var(--color-text-primary); }
.role-card-text span   { display: block; font-size: 14px; color: var(--color-text-secondary); margin-top: 2px; }

.role-card-arrow { color: var(--color-text-secondary); }
.role-card-arrow.feather { width: 20px; height: 20px; }


/* ─────────────────────────────────────────────────────────
   FORM SHARED ELEMENTS
───────────────────────────────────────────────────────── */
.register-form {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.form-label-opt {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2px 8px;
  border: 1px solid var(--color-border);
}
.form-input {
  height: 52px;
  padding: 0 var(--sp-md);
  background: var(--color-card);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input::placeholder { color: var(--color-text-secondary); opacity: 0.6; }
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-faint);
}
.form-input.error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}

/* Chrome autofill override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #E8F0E6 inset;
  -webkit-text-fill-color: #1A2118;
  transition: background-color 5000s ease-in-out 0s;
}

/* Keyboard focus rings — visible only for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.form-input:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-faint);
}
.form-error { font-size: 12px; color: var(--color-danger); min-height: 17px; }
.form-hint  { font-size: 12px; color: var(--color-text-secondary); }
.form-note  { font-size: 12px; color: var(--color-text-secondary); text-align: center; opacity: 0.8; }


/* ─────────────────────────────────────────────────────────
   SUBSCRIPTION TIER CARDS
───────────────────────────────────────────────────────── */
.tier-section { margin-bottom: var(--sp-3xl); }

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
  align-items: start;
}

/* Base tier card */
.tier-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-softglass);
  padding: var(--sp-lg);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Growth — highlighted */
.tier-card--growth {
  border-color: var(--color-primary);
  padding-top: var(--sp-md);
  transform: scale(1.03);
  box-shadow:
    0 0 0 1.5px rgba(45, 90, 39, 0.15),
    0 12px 32px rgba(45, 90, 39, 0.12),
    0 0 40px rgba(45, 90, 39, 0.06);
}

/* Growth "Founding Partner" badge — inline above tier name */
.tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 3px 10px;
  margin-bottom: var(--sp-sm);
}

.tier-header { margin-bottom: var(--sp-lg); }
.tier-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: var(--sp-xs);
}
.tier-tagline {
  display: block;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-sm);
}
.tier-offer {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 4px 10px;
  border: 1px solid var(--color-border);
}
.tier-offer--highlight {
  color: var(--color-primary);
  background: var(--color-primary-faint);
  border-color: rgba(45,90,39,0.20);
}

/* Feature rows */
.tier-features { display: flex; flex-direction: column; gap: 10px; }
.tier-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 13px;
  color: var(--color-text-secondary);
}
.tier-feature .feather { width: 15px; height: 15px; flex-shrink: 0; color: var(--color-primary); }
.tier-feature span { line-height: 1.4; }

/* Locked items (visible but greyed) */
.tier-feature--locked { opacity: 0.35; }
.tier-feature--locked .feather { color: var(--color-text-secondary); }

/* Blurred items (Growth's future + Pro's features) */
.tier-feature--blurred {
  filter: blur(3px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

/* Pro — gradient fade over feature list */
.tier-card--pro { padding-bottom: 72px; opacity: 0.65; }
.tier-features--fade {
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* "Coming soon" lock overlay at bottom of Pro card */
.tier-pro-lock {
  position: absolute;
  bottom: var(--sp-lg);
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.tier-pro-lock .feather { width: 14px; height: 14px; }


/* ─────────────────────────────────────────────────────────
   SHOP FORM
───────────────────────────────────────────────────────── */
.shop-form-wrap { max-width: 580px; }
.shop-form-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-xl);
}


/* ─────────────────────────────────────────────────────────
   SERVICES PILL SELECTOR
───────────────────────────────────────────────────────── */
.form-group--services {
  border: none;
  padding: 0;
  margin: 0 0 var(--sp-md);
}

.services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.service-pill { cursor: pointer; display: block; }
.service-pill input[type="checkbox"] { display: none; }

.service-pill-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.service-pill:hover .service-pill-inner {
  border-color: var(--color-primary);
}

.service-pill:active .service-pill-inner {
  transform: scale(0.96);
}

.service-pill input:checked + .service-pill-inner {
  background: var(--color-primary-faint);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.service-pill input:focus-visible + .service-pill-inner {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


/* ─────────────────────────────────────────────────────────
   FOUNDING PARTNER TOGGLE
───────────────────────────────────────────────────────── */
.founding-label { cursor: pointer; display: block; }
.founding-label input[type="checkbox"] { display: none; }

.founding-box {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  background: var(--color-card);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--sp-md) var(--sp-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.founding-box:hover { border-color: var(--color-primary); }

.founding-label:has(input:checked) .founding-box {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-faint);
}

.founding-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--color-bg);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}
.founding-box-icon .feather { width: 18px; height: 18px; }

.founding-box-text { flex: 1; }
.founding-box-text strong { display: block; font-size: 15px; font-weight: 600; color: var(--color-text-primary); }
.founding-box-text span   { display: block; font-size: 13px; color: var(--color-text-secondary); margin-top: 3px; line-height: 1.5; }

.founding-box-check {
  display: flex;
  margin-top: 2px;
  opacity: 0;
  color: var(--color-primary);
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.founding-box-check .feather { width: 18px; height: 18px; }
.founding-label:has(input:checked) .founding-box-check { opacity: 1; }


/* ─────────────────────────────────────────────────────────
   DATE TILES
───────────────────────────────────────────────────────── */
.founding-dates {
  margin-top: calc(-1 * var(--sp-sm));
  padding: var(--sp-lg);
  background: var(--color-card);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 1px solid var(--color-border);
  animation: fadeUp 280ms ease forwards;
}
.dates-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.date-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}
.date-tile { cursor: pointer; display: block; }
.date-tile input[type="checkbox"] { display: none; }

.date-tile-inner {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--color-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
}
.date-tile-inner strong { display: block; font-size: 14px; font-weight: 600; color: var(--color-text-primary); }
.date-tile-inner span   { display: block; font-size: 12px; color: var(--color-text-secondary); margin-top: 2px; }

.date-tile:has(input:checked) .date-tile-inner {
  border-color: var(--color-primary);
  background: var(--color-primary-faint);
}
.date-tile--full { grid-column: 1 / -1; }
.date-tile--disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.dates-note {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: var(--sp-sm);
  line-height: 1.5;
}


/* ─────────────────────────────────────────────────────────
   SUCCESS STATES
───────────────────────────────────────────────────────── */
.success-state {
  padding: var(--sp-2xl) 0;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp 500ms ease forwards;
}
.success-icon-wrap {
  display: flex;
  margin-bottom: var(--sp-lg);
  color: var(--color-primary);
}
.success-icon-wrap .feather { width: 48px; height: 48px; }

.success-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-sm);
}
.success-sub {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-xl);
}
.success-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: var(--sp-md);
}

/* Instagram CTA */
.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: 12px 20px;
  border: 1.5px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.instagram-cta:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-floating);
}
.instagram-cta .feather { width: 16px; height: 16px; }

/* Shop success — "What happens next" */
.success-next { display: flex; flex-direction: column; gap: var(--sp-md); }
.success-next-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: var(--sp-md) var(--sp-lg);
  font-size: 14px;
  color: var(--color-text-secondary);
}
.success-next-item .feather { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-primary); }


/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  padding: var(--sp-xl) var(--layout-pad);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-secondary);
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.04em;
}
.footer-sep { opacity: 0.3; }


/* ─────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
}
[data-animate].in-view {
  animation: scrollReveal 0.6s ease-out both;
}

@keyframes scrollReveal {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stagger delays — work with animation-delay on .in-view */
.two-col .problem-card:nth-child(2).in-view  { animation-delay: 120ms; }

.features-grid .feature-card:nth-child(2).in-view { animation-delay: 90ms; }
.features-grid .feature-card:nth-child(3).in-view { animation-delay: 180ms; }
.features-grid .feature-card:nth-child(4).in-view { animation-delay: 270ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06),
      0 40px 80px rgba(26,33,24,0.38),
      0 12px 20px rgba(26,33,24,0.16);
  }
  50% {
    transform: translateY(-12px);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06),
      0 54px 100px rgba(26,33,24,0.24),
      0 20px 32px rgba(26,33,24,0.10);
  }
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes stepEntrance {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes stepExit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}


/* ─────────────────────────────────────────────────────────
   NOISE TEXTURE OVERLAY
───────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("assets/noise-texture-tile.png");
  background-repeat: repeat;
  background-size: 200px 200px;
}


/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
/* Mobile hero preview — shown only on mobile when phone mockup is hidden */
.hero-mobile-preview { display: none; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }
  .hero-visual { display: none; }
  .hero-sub    { margin: 0 auto var(--sp-xl); }

  .hero-mobile-preview {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    max-width: 280px;
    margin: 0 auto var(--sp-xl);
    padding: var(--sp-md);
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-softglass);
    animation: floatPhone 5s ease-in-out infinite, heroEntrance 0.8s ease-out 0.7s both;
  }
  .hero-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .hero-mobile-topbar .phone-brand { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--color-primary); letter-spacing: -0.04em; }
  .hero-mobile-topbar .feather { width: 14px; height: 14px; color: var(--color-text-secondary); }
  .hero-mobile-card {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--sp-sm) var(--sp-md);
  }
  .hero-mobile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
  }
  .hero-mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .hero-mobile-avatar--1 { background: linear-gradient(145deg, #c8d8c0 0%, #9ab89a 100%); }
  .hero-mobile-avatar--2 { background: linear-gradient(145deg, #ddd0c0 0%, #c4b098 100%); }
  .hero-mobile-card-info { text-align: left; }
  .hero-mobile-card-name { display: block; font-size: 12px; font-weight: 600; color: var(--color-text-primary); }
  .hero-mobile-card-meta { display: block; font-size: 11px; color: var(--color-text-secondary); margin-top: 1px; }
  .hero-mobile-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    text-align: center;
  }

  .two-col      { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .tier-cards   { grid-template-columns: 1fr; }
  .tier-card--growth { transform: scale(1.02); }
}

@media (max-width: 560px) {
  .section { padding: var(--sp-2xl) var(--layout-pad); }

  .form-row   { grid-template-columns: 1fr; }
  .date-tiles { grid-template-columns: 1fr; }

  .stats-dot      { display: none; }
  .founder-card   { padding: var(--sp-lg); }
  .problem-card   { padding: var(--sp-lg); }
}


/* ─────────────────────────────────────────────────────────
   SECTION BACKGROUND LAYERS (SUBTLE GRADIENT RYTHM)
───────────────────────────────────────────────────────── */
.section--problem {
  background: linear-gradient(180deg, rgba(232, 240, 230, 0.04) 0%, transparent 100%);
}
.founder-section {
  background: linear-gradient(180deg, transparent 0%, rgba(232, 240, 230, 0.06) 100%);
}
.register-section {
  background: linear-gradient(180deg, rgba(232, 240, 230, 0.03) 0%, transparent 100%);
}


/* ─────────────────────────────────────────────────────────
   REDUCED MOTION (ACCESSIBILITY)
───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Kill looping float but preserve one-time entrance */
  .phone-frame {
    animation: heroEntrance 0.8s ease-out 0.7s both !important;
  }
  .hero-mobile-preview {
    animation: heroEntrance 0.8s ease-out 0.7s both !important;
  }

  /* Scroll-triggered elements: show immediately, no animation */
  [data-animate],
  [data-animate].in-view {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }


  /* Reduce hover motion */
  .feature-card:hover,
  .role-card:hover {
    transform: none !important;
  }
}
