/* =============================================================================
   Topteller — List your business  |  Rebuilt UX v2
   Premium black + gold, Nigerian marketplace feel
   ============================================================================= */

:root {
  --ink:        #0a0a0f;
  --ink-2:      #14141c;
  --ink-3:      #1c1c28;
  --ink-line:   #2a2a38;
  --paper:      #faf8f3;
  --paper-2:    #f3efe6;
  --paper-line: #e8e2d2;
  --gold:       #f5a623;
  --gold-2:     #ffc940;
  --gold-deep:  #d89000;
  --gold-soft:  rgba(245, 166, 35, 0.12);
  --gold-glow:  rgba(245, 166, 35, 0.35);
  --green:      #1f8a5b;
  --green-soft: rgba(31, 138, 91, 0.12);
  --red:        #d8492f;
  --red-soft:   rgba(216, 73, 47, 0.10);
  --blue:       #2563eb;
  --blue-soft:  rgba(37, 99, 235, 0.10);

  --bg:        var(--paper);
  --bg-2:      var(--paper-2);
  --surface:   #ffffff;
  --surface-2: #fbf9f3;
  --line:      var(--paper-line);
  --text:      var(--ink);
  --text-2:    #4a4a5a;
  --text-3:    #7a7a8c;

  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm:   0 1px 2px rgba(13,13,20,.04), 0 2px 8px rgba(13,13,20,.05);
  --shadow:      0 6px 16px rgba(13,13,20,.06), 0 2px 4px rgba(13,13,20,.04);
  --shadow-lg:   0 24px 64px -16px rgba(13,13,20,.18), 0 8px 24px -8px rgba(13,13,20,.08);
  --shadow-gold: 0 12px 32px -8px var(--gold-glow);
  --shadow-xl:   0 40px 80px -20px rgba(13,13,20,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

/* =============================================================================
   NAV
   ============================================================================= */
.tt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.tt-nav-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.tt-brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.tt-brand-tag { color: var(--gold-deep); font-weight: 600; margin-left: 5px; }
.tt-nav-links { display: flex; align-items: center; gap: 2px; }
.tt-nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.tt-nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.tt-nav-cta { display: flex; gap: 8px; align-items: center; }

@media (max-width: 880px) {
  .tt-nav-links { display: none; }
  .tt-nav-row { padding: 12px 18px; }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .15s, border-color .15s, opacity .15s;
  white-space: nowrap;
}
.tt-btn:hover  { transform: translateY(-1px); }
.tt-btn:active { transform: translateY(0); }
.tt-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.tt-btn-primary { background: var(--ink); color: var(--paper); }
.tt-btn-primary:hover:not(:disabled) { background: var(--ink-2); box-shadow: var(--shadow-lg); }
.tt-btn-ghost { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 22%, transparent); }
.tt-btn-ghost:hover:not(:disabled) { background: color-mix(in srgb, var(--text) 5%, transparent); }
.tt-btn-sm { height: 36px; padding: 0 16px; font-size: 0.83rem; }

/* =============================================================================
   LAYOUT
   ============================================================================= */
.lyb-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px;
}
@media (max-width: 720px) { .lyb-section { padding: 48px 18px; } }

.lyb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.lyb-eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  opacity: .5;
}

.lyb-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
.lyb-h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-deep) 10%, var(--gold-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lyb-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
.lyb-lead {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.lyb-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.lyb-section-head > div:first-child { display: grid; gap: 14px; max-width: 640px; }

/* =============================================================================
   HERO
   ============================================================================= */
.lyb-hero { position: relative; overflow: hidden; }
.lyb-hero-glow {
  position: absolute;
  inset: -10% -20% auto auto;
  width: 680px; height: 680px;
  background: radial-gradient(closest-side, var(--gold-soft), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.lyb-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 980px) {
  .lyb-hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 52px; }
}
.lyb-hero-copy { display: grid; gap: 20px; }

.tt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 5%, var(--surface));
  border: 1px solid var(--line);
  width: fit-content;
  font-size: 0.8rem;
  color: var(--text-2);
}
.tt-hero-badge-dot {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 800;
}
.tt-hero-badge strong { color: var(--text); font-weight: 600; }

