:root {
  --ink: #0a1324;
  --ink-2: #101a31;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --mist: #e9e8ff;
  --mist-2: #f7f8ff;
  --line: rgba(10, 19, 36, 0.14);
  --blue: #12c2e0;
  --blue-2: #05a8cc;
  --purple: #8d60b7;
  --green: #7dff9c;
  --gold: #e4ad32;
  --danger: #ff5671;
  --shadow: 0 26px 70px rgba(8, 14, 31, 0.22);
  --soft-shadow: 0 14px 42px rgba(8, 14, 31, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(141, 96, 183, 0.24), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(18, 194, 224, 0.20), transparent 30rem),
    linear-gradient(180deg, #f7f8ff 0%, #e8e8ff 46%, #f8fbff 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body.flow-hidden .flow-card {
  display: none;
}

body.cart-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  touch-action: manipulation;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(transparent 0, rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, transparent 0, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  z-index: -1;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -10rem;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .7rem clamp(.8rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255,255,255,.5);
  background: rgba(10, 19, 36, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(8, 14, 31, 0.18);
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.34));
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-actions::-webkit-scrollbar {
  display: none;
}

.nav-pill,
.icon-action,
.btn,
.flow-tabs button,
.code-tabs button,
.dash-rail button {
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.nav-pill,
.icon-action {
  white-space: nowrap;
  min-height: 42px;
  padding: .68rem .9rem;
  border-radius: 999px;
  color: #fff;
  background: transparent;
}

.nav-pill:hover,
.icon-action:hover,
.nav-pill.active {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

.nav-pill.strong {
  color: var(--ink);
  background: var(--green);
  box-shadow: 0 14px 28px rgba(125, 255, 156, .22);
}

.icon-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.08);
}

#cartBadge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
}

.section-shell {
  width: min(var(--max), calc(100% - 1.25rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.6rem, 5vw, 5.6rem) 0 1.25rem;
}

.hero-copy,
.hero-console,
.strip-card,
.integration-card,
.dashboard-shell,
.product-card,
.flow-card,
.cart-drawer,
.gate-card {
  border: 1px solid rgba(255,255,255,.72);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 5vw, 3.2rem);
  overflow: hidden;
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 45% 55% 55% 45%;
  right: -120px;
  bottom: -120px;
  background: linear-gradient(135deg, rgba(18,194,224,.23), rgba(141,96,183,.18));
  filter: blur(1px);
}

.eyebrow {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .105em;
  color: var(--purple);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(2.75rem, 11vw, 7.3rem);
  line-height: .9;
  letter-spacing: -.075em;
}

.hero-lede {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.02rem, 2.5vw, 1.38rem);
  color: rgba(10,19,36,.76);
}

.hero-actions,
.gate-actions,
.center-actions,
.product-actions,
.cart-total,
.drawer-head,
.section-heading,
.dash-header {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero-actions {
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .78rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.btn:hover,
.nav-pill:hover,
.icon-action:hover,
.funnel-card:hover,
.product-card:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), #b9ffca);
  box-shadow: 0 18px 38px rgba(125, 255, 156, .24);
}

.btn.secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #6b4ba0);
}

.btn.ghost,
.btn.subtle {
  color: var(--ink);
  background: rgba(255,255,255,.68);
  border-color: rgba(10,19,36,.13);
}

.btn.jumbo {
  min-height: 54px;
  padding-inline: 1.25rem;
}

.btn.mini {
  min-height: 34px;
  padding: .5rem .74rem;
  font-size: .85rem;
}

.btn.full {
  width: 100%;
}

.trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.35rem;
}

.trust-row span {
  display: inline-flex;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(18,194,224,.10);
  color: rgba(10,19,36,.78);
  border: 1px solid rgba(18,194,224,.2);
  font-size: .9rem;
}

.hero-console {
  border-radius: var(--radius-xl);
  padding: .82rem;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem .9rem;
  color: #fff;
  background: var(--ink);
  border-radius: 23px;
}

.console-topbar small,
.flow-head small,
.product-meta,
.seller-line,
.fine-print,
.strip-card p,
.integration-card p,
.metric-grid small {
  color: rgba(10,19,36,.65);
}

