/* =============================================================
   Get Started — glass form on vista backdrop
   ============================================================= */

.gs-body { background: var(--obsidian); min-height: 100vh; display: flex; flex-direction: column; position: relative; }
.gs-body .nav { flex: 0 0 auto; position: relative; z-index: 5; }
.gs-body .site-footer { flex: 0 0 auto; position: relative; z-index: 2; }

/* ---- Background vista ---- */
.gs-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gs-bg-img {
  position: absolute; inset: 0;
  background-image: url('/assets/get-started-vista.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.gs-bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.7) 50%, rgba(10,10,15,0.9) 100%),
    linear-gradient(180deg, rgba(10,10,15,0.5) 0%, rgba(10,10,15,0.4) 30%, rgba(10,10,15,0.65) 80%, var(--obsidian) 100%);
}

.gs-main {
  flex: 1 0 auto;
  position: relative;
  z-index: 2;
  padding: clamp(48px, 7vh, 88px) 20px clamp(64px, 8vh, 96px);
}

/* ---- Stage: centered single column ---- */
.gs-stage {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: clamp(32px, 5vh, 56px);
}

/* ---- Intro ---- */
.gs-intro { display: grid; gap: 18px; justify-items: center; text-align: center; }

.gs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: color-mix(in oklab, var(--accent) 14%, rgba(10,14,26,0.5));
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-radius: 999px;
  font-family: var(--font-structure);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--accent) 70%, var(--parchment));
}
.gs-pill .pill-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); color: var(--obsidian-deep);
  font-size: 0.7rem; font-weight: 700;
}

.gs-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #f4e7d0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.75);
  margin: 0;
  text-wrap: balance;
  max-width: 20ch;
}
.gs-h1 em { font-style: italic; color: color-mix(in oklab, var(--accent) 78%, var(--parchment)); }

.gs-sub {
  font-family: var(--font-reading);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: color-mix(in oklab, var(--parchment) 92%, white);
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
  max-width: 48ch;
  margin: 0;
}

/* ---- Glass form ---- */
.gs-glass {
  display: grid;
  gap: clamp(28px, 4vh, 40px);
  padding: clamp(28px, 3.4vw, 44px);
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.78) 0%, rgba(10, 14, 26, 0.68) 100%);
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
  border: 1px solid rgba(235, 220, 190, 0.22);
  box-shadow:
    0 40px 100px -40px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

/* ---- Sections ---- */
.gs-fset { display: flex; flex-direction: column; gap: 16px; border: none; padding: 0; margin: 0; }
.gs-fset + .gs-fset {
  padding-top: clamp(20px, 3vh, 32px);
  border-top: 1px solid rgba(235, 220, 190, 0.14);
}
.fset-head { display: grid; gap: 4px; margin-bottom: 4px; }
.fset-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  color: #f4e7d0;
  margin: 0;
  letter-spacing: -0.005em;
}
.fset-sub {
  font-family: var(--font-reading);
  font-size: 0.9rem;
  line-height: 1.5;
  color: color-mix(in oklab, var(--parchment) 72%, transparent);
  margin: 0;
}

/* ---- Fields ---- */
.fld { display: grid; gap: 6px; }
.fld .lbl {
  font-family: var(--font-structure);
  font-size: 0.84rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--parchment) 88%, transparent);
}
.fld .lbl .req { color: var(--accent); margin-left: 2px; }
.fld .lbl .lbl-hint {
  font-weight: 400;
  color: color-mix(in oklab, var(--parchment) 55%, transparent);
  font-size: 0.82rem;
}

.fld input,
.fld select,
.fld textarea {
  background: rgba(10, 10, 15, 0.55);
  border: 1px solid rgba(235, 220, 190, 0.2);
  padding: 13px 14px;
  color: var(--parchment);
  font-family: var(--font-reading);
  font-size: 15px;
  border-radius: 4px;
  transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
  width: 100%;
  resize: vertical;
}
.fld textarea { min-height: 80px; line-height: 1.5; }
.fld input::placeholder,
.fld textarea::placeholder { color: color-mix(in oklab, var(--parchment) 40%, transparent); }
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(10, 10, 15, 0.75);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.fld select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23C8A97E'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.fld select option { background: var(--obsidian-deep); color: var(--parchment); }
.fld .err {
  display: none;
  font-family: var(--font-structure);
  font-size: 0.78rem;
  color: var(--accent);
}
.fld.is-error input,
.fld.is-error select,
.fld.is-error textarea { border-color: var(--accent); }
.fld.is-error .err { display: block; }