.lyb-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lyb-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px dashed var(--line);
}
.lyb-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.lyb-trust-item svg { color: var(--gold-deep); flex-shrink: 0; }

.lyb-hero-stats { display: grid; gap: 12px; }
.lyb-stat-card-feat {
  background: var(--ink);
  color: #f5f3eb;
  border-radius: var(--r-xl);
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lyb-stat-card-feat::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 340px; height: 340px;
  background: radial-gradient(closest-side, var(--gold-soft), transparent 70%);
  pointer-events: none;
}
.lyb-stat-card-feat > * { position: relative; }
.lyb-stat-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.lyb-stat-big {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #f5f3eb;
}
.lyb-stat-note { margin: 10px 0 0; color: #b8b8c6; font-size: 0.88rem; line-height: 1.55; }
.lyb-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lyb-stat-mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px;
  display: grid;
  gap: 3px;
  transition: transform .2s, box-shadow .2s;
}
.lyb-stat-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lyb-stat-mini span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.lyb-stat-mini small { color: var(--text-3); font-size: 0.76rem; }

/* =============================================================================
   HOW IT WORKS
   ============================================================================= */
.lyb-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .lyb-how-grid { grid-template-columns: 1fr; } }
.lyb-how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: grid;
  gap: 10px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lyb-how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 28%, var(--line));
}
.lyb-how-step {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.lyb-how-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.lyb-how-card p { margin: 0; color: var(--text-2); font-size: 0.93rem; line-height: 1.6; }

/* =============================================================================
   FORM WORKSPACE
   ============================================================================= */
.lyb-form-section.lyb-section { padding-top: 28px; }
.lyb-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1080px) { .lyb-workspace { grid-template-columns: 1fr; } }

.lyb-listing-form { display: grid; gap: 16px; }

.lyb-listing-form > .lyb-form-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
  transition: border-color .2s;
}
.lyb-listing-form > .lyb-form-section:focus-within {
  border-color: color-mix(in srgb, var(--gold) 40%, var(--line));
}
@media (max-width: 720px) {
  .lyb-listing-form > .lyb-form-section { padding: 22px 18px; border-radius: 20px; }
}

/* ── Form progress bar ── */
.lyb-form-progress {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.lyb-form-progress-track {
  flex: 1;
  height: 5px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
#formProgressFill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}
#formProgressFill.is-complete { background: var(--green); }
#formProgressLabel {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  min-width: 148px;
  text-align: right;
  transition: color 0.2s;
}
#formProgressLabel.is-ready { color: var(--green); }

.lyb-fs-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}
.lyb-fs-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold-2);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.lyb-fs-head h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.lyb-fs-head p { margin: 2px 0 0; color: var(--text-2); font-size: 0.85rem; }

.lyb-field-grid { display: grid; gap: 14px; }
.lyb-field-grid.two   { grid-template-columns: 1fr 1fr; }
.lyb-field-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.lyb-field-grid.four  { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
  .lyb-field-grid.two,
  .lyb-field-grid.three,
  .lyb-field-grid.four { grid-template-columns: 1fr; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .lyb-field-grid.four { grid-template-columns: 1fr 1fr; }
}

.lyb-field { display: grid; gap: 6px; }
.lyb-field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.lyb-field > span .req { color: var(--gold-deep); font-style: normal; font-size: 0.85em; }
.lyb-field > span .opt { font-weight: 400; color: var(--text-3); font-style: normal; }

/* ── Input with icon ── */
.lyb-input-icon-wrap { position: relative; }
.lyb-input-icon-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
  z-index: 1;
}
.lyb-input-icon-wrap input { padding-left: 38px !important; }