.console-topbar small {
  display: block;
  color: rgba(255,255,255,.66);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(125,255,156,.15);
  color: var(--green);
  font-size: .82rem;
  font-weight: 900;
}

.live-dot::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(125,255,156,.13);
}

.funnel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  padding: .75rem 0;
}

.funnel-card {
  text-align: left;
  min-height: 108px;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(10,19,36,.08);
}

.funnel-card span,
.strip-card span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  margin-bottom: .7rem;
  background: rgba(18,194,224,.14);
  color: var(--blue-2);
  font-weight: 950;
}

.funnel-card strong,
.funnel-card small {
  display: block;
}

.funnel-card.selected {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #1b2c50);
  box-shadow: var(--soft-shadow);
}

.funnel-card.selected span {
  background: var(--gold);
  color: var(--ink);
}

.funnel-card.selected small {
  color: rgba(255,255,255,.68);
}

.funnel-output {
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(18,194,224,.15), rgba(141,96,183,.13));
  border: 1px solid rgba(18,194,224,.18);
}

.funnel-output p {
  margin-bottom: .35rem;
  color: var(--purple);
  font-weight: 900;
}

.funnel-output strong {
  display: block;
  margin-bottom: .9rem;
}

.creator-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  padding: .75rem 0 1.5rem;
}

.strip-card {
  border-radius: 26px;
  padding: 1.1rem;
}

.strip-card strong {
  display: block;
  font-size: 1.05rem;
}

.strip-card p {
  margin: .35rem 0 0;
}

.marketplace,
.dashboard-preview,
.integration {
  padding: 2.5rem 0 0;
}

.section-heading,
.dash-header {
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-heading h2,
.dash-header h2,
.integration-card h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.8rem, 5vw, 3.35rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  margin-bottom: .7rem;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(10,19,36,.12);
}

.search-wrap input,
.toolbar select,
.field,
textarea {
  width: 100%;
  border: 1px solid rgba(10,19,36,.13);
  outline: none;
  background: rgba(255,255,255,.82);
  color: var(--ink);
}

.search-wrap input {
  border: 0;
  background: transparent;
  min-width: 0;
}

