/* ══════════════════════════════════════════════════════════
   GYATT FORMS — Premium Form Design System v2
   Apple × Linear × Vercel inspired
   Plain CSS — no build tools required
   ══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --gf-rust:        #B85931;
  --gf-rust-dim:    #9a4726;
  --gf-rust-glow:   rgba(184,89,49,.16);
  --gf-green:       #22c55e;
  --gf-red:         #ef4444;
  --gf-yellow:      #f59e0b;
  --gf-blue:        #818cf8;

  /* Dark surface (default — dark bg forms) */
  --gf-surface:     #1E1C1A;
  --gf-surface-2:   #252220;
  --gf-border:      rgba(255,255,255,.09);
  --gf-border-focus:rgba(184,89,49,.55);
  --gf-text:        #F5F3EF;
  --gf-text-dim:    rgba(245,243,239,.48);
  --gf-label:       rgba(245,243,239,.58);

  --gf-radius:      10px;
  --gf-ease:        cubic-bezier(.25,.46,.45,.94);
  --gf-spring:      cubic-bezier(.34,1.56,.64,1);
  --gf-f-display:   'Barlow Condensed', sans-serif;
  --gf-f-body:      'DM Sans', system-ui, sans-serif;
}

/* ── Reset within form scope ── */
.gf-form *, .gf-form *::before, .gf-form *::after { box-sizing: border-box; }
.gf-form input, .gf-form select, .gf-form textarea, .gf-form button {
  font-family: var(--gf-f-body);
  font-size: 16px; /* 16px floor prevents iOS Safari auto-zoom-on-focus */
}

/* ════════════════════════════════════════════
   FIELD WRAPPER
   ════════════════════════════════════════════ */
.gf { position: relative; }

.gf-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--gf-f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gf-label);
  margin-bottom: 8px;
  line-height: 1;
  transition: color .2s;
}
.gf:focus-within .gf-label { color: rgba(245,243,239,.78); }

.gf-opt {
  font-family: var(--gf-f-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: .5;
}
.gf-req { color: var(--gf-rust); font-size: 13px; line-height: 1; }

/* ════════════════════════════════════════════
   INPUT / TEXTAREA / SELECT
   ════════════════════════════════════════════ */
.gf-input,
.gf-textarea,
.gf-select {
  width: 100%;
  background: var(--gf-surface-2);
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius);
  color: var(--gf-text);
  font-family: var(--gf-f-body);
  font-size: 16px; /* 16px floor prevents iOS Safari auto-zoom-on-focus */
  line-height: 1.5;
  padding: 11px 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark; /* native controls (scrollbars, datepicker) use dark styling */
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.gf-input::placeholder,
.gf-textarea::placeholder { color: var(--gf-text-dim); }

.gf-input:focus,
.gf-textarea:focus,
.gf-select:focus {
  border-color: var(--gf-border-focus);
  box-shadow: 0 0 0 3px var(--gf-rust-glow);
  background: rgba(255,255,255,.04);
}

/* ── Browser autofill override (dark theme) ── */
/* Chrome/Safari override the background + text color on autofill.
   These rules force the dark surface + light text to survive. */
.gf-input:-webkit-autofill,
.gf-input:-webkit-autofill:hover,
.gf-input:-webkit-autofill:focus,
.gf-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--gf-text) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--gf-surface-2) inset !important;
  caret-color: var(--gf-text);
  transition: background-color 5000s ease-in-out 0s;
}

.gf-textarea { resize: vertical; min-height: 100px; }

/* ── Select arrow ── */
.gf-select-wrap { position: relative; }
.gf-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 5px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--gf-text-dim);
  pointer-events: none;
  transition: transform .2s;
}
.gf-select { padding-right: 36px; cursor: pointer; }

/* ── Input with icon prefix (e.g. @ for Instagram) ── */
.gf-prefix-wrap { position: relative; }
.gf-prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gf-rust);
  font-weight: 700;
  font-size: 16px;
  pointer-events: none;
  line-height: 1;
  z-index: 1;
}
.gf-prefix-wrap .gf-input { padding-left: 28px; }

/* ════════════════════════════════════════════
   VALIDATION STATES
   ════════════════════════════════════════════ */