/* ── All inputs ── */
.lyb-field input,
.lyb-field select,
.lyb-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 11px 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.lyb-field input,
.lyb-field select { height: 44px; padding: 0 14px; }
.lyb-field textarea { resize: vertical; min-height: 80px; line-height: 1.5; padding: 10px 14px; }

.lyb-field input:hover,
.lyb-field select:hover,
.lyb-field textarea:hover {
  border-color: color-mix(in srgb, var(--text) 24%, var(--line));
}
.lyb-field input:focus,
.lyb-field select:focus,
.lyb-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.lyb-field input::placeholder,
.lyb-field textarea::placeholder { color: var(--text-3); }

.lyb-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%237a7a8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Validation states */
.lyb-field input.is-invalid,
.lyb-field select.is-invalid,
.lyb-field textarea.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.lyb-field input.is-valid,
.lyb-field textarea.is-valid { border-color: var(--green); }
.lyb-field-err {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--red);
  line-height: 1.3;
  animation: errFade .18s ease;
}
@keyframes errFade { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* =============================================================================
   CATEGORY DROPDOWN  (replaces card grid)
   ============================================================================= */
.lyb-category-select-wrap { display: grid; gap: 0; }
.lyb-category-select-wrap.needs-attention .lyb-select-outer {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 14px;
  animation: shake 0.36s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60%  { transform: translateX(-5px); }
  40%,80%  { transform: translateX(5px); }
}

/* Outer wrapper = relative container for icon + chevron */
.lyb-select-outer {
  position: relative;
  display: flex;
  align-items: center;
}
.lyb-select-icon {
  position: absolute;
  left: 16px;
  font-size: 1.3rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  transition: transform .15s;
}
.lyb-select-chevron {
  position: absolute;
  right: 14px;
  color: var(--text-3);
  pointer-events: none;
  z-index: 1;
  width: 18px; height: 18px;
  transition: transform .2s;
}
.lyb-category-dropdown:focus ~ .lyb-select-chevron {
  transform: rotate(180deg);
}

/* The dropdown itself */
.lyb-category-dropdown {
  width: 100%;
  height: 54px;
  padding: 0 44px 0 50px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  appearance: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  margin-bottom: -1px; /* overlap border with panel when open */
}
/* When the info panel is visible, square the bottom corners */
.lyb-category-info-panel:not([hidden]) ~ * .lyb-category-dropdown,
.lyb-category-select-wrap:has(.lyb-category-info-panel:not([hidden])) .lyb-category-dropdown {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.lyb-category-dropdown:hover {
  border-color: color-mix(in srgb, var(--gold) 40%, var(--line));
}
.lyb-category-dropdown:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.lyb-category-dropdown option { font-size: 0.94rem; }

/* ── Category info panel (shown after selection) ── */
.lyb-category-info-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gold-soft);
  border: 1.5px solid color-mix(in srgb, var(--gold) 30%, var(--line));
  border-radius: 14px 14px 0 0;
  animation: panelReveal .22s ease;
}
@keyframes panelReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lyb-category-info-panel[hidden] { display: none; }

.lyb-cip-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.lyb-cip-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.lyb-cip-left > div { display: grid; gap: 2px; min-width: 0; }
.lyb-cip-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lyb-cip-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Fee wrap — separate prominent block below the category panel ── */
.lyb-cip-fee-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 0 0 14px 14px;
  border: 1.5px solid color-mix(in srgb, var(--gold) 30%, var(--line));
  border-top: none;
  margin-bottom: 14px;
  animation: panelReveal .25s ease;
  flex-wrap: wrap;
  gap: 8px;
}
.lyb-cip-fee-wrap[hidden] { display: none; }
.lyb-cip-fee-wrap.is-free { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 30%, var(--line)); }
.lyb-cip-fee-wrap.is-paid { background: var(--red-soft);   border-color: color-mix(in srgb, var(--red)   30%, var(--line)); }

