@import url('/assets/css/brand.css?v=2');
:root {
  --red: #e31837;
  --red-deep: #c1102a;
  --ink: #171719;
  --muted: #68686f;
  --line: #e7e4e1;
  --paper: #fff;
  --soft: #f7f5f2;
  --green: #22c55e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 12px 32px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.12);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes checkmark { 0% { stroke-dashoffset: 50; } 100% { stroke-dashoffset: 0; } }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--morddi-font);
  color: var(--ink);
  background: linear-gradient(135deg, var(--soft) 0%, #ebe8e5 100%);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }

.wizard-header {
  height: 76px;
  padding: 0 clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
}
.wizard-header strong, .signup-brand > a { color: var(--red); font-size: 24px; letter-spacing: -1px; text-decoration: none; }
.wizard-header span { font-weight: 700; }
.wizard-header a { 
  margin-left: auto; 
  color: var(--muted); 
  font-size: 14px; 
  font-weight: 600;
  transition: color .2s ease;
}
.wizard-header a:hover { color: var(--red); }

.wizard-layout {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 300px minmax(0, 720px);
  justify-content: center;
  gap: clamp(48px, 7vw, 100px);
  padding: 60px 32px;
  animation: fadeIn .5s ease;
}
.wizard-layout aside > span, .step-kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 900;
  color: var(--red);
  background: rgba(227,24,55,.08);
}

#wizard-progress { display: grid; gap: 5px; margin-top: 20px; }
.progress-bar {
  height: 8px;
  margin: 0 10px 14px;
  border-radius: 999px;
  background: #e7e4e1;
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--green), #16a34a);
  border-radius: inherit;
  transition: width .5s var(--ease);
}
.progress-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.progress-item i {
  width: 28px;
  height: 28px;
  border: 2px solid #d7d3cf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  transition: all .25s var(--ease);
}
.progress-item.active {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.progress-item.done i {
  background: linear-gradient(135deg, var(--green), #16a34a);
  border-color: var(--green);
  color: white;
}

.wizard-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp .6s var(--ease);
}
.wizard-card h1, .signup-form h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 14px 0;
}
.wizard-card > p, .signup-form p { color: var(--muted); line-height: 1.65; margin: 0 0 32px; font-size: 15px; }

.wizard-form { display: grid; gap: 18px; }
.wizard-form label, .signup-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 750; color: #444; }
.wizard-form input, .wizard-form select, .signup-form input {
  width: 100%;
  border: 2px solid #e5e1dc;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  font-size: 15px;
  transition: all .2s ease;
}
.wizard-form input:focus, .wizard-form select:focus, .signup-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,24,55,.1);
}

.field-grid, .two-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice {
  display: flex !important;
  grid-template-columns: 22px 1fr !important;
  align-items: center;
  gap: 12px !important;
  border: 2px solid var(--line);
  padding: 18px;
  border-radius: 16px;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.choice:hover { border-color: #ccc; background: #fafafa; }
.choice:has(input:checked) {
  border-color: var(--red);
  background: rgba(227,24,55,.04);
}
.choice input, .terms-check input { width: auto !important; accent-color: var(--red); }

.wizard-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 18px; }
.wizard-actions button, .signup-form button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 16px 26px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(227,24,55,.25);
  transition: all .25s var(--ease);
}
.wizard-actions button:hover, .signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227,24,55,.35);
}
.wizard-actions button:active, .signup-form button:active { transform: translateY(0); }
.wizard-actions .secondary {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: none;
}
.wizard-actions .secondary:hover {
  background: #fafafa;
  border-color: #ccc;
  transform: translateY(-1px);
}
.wizard-actions button:disabled { opacity: .55; cursor: wait; transform: none !important; }