.gf.is-error .gf-input,
.gf.is-error .gf-textarea,
.gf.is-error .gf-select {
  border-color: var(--gf-red);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.gf.is-valid .gf-input,
.gf.is-valid .gf-textarea,
.gf.is-valid .gf-select {
  border-color: var(--gf-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.09);
}
.gf.is-error .gf-label { color: rgba(239,68,68,.75); }

/* Error message */
.gf-err {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gf-red);
  margin-top: 6px;
  animation: gfSlideDown .2s var(--gf-ease);
}
.gf.is-error .gf-err { display: flex; }
.gf-err svg { flex-shrink: 0; }

/* Helper text */
.gf-hint {
  font-size: 11px;
  color: var(--gf-text-dim);
  margin-top: 5px;
  line-height: 1.4;
}

/* Valid check mark */
.gf-valid-icon {
  position: absolute;
  right: 12px;
  bottom: 11px;
  color: var(--gf-green);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s, transform .25s var(--gf-spring);
  pointer-events: none;
}
.gf.is-valid .gf-valid-icon { opacity: 1; transform: scale(1); }
.gf.is-valid .gf-input,
.gf.is-valid .gf-textarea { padding-right: 36px; }

/* ════════════════════════════════════════════
   TOOLTIP
   ════════════════════════════════════════════ */
.gf-tip-wrap { position: relative; display: inline-flex; }
.gf-tip-icon {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--gf-text-dim);
  color: var(--gf-text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  cursor: default;
  line-height: 1;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
  font-family: var(--gf-f-body);
}
.gf-tip-wrap:hover .gf-tip-icon,
.gf-tip-wrap:focus-within .gf-tip-icon {
  color: rgba(245,243,239,.82);
  border-color: rgba(245,243,239,.4);
}
.gf-tip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #2d2b29;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245,243,239,.82);
  width: 200px;
  line-height: 1.55;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, transform .15s var(--gf-ease);
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  white-space: normal;
}
.gf-tip-wrap:hover .gf-tip-bubble,
.gf-tip-wrap:focus-within .gf-tip-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.gf-tip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #2d2b29;
}

/* ════════════════════════════════════════════
   RADIO OPTION GROUP
   ════════════════════════════════════════════ */
.gf-radio-group { display: flex; flex-direction: column; gap: 8px; }

.gf-radio-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.035);
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  user-select: none;
}
.gf-radio-opt:hover {
  border-color: rgba(184,89,49,.28);
  background: rgba(184,89,49,.04);
}
.gf-radio-opt.checked {
  border-color: rgba(184,89,49,.55);
  background: rgba(184,89,49,.09);
}
.gf-radio-opt input { display: none; }

.gf-radio-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: border-color .18s;
}
.gf-radio-opt.checked .gf-radio-dot { border-color: var(--gf-rust); }
.gf-radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gf-rust);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: opacity .2s, transform .2s var(--gf-spring);
}
.gf-radio-opt.checked .gf-radio-dot::after { opacity: 1; transform: scale(1); }

.gf-radio-body { flex: 1; }
.gf-radio-title { font-size: 14px; font-weight: 600; color: var(--gf-text); line-height: 1.3; }
.gf-radio-sub   { font-size: 12px; color: var(--gf-text-dim); margin-top: 2px; line-height: 1.4; }

/* ════════════════════════════════════════════
   CHECKBOX
   ════════════════════════════════════════════ */
.gf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.gf-checkbox input { display: none; }
.gf-cb-box {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 2px solid rgba(255,255,255,.18);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.gf-checkbox.checked .gf-cb-box { background: var(--gf-rust); border-color: var(--gf-rust); }
.gf-cb-mark {
  opacity: 0;
  transform: scale(.3) rotate(-15deg);
  transition: opacity .15s, transform .2s var(--gf-spring);
}
.gf-checkbox.checked .gf-cb-mark { opacity: 1; transform: scale(1) rotate(0deg); }
.gf-cb-text { font-size: 14px; color: var(--gf-text); line-height: 1.5; }
.gf-cb-sub  { font-size: 12px; color: var(--gf-text-dim); margin-top: 2px; }

/* ════════════════════════════════════════════
   DISTANCE / TILE GRID
   ════════════════════════════════════════════ */
.gf-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gf-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--gf-border);
  border-radius: 12px;
  padding: 18px 10px;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .15s;
  user-select: none;
  text-align: center;
}
.gf-tile:hover { border-color: rgba(184,89,49,.3); background: rgba(184,89,49,.05); }
.gf-tile.checked { border-color: rgba(184,89,49,.6); background: rgba(184,89,49,.11); }
.gf-tile:active  { transform: scale(.97); }
.gf-tile input   { display: none; }
.gf-tile-main {
  font-family: var(--gf-f-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--gf-text);
  line-height: 1;
  letter-spacing: -.01em;
  transition: color .18s;
}
.gf-tile.checked .gf-tile-main { color: var(--gf-rust); }
.gf-tile-sub {
  font-family: var(--gf-f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gf-text-dim);
  margin-top: 5px;
  transition: color .18s;
}
.gf-tile.checked .gf-tile-sub { color: rgba(184,89,49,.75); }

