/* SvarKlar /start page - REDESIGN
   Loaded after tokens.css + components.css + site.css.
   Mirrors the homepage's pricing-card DNA: dark ink form card with
   floating gold ribbon, on a photo hero. Pills become a 2-col
   gold-tick grid (matches homepage pricing-list rhythm).
   Reuses .t-hero-bg + .t-hero-overlay + .t-hero-h1 + em rules. */


/* ════════════════════════════════════════════════════
   1. SPLIT HERO LAYOUT
   ════════════════════════════════════════════════════ */

.t-start-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 720px;
  padding-bottom: 64px;
}

/* Stronger left-bias wash so the dark form card on the right has air,
   while keeping the cream copy on the left readable. */
.t-start-hero .t-hero-overlay {
  background:
    linear-gradient(90deg,
      rgba(10, 11, 13, 0.82) 0%,
      rgba(10, 11, 13, 0.62) 38%,
      rgba(10, 11, 13, 0.42) 62%,
      rgba(10, 11, 13, 0.55) 100%),
    linear-gradient(180deg,
      rgba(10, 11, 13, 0.20) 0%,
      rgba(10, 11, 13, 0) 35%,
      rgba(10, 11, 13, 0) 70%,
      rgba(10, 11, 13, 0.45) 100%);
}

.t-start-hero-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 96px;
}

.t-start-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.t-start-copy {
  max-width: 580px;
}

/* Eyebrow above H1, small Caveat handwritten accent, like FAQ aside */
.t-start-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.005em;
  transform: rotate(-2deg);
  margin: 0 0 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.t-start-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
  display: inline-block;
}

.t-start-copy .t-hero-h1 {
  margin-bottom: 22px;
}

.t-start-sub {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--cream);
  max-width: 44ch;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 14px rgba(0, 0, 0, 0.30);
}


/* ════════════════════════════════════════════════════
   2. RISK-REVERSAL PILLS (2-col grid, on photo)
   Mirrors the pricing-list rhythm from homepage but on dark.
   ════════════════════════════════════════════════════ */

.t-start-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  max-width: 540px;
}

.t-start-pills li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.t-start-pill-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink);
  margin-top: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.10);
}
.t-start-pill-tick svg { display: block; }

.t-start-pill-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}
.t-start-pill-h {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.t-start-pill-s {
  font-weight: 400;
  font-size: 0.84rem;
  color: var(--body-on-dark);
  line-height: 1.45;
}


/* ════════════════════════════════════════════════════
   3. FORM CARD, DARK INK with gold ribbon
   Mirrors homepage pricing-card DNA.
   ════════════════════════════════════════════════════ */

.t-start-form-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.t-start-form-card {
  position: relative;
  background: var(--ink);
  color: #f5f0e6;
  border: 1px solid rgba(232, 196, 89, 0.22);
  border-radius: 22px;
  padding: 44px 40px 32px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.20);
  overflow: visible;
}

/* Floating gold ribbon, pinned to top edge, same recipe as pricing card */
.t-start-ribbon {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px;
  padding: 0 24px;
  background: linear-gradient(180deg, #f4d36b 0%, var(--gold) 55%, #c9a13e 100%);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  border-radius: var(--r-pill);
  box-shadow:
    0 6px 18px rgba(180, 130, 30, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(0, 0, 0, 0.10) inset;
}

/* Step container reveal animation when going step1 to step2 */
.t-start-step.is-hidden { display: none; }
.t-start-step {
  animation: t-start-step-in 320ms cubic-bezier(.2,.8,.2,1);
}
@keyframes t-start-step-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .t-start-step { animation: none; }
}

/* Step heading row: small step counter + heading */
.t-form-step-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 8px 0 16px;
}
.t-form-step-meta .t-form-step-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 196, 89, 0.5), rgba(232, 196, 89, 0));
  display: block;
}

.t-form-card-h2 {
  font-family: var(--heading-font);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f5f0e6;
  margin: 0 0 10px;
  text-wrap: balance;
  text-align: center;
}
.t-form-card-h2 em {
  font-family: var(--heading-font) !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 1em !important;
  letter-spacing: -0.015em !important;
  color: var(--gold) !important;
  line-height: inherit !important;
  text-shadow: none !important;
}

.t-form-card-sub {
  font-size: 0.95rem;
  color: var(--body-on-dark);
  margin: 0 0 22px;
  line-height: 1.55;
  text-wrap: pretty;
  text-align: center;
}

