/* ===== Tally — Landing Page Styles ===== */

:root {
  --purple: #aa5cff;
  --purple-dark: #8a3ff0;
  --purple-light: #f3e9ff;
  --ink: #00070a;
  --ink-70: rgba(0, 7, 10, 0.7);
  --ink-55: rgba(0, 7, 10, 0.55);
  --ink-15: rgba(0, 7, 10, 0.1);
  --paper: #ffffff;
  --cream: #faf8fc;
  --red: #d64545;
  --green: #1f9d5a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 7, 10, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 7, 10, 0.1);
  --shadow-purple: 0 12px 28px rgba(170, 92, 255, 0.35);
  --max-width: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-dark);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  line-height: 1.6;
  color: var(--ink-70);
  margin: 0 0 16px;
}

.lede {
  font-size: 1.15rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--purple-dark);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-15);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
}

.btn-purple {
  background: var(--purple);
  color: var(--ink);
  box-shadow: var(--shadow-purple);
}

.btn-purple:hover {
  background: var(--purple-dark);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cta-note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 22px 0 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-15);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-70);
  transition: color 0.15s ease;
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 40px;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(170, 92, 255, 0.16), transparent 70%),
    radial-gradient(40% 40% at 5% 30%, rgba(170, 92, 255, 0.1), transparent 70%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
  justify-items: center;
}

.hero h1 {
  max-width: 780px;
}

.hero h1 .accent {
  color: var(--purple-dark);
}

.hero .lede {
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badges span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.hero-visual {
  margin-top: 48px;
  width: 100%;
  max-width: 760px;
}

.notif-card {
  background: var(--paper);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transform: rotate(-1.2deg);
  margin: 0 auto;
  max-width: 460px;
}

.notif-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.notif-body strong {
  display: block;
  font-size: 0.95rem;
}

.notif-body span {
  font-size: 0.85rem;
  color: var(--ink-55);
}

.integrations {
  padding: 34px 0 70px;
  text-align: center;
}

.integrations .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 20px;
}

.integrations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.integrations-row span {
  padding: 8px 20px;
  border: 1px solid var(--ink-15);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-70);
}

/* ---------- Problem section ---------- */

.problem {
  padding: 90px 0;
  background: var(--ink);
  color: var(--paper);
}

.problem .eyebrow {
  color: var(--purple);
}

.problem h2,
.problem p {
  color: var(--paper);
}

.problem p {
  color: rgba(255, 255, 255, 0.7);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 40px auto 0;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.pain-item .x {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(214, 69, 69, 0.18);
  color: #ff8080;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.pain-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.problem-close {
  text-align: center;
  margin-top: 44px;
}

.problem-close p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
}

.problem-close strong {
  display: block;
  font-size: 1.4rem;
  color: var(--paper);
  margin-top: 4px;
}

/* ---------- Benefits ---------- */

.benefits {
  padding: 100px 0;
}

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

.benefit-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--ink-15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--purple-light);
  color: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.benefit-card h3 {
  margin-bottom: 8px;
}

.benefit-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Data / trust strip ---------- */

.data-section {
  padding: 100px 0;
  background: var(--purple-light);
}

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

.data-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.data-card h3 {
  margin-bottom: 10px;
}

.data-card p {
  margin: 0;
  font-size: 0.95rem;
}

.data-stat {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.data-stat .big {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1;
  margin-bottom: 10px;
}

/* ---------- How it works ---------- */

.how {
  padding: 100px 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

.how-note {
  margin-top: 48px;
  text-align: center;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--purple-light);
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Promise ---------- */

.promise {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
}

.promise .eyebrow {
  color: var(--purple);
}

.promise h2 {
  color: var(--paper);
  text-align: center;
}

.promise-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 14px;
}

.promise-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.promise-list .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.promise-list strong {
  color: var(--paper);
}

.promise-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ---------- Risk tiers ---------- */

.tiers {
  padding: 100px 0;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tier-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1.5px solid var(--ink-15);
  position: relative;
  overflow: hidden;
}

.tier-card .tier-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.tier-card.vip {
  background: linear-gradient(180deg, #f3e9ff, #ffffff);
  border-color: var(--purple);
}

.tier-card.vip .tier-tag {
  background: var(--purple);
  color: var(--ink);
}

.tier-card.trusted .tier-tag {
  background: #e7f6ee;
  color: var(--green);
}

.tier-card.risk .tier-tag {
  background: #fbe6e6;
  color: var(--red);
}

.tier-card h3 {
  margin-bottom: 6px;
}

.tier-card p {
  margin: 0;
  font-size: 0.95rem;
}

.tiers-note {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
}

.escalation {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--ink-15);
}

.escalation-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  max-width: 200px;
}

.escalation-avatar .circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--paper);
}

.escalation-avatar .circle.warm {
  background: var(--purple);
}

.escalation-avatar .circle.firm {
  background: var(--ink);
}

.escalation-arrow {
  font-size: 24px;
  color: var(--ink-55);
}

/* ---------- Dashboard ---------- */

.dashboard {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
}

.dashboard .eyebrow {
  color: var(--purple);
}

.dashboard h2 {
  color: var(--paper);
}

.dashboard-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.dashboard-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.metric-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.metric-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

.metric-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  flex: none;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-stats .stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.dashboard-stats .stat .val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
}

