:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --panel: #ffffff;
  --line: rgba(22, 52, 91, .14);
  --text: #101a25;
  --muted: #5b6b80;
  --teal: #0b9f93;
  --teal-bright: #48ddce;
  --danger: #b42318;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Manrope", var(--font);
}

* { box-sizing: border-box; }

html, body { width: 100%; height: 100%; overflow: hidden; }

body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

body.solto-portal-enabled {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden !important;
}

body.solto-portal-enabled .solto-portal-bar { flex: 0 0 auto; }
button, input, select, textarea { font: inherit; }

.shell {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: min(1180px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0 12px 4px;
}

.hero {
  position: relative;
  display: grid;
  flex: 0 0 112px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 30, 63, .20);
  border-radius: 18px;
  background: linear-gradient(118deg, #070d16 0%, #0b1930 78%, #0c1c34 100%);
  box-shadow: 0 16px 42px rgba(13, 32, 61, .18);
  color: #f2fbf9;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 13px 8px 13px 22px;
}

.eyebrow {
  margin: 0;
  color: var(--teal-bright);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.hero .eyebrow {
  width: max-content !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--teal-bright) !important;
}

h1 {
  margin: 0;
  color: #fff;
  font: 700 clamp(23px, 2.6vw, 31px)/1.05 var(--display);
  letter-spacing: -.04em;
}

.lede {
  max-width: 680px;
  margin: 0;
  overflow: hidden;
  color: #a3bdb7;
  font-size: 13px;
  line-height: 1.38;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  min-height: 0;
  background-image: url("/get-started/hero.jpg");
  background-position: 100% 55%;
  background-repeat: no-repeat;
  background-size: auto 400%;
}

.hero-art::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b1930 0%, rgba(11, 25, 48, .55) 18%, transparent 44%);
  content: "";
}

.hero-meta {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(5, 10, 16, .76);
  color: #e1f1ee;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77e6e2;
  box-shadow: 0 0 0 4px rgba(119, 230, 226, .12), 0 0 16px rgba(119, 230, 226, .55);
}

.now {
  display: grid;
  flex: 0 0 32px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 0;
  margin: 6px 0;
  overflow: hidden;
  border: 1px solid rgba(5, 26, 52, .16);
  border-radius: 10px;
  background: linear-gradient(90deg, #091221, #0d1a31);
  box-shadow: 0 8px 20px rgba(10, 26, 51, .09);
}

.now-label {
  padding: 0 12px;
  color: #4de0d1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.now-path {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  color: #d5e8e4;
  font-size: 11.5px;
  letter-spacing: .025em;
  white-space: nowrap;
}

.now-path span + span::before { margin: 0 9px; color: #4de0d1; content: "→"; }
.now-note { padding: 0 12px; color: #8eb2ab; font-size: 10.5px; white-space: nowrap; }

.panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 252, 251, .98));
  box-shadow: 0 14px 36px rgba(20, 40, 72, .09);
}

.panel-head {
  display: flex;
  flex: 0 0 auto;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 17px 9px;
  border-bottom: 1px solid rgba(22, 52, 91, .08);
}

.panel-head .eyebrow { margin-bottom: 4px; color: var(--teal); }

.panel-head h2 {
  margin: 0;
  color: #0d1a27;
  font: 700 clamp(19px, 2vw, 24px)/1.05 var(--display);
  letter-spacing: -.035em;
}

.panel-head p:last-child {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.32;
  text-align: right;
}

form {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 11px 16px 12px;
  scrollbar-color: rgba(23, 140, 131, .35) transparent;
  scrollbar-width: thin;
}

form::-webkit-scrollbar { width: 8px; }
form::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(23, 140, 131, .30); }
form::-webkit-scrollbar-track { background: transparent; }

.field { min-width: 0; margin: 0; }
.field-quarter { grid-column: span 1; }
.field-half { grid-column: span 2; }

label {
  display: block;
  margin: 0 0 4px;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}

.hint {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(22, 52, 91, .16);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}

input, select { height: 36px; padding: 0 10px; }
textarea { height: 78px; min-height: 64px; padding: 8px 10px; line-height: 1.35; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8b9ba9; }
input:hover, select:hover, textarea:hover { border-color: rgba(11, 159, 147, .42); }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 159, 147, .14); }

.optional { color: var(--muted); font-weight: 500; }
.trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #27d5c5, #0ea79c);
  box-shadow: 0 8px 22px rgba(11, 159, 147, .20);
  color: #06142b;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

button:hover, button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 58, 99, .20);
  box-shadow: 0 11px 26px rgba(11, 159, 147, .27);
  outline: none;
}