.toolbar select,
.field,
textarea {
  min-height: 46px;
  border-radius: 16px;
  padding: .75rem .85rem;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.chip-row {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .25rem 0 .9rem;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  border: 1px solid rgba(10,19,36,.13);
  border-radius: 999px;
  padding: .58rem .82rem;
  background: rgba(255,255,255,.65);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.chip.active {
  background: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.product-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel-strong);
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-media {
  width: 100%;
  min-height: 206px;
  border: 0;
  background-position: center;
  background-size: cover;
  display: block;
  cursor: zoom-in;
}

.product-info {
  padding: 1rem;
}

.product-meta,
.product-actions,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.product-meta {
  font-size: .82rem;
  font-weight: 900;
}

.product-info h3 {
  margin: .5rem 0 .35rem;
  font-size: 1.15rem;
}

.product-info p {
  color: rgba(10,19,36,.72);
  min-height: 3rem;
}

.seller-line {
  font-size: .86rem;
  margin-bottom: .75rem;
}

.price {
  font-size: 1.15rem;
}

.center-actions {
  justify-content: center;
  padding: 1.25rem 0;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(232,232,255,.84);
}

.dash-rail {
  display: flex;
  gap: .45rem;
  align-items: center;
  overflow-x: auto;
  padding: .75rem;
  background: #05070b;
}

.dash-rail img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.dash-rail button {
  flex: 0 0 auto;
  min-height: 39px;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border-color: rgba(125,255,156,.22);
}

.dash-rail button.active,
.dash-rail button:hover {
  color: var(--green);
  background: rgba(125,255,156,.12);
}

.dash-main {
  padding: clamp(1rem, 3vw, 2rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  margin: 1rem 0;
}

.metric-grid article,
.table-row,
.mini-site-preview,
.check-item,
.upload-drop,
.option-card,
.review-box {
  border: 1px solid rgba(10,19,36,.1);
  background: rgba(255,255,255,.68);
  border-radius: 20px;
}

.metric-grid article {
  padding: 1rem;
}

.metric-grid span,
.metric-grid strong,
.metric-grid small {
  display: block;
}

.metric-grid strong {
  font-size: 1.7rem;
}

.product-table {
  display: grid;
  gap: .5rem;
}

.table-row {
  display: grid;
  grid-template-columns: 1.6fr .6fr .8fr .8fr;
  gap: .5rem;
  align-items: center;
  padding: .8rem;
  font-size: .9rem;
}

.table-row.head {
  color: rgba(10,19,36,.7);
  font-weight: 900;
  background: rgba(255,255,255,.42);
}

.integration {
  padding-bottom: 8rem;
}

.integration-card {
  border-radius: 32px;
  padding: clamp(1.1rem, 4vw, 2rem);
}

.code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.code-tabs button {
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border-color: rgba(10,19,36,.11);
  padding: .55rem .8rem;
  font-weight: 900;
}

.code-tabs button.active {
  background: var(--ink);
  color: #fff;
}

pre {
  white-space: pre-wrap;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 20px;
  color: #d8ecff;
  background: #0b1220;
}

.flow-card {
  position: fixed;
  z-index: 160;
  left: max(.75rem, env(safe-area-inset-left));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  width: min(95vw, 460px);
  max-width: calc(100vw - 1.5rem);
  height: min(74vh, 650px);
  min-width: 300px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  resize: both;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
}

.flow-card.minimized {
  height: auto !important;
  min-height: 0;
  resize: none;
}

.flow-card.minimized .flow-tabs,
.flow-card.minimized .flow-body,
.flow-card.minimized .resize-hint {
  display: none;
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem;
  border-bottom: 1px solid rgba(10,19,36,.09);
  background: linear-gradient(135deg, rgba(10,19,36,.96), rgba(25,39,71,.96));
  color: #fff;
  cursor: grab;
  user-select: none;
}

.flow-head:active {
  cursor: grabbing;
}

.flow-head small {
  display: block;
  color: rgba(255,255,255,.62);
}

.window-controls {
  display: flex;
  gap: .35rem;
}

.window-controls button,
.icon-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.12);
}

.flow-tabs {
  display: flex;
  gap: .4rem;
  padding: .6rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(10,19,36,.08);
}

.flow-tabs button {
  flex: 0 0 auto;
  padding: .55rem .72rem;
  border-radius: 999px;
  background: rgba(10,19,36,.05);
  color: var(--ink);
  font-weight: 900;
}

.flow-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.flow-body {
  padding: .95rem;
  overflow: auto;
}

.flow-panel h3 {
  margin-bottom: .45rem;
  font-size: 1.45rem;
}

.flow-panel p {
  color: rgba(10,19,36,.68);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.field-label {
  display: grid;
  gap: .35rem;
  margin-bottom: .65rem;
  font-weight: 850;
  color: rgba(10,19,36,.78);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.inline-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .72rem;
  border-radius: 16px;
  background: rgba(18,194,224,.08);
}

.inline-check input {
  margin-top: .25rem;
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .8rem;
}

.progress-wrap {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: .9rem;
  padding: .75rem;
  margin: .75rem 0;
  border-radius: 22px;
  background: rgba(18,194,224,.08);
}

.progress-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) var(--pct, 0%), rgba(10,19,36,.11) 0);
  font-weight: 950;
}

.progress-ring::before {
  content: "";
  position: absolute;
}

.progress-ring span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}

.check-list {
  display: grid;
  gap: .55rem;
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .75rem;
}

.check-item.done {
  border-color: rgba(125,255,156,.45);
  background: rgba(125,255,156,.13);
}

.check-item small {
  display: block;
  color: rgba(10,19,36,.6);
}

.toggle {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(10,19,36,.16);
  position: relative;
  flex: 0 0 auto;
}

.toggle::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
  transition: left .18s ease, background .18s ease;
}

.check-item.done .toggle {
  background: var(--green);
}

.check-item.done .toggle::after {
  left: 23px;
  background: var(--ink);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
  margin: .8rem 0;
}