/* ════════════════════════════════════════════
   MULTI-STEP PROGRESS
   ════════════════════════════════════════════ */
.gf-progress {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
}
.gf-prog-item {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.gf-prog-item:last-child { flex: none; }

.gf-prog-node-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gf-prog-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gf-f-display);
  font-size: 13px;
  font-weight: 800;
  color: rgba(245,243,239,.3);
  transition: all .3s var(--gf-ease);
  position: relative;
  z-index: 1;
  background: var(--gf-surface);
}
.gf-prog-item.gf-active .gf-prog-circle {
  border-color: var(--gf-rust);
  color: var(--gf-rust);
  box-shadow: 0 0 0 4px rgba(184,89,49,.14);
}
.gf-prog-item.gf-done .gf-prog-circle {
  background: var(--gf-rust);
  border-color: var(--gf-rust);
  color: #fff;
}
.gf-prog-label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--gf-f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,243,239,.28);
  transition: color .3s;
}
.gf-prog-item.gf-active .gf-prog-label { color: var(--gf-rust); }
.gf-prog-item.gf-done  .gf-prog-label { color: rgba(245,243,239,.48); }

.gf-prog-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
  margin: 0 2px;
}
.gf-prog-line-fill {
  position: absolute;
  inset: 0;
  background: var(--gf-rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--gf-ease);
}
.gf-prog-item.gf-done .gf-prog-line .gf-prog-line-fill { transform: scaleX(1); }

/* ════════════════════════════════════════════
   STEP CONTENT
   ════════════════════════════════════════════ */
.gf-step { display: none; }
.gf-step.gf-active {
  display: block;
  animation: gfStepIn .28s var(--gf-ease);
}
.gf-step.gf-back {
  animation: gfStepInBack .28s var(--gf-ease);
}

@keyframes gfStepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes gfStepInBack {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: none; }
}

.gf-step-eyebrow {
  font-family: var(--gf-f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gf-rust);
  margin-bottom: 8px;
}
.gf-step-title {
  font-family: var(--gf-f-display);
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--gf-text);
  margin-bottom: 6px;
  line-height: 1.1;
}
.gf-step-desc {
  font-size: 13px;
  color: var(--gf-text-dim);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Field layout helpers */
.gf-fields { display: flex; flex-direction: column; gap: 16px; }
.gf-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width: 520px) { .gf-row { grid-template-columns: 1fr; } }

/* Section label divider within a step */
.gf-section {
  font-family: var(--gf-f-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gf-rust);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(184,89,49,.18);
  margin-top: 6px;
  margin-bottom: 2px;
}

/* ════════════════════════════════════════════
   NAVIGATION BAR
   ════════════════════════════════════════════ */
.gf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.gf-nav-left  { display: flex; align-items: center; gap: 10px; }
.gf-nav-right { display: flex; align-items: center; gap: 10px; }

.gf-step-count {
  font-family: var(--gf-f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245,243,239,.3);
}

/* ── Buttons ── */
.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--gf-radius);
  border: none;
  font-family: var(--gf-f-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .18s, opacity .18s;
  outline: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}
.gf-btn:focus-visible {
  box-shadow: 0 0 0 3px var(--gf-rust-glow), 0 0 0 1.5px var(--gf-rust);
}
.gf-btn:active:not(:disabled) { transform: scale(.97); }
.gf-btn:disabled { opacity: .45; cursor: not-allowed; }

.gf-btn-primary {
  background: var(--gf-rust);
  color: #fff;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(184,89,49,.25);
}
.gf-btn-primary:hover:not(:disabled) {
  background: var(--gf-rust-dim);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(184,89,49,.35);
}

.gf-btn-ghost {
  background: rgba(255,255,255,.04);
  color: rgba(245,243,239,.5);
  border: 1.5px solid rgba(255,255,255,.09);
}
.gf-btn-ghost:hover:not(:disabled) {
  color: var(--gf-text);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
}

