:root {
  --ink: #1b1f3b;
  --muted: #5d6280;
  --line: #e6e7f2;
  --bg: #ffffff;
  --tint: #f6f5ff;
  --violet: #6d4aff;
  --violet-dark: #4b2fd6;
  --blue: #2f7bff;
  --green: #12a36b;
  --green-soft: #e3f7ee;
  --red: #e5484d;
  --red-soft: #fdecec;
  --amber: #f5a524;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(43, 26, 140, 0.35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--violet); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 140, 200, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(47, 123, 255, 0.45), transparent 60%),
    linear-gradient(135deg, #3a1fb8 0%, #6d4aff 55%, #8f5cff 100%);
  padding-bottom: 96px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: var(--violet);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-cta {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.nav-cta:hover { background: rgba(255, 255, 255, 0.12); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 40px;
}

.badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

h1 + .lede sup, .lede sup { font-size: 0.55em; }

.lede {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 32px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.hero-note { font-size: 15px; color: rgba(255, 255, 255, 0.8); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--violet-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.button:hover { transform: translateY(-1px); }

.section .button, .price-card .button {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(109, 74, 255, 0.7);
}

/* Hero art */

.hero-art {
  position: relative;
  margin: 0;
  padding: 0 0 96px;
}

.ticket {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 22px 26px 30px;
  box-shadow: 0 40px 80px -30px rgba(15, 5, 70, 0.6);
  transform: rotate(-1.5deg);
}

.ticket-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }

.ticket-id { margin-left: auto; font-size: 13px; color: var(--muted); }

.ticket-subject { font-size: 20px; font-weight: 700; margin: 0 0 4px; }

.ticket-from { font-size: 14px; color: var(--muted); margin: 0 0 20px; }

.cc-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.chip em { font-style: normal; font-weight: 400; opacity: 0.75; }

.chip-add { background: var(--green-soft); color: #0b7a4f; }

.chip-remove { background: var(--red-soft); color: #b4262b; }

.rule-float {
  position: absolute;
  right: -12px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 24px 50px -20px rgba(15, 5, 70, 0.55);
  transform: rotate(1.5deg);
  font-size: 14px;
}

.rule-float strong { display: block; }

.rule-float span:not(.rule-icon) { color: var(--muted); font-size: 13px; }

.rule-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff4dc;
  color: var(--amber);
  font-size: 20px;
}

.hero-art figcaption {
  position: absolute;
  left: 4px;
  bottom: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* Sections */

.section { padding: 96px 0; }

.section-tint { background: var(--tint); }

.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}

h2 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  max-width: 22em;
}

h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }

.section-lede { color: var(--muted); max-width: 40em; margin: -24px 0 32px; }

.small { font-size: 14px; color: var(--muted); }

/* Use-case cards */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card p { margin: 0; color: var(--muted); font-size: 16px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 18px;
}

.tint-violet { background: #efeaff; color: var(--violet); }
.tint-blue { background: #e6f0ff; color: var(--blue); }
.tint-green { background: var(--green-soft); color: var(--green); }
.tint-amber { background: #fff4dc; color: #c97d00; }

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 1px 0 var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: #ebe6ff;
}

.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}

/* Add / remove */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  border-radius: var(--radius);
  padding: 28px 30px;
}

.panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  margin-bottom: 16px;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
}

.panel-add { background: var(--green-soft); }
.panel-add .panel-icon { background: var(--green); }
.panel-remove { background: var(--red-soft); }
.panel-remove .panel-icon { background: var(--red); }

.ticks { list-style: none; padding: 0; margin: 0; }

.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.18;
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.35em + 4px);
  width: 4px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.panel-add .ticks li { color: #0b7a4f; }
.panel-remove .ticks li { color: #b4262b; }
.panel .ticks li { font-weight: 500; }

.mockup { margin: 40px auto 0; max-width: 640px; }

.rule {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 24px;
  font-size: 15px;
  box-shadow: var(--shadow);
}

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

.rule-name { font-weight: 700; }

.pill {
  background: var(--green-soft);
  color: #0b7a4f;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.rule-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.rule-row .label { color: var(--muted); }

.mockup figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* Comparison */

.compare {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  margin-bottom: 16px;
}

.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.1fr;
  gap: 24px;
  padding: 18px 26px;
}

.compare-head {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.compare-head span:last-child { color: var(--violet); }

.compare-row { border-bottom: 1px solid var(--line); font-size: 15px; }

.compare-row:last-child { border-bottom: 0; }

.compare-row > span:first-child { font-weight: 700; }

.compare .no, .compare .yes { display: flex; gap: 10px; align-items: flex-start; }

.compare .no { color: var(--muted); }
.compare .no .icon { color: var(--red); margin-top: 0.3em; }
.compare .yes .icon { color: var(--green); margin-top: 0.3em; }

/* Price + FAQ */

.price-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.price-card {
  border-radius: 20px;
  padding: 36px 34px;
  background: linear-gradient(160deg, #f3efff 0%, #ffffff 70%);
  border: 1px solid #e3dcff;
  box-shadow: var(--shadow);
}

.amount { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; line-height: 1; }

.amount span { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.price-card .ticks { margin-bottom: 28px; color: var(--violet); }
.price-card .ticks li { color: var(--ink); }
.price-card .ticks li::before, .price-card .ticks li::after { color: var(--violet); }

.faq h2 { margin-bottom: 20px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--violet);
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Signup */

.signup {
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(255, 140, 200, 0.25), transparent 60%),
    linear-gradient(135deg, #3a1fb8 0%, #6d4aff 100%);
  color: #fff;
}

.signup .eyebrow { color: rgba(255, 255, 255, 0.75); }

.signup h2 { margin-bottom: 16px; }

.signup p { color: rgba(255, 255, 255, 0.88); }

.signup .ticks li { color: #fff; }

.signup-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 8px;
  box-shadow: 0 40px 80px -30px rgba(15, 5, 70, 0.6);
}

/* Footer */

.footer {
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--muted);
}

/* Small screens */

@media (max-width: 960px) {
  .hero-grid, .price-wrap, .signup-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .rule-float { right: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; margin-bottom: 28px; }
  .lede { font-size: 18px; }
  .section { padding: 64px 0; }
  .hero { padding-bottom: 64px; }
  .cards, .split { grid-template-columns: 1fr; }
  .ticket { transform: none; }
  .rule-float { position: relative; right: auto; bottom: auto; margin-top: 12px; transform: none; max-width: none; }
  .hero-art { padding-bottom: 36px; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .rule-row { grid-template-columns: 1fr; gap: 2px; }
  .form-card { padding: 20px 16px 4px; }
}