.wizard-steps button {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  background: rgba(10,19,36,.07);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 900;
}

.wizard-steps button.active {
  background: var(--ink);
  color: #fff;
}

.upload-drop {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: .9rem;
  border-style: dashed;
  text-align: center;
}

.upload-drop input {
  max-width: 100%;
}

.preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .6rem;
}

.preview-pill {
  max-width: 100%;
  padding: .4rem .6rem;
  border-radius: 999px;
  background: rgba(141,96,183,.12);
  font-size: .82rem;
  font-weight: 850;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.option-card,
.review-box,
.mini-site-preview {
  padding: .85rem;
}

.option-card strong,
.review-box strong {
  display: block;
}

.mini-site-preview {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10,19,36,.96), rgba(141,96,183,.80));
  color: #fff;
}

.mini-site-preview p {
  color: rgba(255,255,255,.76);
}

.mini-site-preview .mini-card {
  margin-top: .75rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}

.cart-drawer {
  position: fixed;
  z-index: 180;
  inset: auto 0 0 auto;
  width: min(100vw, 430px);
  height: 100dvh;
  padding: 1rem;
  transform: translateX(105%);
  transition: transform .22s ease;
  border-radius: 28px 0 0 28px;
  overflow: auto;
  background: rgba(255,255,255,.95);
}

body.cart-open .cart-drawer {
  transform: translateX(0);
}

.drawer-head {
  justify-content: space-between;
  margin-bottom: .8rem;
}

.drawer-head h2 {
  margin: 0;
}

.icon-close {
  color: var(--ink);
  background: rgba(10,19,36,.08);
}

.cart-items {
  display: grid;
  gap: .55rem;
  margin-bottom: .8rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: .6rem;
  align-items: center;
  padding: .58rem;
  border-radius: 18px;
  background: rgba(10,19,36,.05);
}

.cart-line img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-line h4 {
  margin: 0 0 .2rem;
}

.cart-line small {
  color: rgba(10,19,36,.6);
}

.remove-cart {
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,86,113,.13);
  color: var(--danger);
  cursor: pointer;
}

.cart-total {
  margin: .8rem 0;
  padding: .75rem;
  border-radius: 18px;
  background: rgba(10,19,36,.06);
}

.age-gate {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(16px);
}

.age-gate.hidden,
.hidden {
  display: none !important;
}

.gate-card {
  width: min(100%, 470px);
  border-radius: 34px;
  padding: clamp(1.15rem, 4vw, 2rem);
  text-align: center;
  background: rgba(255,255,255,.94);
}

.gate-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.gate-card h1 {
  margin-bottom: .6rem;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: .95;
}

.gate-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.restore-flow {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 170;
  border: 0;
  border-radius: 999px;
  padding: .75rem .95rem;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 950;
}

.toast-stack {
  position: fixed;
  top: 72px;
  right: .8rem;
  z-index: 260;
  display: grid;
  gap: .5rem;
  width: min(92vw, 360px);
}

.toast {
  padding: .78rem .9rem;
  border-radius: 18px;
  background: rgba(10,19,36,.92);
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.reveal-up {
  animation: reveal .6s ease both;
}

.delay-1 {
  animation-delay: .1s;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 560px) {
  .funnel-grid,
  .creator-strip,
  .product-grid,
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar,
  .field-row {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    align-items: stretch;
  }

  .creator-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-shell {
    grid-template-columns: 214px 1fr;
  }

  .dash-rail {
    display: grid;
    align-content: start;
    align-items: stretch;
    overflow: visible;
    min-height: 540px;
  }

  .dash-rail img {
    width: 72px;
    height: 72px;
    margin: .45rem auto .65rem;
  }

  .dash-rail button {
    border-radius: 14px;
    text-align: left;
  }

  .metric-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow-card {
    left: auto;
    right: 1.2rem;
    bottom: 1.2rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    height: 42px;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .section-heading,
  .dash-header {
    display: grid;
    align-items: start;
  }

  .table-row {
    grid-template-columns: 1.4fr .6fr .7fr;
  }

  .table-row span:nth-child(4) {
    display: none;
  }
}

@media (max-width: 410px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .flow-card {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    left: .5rem !important;
    right: auto !important;
  }

  .product-actions,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


/* Create Studio / Workbench phase 1 bridge */
.create-nav,
.create-jumbo,
.create-funnel {
  position: relative;
  overflow: hidden;
}

.create-nav::after,
.create-jumbo::after,
.create-funnel::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(125,255,156,.28), transparent 38%);
  opacity: .75;
  pointer-events: none;
}

.workflow-mini-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0;
}

