@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,600&family=Source+Serif+4:ital,wght@1,500;1,600;1,700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Standard Computer tokens (subset) */
  --sc-blaze-orange: #FF6700;
  --sc-orange-deep: #C24F00;
  --sc-ink: #111111;
  --sc-paper: #FEFEFC;
  --sc-lola: #E9E3E6;
  --sc-silver-chalice: #B2B2B2;
  --sc-suva-gray: #736F72;
  --sc-success: #2E8B57;
  --sc-alizarin: #EE1C25;

  --bg: var(--sc-paper);
  --bg-muted: #F5F1ED;
  --bg-card: #FFFFFF;
  --fg1: var(--sc-ink);
  --fg2: #3A3638;
  --fg3: var(--sc-suva-gray);
  --border: #E2DDD9;
  --rule: #D9D3CE;

  --accent: var(--sc-blaze-orange);
  --accent-hover: #E55C00;
  --accent-press: var(--sc-orange-deep);
  --accent-fg: #FFFFFF;

  --font-sans: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(17,17,17,0.06), 0 1px 1px rgba(17,17,17,0.04);
  --shadow-md: 0 4px 12px rgba(17,17,17,0.08), 0 1px 2px rgba(17,17,17,0.04);
  --shadow-lg: 0 12px 28px rgba(17,17,17,0.12), 0 2px 6px rgba(17,17,17,0.06);
  --shadow-stripe: 8px 8px 0 var(--sc-ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; color: inherit; }
a { color: var(--fg1); }

/* ---------------- TOP BAR ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(254, 254, 252, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-row {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark .mark {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-mark .mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark .name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-mark .name .sub {
  display: block;
  font-weight: 600;
  font-size: 10px;
  color: var(--fg3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}
.topbar .doc-meta {
  flex: 1;
  min-width: 0;
  padding-left: 28px;
  margin-left: 4px;
  border-left: 1px solid var(--border);
}
.topbar .doc-meta .eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .doc-meta .title {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--fg2);
  flex-shrink: 0;
  white-space: nowrap;
}
.topbar .progress-bar {
  width: 96px;
  height: 6px;
  background: var(--bg-muted);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.topbar .progress-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 250ms cubic-bezier(.2,0,0,1);
}
.topbar .phone {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.topbar .phone .ic {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: var(--sc-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar .phone .num {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.topbar .phone .sub {
  font-size: 11px;
  color: var(--fg3);
  margin-top: 2px;
  white-space: nowrap;
}

/* ---------------- PAGE LAYOUT ---------------- */
.page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1180px) {
  .page { grid-template-columns: 1fr; }
  .preview-rail { display: none; }
}

/* ---------------- FORM COLUMN ---------------- */
.form-col {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.intro {
  position: relative;
  background: var(--sc-ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px 44px;
  overflow: hidden;
}
.intro::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -40px;
  width: 96px;
  background: var(--accent);
  transform: skewX(-8deg);
}
.intro .eyebrow {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.intro .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.intro h1 {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 540px;
}
.intro h1 .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.intro p {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.84);
  max-width: 540px;
}
.intro .meta {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.intro .meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.intro .meta-item .lab {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.intro .meta-item .val {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

/* ---------------- SECTION CARDS ---------------- */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.section-card .hd {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF7 100%);
}
.section-card .num {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--sc-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.section-card .hd h2 {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg1);
}
.section-card .hd .sub {
  margin-top: 3px;
  font-size: 14px;
  color: var(--fg3);
  font-weight: 400;
  line-height: 1.4;
}
.section-card .status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--border);
  flex-shrink: 0;
}
.section-card .status-dot.done {
  background: var(--sc-success);
  box-shadow: 0 0 0 4px rgba(46,139,87,0.12);
}
.section-card .body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------------- FIELDS ---------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--fg1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-label .req {
  color: var(--accent);
  font-weight: 700;
}
.field-label .hint {
  font-weight: 500;
  font-size: 12px;
  color: var(--fg3);
}
.field-help {
  font-size: 13px;
  color: var(--fg3);
  line-height: 1.45;
}
.text-input, .textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--fg1);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.text-input:hover, .textarea:hover { border-color: #B9B0A6; }
.text-input:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,103,0,0.18);
}
.textarea { resize: vertical; min-height: 92px; line-height: 1.5; }

