.rules-toolbar {
    display: flex;
    gap: 12px;
    margin-top: 6px; /* keep your spacing */
}


.link-button {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.link-button:hover {
    text-decoration: underline;
}

.rules-panel {
    background: #f7f7f7;
    border: 1px solid #ccc;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    white-space: pre-wrap;
    font-size: 13px;
}



:root {
  --bg-dark: #0f172a;
  --bg-light: #f9fafb;
  --accent: #06b6d4;
  --accent-soft: #e0f7fb;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --card-border: #e5e7eb;
  --white: #ffffff;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--white);
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 20%, #67e8f9, #06b6d4 45%, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-size: 18px;
}

.brand-text span:last-child {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
  color: var(--text-muted);
  align-items: center;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 14px;
  color: var(--accent);
}

/* HERO */
.hero {
  background: radial-gradient(circle at top left, #0ea5e9, #0f172a 55%, #020617 100%);
  color: var(--white);
  padding: 40px 20px 64px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 12px;
  margin-bottom: 16px;
}

.hero-kicker span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  font-weight: 500;
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-title strong {
  color: #e0f2fe;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #cbd5f5;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 26px;
}

.hero-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.btn-primary {
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(to right, #06b6d4, #22c55e);
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.btn-secondary {
  padding: 11px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;
}

.hero-note {
  font-size: 12px;
  color: #9ca3af;
}

.hero-visual {
  background: radial-gradient(circle at 15% 0, #67e8f9, #0f172a 55%, #020617 100%);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.7);
}

.hero-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  color: #e5e7eb;
}

.dot-group {
  display: flex;
  gap: 5px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.hero-visual-body {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.hero-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.hero-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: #e5e7eb;
}

.hero-line strong { font-weight: 500; }

.hero-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.hero-highlight {
  color: #bbf7d0;
}

/* SECTIONS SHARED */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step-card {
  border-radius: 16px;
  border: 1px solid var(--card-border);
  padding: 18px;
  background: var(--white);
}

.step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}

.step-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.step-body {
  font-size: 14px;
  color: var(--text-muted);
}

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.benefit-card {
  border-radius: 16px;
  border: 1px solid var(--card-border);
  padding: 18px;
  background: var(--bg-light);
}

.benefit-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.benefit-body {
  font-size: 14px;
  color: var(--text-muted);
}

.benefit-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* PRICING */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.pricing-card {
  border-radius: 18px;
  border: 1px solid var(--card-border);
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.pricing-tag {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--accent-soft);
  color: #0369a1;
  padding: 4px 7px;
  border-radius: 999px;
}

.pricing-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-list li {
  margin-bottom: 6px;
}

.pricing-list li::before {
  content: "✔";
  color: #16a34a;
  margin-right: 6px;
  font-size: 12px;
}

.pricing-cta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.pricing-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* DEMO FORM */
.demo-section {
  background: var(--bg-light);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 24px;
  align-items: flex-start;
}

.demo-copy p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.demo-copy ul {
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.demo-copy li { margin-bottom: 4px; }

.demo-form {
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--white);
  padding: 20px;
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.form-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

label { font-weight: 500; }

input, select, textarea {
  border-radius: 10px;
  border: 1px solid var(--card-border);
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
}

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

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.form-submit {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, #06b6d4, #22c55e);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  font-size: 14px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--card-border);
  padding: 14px 16px;
  background: var(--white);
}

.faq-q {
  font-weight: 600;
  margin-bottom: 4px;
}

.faq-a { color: var(--text-muted); }

/* FOOTER */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 20px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 24px;
}

.footer span { opacity: 0.8; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 26px;
  }

  .hero-title {
    font-size: 32px;
  }

  .steps-grid,
  .benefits-grid,
  .pricing-wrap,
  .demo-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }
}

.quick-guide {
  background: #f7f9ff;
  border: 1px solid #e0e6ff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.quick-guide-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.quick-guide-list {
  margin: 0;
  padding-left: 18px;
}