.workflow-mini-map article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .8rem;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--soft-shadow);
}

.workflow-mini-map span {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(18, 194, 224, .16);
  color: var(--blue-2);
  font-weight: 900;
  font-size: .75rem;
  margin-bottom: .35rem;
}

.workflow-mini-map strong {
  display: block;
  color: var(--ink);
  margin-bottom: .2rem;
}

.workflow-mini-map small {
  color: rgba(10, 19, 36, .68);
  line-height: 1.35;
}

.create-option-grid a.option-card {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 740px) {
  .workflow-mini-map {
    grid-template-columns: 1fr;
  }
}

/* Phase 1.1 polish: native xputty Create/Workbench integration */
.brand-zone {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.menu-action {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.menu-action:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: rgba(125,255,156,.42);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-pill.create-nav,
.btn.create-jumbo {
  color: var(--ink);
  border-color: rgba(125,255,156,.44);
  background: linear-gradient(135deg, var(--green), #d7ffe0 58%, rgba(18,194,224,.82));
  box-shadow: 0 16px 32px rgba(125,255,156,.22);
}

.create-nav::after,
.create-jumbo::after,
.create-funnel::after {
  opacity: .38;
}

.menu-shade {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(5, 7, 11, .42);
  backdrop-filter: blur(10px);
}

.side-menu {
  position: fixed;
  z-index: 200;
  top: .75rem;
  left: .75rem;
  bottom: .75rem;
  width: min(390px, calc(100vw - 1.5rem));
  padding: 1rem;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 0 0, rgba(125,255,156,.16), transparent 22rem),
    radial-gradient(circle at 100% 12%, rgba(18,194,224,.16), transparent 24rem),
    linear-gradient(160deg, rgba(10,19,36,.97), rgba(22,31,58,.96));
  box-shadow: 0 28px 88px rgba(5, 7, 11, .46);
  color: #fff;
  transform: translateX(calc(-100% - 2rem));
  transition: transform .24s ease;
  overflow: auto;
}

.side-menu.open,
body.side-menu-open .side-menu {
  transform: translateX(0);
}

.side-menu .drawer-head {
  align-items: flex-start;
  color: #fff;
}

.side-menu .eyebrow {
  color: var(--green);
}

.side-menu .icon-close {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.side-menu-actions {
  display: grid;
  gap: .55rem;
  margin-top: .85rem;
}

.side-menu-actions button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.065);
  color: rgba(255,255,255,.90);
  text-align: left;
  cursor: pointer;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.side-menu-actions button:hover,
.side-menu-actions button.drawer-feature {
  transform: translateY(-1px);
  border-color: rgba(125,255,156,.42);
  background: rgba(125,255,156,.12);
  color: #fff;
}

.side-menu-actions button.drawer-feature:first-of-type {
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), #caffd5);
  border-color: rgba(125,255,156,.65);
}

.side-menu-note {
  margin-top: 1rem;
  padding: .95rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.075);
}

.side-menu-note strong {
  color: var(--green);
}

.side-menu-note p {
  margin: .35rem 0 0;
  color: rgba(255,255,255,.68);
}

.create-path {
  padding: .75rem 0 1.5rem;
}

.compact-heading {
  align-items: center;
}

.section-copy {
  max-width: 760px;
  margin: .65rem 0 0;
  color: rgba(10,19,36,.68);
  line-height: 1.55;
}

.create-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: flex-end;
}

.create-path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}

.create-path-grid article {
  position: relative;
  min-height: 180px;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.74);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.66)),
    radial-gradient(circle at 20% 10%, rgba(18,194,224,.22), transparent 12rem);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.create-path-grid article::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 128px;
  height: 128px;
  border-radius: 45% 55% 50% 50%;
  background: linear-gradient(135deg, rgba(125,255,156,.28), rgba(141,96,183,.18));
}

