:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --surface: #ffffff;
  --border: #e5e5ea;
  --border-strong: #d2d2d7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --accent: #1d1d1f;
  --positive: #1a7f4b;
  --positive-bg: #edf7f1;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --max-width: 1080px;
  /* Event accents */
  --pink: #ff4d6d;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --orange: #f97316;
  --grad-brand: linear-gradient(135deg, #ff4d6d 0%, #7c3aed 50%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #7c3aed 100%);
  --dark-bg: #0c0c14;
  --dark-surface: rgba(255, 255, 255, 0.06);
  --dark-border: rgba(255, 255, 255, 0.12);
  --dark-text: #f5f5f7;
  --dark-muted: #a8a8b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section themes */
.section--light {
  background: var(--bg);
  color: var(--text);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(255, 77, 109, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(124, 58, 237, 0.15), transparent 50%);
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section--accent {
  background: var(--grad-brand);
  color: #fff;
  position: relative;
}

.section--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
}

.section--accent > .container {
  position: relative;
  z-index: 1;
}

.section--dark .section__eyebrow {
  color: var(--cyan);
}

.section--dark .section__head p,
.section--dark .section__head a {
  color: var(--dark-muted);
}

.section--dark .section__head a {
  color: #fff;
}

.section--accent .section__eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.section--accent .section__head p {
  color: rgba(255, 255, 255, 0.88);
}

.section--dark .section__head h2 {
  color: var(--dark-text);
}

.section--accent .section__head h2 {
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.app-brand-mark {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #e8e8ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-brand-mark__label {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  user-select: none;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .btn--primary {
  background: var(--grad-warm);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}

.btn--primary {
  color: #fff;
  background: var(--accent);
}

.hero--dark .btn--primary,
.section--dark .btn--primary,
.section--accent .btn--primary {
  background: var(--grad-warm);
  border: none;
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.35);
}

.btn--primary:hover {
  opacity: 0.92;
}

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.hero--dark .btn--ghost,
.section--dark .btn--ghost {
  color: var(--dark-text);
  background: var(--dark-surface);
  border-color: var(--dark-border);
}

.section--accent .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: var(--bg-subtle);
}

.btn--wide {
  width: 100%;
}

/* Hero */
.hero {
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
}

.hero--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.hero--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% -5%, rgba(255, 77, 109, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(6, 182, 212, 0.16), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(124, 58, 237, 0.2), transparent 55%);
}

.hero--dark > .container {
  position: relative;
  z-index: 1;
}

.hero--dark .hero__badge {
  color: #ffd6e3;
  background: rgba(255, 77, 109, 0.15);
  border-color: rgba(255, 77, 109, 0.35);
}

.hero--dark .hero__lead {
  color: var(--dark-muted);
}

.hero--dark .hero__lead strong {
  color: var(--dark-text);
}

.hero--dark h1 {
  max-width: 32rem;
  color: var(--dark-text);
}

.hero--dark .event-chip {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  color: var(--dark-text);
}

.hero--dark .event-chip:nth-child(1) {
  border-color: rgba(255, 77, 109, 0.45);
  background: rgba(255, 77, 109, 0.12);
}

.hero--dark .event-chip:nth-child(2) {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.1);
}

.hero--dark .event-chip:nth-child(3) {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.12);
}

.hero--dark .event-chip__label {
  color: rgba(255, 255, 255, 0.55);
}

.hero--dark .stat-pill {
  background: var(--dark-surface);
  border-color: var(--dark-border);
}

.hero--dark .stat-pill:nth-child(1) {
  border-left: 3px solid var(--pink);
}

.hero--dark .stat-pill:nth-child(2) {
  border-left: 3px solid var(--cyan);
}

.hero--dark .stat-pill strong {
  color: var(--dark-text);
}

.hero--dark .stat-pill span {
  color: var(--dark-muted);
}

.hero--dark .calc-card {
  background: #fff;
  color: var(--text);
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero--dark .calc-progress__dot.is-active,
.hero--dark .calc-progress__dot.is-done {
  background: var(--grad-brand);
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero__event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.event-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.event-chip__label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 28rem;
}

.hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  min-width: 200px;
}

