:root {
  --ink: #172033;
  --muted: #64748b;
  --line: #d8dee8;
  --paper: #ffffff;
  --bg: #f6f8fb;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #b45309;
  --blue: #1d4ed8;
  --danger: #b42318;
  --ok: #166534;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
}

.navlinks,
.actions,
.form-actions,
.inline-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.navlinks a {
  text-decoration: none;
  font-weight: 700;
  color: #334155;
}

.button {
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.button.secondary {
  background: var(--ink);
}

.button.ghost {
  background: #eef2f7;
  color: var(--ink);
}

.button.small {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 14px;
}

.button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.button-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

main,
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
  padding: 34px 0;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.03;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.hero p,
.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px;
}

.eyebrow {
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 850;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 760px;
}

.launch-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mobile-preview {
  width: min(100%, 390px);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  margin-top: 14px;
}

.proof-tile {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 14px;
}

.proof-tile strong {
  display: block;
  font-size: 22px;
}

.preview {
  display: flex;
  justify-content: center;
}

.hero-shot,
.wide-media {
  width: 100%;
  max-width: 760px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
}

.seo-head {
  max-width: 980px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.proof-image {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

details.card summary {
  cursor: pointer;
  font-weight: 850;
}

.phone {
  width: min(330px, 100%);
  background: #101820;
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.qr-grid span {
  aspect-ratio: 1;
  background: #101820;
  border-radius: 3px;
}

.qr-grid span:nth-child(3n) {
  background: var(--brand);
}

.menu-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 0;
  gap: 14px;
}

.section {
  padding: 56px 0;
}

.section h1,
.section h2,
.page-head h1 {
  margin: 0 0 14px;
  letter-spacing: 0;
}

.page-head {
  padding: 54px 0 28px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card,
.panel,
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.card h3,
.panel h1,
.panel h2,
.plan h3 {
  margin-top: 0;
}

.plan strong {
  display: block;
  font-size: 32px;
  margin: 10px 0;
}

.checklist,
.plain-list {
  padding-left: 20px;
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.auth-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.auth-shell {
  width: min(460px, calc(100% - 32px));
  display: grid;
  gap: 18px;
}

.auth-widget-frame {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.auth-widget-frame iframe {
  width: 322px;
  height: 430px;
  max-width: 100%;
  border: 0;
  overflow: hidden;
  border-radius: 16px;
}

label {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  font: inherit;
  background: #fff;
}

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

.muted {
  color: var(--muted);
}

.message {
  color: var(--danger);
  font-weight: 750;
}

.success {
  color: var(--ok);
  font-weight: 750;
}

.dashboard {
  width: min(1420px, calc(100% - 32px));
  padding: 28px 0 64px;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.workbench {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.side {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 86px;
}

.side a {
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-weight: 800;
}

.dash-stack {
  display: grid;
  gap: 16px;
}

.table {
  display: grid;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 850;
}

.code {
  background: #0f172a;
  color: #dbeafe;
  border-radius: 8px;
  padding: 14px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero,
  .grid.two,
  .grid.three,
  .grid.four,
  .split,
  .workbench {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 12px 16px;
  }

  .navlinks {
    gap: 8px;
  }

  .side {
    position: static;
  }
}