.create-path-grid span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  margin-bottom: .75rem;
  background: var(--ink);
  color: var(--green);
  font-weight: 950;
}

.create-path-grid strong,
.create-path-grid p {
  position: relative;
  z-index: 1;
}

.create-path-grid strong {
  display: block;
  font-size: 1.05rem;
}

.create-path-grid p {
  margin: .35rem 0 0;
  color: rgba(10,19,36,.66);
  line-height: 1.42;
}

.create-funnel {
  border-color: rgba(125,255,156,.34);
  background:
    radial-gradient(circle at 100% 0, rgba(125,255,156,.22), transparent 10rem),
    rgba(255,255,255,.76);
}

.create-funnel.selected,
.funnel-card.selected.create-funnel {
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), #c8ffd4 58%, #9beffd);
  border-color: rgba(125,255,156,.62);
  box-shadow: 0 20px 48px rgba(125,255,156,.24);
}

.create-funnel.selected span,
.funnel-card.selected.create-funnel span {
  background: var(--ink);
  color: var(--green);
}

.create-funnel.selected small,
.funnel-card.selected.create-funnel small {
  color: rgba(10,19,36,.68);
}

.catalog-launchpad {
  padding: 2.5rem 0 0;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  justify-content: flex-end;
}

.mini-search {
  min-width: min(100%, 300px);
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.catalog-card {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: .28rem;
  padding: .9rem;
  border: 1px solid rgba(10,19,36,.10);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(8,14,31,.08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.catalog-card:hover,
.catalog-card.active {
  transform: translateY(-2px);
  border-color: rgba(18,194,224,.34);
  background: rgba(255,255,255,.94);
  box-shadow: var(--soft-shadow);
}

.catalog-card.active {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #1b2c50);
}

.catalog-card .catalog-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(18,194,224,.14);
  font-size: 1.05rem;
}

.catalog-card.active .catalog-icon {
  background: var(--green);
}

.catalog-card strong,
.catalog-card small {
  display: block;
}

.catalog-card small {
  color: rgba(10,19,36,.58);
  line-height: 1.25;
}

.catalog-card.active small {
  color: rgba(255,255,255,.68);
}

.catalog-spotlight {
  position: sticky;
  top: 92px;
  padding: 1.1rem;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.72);
  background:
    radial-gradient(circle at 100% 0, rgba(18,194,224,.18), transparent 18rem),
    rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}

.catalog-spotlight-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
}

.catalog-spotlight-head > span {
  flex: 0 0 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 1.35rem;
}

.catalog-spotlight h3 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.catalog-example-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 0;
}

.catalog-example-row span,
.listing-guidance {
  border-radius: 999px;
  border: 1px solid rgba(10,19,36,.10);
  background: rgba(255,255,255,.72);
}

.catalog-example-row span {
  padding: .45rem .65rem;
  font-size: .82rem;
  font-weight: 850;
}

.listing-guidance {
  display: grid;
  gap: .22rem;
  padding: .75rem .85rem;
  margin: .75rem 0;
  border-radius: 18px;
}

.listing-guidance small {
  color: rgba(10,19,36,.62);
  line-height: 1.4;
}

@media (min-width: 880px) {
  .catalog-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .create-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .create-path-actions,
  .catalog-tools {
    justify-content: stretch;
  }

  .create-path-actions .btn,
  .catalog-tools .btn,
  .catalog-tools .mini-search {
    width: 100%;
  }

  .create-path-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .side-menu {
    top: .5rem;
    left: .5rem;
    bottom: .5rem;
    width: calc(100vw - 1rem);
  }
}

/* Careers portal homepage feature */
.careers-feature {
  padding: 1rem 0 1.5rem;
}

.careers-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(232,251,255,.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.careers-feature-card h2 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(1.75rem, 4.8vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.careers-feature-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .6rem;
}

@media (min-width: 860px) {
  .careers-feature-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .careers-feature-actions {
    display: grid;
    min-width: 220px;
  }
}