.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .fld-row { grid-template-columns: 1fr; } }

/* ---- Tier cards ---- */
.gs-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.gs-tiers--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .gs-tiers,
  .gs-tiers--two { grid-template-columns: 1fr; }
}

.tier-card { position: relative; cursor: pointer; display: block; }
.tier-card input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }

.tier-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  min-height: 124px;
  background: rgba(10, 10, 15, 0.55);
  border: 1px solid rgba(235, 220, 190, 0.2);
  border-radius: 4px;
  transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
  text-align: center;
}
.tier-card:hover .tier-card-inner { border-color: color-mix(in oklab, var(--accent) 50%, rgba(235, 220, 190, 0.3)); }
.tier-card input:checked ~ .tier-card-inner {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, rgba(10, 10, 15, 0.65));
  box-shadow: 0 0 0 1px var(--accent) inset, 0 0 24px -8px color-mix(in oklab, var(--accent) 60%, transparent);
}
.tier-card input:focus-visible ~ .tier-card-inner {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.tc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #f4e7d0;
}
.tc-price {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--accent);
}
.tc-amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.tc-per {
  font-family: var(--font-structure);
  font-size: 0.78rem;
  color: color-mix(in oklab, var(--accent) 80%, transparent);
}
.tc-price--alt .tc-amt { font-size: 1.2rem; font-style: italic; }
.tc-trial {
  font-family: var(--font-structure);
  font-size: 0.74rem;
  color: color-mix(in oklab, var(--parchment) 60%, transparent);
  letter-spacing: 0.02em;
}

.gs-tier-footnote {
  font-family: var(--font-reading);
  font-size: 0.84rem;
  color: color-mix(in oklab, var(--parchment) 65%, transparent);
  margin: 4px 0 0;
  text-align: center;
}
.gs-tier-footnote a { color: var(--accent); border-bottom: 1px dashed var(--accent); text-decoration: none; }

/* ---- Consent ---- */
.gs-consent {
  padding: 18px;
  background: rgba(10, 10, 15, 0.35);
  border: 1px solid rgba(235, 220, 190, 0.14);
  border-radius: 4px;
  border-top: 1px solid rgba(235, 220, 190, 0.14);
}
.gs-consent + * { margin-top: 4px; }
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  position: relative;
}
.check input[type="checkbox"] { position: absolute; opacity: 0; width: 22px; height: 22px; }
.check .check-mark {
  width: 22px; height: 22px;
  border: 1px solid rgba(235, 220, 190, 0.3);
  background: rgba(10, 10, 15, 0.55);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
  border-radius: 3px;
  transition: border-color 0.18s, background-color 0.18s;
}
.check input:checked + .check-mark::after {
  content: "✓";
  color: var(--obsidian-deep);
  font-weight: 700;
  font-family: var(--font-structure);
  font-size: 0.88rem;
}
.check input:checked + .check-mark { background: var(--accent); border-color: var(--accent); }
.check input:focus-visible + .check-mark { outline: 1px solid var(--accent); outline-offset: 2px; }
.check-text {
  font-family: var(--font-reading);
  font-size: 0.86rem;
  line-height: 1.55;
  color: color-mix(in oklab, var(--parchment) 78%, transparent);
}
.check-text a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed var(--accent); }

/* ---- Submit ---- */
.gs-submit { display: grid; gap: 14px; }
.gs-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  font-size: 0.92rem;
}
.gs-submit-note {
  font-family: var(--font-reading);
  font-size: 0.88rem;
  color: color-mix(in oklab, var(--parchment) 75%, transparent);
  line-height: 1.55;
  text-align: center;
  margin: 0;
}
.gs-submit-note a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed var(--accent); }

.gs-form-status {
  font-family: var(--font-structure);
  font-size: 0.82rem;
  padding: 14px 16px;
  border: 1px solid rgba(235, 220, 190, 0.18);
  border-radius: 3px;
  display: none;
}
.gs-form-status.error {
  display: block;
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent);
}
.gs-form-status.success {
  display: block;
  border-color: var(--positive, #6FBF8E);
  background: color-mix(in oklab, var(--positive, #6FBF8E) 10%, transparent);
  color: var(--positive, #6FBF8E);
}