button:active { transform: translateY(0) scale(.988); }
button:disabled { cursor: wait; opacity: .62; transform: none; }
.status { min-height: 18px; color: var(--muted); font-size: 11.5px; }
.status.error { color: var(--danger); }

.success {
  display: none;
  margin: 12px 16px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(45, 199, 184, .20);
  border-radius: 14px;
  background: radial-gradient(circle at 88% 10%, rgba(72, 221, 206, .18), transparent 19rem), linear-gradient(145deg, #0b1a29, #12223d);
  box-shadow: 0 14px 32px rgba(10, 26, 51, .14);
  color: #f6fffd;
  text-align: center;
}

.success.show { display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; }
.success-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; background: rgba(72, 221, 206, .14); box-shadow: inset 0 0 0 1px rgba(72, 221, 206, .24); color: var(--teal-bright); font: 700 25px/1 var(--display); }
.success h2 { margin: 0 0 6px; color: #fff; font: 700 23px/1.12 var(--display); letter-spacing: -.03em; }
.success p { max-width: 520px; margin: 0 auto; color: #bed3ce; font-size: 13px; line-height: 1.5; }
.success .ticket { margin-top: 12px; color: var(--teal-bright); font-weight: 700; }
.success .again { margin-top: 18px; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); color: #eef7f5; box-shadow: none; }
.success .again:hover, .success .again:focus-visible { border-color: var(--teal-bright); background: rgba(255, 255, 255, .13); }

.foot {
  display: flex;
  flex: 0 0 20px;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 4px 0;
  color: #65727f;
  font-size: 10px;
  line-height: 1.35;
}

.foot a { color: inherit; text-decoration: none; }
.foot a:hover, .foot a:focus-visible { color: var(--teal); text-decoration: underline; outline: none; }

@media (max-width: 1050px) {
  form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-quarter, .field-half { grid-column: span 1; }
}

@media (max-width: 760px) {
  .shell { padding: 0 8px 3px; }
  .hero { flex-basis: 108px; grid-template-columns: 1fr; border-radius: 15px; }
  .hero-copy { padding: 13px 18px; }
  .hero-art, .hero-meta { display: none; }
  .lede { font-size: 12px; }
  .now { grid-template-columns: auto 1fr; margin: 5px 0; }
  .now-note { display: none; }
  .panel-head { align-items: flex-start; min-height: 54px; padding: 9px 13px 8px; }
  .panel-head p:last-child { max-width: 310px; text-align: right; }
  form { padding: 10px 12px; }
}

@media (max-width: 620px) {
  .hero { flex-basis: 101px; }
  .hero-copy { padding: 12px 15px; }
  h1 { font-size: 22px; }
  .lede { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .now-label { padding: 0 9px; font-size: 0; }
  .now-label::after { font-size: 9.5px; content: "Next"; }
  .now-path { padding-right: 8px; font-size: 10.5px; }
  .now-path span + span::before { margin: 0 6px; }
  .panel { border-radius: 13px; }
  .panel-head { display: block; min-height: 51px; }
  .panel-head p:last-child { display: none; }
  .panel-head h2 { font-size: 19px; }
  form { grid-template-columns: 1fr; gap: 9px; }
  .field-quarter, .field-half { grid-column: 1; }
  textarea { height: 72px; }
  .actions { align-items: stretch; flex-direction: column; gap: 6px; }
  button { width: 100%; }
  .status { text-align: center; }
  .success { margin: 10px 12px; padding: 20px 16px; }
  .foot { align-items: center; font-size: 9px; }
}

@media (max-height: 760px) {
  .hero { flex-basis: 78px; }
  .hero-copy { gap: 3px; padding-top: 8px; padding-bottom: 8px; }
  .hero .eyebrow { display: none !important; }
  h1 { font-size: 21px; }
  .lede { font-size: 11px; }
  .hero-art { background-size: auto 500%; }
  .hero-meta { display: none; }
  .now { flex-basis: 28px; margin: 4px 0; }
  .panel-head { min-height: 48px; padding-top: 7px; padding-bottom: 7px; }
  .panel-head .eyebrow { display: none !important; }
  .panel-head h2 { font-size: 18px; }
  form { gap: 7px 10px; padding-top: 8px; padding-bottom: 8px; }
  label { margin-bottom: 3px; font-size: 10.5px; }
  input, select { height: 33px; }
  textarea { height: 62px; min-height: 52px; }
  .hint { display: none; }
  .actions { min-height: 34px; }
  button { min-height: 34px; }
  .foot { flex-basis: 17px; padding-top: 2px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}
