/* Confinement Flow — Landing Page Styles */

/* Payment result banners */
.payment-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.payment-banner-success { background: #1a6e45; color: #fff; }
.payment-banner-failure { background: #b83232; color: #fff; }
.payment-banner-info    { background: #7c5c2e; color: #fff; }
.payment-banner-dismiss {
  background: none; border: none; cursor: pointer;
  color: inherit; opacity: 0.7; padding: 2px; display: flex;
  align-items: center; margin-left: auto; flex-shrink: 0;
}
.payment-banner-dismiss:hover { opacity: 1; }
.payment-banner-retry {
  background: none; border: 1px solid rgba(255,255,255,0.5);
  border-radius: 6px; cursor: pointer; color: inherit;
  font-size: 13px; font-weight: 600; padding: 3px 10px;
  text-decoration: underline; flex-shrink: 0;
}
.payment-banner-retry:hover { background: rgba(255,255,255,0.12); }
:root {
  --ink: #394541;
  --ink-soft: #5a6661;
  --ink-mute: #8a9591;
  --pink: #f9b9bd;
  --pink-soft: #fedee0;
  --cream: #fef2ec;
  --cream-deep: #f7e6dc;
  --paper: #fffaf6;
  --line: #ebd9cd;
  --line-soft: #f3e3d8;
  --shadow-sm: 0 1px 2px rgba(57, 69, 65, 0.04), 0 2px 8px rgba(57, 69, 65, 0.04);
  --shadow-md: 0 2px 8px rgba(57, 69, 65, 0.05), 0 12px 32px rgba(57, 69, 65, 0.08);
  --shadow-lg: 0 4px 12px rgba(57, 69, 65, 0.06), 0 24px 64px rgba(57, 69, 65, 0.12);
  --serif: "Fraunces", "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Type */
.serif { font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--ink-mute);
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
.display {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.display em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
}
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: #2a3431; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover { background: rgba(57, 69, 65, 0.06); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { background: var(--cream); border-color: var(--ink); }
.btn-pink {
  background: var(--pink);
  color: var(--ink);
}
.btn-pink:hover { background: #f5a3a8; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn .arrow {
  display: inline-block;
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 250, 246, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: all 160ms ease;
}
.nav-link:hover { color: var(--ink); background: rgba(57, 69, 65, 0.04); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 72px) 0 clamp(72px, 9vw, 104px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-copy .display { margin-top: 22px; }
.hero-copy .lede { margin-top: 24px; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.avatars {
  display: flex;
}
.avatars .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -8px;
  background: var(--cream-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
}
.avatars .av:first-child { margin-left: 0; }
.avatars .av:nth-child(2) { background: var(--pink-soft); }
.avatars .av:nth-child(3) { background: var(--cream); }
.avatars .av:nth-child(4) { background: var(--pink); }

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.orb-1 { width: 460px; height: 460px; background: var(--pink-soft); top: -100px; right: -120px; }
.orb-2 { width: 360px; height: 360px; background: var(--cream-deep); bottom: -80px; left: -100px; opacity: 0.6; }

/* Product preview card */
.preview-stack {
  position: relative;
  perspective: 2000px;
}
.preview-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.dots { display: flex; gap: 6px; }
.dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.preview-card-body { padding: 22px; }

/* Floating mini cards near hero */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.float-card .icon-sq {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--pink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.float-1 { top: -22px; left: -38px; transform: rotate(-3deg); }
.float-2 { bottom: -28px; right: -26px; transform: rotate(2deg); background: var(--ink); color: var(--paper); border-color: transparent; }
.float-2 .icon-sq { background: var(--pink); }

/* Problems */
.problems-section { background: var(--paper); }
.problems-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problem-num {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--pink);
  line-height: 1;
  padding-top: 2px;
}
.problem-body { display: flex; flex-direction: column; gap: 18px; }
.problem-q {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.problem-a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 18px;
}
.check-pill {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .problem-card { padding: 24px; grid-template-columns: 40px 1fr; gap: 14px; }
  .problem-num { font-size: 26px; }
}

/* Who it's for */
.who-section {
  padding: clamp(64px, 7vw, 96px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.who-section .section-head { margin-bottom: 56px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr; } }
.who-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.who-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.who-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.who-quote {
  font-family: var(--sans);
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 8px;
}
.who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.who-list li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  position: relative;
  padding-left: 22px;
}
.who-list li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 0;
  color: var(--pink);
  font-size: 13px;
  line-height: 1.7;
}

/* Section base */
.section {
  padding: clamp(64px, 7vw, 96px) 0;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .h2 { margin-top: 16px; }
.section-head .lede { margin: 20px auto 0; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background 200ms ease;
}
.feature:hover { background: var(--cream-deep); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.feature h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Steps / How it works */
.steps-section {
  background: var(--ink);
  color: var(--paper);
}
.steps-section .eyebrow { color: rgba(254, 242, 236, 0.7); }
.steps-section .eyebrow::before { background: rgba(254, 242, 236, 0.4); }
.steps-section .h2 { color: var(--paper); }
.steps-section .lede { color: rgba(254, 242, 236, 0.75); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
  position: relative;
}
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps, .steps.steps-3 { grid-template-columns: 1fr 1fr; } }

.included-row {
  list-style: none;
  padding: 0;
  margin: 80px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  border-top: 1px solid rgba(254, 242, 236, 0.15);
  padding-top: 36px;
}
.included-row li {
  font-size: 14.5px;
  color: rgba(254, 242, 236, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.005em;
}
.included-row .sparkle {
  color: var(--pink);
  font-size: 14px;
  line-height: 1;
}
@media (max-width: 760px) {
  .included-row { flex-direction: column; align-items: center; gap: 14px; }
}
.step {
  padding: 28px;
  border-radius: 16px;
  background: rgba(254, 242, 236, 0.04);
  border: 1px solid rgba(254, 242, 236, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 500;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(254, 242, 236, 0.7);
}

/* Dashboard preview block */
.preview-section {
  background: var(--paper);
}
.dash-frame {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 56px;
}
.dash-frame-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.dash-tabs {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  font-size: 13px;
}
.dash-tab {
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 150ms ease;
  font-weight: 500;
}
.dash-tab.active { background: var(--ink); color: var(--paper); }
.dash-tab:not(.active):hover { background: var(--cream-deep); color: var(--ink); }
.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
}
.dash-sidebar {
  background: var(--paper);
  border-right: 1px solid var(--line-soft);
  padding: 24px 16px;
}
.dash-sidebar-section { margin-bottom: 24px; }
.dash-sidebar h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 10px 8px;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 140ms ease;
}
.dash-nav-item:hover { background: var(--cream-deep); color: var(--ink); }
.dash-nav-item.active { background: var(--pink-soft); color: var(--ink); font-weight: 500; }
.dash-nav-item .nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.dash-nav-item.active .nav-dot { background: var(--pink); }

.dash-content { padding: 28px 32px; }

/* Pricing */
/* Features section gets a cream wash so it pops against neighbour paper sections */
#features { background: var(--cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Pricing section also on cream to break up paper run before FAQ */
.pricing-section { padding: clamp(64px, 7vw, 96px) 0; background: var(--cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: 999px;
  padding: 4px;
  margin: 24px auto 0;
  border: 1px solid var(--line-soft);
}
.toggle-opt {
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 180ms ease;
  border: 0;
  background: transparent;
  font-family: var(--sans);
}
.toggle-opt.active { background: var(--ink); color: var(--paper); }
.save-pill {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 600;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: all 220ms ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan-featured .plan-name,
.plan-featured .plan-price-amt { color: var(--paper); }
.plan-featured .plan-desc,
.plan-featured .plan-features li { color: rgba(254, 242, 236, 0.78); }
.plan-featured .plan-features svg { color: var(--pink); }
.plan-featured .plan-divider { background: rgba(254, 242, 236, 0.15); }
.plan-tag {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--pink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.plan-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  min-height: 42px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price-amt {
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price-suf { font-size: 14px; color: var(--ink-soft); }
.plan-featured .plan-price-suf { color: rgba(254, 242, 236, 0.7); }
.plan-price-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: -10px;
}
.plan-featured .plan-price-note { color: rgba(254, 242, 236, 0.7); }

.plan-limits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.plan-featured .plan-limits {
  border-top-color: rgba(254, 242, 236, 0.15);
  border-bottom-color: rgba(254, 242, 236, 0.15);
}
.plan-limits-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.plan-featured .plan-limits-label { color: rgba(254, 242, 236, 0.55); }
.plan-limit-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.plan-featured .plan-limit-row { color: rgba(254, 242, 236, 0.78); }
.plan-limit-val { color: var(--ink); font-weight: 500; }
.plan-featured .plan-limit-val { color: var(--paper); }
.plan-limit-val.plan-limit-unl { color: var(--pink); font-weight: 600; }
.plan-featured .plan-limit-val.plan-limit-unl { color: var(--pink); }

.plan-features li.off { color: var(--ink-mute); }
.plan-featured .plan-features li.off { color: rgba(254, 242, 236, 0.45); }
.plan-features .x-mark {
  color: var(--ink-mute);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-featured .plan-features .x-mark { color: rgba(254, 242, 236, 0.4); }

/* Annual plan policy */
.annual-policy {
  max-width: 900px;
  margin: 56px auto 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.annual-policy-head {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.annual-policy-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.annual-policy-row:nth-child(2) { border-top: none; padding-top: 0; }
.annual-policy-row strong { color: var(--ink); font-weight: 600; }
.ap-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}
.ap-icon.ok { background: var(--pink-soft); color: var(--ink); }
.ap-icon.no { background: var(--cream-deep); color: var(--ink-soft); }
.ap-icon.info { background: var(--cream); color: var(--ink); font-weight: 500; }
.plan-divider { height: 1px; background: var(--line-soft); display: none; }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.plan-features svg { color: var(--ink); flex-shrink: 0; margin-top: 2px; }
.plan .btn { justify-content: center; }
.plan-featured .btn-primary { background: var(--pink); color: var(--ink); }
.plan-featured .btn-primary:hover { background: #f5a3a8; }

/* Testimonials */
.testimonials-section {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.t-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 960px) { .t-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.testimonial.featured .t-quote { color: var(--paper); }
.testimonial.featured .t-author-name { color: var(--paper); }
.testimonial.featured .t-author-role { color: rgba(254, 242, 236, 0.7); }
.t-quote {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}
.testimonial:not(.featured) .t-quote { font-size: 16px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-author-pic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial.featured .t-author-pic { background: var(--pink); }
.t-author-name { font-size: 14px; font-weight: 500; }
.t-author-role { font-size: 12.5px; color: var(--ink-soft); }

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(254, 242, 236, 0.15);
  border-bottom: 1px solid rgba(254, 242, 236, 0.15);
}
@media (max-width: 760px) { .stats-band { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 36px 28px;
  border-right: 1px solid rgba(254, 242, 236, 0.15);
}
.stat:last-child { border-right: none; }
@media (max-width: 760px) { .stat:nth-child(2) { border-right: none; } }
.stat-num {
  font-family: var(--sans);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--pink);
  display: flex;
  align-items: center;
}
.stat-label {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(254, 242, 236, 0.75);
  line-height: 1.4;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 56px auto 0;
  border-top: 1px solid var(--line-soft);
}
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 200ms ease;
}
.faq-item.open .faq-toggle { background: var(--pink); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease, padding 320ms ease;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  padding: 0 0;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 0 24px;
}

/* Final CTA */
.cta-section {
  padding: clamp(72px, 8vw, 104px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--pink-soft) 0%, transparent 60%),
    var(--paper);
}
.cta-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}
.cta-card .h2 { color: var(--paper); }
.cta-card .lede { color: rgba(254, 242, 236, 0.78); margin-left: auto; margin-right: auto; }
.cta-card .hero-cta { justify-content: center; }
.cta-card::before, .cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}
.cta-card::before { width: 280px; height: 280px; background: var(--pink); top: -100px; right: -60px; }
.cta-card::after { width: 220px; height: 220px; background: var(--cream-deep); bottom: -80px; left: -60px; opacity: 0.2; }

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(254, 242, 236, 0.7);
  padding: 52px 0 24px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.08;
  filter: blur(80px);
  top: -180px;
  right: -120px;
  pointer-events: none;
}
.footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(254, 242, 236, 0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}
.footer-tagline {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  color: rgba(254, 242, 236, 0.65);
}

.footer-col h5 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--paper);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer a {
  color: rgba(254, 242, 236, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 160ms ease, transform 160ms ease;
  display: inline-block;
}
.footer a:hover { color: var(--pink); transform: translateX(2px); }

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(254, 242, 236, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-bottom a:hover { transform: none; }

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(57, 69, 65, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border-radius: 22px;
  width: 100%;
  max-width: 460px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: rise 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.wide { max-width: 560px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: all 160ms ease;
}
.modal-close:hover { background: var(--cream); color: var(--ink); }
.modal-head { margin-bottom: 24px; }
.modal-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal-sub { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(57, 69, 65, 0.08);
}
.field.error input, .field.error select { border-color: #c14a4a; }
.field-error { color: #c14a4a; font-size: 12px; margin-top: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.modal-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 8px; }
.modal-foot .btn { flex: 1; justify-content: center; }
.text-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }
.text-link:hover { color: var(--pink); }

/* Multi-step demo modal */
.steps-bar { display: flex; gap: 6px; margin-bottom: 22px; }
.steps-bar .pip {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.steps-bar .pip.done { background: var(--ink); }
.steps-bar .pip.current { background: var(--pink); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.choice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 160ms ease;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.choice:hover { border-color: var(--ink); background: var(--cream); }
.choice.selected { border-color: var(--ink); background: var(--cream); box-shadow: 0 0 0 1px var(--ink); }
.choice-title { font-weight: 500; }
.choice-sub { font-size: 12.5px; color: var(--ink-soft); }

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--pink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

/* Mini chart inside dashboard preview */
.mini-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.mini-stat {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--paper);
}
.mini-stat .lbl { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.mini-stat .num {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.mini-stat .delta { font-family: var(--sans); font-size: 12px; color: #6a8a6a; font-weight: 500; }
.mini-stat .delta.dn { color: #c47a4a; }

.dash-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.dash-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--paper);
}
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dash-card-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.chart {
  height: 160px;
  background:
    linear-gradient(180deg, rgba(249, 185, 189, 0.18) 0%, rgba(249, 185, 189, 0) 100%);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.chart svg { width: 100%; height: 100%; }

.todo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.todo-row:last-child { border-bottom: none; }
.todo-check {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
}
.todo-row.done .todo-check {
  background: var(--ink);
  border-color: var(--ink);
  position: relative;
}
.todo-row.done .todo-check::after {
  content: "";
  position: absolute;
  inset: 3px 4px 4px 3px;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(45deg) translate(-1px, -1px);
}
.todo-row.done .todo-text { color: var(--ink-mute); text-decoration: line-through; }
.todo-time { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); }
.todo-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--pink-soft);
  color: var(--ink);
  font-weight: 500;
}

/* Schedule timeline */
.timeline { display: flex; flex-direction: column; gap: 8px; }
.tl-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
}
.tl-time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); }
.tl-bar {
  background: var(--cream-deep);
  border-left: 3px solid var(--pink);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
}
.tl-bar.alt { background: var(--pink-soft); border-color: var(--ink); }