.text-input.has-error, .textarea.has-error {
  border-color: var(--sc-alizarin);
  box-shadow: 0 0 0 3px rgba(238,28,37,0.12);
}
.error-msg {
  font-size: 12px;
  color: var(--sc-alizarin);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.input-prefix {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 150ms, box-shadow 150ms;
}
.input-prefix:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,103,0,0.18);
}
.input-prefix .px {
  padding: 12px 14px;
  background: var(--bg-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg3);
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
}
.input-prefix input {
  border: 0;
  outline: 0;
  padding: 12px 14px;
  background: #fff;
  font-size: 15px;
  color: var(--fg1);
  font-family: inherit;
}

/* ---------------- RADIO / CHECKBOX CARDS ---------------- */
.opt-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opt {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms, box-shadow 150ms, background 150ms;
}
.opt:hover { border-color: #B9B0A6; }
.opt.is-selected {
  border-color: var(--sc-ink);
  background: #FFFCFA;
  box-shadow: 0 0 0 1px var(--sc-ink) inset;
}
.opt .glyph {
  width: 22px; height: 22px;
  border: 2px solid var(--rule);
  background: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 150ms, background 150ms;
  display: flex; align-items: center; justify-content: center;
}
.opt[data-kind="radio"] .glyph { border-radius: 999px; }
.opt[data-kind="check"] .glyph { border-radius: 4px; }
.opt.is-selected .glyph {
  border-color: var(--accent);
  background: var(--accent);
}
.opt.is-selected[data-kind="radio"] .glyph::after {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: #fff;
}
.opt.is-selected[data-kind="check"] .glyph::after {
  content: "";
  width: 12px; height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.opt .main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.opt .title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--fg1);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.opt .desc {
  font-size: 13px;
  color: var(--fg3);
  line-height: 1.45;
}
.opt .badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px 2px;
  border-radius: var(--r-sm);
}
.badge.recommended {
  background: rgba(255,103,0,0.12);
  color: var(--accent-press);
}
.badge.contact {
  background: rgba(17,17,17,0.06);
  color: var(--fg2);
}
.opt .right {
  align-self: center;
  font-size: 12px;
  color: var(--fg3);
}
.opt .conditional {
  grid-column: 2 / -1;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pill / chip selection (for short option groups: session, voucher length) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg2);
  cursor: pointer;
  transition: all 150ms;
}
.chip:hover { border-color: #B9B0A6; color: var(--fg1); }
.chip.is-selected {
  background: var(--sc-ink);
  color: #fff;
  border-color: var(--sc-ink);
}

/* ---------------- LOGO DROPZONE ---------------- */
.dropzone {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1.5px dashed var(--rule);
  border-radius: var(--r-lg);
  background: var(--bg-muted);
  transition: all 150ms;
}
.dropzone.dragover {
  border-color: var(--accent);
  background: #FFF6EE;
}
.dropzone.has-logo { border-style: solid; background: #fff; }
.dropzone-thumb {
  width: 96px;
  height: 96px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--fg3);
  flex-shrink: 0;
}
.dropzone-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.dropzone .info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dropzone .info .ttl {
  font-weight: 700;
  font-size: 14px;
  color: var(--fg1);
}
.dropzone .info .sub {
  font-size: 13px;
  color: var(--fg3);
}
.dropzone .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- COLOR PICKER ---------------- */
.color-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.swatch {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  transition: transform 120ms;
}
.swatch.is-selected {
  box-shadow: 0 0 0 2px var(--sc-ink);
  transform: scale(1.06);
}
.color-input-wrap {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  flex: 1;
  max-width: 220px;
}
.color-input-wrap .sw {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.color-input-wrap .sw input[type="color"] {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hex-input {
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: #fff;
  text-transform: uppercase;
  outline: none;
}
.hex-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,103,0,0.18); }

/* ---------------- DAY PICKER + TIME ---------------- */
.day-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.day {
  padding: 12px 0;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--rule);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg2);
  cursor: pointer;
  text-align: center;
  transition: all 150ms;
}
.day:hover { border-color: #B9B0A6; }
.day.is-selected {
  background: var(--sc-ink);
  color: #fff;
  border-color: var(--sc-ink);
}

.time-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.time-row .arrow {
  color: var(--fg3);
  font-weight: 600;
  font-size: 13px;
}

/* ---------------- BUTTON ---------------- */
.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-primary:disabled { background: var(--sc-silver-chalice); cursor: not-allowed; }

.btn-ghost { background: transparent; color: var(--fg1); border-color: var(--rule); }
.btn-ghost:hover { background: var(--bg-muted); border-color: var(--fg2); }

.btn-link {
  background: transparent;
  color: var(--accent);
  padding: 6px 0;
  font-weight: 700;
  font-size: 13px;
}
.btn-link:hover { color: var(--accent-hover); text-decoration: underline; }

.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------------- SUBMIT ROW ---------------- */
.submit-card {
  background: var(--sc-ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 8px 8px 0 var(--accent);
}
.submit-card h3 {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.submit-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  max-width: 420px;
}
.submit-card .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.submit-card .right .note { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ---------------- PREVIEW RAIL ---------------- */
.preview-rail {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.preview-head .lab {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.preview-head .lab .live-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,103,0,0.18);
  animation: pulse 1.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,103,0,0.5); }
  100% { box-shadow: 0 0 0 8px rgba(255,103,0,0); }
}
.device-toggle {
  display: inline-flex;
  background: var(--bg-muted);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
.device-toggle button {
  background: transparent;
  border: 0;
  font-weight: 600;
  font-size: 12px;
  color: var(--fg3);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.device-toggle button.is-on {
  background: #fff;
  color: var(--fg1);
  box-shadow: var(--shadow-sm);
}

.preview-frame {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  overflow: hidden;
}
.preview-meta {
  font-size: 12px;
  color: var(--fg3);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.preview-meta strong { color: var(--fg2); font-weight: 700; }

/* ---------------- PHONE FRAME ---------------- */
.phone-frame {
  width: 320px;
  height: 660px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(17,17,17,0.18), 0 4px 12px rgba(17,17,17,0.12);
  position: relative;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* ---------------- BROWSER FRAME ---------------- */
.browser-frame {
  width: 420px;
  height: 540px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17,17,17,0.18), 0 4px 12px rgba(17,17,17,0.12);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.browser-chrome {
  background: #ECE6E0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #D6CFC9;
  flex-shrink: 0;
}
.browser-chrome .dots {
  display: flex;
  gap: 6px;
}
.browser-chrome .dot {
  width: 11px; height: 11px;
  border-radius: 999px;
  background: #C9C2BC;
}
.browser-chrome .dot.r { background: #FF5F57; }
.browser-chrome .dot.y { background: #FEBC2E; }
.browser-chrome .dot.g { background: #28C840; }
.browser-chrome .url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--fg3);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-chrome .url .lock {
  flex-shrink: 0;
  color: var(--sc-success);
}
.browser-body {
  flex: 1;
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* ---------------- SPLASH (the captive portal mock) ---------------- */
.splash {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--brand-color, var(--accent));
  color: var(--brand-on, #fff);
  font-family: var(--font-sans);
  overflow: auto;
}
.splash.is-minimal {
  background: #fff;
  color: var(--fg1);
}
.splash-card {
  background: #fff;
  color: var(--fg1);
  border-radius: 14px;
  width: 100%;
  max-width: 320px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(17,17,17,0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  text-align: center;
}
.splash.is-minimal .splash-card {
  box-shadow: none;
  padding: 0;
  max-width: 280px;
}
.splash-logo {
  align-self: center;
  height: 56px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}
.splash-logo-placeholder {
  align-self: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--brand-color, var(--accent));
  color: var(--brand-on, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.splash.is-minimal .splash-logo-placeholder {
  background: var(--fg1);
  color: #fff;
}
.splash-heading {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg1);
}
.splash-sub {
  font-size: 13px;
  color: var(--fg3);
  line-height: 1.45;
}
.splash-input {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  outline: none;
  text-align: center;
  font-family: inherit;
}
.splash-input::placeholder { color: #b3aea8; }
.splash-terms {
  font-size: 11px;
  color: var(--fg3);
  line-height: 1.5;
  text-align: center;
  max-height: 80px;
  overflow: auto;
  padding: 8px;
  background: var(--bg-muted);
  border-radius: 6px;
}
.splash-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--fg2);
  line-height: 1.4;
  text-align: left;
}
.splash-terms-row .cb {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1.5px solid var(--rule);
  background: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}
.splash-terms-row .cb.checked {
  background: var(--brand-color, var(--accent));
  border-color: var(--brand-color, var(--accent));
}
.splash-terms-row .cb.checked::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(0px, -1px);
}
.splash-cta {
  width: 100%;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-color, var(--accent));
  color: var(--brand-on, #fff);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.splash.is-minimal .splash-cta {
  background: var(--fg1);
  color: #fff;
}
.splash-footer {
  margin-top: 4px;
  font-size: 10px;
  color: var(--fg3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.splash-footer .by {
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Redirect "after-connect" preview card */
.redirect-preview {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--fg3);
  text-align: left;
}
.redirect-preview .icn {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--fg2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.redirect-preview .lab { font-weight: 700; color: var(--fg2); font-size: 11px; }
.redirect-preview .url-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

/* ---------------- SECONDARY BANNER ---------------- */
.assist-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  background: #FFF6EE;
  border: 1px solid rgba(255,103,0,0.2);
  border-radius: var(--r-lg);
}
.assist-card .ic {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.assist-card .txt .ttl { font-weight: 700; font-size: 14px; line-height: 1.3; }
.assist-card .txt .sub { font-size: 13px; color: var(--fg2); line-height: 1.4; margin-top: 2px; }

/* ---------------- SUCCESS SCREEN ---------------- */
.success-wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}
.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.success-hd {
  background: var(--sc-ink);
  color: #fff;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}
.success-hd::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -40px;
  width: 110px;
  background: var(--accent);
  transform: skewX(-8deg);
}
.success-hd .checkmark {
  width: 64px; height: 64px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.success-hd .eyebrow {
  position: relative; z-index: 1;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.success-hd h1 {
  position: relative; z-index: 1;
  font-weight: 900;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 700px;
}
.success-hd h1 .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.success-hd p {
  position: relative; z-index: 1;
  margin-top: 16px;
  font-size: 17px;
  color: rgba(255,255,255,0.84);
  max-width: 620px;
}
.success-body {
  padding: 40px 56px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
}
@media (max-width: 1000px) {
  .success-body { grid-template-columns: 1fr; }
}
.success-body .timeline-ttl {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: -14px;
  width: 1px;
  background: var(--border);
}
.timeline-step:last-child::before { display: none; }
.timeline-step .pip {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg3);
  font-weight: 700;
  font-size: 12px;
  z-index: 1;
}
.timeline-step.is-done .pip {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.timeline-step .step-ttl { font-weight: 700; font-size: 15px; }
.timeline-step .step-sub { font-size: 13px; color: var(--fg3); line-height: 1.45; margin-top: 2px; }

.summary-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.summary-card h3 {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg1);
  margin-bottom: 14px;
}
.summary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.summary-row:first-of-type { border-top: 0; }
.summary-row .lab { color: var(--fg3); }
.summary-row .val { color: var(--fg1); font-weight: 600; text-align: right; }

.success-footer {
  border-top: 1px solid var(--border);
  padding: 22px 56px;
  background: #FCFAF7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.success-footer .left { display: flex; align-items: center; gap: 14px; color: var(--fg3); font-size: 13px; }

/* ---------------- FOOTER ---------------- */
.page-foot {
  max-width: 1480px;
  margin: 0 auto;
  padding: 32px 40px 56px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg3);
  flex-wrap: wrap;
  gap: 16px;
}
.page-foot strong { color: var(--fg2); font-weight: 700; }
.page-foot .right { display: flex; gap: 18px; align-items: center; }

/* ---------------- UTILITY ---------------- */
.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--fg2);
}
.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 4px 0;
}
.fade-in {
  animation: fadeIn 280ms cubic-bezier(.2,0,0,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