.wizard-note {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7e8, #fff3dc);
  color: #71521b;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid rgba(234,179,8,.2);
}
.wizard-stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.wizard-stat div {
  background: linear-gradient(135deg, var(--soft), #f0ede9);
  padding: 24px;
  border-radius: 18px;
  transition: all .25s var(--ease);
}
.wizard-stat div:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wizard-stat strong { display: block; font-size: 32px; letter-spacing: -.5px; }
.wizard-stat span { font-size: 12px; color: var(--muted); font-weight: 600; }

.wizard-loading { padding: 80px; text-align: center; color: var(--muted); animation: pulse 1.5s ease infinite; }
.wizard-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, #1d1d20, #2a2a2d);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.wizard-toast.show { opacity: 1; transform: none; }
.wizard-toast.error { background: linear-gradient(135deg, #a7192f, #8b1426); }.signup-page { background: #fff; }
.signup-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(480px, 620px);
}
.signup-brand {
  padding: 60px clamp(32px, 6vw, 100px);
  background: linear-gradient(135deg, var(--ink), #2a2a2d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.signup-brand::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227,24,55,.15) 0%, transparent 70%);
  pointer-events: none;
}
.signup-brand h1 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: .96;
  letter-spacing: -3px;
  max-width: 650px;
  margin: 18px 0;
}
.signup-brand p { max-width: 480px; color: #b5b1ad; font-size: 18px; line-height: 1.65; }
.signup-form {
  padding: 60px clamp(32px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn .5s ease;
}
.signup-form form { display: grid; gap: 18px; }
.signup-form small { font-weight: 500; color: var(--muted); }
.signup-form button { margin-top: 10px; }
.signup-form > a { display: block; text-align: center; margin-top: 22px; color: var(--muted); font-weight: 600; transition: color .2s ease; }
.signup-form > a:hover { color: var(--red); }
.terms-check { display: flex !important; grid-template-columns: 20px 1fr !important; align-items: flex-start; font-weight: 500 !important; line-height: 1.5; }
.signup-error { min-height: 22px; color: #b31830; font-size: 13px; font-weight: 600; }
.wizard-link { color: var(--red); font-weight: 800; text-decoration: none; transition: opacity .2s ease; }
.wizard-link:hover { opacity: .8; }

@media (max-width: 850px) {
  .wizard-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .wizard-layout aside { display: none; }
  .signup-shell { grid-template-columns: 1fr; }
  .signup-brand { min-height: 360px; gap: 80px; }
  .signup-form { padding-block: 48px; }
}
@media (max-width: 560px) {
  .wizard-header { height: 68px; }
  .wizard-header span { display: none; }
  .wizard-layout { padding: 20px 14px; }
  .wizard-card { border-radius: 22px; padding: 26px 20px; }
  .field-grid, .two-inputs, .choice-grid { grid-template-columns: 1fr; }
  .signup-brand h1 { font-size: 44px; }
  .signup-form { padding: 40px 24px; }
}
.wizard-layout{grid-template-columns:280px minmax(0,760px) 240px;align-items:start}.wizard-layout>#wizard-content{display:contents}.wizard-tip{position:sticky;top:96px;padding:22px;border-radius:20px;color:#fff;background:#1d1d20}.wizard-tip span{color:#ff8091;font-size:10px;font-weight:900;letter-spacing:.15em}.wizard-tip p{margin:10px 0 0;color:#d5d1ce;font-size:13px;line-height:1.55}.readiness-ring{--progress:0deg;display:grid;width:92px;height:92px;margin:18px auto 22px;place-content:center;border-radius:50%;background:radial-gradient(circle,#f7f5f2 58%,transparent 60%),conic-gradient(var(--green) var(--progress),#ddd 0);text-align:center}.readiness-ring strong,.readiness-ring span{display:block}.readiness-ring strong{font-size:20px}.readiness-ring span{color:var(--muted);font-size:10px}.choice span b,.choice span small,.payment-choice span b,.payment-choice span small{display:block}.choice span small,.payment-choice span small{margin-top:3px;color:var(--muted);font-weight:400}.payment-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-choice{display:flex!important;align-items:center;gap:12px!important;padding:17px;border:1px solid var(--line);border-radius:14px}.payment-choice input{width:20px!important}.integration-card,.connection-success{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:18px}.integration-icon,.connection-success i{display:grid;width:52px;height:52px;place-items:center;border-radius:16px;color:#fff;background:#20a967;font-size:24px;font-style:normal;font-weight:900}.integration-card p{margin:4px 0;color:var(--muted);font-size:13px}.integration-card a{color:var(--red);font-weight:800;text-decoration:none}.connection-success{grid-template-columns:auto 1fr;background:#effaf4}.connection-success strong,.connection-success span{display:block}.connection-success span{color:var(--muted);font-size:13px}.catalog-example{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin:22px 0}.catalog-example i{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;color:var(--red);background:#fff0f2;font-style:normal;font-weight:900}.launch-checklist,.optional-grid,.launch-grid{display:grid;gap:9px}.optional-grid,.launch-grid{grid-template-columns:1fr 1fr}.optional-title{margin:28px 0 12px;font-size:16px}.check-item{display:flex;gap:11px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:13px;color:var(--ink);text-decoration:none}.check-item i{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:9px;color:var(--red);background:#fff0f2;font-style:normal;font-weight:900}.check-item.complete i{color:#fff;background:var(--green)}.check-item strong,.check-item small{display:block}.check-item small{margin-top:2px;color:var(--muted)}.publish-summary{margin:22px 0 4px;padding:14px;border-radius:12px;background:var(--soft);color:var(--muted);font-size:13px}.launch-hero{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center;margin:20px 0 34px;padding:24px;border-radius:20px;background:var(--soft)}.readiness-ring.large{width:120px;height:120px;margin:0;background:radial-gradient(circle,var(--soft) 58%,transparent 60%),conic-gradient(var(--green) var(--progress),#ddd 0)}.readiness-ring.large strong{font-size:28px}.launch-hero h2{margin:0}.launch-hero p{color:var(--muted)}.wizard-actions.left{justify-content:flex-start}.wizard-actions.wrap{flex-wrap:wrap}.tests-note{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 12px}.wizard-link.solid{padding:12px 18px;border-radius:999px;color:#fff;background:var(--red)}.all-done{grid-column:1/-1;padding:24px;border-radius:16px;color:var(--green);background:#effaf4;font-weight:800}@media(max-width:1100px){.wizard-layout{grid-template-columns:240px minmax(0,720px)}.wizard-layout>#wizard-content{display:block}.wizard-tip{position:static;margin-top:16px}}@media(max-width:850px){.wizard-layout{display:block}.wizard-layout aside{display:none}.wizard-tip{display:block}.optional-grid,.launch-grid{grid-template-columns:1fr}}@media(max-width:560px){.payment-choice-grid{grid-template-columns:1fr}.integration-card{grid-template-columns:auto 1fr}.integration-card a{grid-column:1/-1}.launch-hero{grid-template-columns:1fr}.readiness-ring.large{margin:auto}}

.wizard-header strong{display:block;width:135px}.wizard-header strong img,.signup-brand>a img{width:100%;height:auto}.signup-brand>a{display:block;width:150px}
.wizard-form select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f6f74' d='M1.2.3 6 5.1 10.8.3 12 1.5 6 7.5 0 1.5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:10px;padding-right:36px}