/* On-dark form fields.
   Override .t-field defaults (paper bg) for dark-card context. */
.t-start-form-card .t-field label,
.t-start-form-card .t-field .t-field-label {
  color: var(--body-on-dark);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  display: block;
}
.t-start-form-card .t-field input[type="text"],
.t-start-form-card .t-field input[type="email"],
.t-start-form-card .t-field input[type="tel"],
.t-start-form-card .t-field input[type="url"],
.t-start-form-card .t-field textarea,
.t-start-form-card .t-field select {
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(245, 240, 230, 0.18);
  color: #f5f0e6;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: var(--r-md);
}
.t-start-form-card .t-field input:hover,
.t-start-form-card .t-field textarea:hover,
.t-start-form-card .t-field select:hover {
  border-color: rgba(232, 196, 89, 0.40);
  background: rgba(245, 240, 230, 0.06);
}
.t-start-form-card .t-field input:focus,
.t-start-form-card .t-field textarea:focus,
.t-start-form-card .t-field select:focus {
  outline: 0;
  border-color: var(--gold);
  background: rgba(245, 240, 230, 0.06);
  box-shadow: 0 0 0 3px rgba(232, 196, 89, 0.18);
}
.t-start-form-card .t-field input::placeholder,
.t-start-form-card .t-field textarea::placeholder {
  color: rgba(245, 240, 230, 0.40);
  opacity: 1;
}

/* Step 2 field grid: 2 cols, .full spans both. Single col on narrow. */
.t-form-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.t-form-block .t-field { min-width: 0; }
.t-form-block .t-field.full { grid-column: 1 / -1; }
@media (max-width: 480px) {
  .t-form-block { grid-template-columns: 1fr; }
}

/* CTAs in form fill the card width */
.t-start-step .t-cta {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
}
.t-start-step .t-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Privacy micro at bottom of card */
.t-start-privacy {
  font-size: 0.78rem;
  color: var(--body-on-dark-mute);
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 240, 230, 0.10);
  line-height: 1.55;
  text-align: center;
}
.t-start-privacy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 196, 89, 0.4);
}
.t-start-privacy a:hover { text-decoration-color: var(--gold); }

/* "Prefer email?" alt link below the card */
.t-start-alt {
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.t-start-alt a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 196, 89, 0.5);
  font-weight: 600;
}
.t-start-alt a:hover { text-decoration-color: var(--gold); }


/* Founder reassurance band uses canonical .t-founder.is-mini in
   site.css (markup: <section class="t-founder is-mini">). */


/* ════════════════════════════════════════════════════
   4. RESPONSIVE
   ════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .t-start-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .t-start-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 88px;
  }
  .t-start-left { display: contents; gap: 28px; }
  .t-start-copy {
    order: 1;
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }
  .t-start-form-wrap {
    order: 2;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  .t-start-pills {
    order: 3;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    max-width: 540px;
    margin: 0 auto;
    text-align: left;
  }
  .t-start-pills li { grid-template-columns: 22px 1fr; gap: 10px; }
  .t-start-pill-h { font-size: 0.92rem; }
  .t-start-pill-s { font-size: 0.80rem; line-height: 1.4; }
  .t-start-eyebrow { justify-content: center; }
  .t-start-sub { margin-left: auto; margin-right: auto; }
  .t-start-form-card { padding: 38px 30px 28px; }
}

@media (max-width: 640px) {
  .t-start-hero-inner {
    padding-top: 120px;
    padding-bottom: 64px;
  }
  .t-start-form-card { padding: 32px 22px 24px; }
  .t-form-card-h2 { font-size: 1.45rem; }
  .t-start-pills {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
    margin: 0;
  }
  .t-start-pills li {
    width: 50%;
  }
  .t-start-pills li:nth-child(odd) {
    justify-self: start;
    margin-left: 10%;
  }
  .t-start-pills li:nth-child(even) {
    justify-self: end;
    margin-right: 10%;
    grid-template-columns: 1fr 22px;
    text-align: right;
  }
  .t-start-pills li:nth-child(even) .t-start-pill-tick {
    order: 2;
  }
  .t-start-pills li:nth-child(even) .t-start-pill-body {
    order: 1;
    align-items: flex-end;
  }
  .t-start-pill-h { font-size: 0.95rem; }
  .t-start-pill-s { font-size: 0.82rem; }
  .t-start-ribbon { font-size: 0.68rem; height: 34px; padding: 0 18px; }
}