.lyb-cip-fee-inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.lyb-cip-fee-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.lyb-cip-fee {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.lyb-cip-fee-wrap.is-free .lyb-cip-fee { color: var(--green); }
.lyb-cip-fee-wrap.is-paid .lyb-cip-fee { color: var(--red); }
.lyb-cip-fee.is-free { color: var(--green); }
.lyb-cip-fee.is-paid { color: var(--red); }
.lyb-cip-fee-note {
  font-size: 0.78rem;
  color: var(--text-3);
  white-space: nowrap;
}

/* drinks row */
#drinksRow[hidden] { display: none; }

/* =============================================================================
   INLINE SUBMISSION BANNER
   ============================================================================= */
.lyb-submission-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1.5px solid;
  animation: bannerIn .28s ease;
  position: relative;
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lyb-submission-banner[hidden] { display: none; }

.lyb-sb-success {
  background: var(--green-soft);
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
}
.lyb-sb-error {
  background: var(--red-soft);
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
}
.lyb-sb-info {
  background: var(--blue-soft);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  animation: bannerIn .28s ease, infoPulse 2s ease-in-out infinite;
}
@keyframes infoPulse {
  0%, 100% { border-color: color-mix(in srgb, var(--blue) 28%, var(--line)); }
  50%       { border-color: var(--blue); }
}

.lyb-sb-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}
.lyb-sb-success .lyb-sb-icon { background: var(--green-soft); color: var(--green); border: 1.5px solid var(--green); }
.lyb-sb-error   .lyb-sb-icon { background: var(--red-soft);   color: var(--red);   border: 1.5px solid var(--red); }
.lyb-sb-info    .lyb-sb-icon { background: var(--blue-soft);  color: var(--blue);  border: 1.5px solid var(--blue); }

.lyb-sb-body { flex: 1; display: grid; gap: 4px; }
.lyb-sb-body strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; color: var(--text); }
.lyb-sb-body p { margin: 0; font-size: 0.88rem; color: var(--text-2); line-height: 1.5; }
.lyb-sb-success .lyb-sb-body strong { color: var(--green); }
.lyb-sb-error   .lyb-sb-body strong { color: var(--red); }
.lyb-sb-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-3);
  border-radius: 8px;
  flex-shrink: 0;
  transition: color .15s, background .15s;
}
.lyb-sb-close:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }

/* =============================================================================
   ACTION ROW
   ============================================================================= */
.lyb-action-row {
  background: var(--ink);
  color: #f5f3eb;
  border-radius: var(--r-xl);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.lyb-action-row::before {
  content: "";
  position: absolute;
  inset: auto -18% -40% auto;
  width: 340px; height: 340px;
  background: radial-gradient(closest-side, var(--gold-soft), transparent 70%);
  pointer-events: none;
}
.lyb-action-row > * { position: relative; }
.lyb-action-info { display: grid; gap: 4px; min-width: 0; }
.lyb-action-info strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #f5f3eb; letter-spacing: -0.01em; }
.lyb-action-info span { color: #9a9ab0; font-size: 0.83rem; }

.lyb-submit {
  height: 50px;
  font-size: 0.97rem;
  background: var(--gold);
  color: var(--ink);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  min-width: 160px;
}
.lyb-submit:hover:not(:disabled) { background: var(--gold-2); box-shadow: 0 16px 40px -8px var(--gold-glow); }
.lyb-submit:disabled { background: #2a2a38; color: #7a7a8c; box-shadow: none; cursor: not-allowed; transform: none; }

/* Loading spinner */
.lyb-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================================
   STATUS RAIL
   ============================================================================= */
.lyb-status-rail {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 84px;
  align-self: start;
}
@media (max-width: 1080px) { .lyb-status-rail { position: static; } }

.lyb-rail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 22px 20px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.lyb-rail-feat {
  background: var(--ink);
  color: #f5f3eb;
  border-color: var(--ink-line);
  position: relative;
  overflow: hidden;
}
.lyb-rail-feat::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 260px; height: 260px;
  background: radial-gradient(closest-side, var(--gold-soft), transparent 70%);
  pointer-events: none;
}
.lyb-rail-feat > * { position: relative; }
.lyb-rail-num { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-deep); }
.lyb-rail-feat .lyb-rail-num { color: var(--gold-2); }
.lyb-rail-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin: 2px 0 0; }
.lyb-rail-feat h3 { color: #f5f3eb; }
.lyb-rail-card p { margin: 0; color: var(--text-2); font-size: 0.88rem; line-height: 1.55; }
.lyb-rail-feat p { color: #a0a0b8; }
.lyb-rail-cta { margin-top: 10px; justify-self: start; }

/* =============================================================================
   TOAST SYSTEM
   ============================================================================= */
.lyb-toast-container {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  pointer-events: none;
}
.lyb-toast {
  background: var(--ink);
  color: #f0eee8;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  cursor: pointer;
  border-left: 3px solid var(--gold);
  animation: toastIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.lyb-toast-success { border-left-color: var(--green); }
.lyb-toast-error   { border-left-color: var(--red); }
.lyb-toast-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255,255,255,0.1);
  margin-top: 1px;
}
.lyb-toast-msg { flex: 1; }
.lyb-toast-out { animation: toastOut 0.25s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(24px) scale(0.96); }
}
@media (max-width: 560px) {
  .lyb-toast-container { right: 12px; left: 12px; max-width: none; }
}