.dashboard-stats .stat .lab {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.dashboard-rows {
  display: grid;
  gap: 10px;
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.dashboard-row .status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status.paid {
  background: rgba(31, 157, 90, 0.2);
  color: #4ade80;
}

.status.chasing {
  background: rgba(170, 92, 255, 0.22);
  color: var(--purple);
}

.status.overdue {
  background: rgba(214, 69, 69, 0.22);
  color: #ff8080;
}

/* ---------- Reviews teaser ---------- */

.reviews-teaser {
  padding: 100px 0;
}

.reviews-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.flow-card {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--ink-15);
  text-align: center;
}

.flow-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.flow-arrow {
  font-size: 22px;
  color: var(--ink-55);
}

/* ---------- Call demo ---------- */

.call-demo {
  padding: 100px 0;
}

.call-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.call-card h2 {
  color: var(--paper);
}

.call-card p {
  color: rgba(255, 255, 255, 0.7);
}

.call-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 26px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.call-form input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  font-size: 1rem;
  font-family: var(--font);
}

.call-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.call-form input:focus {
  outline: none;
  border-color: var(--purple);
}

.call-status {
  margin-top: 18px;
  font-size: 0.9rem;
  min-height: 20px;
  color: var(--purple);
  font-weight: 600;
}

.call-fine {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 20px;
}

/* ---------- Comparison ---------- */

.compare {
  padding: 100px 0;
  background: var(--cream);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 34px;
}

.compare-card.bad {
  background: var(--paper);
  border: 1.5px solid var(--ink-15);
}

.compare-card.good {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.compare-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.compare-card.bad .tag {
  color: var(--red);
}

.compare-card.good .tag {
  color: var(--purple);
}

.compare-card h3 {
  margin-bottom: 20px;
}

.compare-card.good h3 {
  color: var(--paper);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.compare-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.compare-card.bad .compare-list li::before {
  content: '✕';
  color: var(--red);
  font-weight: 700;
  flex: none;
}

.compare-card.good .compare-list li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  flex: none;
}

.compare-card.good .compare-list li {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Testimonials ---------- */

.testimonials {
  padding: 100px 0;
}

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

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--ink-15);
}

.stars {
  color: var(--purple);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: none;
}

.testimonial-person strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-person span {
  font-size: 0.8rem;
  color: var(--ink-55);
}

/* ---------- Pricing ---------- */

.pricing {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
}

.pricing .eyebrow {
  color: var(--purple);
}

.pricing h2 {
  color: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--ink);
  transform: translateY(-10px);
  box-shadow: var(--shadow-purple);
}

.price-card .plan-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.price-card.featured .plan-tag {
  color: rgba(0, 7, 10, 0.6);
}

.price-card h3 {
  margin-bottom: 4px;
}

.price-card .plan-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.price-card.featured .plan-desc {
  color: rgba(0, 7, 10, 0.65);
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.price-card.featured .price small {
  color: rgba(0, 7, 10, 0.6);
}

.price-features {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.price-card.featured .price-features li {
  color: rgba(0, 7, 10, 0.85);
}

.price-features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--purple);
  flex: none;
}

.price-card.featured .price-features li::before {
  color: var(--ink);
}

.price-card .btn {
  margin-top: auto;
}

.price-card:not(.featured) .btn-purple {
  background: var(--purple);
  color: var(--ink);
}

.price-card.featured .btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.pricing-fine {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- FAQ ---------- */

.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .plus {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(170, 92, 255, 0.18), transparent 70%);
}

.final-cta h2 {
  max-width: 640px;
  margin: 0 auto 16px;
}

.final-cta p {
  max-width: 520px;
  margin: 0 auto 30px;
}

.final-cta .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo img {
  height: 26px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--paper);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.8rem;
}

.footer-bottom .socials {
  display: flex;
  gap: 14px;
}

.footer-bottom .socials a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .socials a:hover {
  color: var(--purple);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .pain-grid,
  .benefits-grid,
  .data-grid,
  .how-steps,
  .tiers-grid,
  .compare-grid,
  .testimonial-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-wrap {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .header-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 24px;
    border-bottom: 1px solid var(--ink-15);
    gap: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ---------- Header: login link ---------- */

.header-login {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-70);
  margin-right: 4px;
}

.header-login:hover {
  color: var(--purple-dark);
}

/* ---------- Form / auth pages ---------- */

.form-page {
  padding: 64px 0 110px;
  min-height: calc(100vh - 76px - 260px);
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(170, 92, 255, 0.14), transparent 70%);
}

.form-page .wrap {
  display: flex;
  justify-content: center;
}

.form-card {
  width: 100%;
  max-width: 480px;
  background: var(--paper);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px 40px;
}

.form-card.form-card-wide {
  max-width: 620px;
}

.form-card-head {
  text-align: center;
  margin-bottom: 32px;
}

.form-card-head .eyebrow {
  margin-bottom: 10px;
}

.form-card-head h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.form-card-head p {
  margin: 0;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group .hint {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-55);
  margin-top: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-15);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(170, 92, 255, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  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='%2300070a' fill-opacity='0.55' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-70);
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--purple);
}

.form-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.form-check-row a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-dark);
  text-decoration: none;
}

.form-check-row a:hover {
  text-decoration: underline;
}

.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 20px;
}

.form-status.ok {
  color: var(--green);
}

.form-status.err {
  color: var(--red);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  color: var(--ink-55);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-15);
}

.form-social-row {
  display: grid;
  gap: 12px;
}

.form-switch {
  text-align: center;
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--ink-70);
}

.form-switch a {
  font-weight: 700;
  color: var(--purple-dark);
  text-decoration: none;
}

.form-switch a:hover {
  text-decoration: underline;
}

.form-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.form-plan {
  position: relative;
}

.form-plan input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.form-plan span {
  display: block;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-15);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-70);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.form-plan input:checked + span {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--purple-dark);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px auto 0;
  max-width: 620px;
}

.contact-meta-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--ink-15);
}

.contact-meta-item .icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-meta-item h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.contact-meta-item p {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .form-card {
    padding: 32px 22px;
  }

  .form-row,
  .form-plans,
  .contact-meta {
    grid-template-columns: 1fr;
  }
}
