body { min-width: 320px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(20px, calc((100vw - 1420px) / 2 + 20px));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--amber);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand strong { font-size: 15px; font-weight: 600; }
.brand small {
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
}

.support {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.support:hover { border-color: #aeb8c4; background: #fafbfc; }

main {
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.hero {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--amber-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.primary, .secondary { min-height: 44px !important; padding: 10px 18px !important; }
.safe-note { margin: 16px 0 0; color: var(--faint); font-size: 12px; }

.preview {
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  background: #f7f8fa;
  box-shadow: 0 18px 46px rgba(24, 36, 51, .12);
}

.preview-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 16px;
  font-weight: 600;
}

.preview-head b {
  border-radius: 5px;
  padding: 6px 9px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.preview-row,
.next { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.preview-row { padding: 20px 18px 14px; }
.preview-row strong { font-size: 16px; }
.preview-row span,
.preview-grid span,
.next span { color: var(--muted); font-size: 11px; }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}

.preview-grid div { padding: 13px; background: var(--paper); }
.preview-grid strong { display: block; margin-top: 5px; font-size: 14px; font-variant-numeric: tabular-nums; }
.progress { height: 6px; margin: 18px; overflow: hidden; border-radius: 6px; background: var(--line); }
.progress i { display: block; height: 100%; background: var(--green); }
.next { margin: 0 18px 18px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.next strong { font-size: 13px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.facts article { position: relative; min-height: 86px; padding: 18px 20px; border-right: 1px solid var(--line); }
.facts article:last-child { border-right: 0; }
.facts article::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--amber); }
.facts article:nth-child(2)::after { background: #718096; }
.facts article:nth-child(3)::after { background: var(--green); }
.facts strong { display: block; font-size: 19px; font-weight: 600; }
.facts span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.section {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.section-title h2,
.split h2,
.invite h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 24px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.steps li { min-width: 0; display: flex; align-items: flex-start; gap: 13px; padding: 20px; border-right: 1px solid var(--line); background: #fbfcfd; }
.steps li:last-child { border-right: 0; }
.steps b { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--amber-soft); color: var(--amber-dark); font-size: 12px; }
.steps h3 { margin: 2px 0 7px; font-size: 15px; font-weight: 600; }
.steps p,
.split p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.split h2 { margin-bottom: 12px; }
.check-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f7f8fa; }
.check-card p { margin: 0; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.check-card p:last-child { border: 0; }
.check-card i { width: 23px; height: 23px; display: inline-grid; place-items: center; margin-right: 9px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 11px; font-style: normal; }
.check-card .wait { background: var(--amber-soft); color: var(--amber-dark); }

.invite { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 16px; margin: 18px 0 0; padding: 28px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow-sm); }
.invite button { min-height: 38px; border: 1px solid var(--amber); border-radius: 6px; padding: 8px 13px; background: var(--amber); color: #382500; font-weight: 600; }
.invite button:hover { border-color: var(--amber-dark); background: var(--amber-dark); }
.invite textarea { grid-column: 1 / -1; width: 100%; min-height: 126px; resize: vertical; border: 1px solid var(--line); border-radius: 6px; padding: 14px; background: #f7f8fa; color: var(--ink); font-size: 13px; line-height: 1.55; outline: none; }
.invite textarea:focus { border-color: var(--amber-dark); box-shadow: 0 0 0 3px rgba(243, 164, 0, .13); }
footer { padding: 25px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .preview { max-width: 680px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .topbar { padding: 0 16px; }
  .brand small { display: none; }
  main { width: min(100% - 20px, 1420px); padding-top: 10px; }
  .hero { min-height: 0; gap: 34px; padding: 28px 22px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .facts,
  .split { grid-template-columns: 1fr; }
  .facts article { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts article:last-child { border-bottom: 0; }
  .section,
  .invite { padding: 22px; }
  .invite { grid-template-columns: 1fr; }
  .invite button { justify-self: start; }
}

@media (max-width: 500px) {
  .support { padding: 0 10px; font-size: 12px; }
  .hero-actions { display: grid; }
  .primary, .secondary { width: 100%; }
  .preview-grid,
  .steps { grid-template-columns: 1fr; }
  .preview-grid div + div { border-top: 1px solid var(--line); }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
}
