/* ADRENALN5 AI: get-started.html (intake) and status.html. Brand tokens come from styles.css. */

/* the site header is position: fixed (styles.css), so the hero clears it with top padding */
.gs-hero { padding: 132px 0 96px; }
.gs-hero h1 { margin: 18px 0 22px; font-size: clamp(2.4rem, 6vw, 4.25rem); }
.gs-hero .lede { margin: 0 0 28px; }
.gs-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gs-chips li { border: 1.5px solid rgba(226, 169, 241, .55); border-radius: var(--radius-pill); padding: 8px 18px; font-size: .95rem; font-weight: 500; }
.gs-chips b { color: var(--orchid); margin-right: 8px; font-family: var(--font-display); }

.gs-main { background: var(--white); padding: 0 0 96px; }
.gs-card {
  position: relative; z-index: 2; max-width: 840px; margin: -52px auto 0; background: var(--white);
  border: 1px solid #E6DDEC; border-radius: 28px; padding: 44px; box-shadow: 0 30px 80px rgba(22, 11, 31, .18);
}
.gs-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: 12px; }
.gs-card p { margin: 0 0 14px; }

/* Form */
.gs-fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.gs-legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; }
.gs-legend i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: var(--white); font-size: .95rem; }
.gs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gs-grid-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.gs-grid .span-2 { grid-column: 1 / -1; }

.gs-field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.gs-field .opt { font-weight: 400; color: var(--slate); }
.gs-field input[type="text"], .gs-field input[type="email"], .gs-field input[type="tel"], .gs-field input[type="url"], .gs-field select {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--plum); background: var(--white);
  border: 2px solid #D8CCE0; border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.gs-field input:hover, .gs-field select:hover { border-color: var(--deep-orchid); }
.gs-field input:focus-visible, .gs-field select:focus-visible { outline: 3px solid var(--deep-orchid); outline-offset: 2px; border-color: var(--plum); }
.gs-field [aria-invalid="true"] { border-color: var(--hibiscus); }
.gs-hint { color: var(--slate); font-size: .88rem; margin: 6px 0 0 !important; }
.gs-err { color: var(--hibiscus); font-size: .92rem; font-weight: 500; margin: 6px 0 0 !important; }
.gs-err:empty { display: none; }
.gs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gs-consent { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 18px; background: #F8F3FB; border: 1px solid #E6DDEC; border-radius: 16px; }
.gs-consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--hibiscus); }
.gs-consent label { font-weight: 400; font-size: .95rem; margin: 0; }
.gs-consent a { color: var(--hibiscus); font-weight: 600; }

.gs-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.gs-actions .btn { border: 0; cursor: pointer; min-height: 56px; }
.gs-actions .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.gs-note { color: var(--slate); font-size: .9rem; margin: 0 !important; max-width: 30rem; }
.gs-note a { color: inherit; }

.gs-alert { margin: 0 0 24px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--hibiscus); background: #FDEFF4; font-size: .98rem; }
.gs-alert:empty { display: none; }
.gs-alert strong { display: block; margin-bottom: 2px; }
.gs-alert a { color: var(--hibiscus); font-weight: 600; }
.gs-banner { margin: 0 0 24px; padding: 14px 18px; border-radius: 14px; background: #FFF6D6; border: 1.5px solid #E5C24A; font-size: .95rem; }
.gs-banner[hidden] { display: none; }

/* Status page */
.gs-ref { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 6px 0 26px; padding: 10px 10px 10px 16px; background: #F8F3FB; border: 1px solid #E6DDEC; border-radius: 14px; }
.gs-ref span { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.gs-ref code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.gs-ref button { font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-pill); border: 2px solid var(--plum); background: var(--white); color: var(--plum); cursor: pointer; }
.gs-ref button:focus-visible { outline: 3px solid var(--deep-orchid); outline-offset: 2px; }
.gs-ref[hidden] { display: none; }

.gs-steps { list-style: none; margin: 0 0 8px; padding: 0; }
.gs-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 30px; }
.gs-step:last-child { padding-bottom: 0; }
.gs-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #E6DDEC; }
.gs-step:last-child::before { display: none; }
.gs-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #D8CCE0; background: var(--white); font-family: var(--font-display); font-weight: 600; color: var(--slate); }
.gs-step h3 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2px 0 4px; }
.gs-step p { margin: 0; color: #4B4355; font-size: 1rem; }
.gs-tag { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; background: #F0E8F5; color: #4B4355; }
.gs-step[data-state="done"] .gs-dot { background: var(--plum); border-color: var(--plum); color: var(--white); }
.gs-step[data-state="done"]::before { background: var(--plum); }
.gs-step[data-state="done"] .gs-tag { background: var(--plum); color: var(--white); }
.gs-step[data-state="now"] .gs-dot { border-color: var(--hibiscus); color: var(--hibiscus); box-shadow: 0 0 0 6px rgba(214, 49, 99, .14); }
.gs-step[data-state="now"] .gs-tag { background: #FDEFF4; color: var(--hibiscus); }
.gs-step[data-state="next"] h3 { color: var(--slate); }

.gs-facts { margin: 34px 0 0; padding: 20px 22px; border-radius: 16px; background: #F8F3FB; border: 1px solid #E6DDEC; }
.gs-facts h3 { font-size: 1.1rem; margin-bottom: 8px; }
.gs-facts ul { margin: 0; padding-left: 20px; }
.gs-facts li { margin: 4px 0; font-size: .98rem; }
.gs-facts a { color: var(--hibiscus); font-weight: 600; }
.gs-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.gs-cta[hidden], .gs-facts[hidden] { display: none; }
.gs-cta .btn-outline { color: var(--plum); }
.gs-debug { margin-top: 24px; font-size: .85rem; }
.gs-debug pre { overflow: auto; padding: 14px; border-radius: 12px; background: var(--plum); color: var(--orchid); }

@media (prefers-reduced-motion: no-preference) {
  .gs-step[data-state="now"] .gs-dot { animation: gs-pulse 2.4s ease-in-out infinite; }
  @keyframes gs-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(214, 49, 99, .14); } 50% { box-shadow: 0 0 0 9px rgba(214, 49, 99, .06); } }
}

@media (max-width: 700px) {
  .gs-hero { padding-top: 116px; }
  .gs-card { padding: 28px 20px; margin-top: -40px; border-radius: 22px; }
  .gs-grid, .gs-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gs-actions { flex-direction: column; align-items: stretch; }
  .gs-actions .btn { width: 100%; text-align: center; }
  .gs-step { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .gs-dot { width: 38px; height: 38px; }
  .gs-step::before { left: 18px; top: 38px; }
  .gs-tag { margin: 6px 0 0; display: table; }
}