.stat-pill strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.stat-pill span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Registration form */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.calc-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.calc-card__sub {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.calc-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.calc-progress__dot {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.3s;
}

.calc-progress__dot.is-active,
.calc-progress__dot.is-done {
  background: var(--grad-brand);
}

.calc-step {
  display: none;
}

.calc-step.is-active {
  display: block;
}

.calc-step h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.option-grid {
  display: grid;
  gap: 8px;
}

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

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option label {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.option input:checked + label {
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.06);
}

.field input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.calc-nav {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.calc-nav .btn--primary {
  flex: 1;
}

.calc-result {
  text-align: center;
  padding: 8px 0;
}

.calc-result__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--positive);
  background: var(--positive-bg);
  border: 1px solid rgba(26, 127, 75, 0.2);
}

.calc-result h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-result p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

/* Sections */
.section {
  padding: clamp(48px, 7vw, 72px) 0;
}

.section--alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--light .section__eyebrow {
  color: var(--violet);
}

.section__head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section__head h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section__head p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.section__head a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Why cards */
.why-grid {
  display: grid;
  gap: 12px;
}

.why-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.why-card__num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 6px;
}

.why-card:nth-child(4n + 2) .why-card__num {
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.why-card:nth-child(4n + 3) .why-card__num {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.why-card:nth-child(4n) .why-card__num {
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.why-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* Pain / case cards */
.pain-grid {
  display: grid;
  gap: 12px;
}

.pain-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.section--dark .pain-card {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  backdrop-filter: blur(8px);
}

.section--dark .pain-card:nth-child(1) {
  border-top: 3px solid var(--pink);
}

.section--dark .pain-card:nth-child(2) {
  border-top: 3px solid var(--cyan);
}

.section--dark .pain-card:nth-child(3) {
  border-top: 3px solid var(--violet);
}

.section--dark .pain-card__tag {
  color: var(--cyan);
}

.section--dark .pain-card h3 {
  color: var(--dark-text);
}

.section--dark .pain-card__pain {
  color: #fda4af;
}

.section--dark .pain-card p:last-child {
  color: var(--dark-muted);
}

.pain-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pain-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pain-card__pain {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pain-card p:last-child {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Compare */
.compare {
  display: grid;
  gap: 12px;
}

.compare-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-card--new {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-brand) border-box;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.compare-card--new .compare-price {
  color: var(--violet);
}

.compare-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.compare-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.compare-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.compare-card--new .compare-list li::before {
  background: var(--positive);
}

.compare-price {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.compare-price small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Features */
.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.section--accent .feature-card {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.section--accent .feature-card__num {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
}

.section--accent .feature-card h3 {
  color: #fff;
}

.section--accent .feature-card p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-card__num {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* Venue */
.venue-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.venue-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

.venue-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.venue-card h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.venue-card__address {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}

.venue-card__place {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.venue-card__map {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.venue-card__date {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.venue-card__date strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.venue-card__date span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* CTA */
.section--cta {
  padding-bottom: clamp(56px, 8vw, 88px);
}

.cta-band {
  padding: clamp(40px, 6vw, 56px);
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(8px);
}

.section--cta .cta-band h2 {
  color: var(--dark-text);
}

.section--cta .cta-band p {
  color: var(--dark-muted);
}

.cta-band h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 480px;
  margin: 0 auto 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Footer */
.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--dark-border);
  background: var(--dark-bg);
  color: var(--dark-muted);
}

.site-footer .brand__name {
  color: var(--dark-text);
}

.site-footer p,
.site-footer a {
  font-size: 12px;
  color: var(--dark-muted);
}

.site-footer a:hover {
  color: var(--dark-text);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive */
@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr 380px;
    gap: 48px;
  }

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

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

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

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

  .venue-card {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 520px) {
  .option-grid--2 {
    grid-template-columns: 1fr;
  }

  .header-actions .btn--ghost {
    display: none;
  }
}