.gf-btn-icon { opacity: .8; }

/* Loading spinner in button */
.gf-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gfSpin .65s linear infinite;
}
@keyframes gfSpin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ════════════════════════════════════════════ */
#gf-toasts {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 340px;
  width: calc(100vw - 48px);
}
.gf-toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #1a1816;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  padding: 13px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
  pointer-events: auto;
  animation: gfToastIn .28s var(--gf-spring);
  will-change: transform, opacity;
}
.gf-toast.gf-toast-out { animation: gfToastOut .22s var(--gf-ease) forwards; }
@keyframes gfToastIn {
  from { opacity: 0; transform: translateX(24px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
@keyframes gfToastOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateX(20px) scale(.96); }
}

.gf-toast-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.gf-toast.success .gf-toast-icon { background: rgba(34,197,94,.15);  color: var(--gf-green); }
.gf-toast.error   .gf-toast-icon { background: rgba(239,68,68,.15);  color: var(--gf-red); }
.gf-toast.info    .gf-toast-icon { background: rgba(129,140,248,.15); color: var(--gf-blue); }
.gf-toast.warning .gf-toast-icon { background: rgba(245,158,11,.15); color: var(--gf-yellow); }

.gf-toast-body { flex: 1; min-width: 0; }
.gf-toast-title { font-size: 13px; font-weight: 600; color: #F5F3EF; line-height: 1.3; }
.gf-toast-msg   { font-size: 12px; color: rgba(245,243,239,.52); line-height: 1.45; margin-top: 2px; }
.gf-toast-close {
  background: none; border: none;
  color: rgba(245,243,239,.25);
  cursor: pointer; font-size: 18px;
  line-height: 1; padding: 0;
  flex-shrink: 0;
  transition: color .15s;
  align-self: flex-start;
}
.gf-toast-close:hover { color: rgba(245,243,239,.65); }

/* ════════════════════════════════════════════
   ALERT BANNER (inline form errors)
   ════════════════════════════════════════════ */
.gf-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: var(--gf-radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  animation: gfSlideDown .22s var(--gf-ease);
}
.gf-alert.error   { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.2);  }
.gf-alert.success { background: rgba(34,197,94,.08);  border: 1px solid rgba(34,197,94,.2);  }
.gf-alert.info    { background: rgba(129,140,248,.08); border: 1px solid rgba(129,140,248,.2); }
.gf-alert.warning { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); }
.gf-alert-icon { flex-shrink: 0; margin-top: 1px; }
.gf-alert.error   .gf-alert-icon { color: var(--gf-red); }
.gf-alert.success .gf-alert-icon { color: var(--gf-green); }
.gf-alert.info    .gf-alert-icon { color: var(--gf-blue); }
.gf-alert.warning .gf-alert-icon { color: var(--gf-yellow); }
.gf-alert-msg { font-size: 13px; color: rgba(245,243,239,.8); line-height: 1.5; }

/* ════════════════════════════════════════════
   SUCCESS STATE
   ════════════════════════════════════════════ */
.gf-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: gfStepIn .35s var(--gf-ease);
}
.gf-success.gf-active { display: block; }
.gf-success-ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(34,197,94,.1);
  border: 1.5px solid rgba(34,197,94,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--gf-green);
}
.gf-success-title {
  font-family: var(--gf-f-display);
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.01em;
  color: var(--gf-text);
  margin-bottom: 14px;
}
.gf-success-title em { color: var(--gf-rust); font-style: normal; }
.gf-success-sub {
  font-size: 15px;
  color: var(--gf-text-dim);
  line-height: 1.72;
  max-width: 300px;
  margin: 0 auto 26px;
}
.gf-success-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--gf-radius);
  font-family: var(--gf-f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,243,239,.7);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.gf-success-link:hover { background: rgba(255,255,255,.09); color: var(--gf-text); }

/* ════════════════════════════════════════════
   MINOR SECTION (under-18 disclosure)
   ════════════════════════════════════════════ */
.gf-minor-box {
  background: rgba(184,89,49,.05);
  border: 1px solid rgba(184,89,49,.18);
  border-radius: var(--gf-radius);
  padding: 16px;
  margin-top: 2px;
}
.gf-minor-note {
  font-size: 13px;
  color: rgba(245,243,239,.6);
  margin-bottom: 14px;
  line-height: 1.55;
}