/* =============================================================================
   SUCCESS OVERLAY
   ============================================================================= */
.lyb-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.34s ease;
  pointer-events: none;
}
.lyb-success-overlay.is-visible { opacity: 1; pointer-events: all; }
.lyb-success-overlay[hidden] { display: none !important; }

.lyb-success-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 48px 40px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lyb-success-overlay.is-visible .lyb-success-card { transform: translateY(0) scale(1); }

.lyb-success-anim {
  margin: 0 auto 4px;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
  opacity: 0;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.lyb-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.lyb-success-msg {
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0;
  max-width: 40ch;
  margin-inline: auto;
}
.lyb-success-steps {
  list-style: none;
  padding: 16px 18px;
  margin: 0;
  display: grid;
  gap: 10px;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.lyb-success-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.lyb-success-steps li::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}
.lyb-success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 6px;
}
@media (max-width: 560px) {
  .lyb-success-card { padding: 32px 20px 26px; border-radius: 22px; }
  .lyb-success-actions { flex-direction: column; }
  .lyb-success-actions .tt-btn { width: 100%; }
}

/* =============================================================================
   FAQ
   ============================================================================= */
.lyb-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .lyb-faq-grid { grid-template-columns: 1fr; } }
.lyb-faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color .2s;
}
.lyb-faq:hover { border-color: color-mix(in srgb, var(--gold) 28%, var(--line)); }
.lyb-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.lyb-faq summary::-webkit-details-marker { display: none; }
.lyb-faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-deep);
  transition: transform .2s;
  flex-shrink: 0;
}
.lyb-faq[open] summary::after { content: "−"; }
.lyb-faq p { margin: 10px 0 0; color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.tt-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.tt-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 28px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 44px;
}
@media (max-width: 980px) { .tt-footer-grid { grid-template-columns: 1fr 1fr; padding: 48px 20px 20px; gap: 28px; } }
@media (max-width: 560px)  { .tt-footer-grid { grid-template-columns: 1fr 1fr; } }
.tt-footer-brand { display: grid; gap: 12px; }
.tt-footer-brand p { margin: 0; color: var(--text-2); font-size: 0.9rem; max-width: 30ch; }
.tt-footer-col h4 { margin: 0 0 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2); }
.tt-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tt-footer-col a { color: var(--text); text-decoration: none; font-size: 0.9rem; transition: color .15s; }
.tt-footer-col a:hover { color: var(--gold-deep); }
.tt-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 700;
  width: fit-content;
}
.tt-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: var(--text-2);
}