/* ════════════════════════════════════════════
   LIGHT VARIANT (forms on light backgrounds)
   Wrap form in .gf-light to activate
   ════════════════════════════════════════════ */
.gf-light {
  --gf-surface:     #fff;
  --gf-surface-2:   #faf9f8;
  --gf-border:      rgba(0,0,0,.11);
  --gf-border-focus:rgba(184,89,49,.5);
  --gf-text:        #111111;
  --gf-text-dim:    rgba(0,0,0,.42);
  --gf-label:       rgba(0,0,0,.52);
  --gf-rust-glow:   rgba(184,89,49,.12);
}
/* Light-theme inputs use light color-scheme for native controls */
.gf-light .gf-input,
.gf-light .gf-textarea,
.gf-light .gf-select { color-scheme: light; }

/* Browser autofill override (light theme) */
.gf-light .gf-input:-webkit-autofill,
.gf-light .gf-input:-webkit-autofill:hover,
.gf-light .gf-input:-webkit-autofill:focus,
.gf-light .gf-input:-webkit-autofill:active {
  -webkit-text-fill-color: #111111 !important;
  -webkit-box-shadow: 0 0 0 1000px #faf9f8 inset !important;
  caret-color: #111111;
  transition: background-color 5000s ease-in-out 0s;
}
.gf-light .gf-prog-circle { background: #fff; }
.gf-light .gf-tip-bubble  { background: #1a1816; }
.gf-light .gf-select-wrap::after { background: rgba(0,0,0,.35); }
.gf-light .gf-btn-ghost {
  color: rgba(0,0,0,.45);
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
}
.gf-light .gf-btn-ghost:hover:not(:disabled) {
  color: #111;
  border-color: rgba(0,0,0,.22);
  background: rgba(0,0,0,.06);
}
.gf-light .gf-nav { border-top-color: rgba(0,0,0,.07); }
.gf-light .gf-step-count { color: rgba(0,0,0,.3); }
.gf-light .gf-step-desc  { color: rgba(0,0,0,.48); }
.gf-light .gf-radio-opt  { background: rgba(0,0,0,.025); border-color: rgba(0,0,0,.09); }
.gf-light .gf-radio-opt:hover { background: rgba(184,89,49,.04); border-color: rgba(184,89,49,.25); }
.gf-light .gf-radio-opt.checked { background: rgba(184,89,49,.07); border-color: rgba(184,89,49,.5); }
.gf-light .gf-radio-dot { border-color: rgba(0,0,0,.18); }
.gf-light .gf-radio-title { color: #111; }
.gf-light .gf-radio-sub   { color: rgba(0,0,0,.45); }
.gf-light .gf-tile { background: rgba(0,0,0,.025); border-color: rgba(0,0,0,.09); }
.gf-light .gf-tile:hover  { background: rgba(184,89,49,.04); border-color: rgba(184,89,49,.28); }
.gf-light .gf-tile.checked { background: rgba(184,89,49,.07); border-color: rgba(184,89,49,.55); }
.gf-light .gf-tile-main { color: #111; }
.gf-light .gf-checkbox .gf-cb-box   { border-color: rgba(0,0,0,.18); }
.gf-light .gf-checkbox .gf-cb-text  { color: #111; }
.gf-light .gf-checkbox .gf-cb-sub   { color: rgba(0,0,0,.45); }
.gf-light .gf-section { border-bottom-color: rgba(184,89,49,.15); }
.gf-light .gf-prog-line { background: rgba(0,0,0,.06); }
.gf-light .gf-prog-circle { border-color: rgba(0,0,0,.1); color: rgba(0,0,0,.28); }
.gf-light .gf-hint { color: rgba(0,0,0,.4); }
.gf-light .gf-err  { color: var(--gf-red); }
.gf-light:focus-within .gf-label { color: rgba(0,0,0,.72); }
.gf-light .gf-minor-box  { background: rgba(184,89,49,.04); }
.gf-light .gf-minor-note { color: rgba(0,0,0,.55); }

/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes gfSlideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════
   NEWSLETTER INLINE
   ════════════════════════════════════════════ */
.gf-subscribe-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.gf-subscribe-row .gf-input { flex: 1; }
.gf-subscribe-row .gf-btn  { flex-shrink: 0; height: auto; padding: 11px 20px; }
@media(max-width: 480px) { .gf-subscribe-row { flex-direction: column; } }
