/* ============ STACK PACKED — folk-inspired design system ============ */
/* Warm paper background, ink-black type, italic-serif accent words,
   black pill buttons, white cards with thin warm borders. */
:root {
  --ink: #1D1B18;
  --bg: #F4F0E9;
  --bg-alt: #EFEAE1;
  --cream: #F4F0E9;
  --card: #FBF9F5;
  --white: #FFFFFF;
  --muted-c: #6E675C;
  --border: rgba(29, 27, 24, 0.12);
  --border-soft: rgba(29, 27, 24, 0.08);
  --pop: #FFD84D;            /* small highlights: dots, ticks, pulse */
  --pop-soft: #FFE8A3;       /* pastel chip */
  --pink-soft: #FFD9E8;
  --blue-soft: #DCE9FF;
  --green-soft: #DCEEDC;
  --danger: #C13E22;
  --success: #1E6B41;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Lora", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 450;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain, folk-style */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; }
h1 { font-size: 64px; line-height: 68px; letter-spacing: -0.045em; }
h2 { font-size: 52px; line-height: 58px; letter-spacing: -0.04em; }
h3 { font-size: 42px; line-height: 48px; letter-spacing: -0.035em; }
h4 { font-size: 30px; line-height: 38px; letter-spacing: -0.03em; }
h5 { font-family: var(--display); font-size: 23px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
h6 { font-family: var(--display); font-size: 19px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }

/* folk signature: italic serif accent word inside big headlines */
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.p1 { font-size: 18px; line-height: 28px; font-weight: 450; letter-spacing: -0.01em; }
.p2 { font-size: 16px; line-height: 24px; font-weight: 450; letter-spacing: -0.01em; }
.p3 { font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: -0.005em; }
.tagline { font-size: 15px; line-height: 22px; font-weight: 450; letter-spacing: 0.01em; }
.muted { color: var(--muted-c); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 900px; }
.section { padding: 110px 0; }
.br-desktop { display: inline; }

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

/* ---------- Buttons: black pills, folk-style ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn .label { position: relative; display: block; overflow: hidden; }
.btn .label span { display: block; transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.btn .label span:nth-child(2) { position: absolute; top: 100%; left: 0; width: 100%; }
.btn:hover .label span { transform: translateY(-100%); }
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(29, 27, 24, 0.25); }

.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid rgba(29, 27, 24, 0.35); }
.btn-secondary:hover { background: rgba(29, 27, 24, 0.06); border-color: var(--ink); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(29, 27, 24, 0.3); }

.btn-sm { padding: 10px 22px; font-size: 15px; line-height: 24px; letter-spacing: -0.01em; }
.btn-block { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 240, 233, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom-color: var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.logo-dot { color: var(--ink); margin-left: -8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link, .nav-trigger {
  font-family: var(--font);
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); opacity: 0.8;
  background: none; border: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 7px;
  transition: opacity 0.25s, color 0.25s;
}
.nav-link:hover, .nav-trigger:hover,
.nav-item.open .nav-trigger { opacity: 1; }
.chev {
  width: 6px; height: 6px; display: inline-block;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s ease;
}
.nav-item.open .chev { transform: rotate(-135deg) translate(-2px, -2px); }

/* dropdown shell */
.nav-item { position: relative; }
.mega {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  margin-top: 18px;
  width: 780px; max-width: calc(100vw - 48px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(29, 27, 24, 0.14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  overflow: hidden;
}
.nav-item.open .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }

.mega-inner { display: grid; grid-template-columns: 250px 1fr; }
.mega-left {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px;
  border-right: 1px solid var(--border-soft);
  background: var(--card);
}
.mega-cat {
  font-family: var(--font);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  padding: 9px 12px;
  background: none; border: none; cursor: pointer;
  border-radius: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--muted-c);
  transition: background 0.2s ease, color 0.2s ease;
}
.mega-cat .cat-arrow { opacity: 0; font-style: normal; font-size: 13px; transition: opacity 0.2s ease, transform 0.2s ease; transform: translateX(-4px); }
.mega-cat:hover, .mega-cat.active { background: rgba(29, 27, 24, 0.06); color: var(--ink); }
.mega-cat.active .cat-arrow { opacity: 1; transform: translateX(0); }

.mega-right { padding: 20px 22px; min-height: 268px; }
.mega-panel { display: none; }
.mega-panel.active { display: block; animation: megaFade 0.25s ease; }
@keyframes megaFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mega-replaces {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-c); margin-bottom: 14px;
}
.mega-replaces span { color: var(--danger); letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 450; }
.mega-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-tool {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 12px; border-radius: 9px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mega-tool:hover { background: var(--card); border-color: var(--border); }
.mega-tool b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.mega-tool span { font-size: 12px; line-height: 17px; color: var(--muted-c); }

/* Compare mega menu */
.mega-compare { width: 900px; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cmp-col { padding: 18px 16px; }
.cmp-col + .cmp-col { border-left: 1px solid var(--border-soft); }
.cmp-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-c);
  padding: 0 10px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
}
.cmp-item {
  display: flex; align-items: baseline; gap: 6px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13.5px; letter-spacing: -0.01em;
  transition: background 0.18s ease;
}
.cmp-item:hover { background: var(--card); }
.cmp-paid { color: var(--muted-c); }
.cmp-item i { font-style: normal; font-size: 11px; color: var(--muted-c); opacity: 0.6; }
.cmp-os { color: var(--success); font-weight: 600; }
.cmp-item:hover .cmp-paid { color: var(--ink); }

/* mobile comparison links */
.m-cmp { display: block; padding: 7px 4px; font-size: 14px; color: var(--muted-c); }
.m-cmp b { color: var(--success); font-weight: 600; }
.m-cmp:hover { color: var(--ink); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 102; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 101;
  background: rgba(244, 240, 233, 0.98);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  width: 100%; max-width: 420px; padding: 0 24px;
  max-height: 82vh; overflow-y: auto;
}
.m-link, .m-acc-trigger {
  font-family: var(--display);
  font-size: 22px; letter-spacing: -0.03em; font-weight: 600; color: var(--ink);
  background: none; border: none; cursor: pointer;
  text-align: left; padding: 14px 4px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.m-link:hover, .m-acc-trigger:hover { opacity: 0.7; }
.m-acc-trigger .chev { width: 8px; height: 8px; }
.m-acc.open .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.m-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.m-acc-body > a {
  display: block; padding: 10px 4px; font-size: 15px; color: var(--muted-c);
}
.m-acc-body > a:hover { color: var(--ink); }
.m-cat { padding: 10px 4px; }
.m-cat-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.m-cat-tools { font-size: 12px; line-height: 18px; color: var(--success); margin-top: 2px; }
.mobile-menu .btn { margin-top: 22px; justify-content: center; }

/* ---------- Eyebrow pill: outlined, folk-style ---------- */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14.5px; line-height: 22px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 28px;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pop); border: 1px solid rgba(29,27,24,0.25); flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-glow {
  position: absolute;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 760px;
  background: radial-gradient(ellipse at center, rgba(255, 216, 77, 0.22) 0%, rgba(255, 216, 77, 0.07) 40%, transparent 68%);
  pointer-events: none;
}
.stars { display: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-sub { max-width: 620px; margin: 24px auto 0; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* Dashboard mockup — light window */
.mockup-wrap { margin-top: 80px; perspective: 1200px; }
.mockup {
  max-width: 980px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 -12px 70px rgba(29, 27, 24, 0.1);
  text-align: left;
}
.mockup-bar { display: flex; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); background: var(--card); }
.mdot { width: 12px; height: 12px; border-radius: 50%; }
.mdot.red { background: #FF5F57; } .mdot.yellow { background: #FEBC2E; } .mdot.green { background: #28C840; }
.mockup-body { display: flex; min-height: 380px; }
.mockup-side { width: 200px; padding: 24px 20px; border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 18px; flex-shrink: 0; background: var(--card); }
.sk { height: 10px; border-radius: 5px; background: rgba(29, 27, 24, 0.09); }
.sk-logo { width: 42px; height: 16px; border-radius: 6px; background: rgba(29, 27, 24, 0.16); margin-bottom: 10px; }
.sk.w80 { width: 80%; } .sk.w70 { width: 70%; } .sk.w65 { width: 65%; } .sk.w60 { width: 60%; } .sk.w55 { width: 55%; } .sk.w50 { width: 50%; } .sk.w45 { width: 45%; } .sk.w40 { width: 40%; } .sk.w20 { width: 20%; }
.sk.accent { background: var(--pop); }
.mockup-main { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.mockup-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mcard { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mnum { font-family: var(--display); font-size: 26px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }
.mnum span { font-family: var(--font); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted-c); margin-left: 6px; }
.mbar-row { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.mbar-row i { flex: 1; background: rgba(29, 27, 24, 0.12); border-radius: 3px 3px 0 0; }
.mbar-row i.on { background: var(--ink); }
.mline svg { width: 100%; height: 44px; display: block; }
.mpills { display: flex; gap: 6px; align-items: center; height: 44px; }
.mpills b { width: 22px; height: 22px; border-radius: 7px; background: rgba(29, 27, 24, 0.1); }
.mpills b.on { background: var(--pop); }
.mockup-rows { display: flex; flex-direction: column; gap: 12px; }
.mrow { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 16px; }
.mrow .sk:last-child { margin-left: auto; }
.mtick { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); flex-shrink: 0; position: relative; }
.mtick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--cream); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mtick.off { background: rgba(29, 27, 24, 0.15); }
.mtick.off::after { border-color: rgba(255, 255, 255, 0.8); }

/* Trust strip */
.trust { position: relative; z-index: 1; padding: 56px 0 72px; background: var(--bg); border-top: 1px solid var(--border-soft); }
.trust .tagline { margin-bottom: 36px; color: var(--muted-c); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 32s linear infinite; padding-right: 80px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-logo { display: inline-flex; align-items: center; gap: 12px; color: rgba(29, 27, 24, 0.5); font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.mq-logo svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Problem / stats ---------- */
.problem-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.problem-copy .p1 { margin-top: 24px; max-width: 480px; }
.stats-col { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.stat-num { font-family: var(--display); font-size: 52px; line-height: 60px; font-weight: 600; letter-spacing: -0.04em; }
.badge {
  background: var(--pop-soft); color: var(--ink);
  font-size: 13.5px; line-height: 22px; font-weight: 550; letter-spacing: -0.01em;
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.section-head .p1 { margin-top: 24px; }

/* ---------- Tools grid ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.tool-card:hover {
  border-color: rgba(29, 27, 24, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(29, 27, 24, 0.09);
}
.tool-icon {
  width: 52px; height: 52px; color: var(--ink); margin-bottom: 24px;
  background: var(--pop-soft); border-radius: 14px; padding: 12px;
}
.tool-card:nth-child(2) .tool-icon { background: var(--blue-soft); }
.tool-card:nth-child(3) .tool-icon { background: var(--pink-soft); }
.tool-card:nth-child(4) .tool-icon { background: var(--green-soft); }
.tool-card:nth-child(5) .tool-icon { background: var(--blue-soft); }
.tool-card:nth-child(6) .tool-icon { background: var(--pop-soft); }
.tool-icon svg { width: 100%; height: 100%; }
.tool-card h5 { margin-bottom: 8px; }
.replaces { font-size: 13.5px; line-height: 21px; font-weight: 450; letter-spacing: -0.005em; color: var(--danger); margin-bottom: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: "";
  position: absolute; top: 44px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 27, 24, 0.25), rgba(29, 27, 24, 0.25), transparent);
}
.step { text-align: center; padding: 0 24px; position: relative; }
.step-num {
  width: 88px; height: 88px; margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px; font-weight: 650; letter-spacing: -0.03em;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg);
}
.step h4 { margin-bottom: 12px; }
.step .p2 { max-width: 320px; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.stars-row { display: inline-flex; gap: 3px; }
.stars-row svg { width: 18px; height: 18px; fill: var(--pop); stroke: var(--ink); stroke-width: 0.8; }
.testi-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.testi-side { display: flex; flex-direction: column; gap: 24px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.testi-featured { padding: 56px 48px; justify-content: space-between; }
.chip {
  align-self: flex-start;
  background: var(--pink-soft); color: var(--ink);
  font-size: 13.5px; line-height: 22px; font-weight: 550; letter-spacing: -0.01em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 36px;
}
.quote { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 40px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.quote-sm { font-size: 17px; line-height: 27px; font-weight: 450; letter-spacing: -0.01em; color: var(--muted-c); }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.testi-person strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.testi-person .p3 { display: block; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pop-soft);
  border: 1px solid rgba(29, 27, 24, 0.2);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0;
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.price-icon { width: 40px; height: 40px; color: var(--ink); margin-bottom: 24px; }
.price-icon svg { width: 100%; height: 100%; }
.price-head-row { display: flex; align-items: flex-start; justify-content: space-between; }
.plan-for { color: var(--muted-c); margin: 10px 0 0; }
.price-line {
  display: flex; align-items: baseline; gap: 12px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.price { font-family: var(--display); font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.04em; }
.included { font-family: var(--display); font-size: 19px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.feature-list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 24px; letter-spacing: -0.01em; color: var(--muted-c); }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.feature-list li::after {
  content: "";
  position: absolute; left: 7.5px; top: 5px;
  width: 5px; height: 9px;
  border: solid var(--ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* featured plan: ink card, cream text */
.price-featured { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.price-featured .plan-for, .price-featured .price-line .p3 { color: rgba(244, 240, 233, 0.7); }
.price-featured .price-icon { color: var(--pop); }
.price-featured .price-line { border-color: rgba(244, 240, 233, 0.18); }
.price-featured .btn-dark { background: var(--cream); color: var(--ink); }
.price-featured .btn-dark:hover { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4); }

/* Four-tier pricing grid */
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-grid-4 .price-card { padding: 32px 26px; border-radius: 16px; }
.pricing-grid-4 .price { font-size: 34px; line-height: 42px; }
.pricing-grid-4 .price-line { margin: 24px 0; padding: 20px 0; flex-wrap: wrap; gap: 4px; }
.pricing-grid-4 .included { font-size: 16.5px; line-height: 25px; margin-bottom: 16px; }
.pricing-grid-4 .feature-list { gap: 12px; margin-bottom: 28px; }
.pricing-grid-4 .feature-list li { font-size: 15px; line-height: 23px; padding-left: 30px; }
.pricing-grid-4 .feature-list li::before { width: 19px; height: 19px; }
.pricing-grid-4 .feature-list li::after { left: 6.5px; top: 4.5px; }
.pricing-grid-4 .price-icon { width: 34px; height: 34px; margin-bottom: 18px; }
.pricing-grid-4 h4 { font-size: 26px; line-height: 34px; }
.pricing-grid-4 .popular-badge { font-size: 13px; padding: 5px 12px; }
.pricing-grid-4 .btn { padding: 13px 22px; font-size: 16px; letter-spacing: -0.01em; }

.popular-badge {
  background: var(--pop); color: var(--ink);
  font-size: 13.5px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em;
  padding: 6px 16px; border-radius: 100px;
}
.dark-list li { color: rgba(244, 240, 233, 0.85); }
.dark-list li::before { border-color: var(--pop); }
.dark-list li::after { border-color: var(--pop); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-color: rgba(29, 27, 24, 0.3); box-shadow: 0 6px 20px rgba(29, 27, 24, 0.06); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; cursor: pointer;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em;
  text-align: left;
  padding: 26px 32px;
}
.faq-chevron {
  width: 10px; height: 10px; flex-shrink: 0;
  border: solid var(--muted-c);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}
.faq-item.open .faq-chevron { transform: rotate(-135deg); margin-top: 4px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1); }
.faq-a p { padding: 0 32px 28px; max-width: 720px; }

/* ---------- CTA banner: ink block, folk-style ending ---------- */
.cta-banner {
  position: relative;
  padding: 150px 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  bottom: -420px; left: 50%;
  transform: translateX(-50%);
  width: 1300px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(255, 216, 77, 0.14) 0%, rgba(255, 216, 77, 0.04) 40%, transparent 68%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner .eyebrow-pill { background: rgba(244, 240, 233, 0.08); border-color: rgba(244, 240, 233, 0.22); color: var(--cream); }
.cta-banner .btn-primary { background: var(--cream); color: var(--ink); }
.cta-banner .btn-primary:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.cta-banner .btn-secondary { color: var(--cream); border-color: rgba(244, 240, 233, 0.45); }
.cta-banner .btn-secondary:hover { background: rgba(244, 240, 233, 0.1); border-color: var(--cream); }

/* ---------- Footer: ink ---------- */
.footer { background: var(--ink); color: var(--cream); border-top: 1px solid rgba(244, 240, 233, 0.1); padding: 80px 0 0; }
.footer .logo { color: var(--cream); }
.footer .logo-dot { color: var(--pop); }
.footer .muted { color: rgba(244, 240, 233, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .p2 { margin-bottom: 28px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 233, 0.22);
  color: rgba(244, 240, 233, 0.7);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.socials a:hover { color: var(--ink); background: var(--pop); border-color: var(--pop); }
.socials svg { width: 16px; height: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h6 { margin-bottom: 8px; color: var(--cream); }
.footer-col a { color: rgba(244, 240, 233, 0.65); font-size: 15.5px; letter-spacing: -0.01em; transition: color 0.25s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(244, 240, 233, 0.12); padding: 28px 0; text-align: center; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Tablet ============ */
@media (max-width: 1199px) {
  h1 { font-size: 44px; line-height: 50px; }
  h2 { font-size: 36px; line-height: 42px; }
  h3 { font-size: 32px; line-height: 38px; }
  h4 { font-size: 26px; line-height: 34px; }
  .section { padding: 90px 0; }
  .hero { padding-top: 150px; }
  .nav-links { gap: 24px; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-copy .p1 { max-width: 640px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .step-num { box-shadow: none; }
  .stat-num { font-size: 42px; line-height: 50px; }
}

/* ============ Mobile ============ */
@media (max-width: 767px) {
  h1 { font-size: 34px; line-height: 40px; }
  h2 { font-size: 28px; line-height: 34px; }
  h4 { font-size: 24px; line-height: 32px; }
  .br-desktop { display: none; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .hero { padding-top: 120px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .mockup-wrap { margin-top: 56px; }
  .mockup-side { display: none; }
  .mockup-cards { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: 1fr; }
  .price-card { padding: 32px 24px; }
  .testi-featured { padding: 36px 24px; }
  .testi-card { padding: 32px 24px; }
  .quote { font-size: 22px; line-height: 32px; }
  .stat-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .faq-q { font-size: 17px; line-height: 26px; padding: 20px 20px; }
  .faq-a p { padding: 0 20px 22px; }
  .cta-banner { padding: 90px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .marquee-track { gap: 48px; padding-right: 48px; }
  .section-head { margin-bottom: 48px; }
  .trust { padding: 40px 0 56px; }
}

/* ============ SECTION A: SaaS Tax Calculator ============ */
.calc-section { background: var(--bg-alt); }
.alt-section  { background: var(--bg); }
.danger-text  { color: var(--danger); }
.success-text { color: var(--success); }
.accent-text  { color: var(--success); }

/* Slider */
.slider-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.seat-readout { font-family: var(--display); font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.seat-readout .seat-word { font-family: var(--font); font-size: 18px; letter-spacing: -0.01em; color: var(--muted-c); font-weight: 450; }
#seatSlider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: #E7E1D6; outline: none; cursor: pointer;
}
#seatSlider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); border: none;
  box-shadow: 0 2px 8px rgba(29, 27, 24, 0.35);
  cursor: grab; transition: transform 0.2s ease;
}
#seatSlider::-webkit-slider-thumb:hover { transform: scale(1.12); }
#seatSlider::-webkit-slider-thumb:active { cursor: grabbing; }
#seatSlider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); border: none;
  box-shadow: 0 2px 8px rgba(29, 27, 24, 0.35); cursor: grab;
}
.slider-scale { display: flex; justify-content: space-between; margin-top: 12px; }

/* Stat cards */
.calc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.calc-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: border-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.calc-stat:hover { border-color: rgba(29, 27, 24, 0.28); }
.calc-num { font-family: var(--display); font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.calc-num.danger { color: var(--danger); }

/* Chart cards */
.chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 24px;
  transition: border-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.chart-card:hover { border-color: rgba(29, 27, 24, 0.28); }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.bar-chart-wrap { position: relative; height: 380px; }
.roi-wrap { position: relative; height: 300px; }

/* Callout */
.calc-callout {
  display: flex; gap: 24px; align-items: flex-start;
  background: #FBEDE7;
  border: 1px solid rgba(193, 62, 34, 0.25);
  border-radius: 16px;
  padding: 36px 40px;
}
.callout-icon { width: 44px; height: 44px; color: var(--danger); flex-shrink: 0; }
.callout-icon svg { width: 100%; height: 100%; }
.calc-callout h5 { margin-bottom: 10px; }

/* ============ SECTION B: The Stack Packed Alternative ============ */
.compare-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: stretch; margin-bottom: 72px;
}
.compare-panel { border-radius: 20px; padding: 44px 40px; display: flex; flex-direction: column; }
.compare-red   { background: #FBEDE7; border: 1px solid rgba(193, 62, 34, 0.22); }
.compare-green { background: #E9F2EA; border: 1px solid rgba(30, 107, 65, 0.25); }
.compare-tag { text-transform: uppercase; letter-spacing: 0.08em !important; color: var(--muted-c); margin-bottom: 18px; font-weight: 600; }
.compare-num { font-family: var(--display); font-size: 60px; line-height: 66px; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.compare-vs { display: flex; align-items: center; }
.compare-vs span {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  font-family: var(--display);
  font-size: 18px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink);
}
.stacked-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; margin-top: 28px; }
.stacked-bar i { background: var(--danger); min-width: 3px; transition: width 0.4s ease; }
.stacked-note { margin-top: 10px; }
.save-line {
  display: flex; align-items: center; gap: 10px; margin-top: 28px;
  color: var(--success); font-size: 18px; letter-spacing: -0.01em; font-weight: 550;
}
.save-line svg { width: 20px; height: 20px; flex-shrink: 0; }
.save-line b { font-variant-numeric: tabular-nums; }

/* Open-source replacement table */
.os-table { margin-bottom: 72px; }
.os-row {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 0.75fr 1.25fr;
  gap: 28px;
  align-items: center;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 10px;
  transition: background 0.25s ease;
}
.os-row:not(.os-head):not(.os-total):hover { background: rgba(255, 255, 255, 0.7); }
.os-head {
  border-bottom-color: rgba(29, 27, 24, 0.25);
  padding-bottom: 14px;
}
.os-head span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-c);
}
.ta-r { text-align: right; }

.os-cat {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 550; letter-spacing: -0.01em; color: var(--ink);
}
.os-ico { width: 22px; height: 22px; color: var(--ink); flex-shrink: 0; }
.os-ico svg { width: 100%; height: 100%; display: block; }

.os-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.os-pills i {
  font-style: normal;
  font-size: 13px; line-height: 20px; letter-spacing: -0.005em;
  color: var(--muted-c);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
}
.os-cost {
  font-size: 17px; font-weight: 550; letter-spacing: -0.01em;
  color: var(--danger); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.os-deploy-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.os-deploy-cell b {
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--success);
  display: flex; align-items: center; gap: 8px;
}
.os-deploy-cell b::before {
  content: "✓";
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 50%;
  background: #E9F2EA;
  border: 1px solid rgba(30, 107, 65, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; line-height: 1; color: var(--success);
}
.os-deploy-cell em {
  font-style: normal;
  font-size: 12px; line-height: 18px; letter-spacing: 0;
  color: var(--muted-c);
  padding-left: 23px;
}

.os-total {
  border-bottom: none;
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(29, 27, 24, 0.25);
  border-radius: 0;
}
.os-total .os-cat { font-size: 19px; }
.os-total-note { color: var(--muted-c); }
.os-cost-total {
  font-family: var(--display);
  font-size: 26px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--danger); font-variant-numeric: tabular-nums;
}
.os-zero {
  font-family: var(--display);
  font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--success);
  display: flex; align-items: baseline; gap: 8px;
}
.os-zero i { font-style: normal; font-family: var(--font); font-size: 14px; letter-spacing: -0.01em; color: var(--muted-c); font-weight: 450; }

/* 5-year timeline */
.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
/* headline metrics */
.metric-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 26px 0 30px;
}
.metric {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}
.metric:hover { border-color: rgba(29, 27, 24, 0.25); }
.metric-label { color: var(--muted-c); }
.metric-val {
  font-family: var(--display);
  font-size: 34px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.metric-val.accent-text { color: var(--ink); }
.metric-sub { color: var(--muted-c); opacity: 0.8; }

.cume-wrap { position: relative; height: 320px; }

/* gap strip under the chart */
.gap-strip { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.gap-bar {
  height: 8px; border-radius: 4px; overflow: hidden;
  background: rgba(193, 62, 34, 0.2);
  margin-bottom: 14px;
}
.gap-bar i {
  display: block; height: 100%; width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--success), #3E9C68);
  transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.gap-strip b { font-variant-numeric: tabular-nums; }

/* ROI chart extras */
.roi-legend { display: flex; gap: 20px; color: var(--muted-c); }
.roi-legend span { display: inline-flex; align-items: center; gap: 7px; }
.leg { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.leg-red { background: var(--danger); }
.leg-accent { background: var(--ink); }
.payback-badge {
  position: absolute; opacity: 0;
  transform: translate(12px, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid rgba(29, 27, 24, 0.25);
  color: var(--ink); font-size: 13px; font-weight: 550; letter-spacing: -0.01em;
  padding: 7px 14px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(29, 27, 24, 0.12);
  pointer-events: none; transition: opacity 0.4s ease;
}
.payback-badge.placed { opacity: 1; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pop); border: 1px solid rgba(29,27,24,0.3); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 216, 77, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(255, 216, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 216, 77, 0); }
}

/* ---- Responsive: interactive sections ---- */
@media (max-width: 1199px) {
  .os-row { grid-template-columns: 1fr 0.8fr; gap: 14px 20px; padding: 18px 12px; }
  .os-head { display: none; }
  .os-pills { grid-column: 1 / -1; order: 3; }
  .os-cost { text-align: left; order: 2; }
  .os-deploy-cell { order: 4; grid-column: 1 / -1; }
  .os-total { grid-template-columns: 1fr 1fr; }
  .os-total-note { display: none; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { justify-content: center; }
  .compare-num { font-size: 48px; line-height: 54px; }
}
@media (max-width: 767px) {
  .slider-card { padding: 24px 20px; }
  .seat-readout { font-size: 38px; }
  #seatSlider::-webkit-slider-thumb { width: 32px; height: 32px; }
  #seatSlider::-moz-range-thumb { width: 32px; height: 32px; }
  .calc-stats { grid-template-columns: 1fr; }
  .calc-num { font-size: 38px; line-height: 46px; }
  .chart-card { padding: 24px 16px; }
  .bar-chart-wrap { height: 420px; }
  .os-row { grid-template-columns: 1fr auto; gap: 12px 14px; padding: 18px 4px; }
  .os-cat { font-size: 16px; }
  .os-cost { text-align: right; }
  .os-cost::before { content: attr(data-label) " "; font-size: 11px; color: var(--muted-c); opacity: 0.7; font-weight: 400; }
  .os-total { grid-template-columns: 1fr auto; }
  .os-cost-total, .os-zero { font-size: 21px; }
  .calc-callout { flex-direction: column; padding: 24px 20px; }
  .compare-panel { padding: 28px 22px; }
  .compare-num { font-size: 40px; line-height: 46px; }
  .timeline-card { padding: 24px 18px; }
  .metric-row { grid-template-columns: 1fr; gap: 12px; }
  .metric { padding: 14px 16px; }
  .metric-val { font-size: 28px; line-height: 36px; }
  .cume-wrap { height: 260px; }
  .payback-badge { font-size: 11px; padding: 5px 9px; gap: 5px; transform: translate(6px, -50%); }
}

/* ============ PRICING PAGE ============ */
.price-hero {
  position: relative;
  padding: 190px 0 70px;
  background: var(--bg);
  overflow: hidden;
}
.price-hero-glow {
  position: absolute; top: -320px; left: 50%; transform: translateX(-50%);
  width: 1100px; max-width: 100%; height: 760px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 216, 77, 0.2) 0%, rgba(255, 216, 77, 0.06) 34%, transparent 66%);
}
.price-hero .container { position: relative; z-index: 1; }
.price-hero-sub { max-width: 640px; margin: 24px auto 0; }
.price-note {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; padding: 10px 20px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 15px; letter-spacing: -0.01em; color: var(--muted-c);
}
.pn-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pop); border: 1px solid rgba(29,27,24,0.25); flex-shrink: 0; }
.plans-section { padding-top: 60px; }
.nav-link.active { opacity: 1; font-weight: 600; }

/* included in every plan */
.every-plan { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.every-title {
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-c);
  font-weight: 600; margin-bottom: 22px; text-align: center;
}
.every-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.every-item { display: flex; gap: 12px; align-items: flex-start; }
.every-item div { display: flex; flex-direction: column; gap: 1px; }
.every-item b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.tick {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  background: var(--pop-soft);
  border: 1px solid rgba(29, 27, 24, 0.35);
  position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 5.5px; top: 3px;
  width: 4px; height: 8px;
  border: solid var(--ink); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* compare-plans table */
.compare-section { padding-top: 40px; }
.ptable { margin-top: 8px; }
.ptable-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 8px;
  font-size: 15px; letter-spacing: -0.01em;
  transition: background 0.2s ease;
}
.ptable-row:not(.ptable-head):not(.ptable-foot):hover { background: rgba(255, 255, 255, 0.7); }
.ptable-row > span:first-child { color: var(--muted-c); }
.ptable-row > span:not(:first-child) { text-align: center; color: var(--ink); }
.ptable-head {
  border-bottom-color: rgba(29, 27, 24, 0.25);
  padding-bottom: 14px;
}
.ptable-head > span {
  font-size: 12px !important; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-c) !important;
}
.ptable-head .pt-featured { color: var(--ink) !important; }
.ptable-group {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--success);
  padding: 26px 18px 10px;
}
.yes::before, .no::before {
  content: ""; display: inline-block;
  width: 17px; height: 17px; border-radius: 50%;
  vertical-align: -3px;
}
.yes::before {
  background: var(--pop-soft);
  border: 1px solid rgba(29, 27, 24, 0.35);
}
.yes { position: relative; }
.yes::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 4px; height: 8px; margin: -6px 0 0 -2px;
  border: solid var(--ink); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.no::before { background: rgba(29, 27, 24, 0.04); border: 1px solid var(--border); }
.no { position: relative; }
.no::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 1px; margin: 0 0 0 -3.5px;
  background: rgba(29, 27, 24, 0.35);
}
.ptable-foot {
  border-bottom: none; border-top: 1px solid rgba(29, 27, 24, 0.25);
  margin-top: 10px; padding-top: 24px; border-radius: 0;
}
.pt-price { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ptable-foot .pt-featured { color: var(--ink) !important; }

@media (max-width: 1199px) {
  .every-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .ptable-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    padding: 16px 12px;
  }
  .ptable-head { display: none; }
  .ptable-row > span:first-child {
    grid-column: 1 / -1;
    color: var(--ink); font-weight: 550;
  }
  .ptable-row > span:not(:first-child) {
    text-align: left;
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--muted-c);
  }
  .ptable-row > span[data-l]::before {
    content: attr(data-l) " ";
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted-c); opacity: 0.7; min-width: 62px;
  }
  .ptable-row .yes::before, .ptable-row .no::before {
    width: auto; height: auto; border: none; background: none;
    border-radius: 0; vertical-align: baseline;
  }
  .ptable-row .yes::after, .ptable-row .no::after {
    position: static; display: inline; margin: 0;
    width: auto; height: auto; border: none; background: none; transform: none;
    font-size: 13px;
  }
  .ptable-row .yes::after { content: "Included"; color: var(--success); }
  .ptable-row .no::after { content: "Not included"; color: var(--muted-c); opacity: 0.7; }
}
@media (max-width: 767px) {
  .price-hero { padding: 130px 0 40px; }
  .price-note { font-size: 13px; padding: 9px 14px; }
  .plans-section { padding-top: 40px; }
  .every-grid { grid-template-columns: 1fr; gap: 16px; }
  .every-plan { margin-top: 40px; padding-top: 28px; }
}

/* ============ LEAD MODAL ============ */
.lead-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lead-backdrop {
  position: absolute; inset: 0;
  background: rgba(29, 27, 24, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.22s ease;
}
.lead-modal.open .lead-backdrop { opacity: 1; }
.lead-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow: 0 30px 90px rgba(29, 27, 24, 0.3);
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.lead-modal.open .lead-panel { opacity: 1; transform: none; }
.lead-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  color: var(--muted-c); font-size: 24px; line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.lead-close:hover { background: rgba(29, 27, 24, 0.06); color: var(--ink); }
.lead-panel .eyebrow-pill { margin-bottom: 18px; font-size: 14px; padding: 6px 14px; background: var(--card); }
.lead-panel h4 { margin-bottom: 10px; }
.lead-sub { margin-bottom: 18px; }
.lead-plan {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; letter-spacing: -0.01em; color: var(--muted-c);
  background: var(--pop-soft);
  border: 1px solid rgba(29, 27, 24, 0.2);
  border-radius: 100px; padding: 6px 12px;
}
.lead-plan b { color: var(--ink); font-weight: 600; }

.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field > span { font-size: 13px; letter-spacing: -0.005em; color: var(--muted-c); font-weight: 500; }
.lead-field > span i { font-style: normal; color: var(--danger); }
.lead-field input, .lead-field select {
  font-family: var(--font);
  font-size: 15px; letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none; -webkit-appearance: none;
}
.lead-field select {
  background-image: linear-gradient(45deg, transparent 50%, #6E675C 50%), linear-gradient(135deg, #6E675C 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
  cursor: pointer;
}
.lead-field input::placeholder { color: rgba(110, 103, 92, 0.5); }
.lead-field input:focus, .lead-field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.lead-field option { background: var(--white); color: var(--ink); }
.lead-err { font-style: normal; font-size: 12px; color: var(--danger); display: none; }
.lead-field.invalid input, .lead-field.invalid select { border-color: rgba(193, 62, 34, 0.6); }
.lead-field.invalid .lead-err { display: block; }
.lead-submit { margin-top: 6px; }
.lead-fine { color: var(--muted-c); opacity: 0.7; text-align: center; margin-top: 2px; }

.lead-done { text-align: center; padding: 14px 0 6px; }
.lead-done h4 { margin: 18px 0 10px; }
.lead-done .btn { margin-top: 22px; }
.lead-done a { color: var(--success); font-weight: 550; }
.lead-done-tick {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 50%;
  background: var(--pop-soft);
  border: 1px solid rgba(29, 27, 24, 0.3);
  position: relative;
}
.lead-done-tick::after {
  content: ""; position: absolute; left: 21px; top: 15px;
  width: 11px; height: 21px;
  border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ============ CONTACT PAGE ============ */
.contact-wrap { padding: 170px 0 100px; position: relative; overflow: hidden; }
.contact-glow {
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 1100px; max-width: 100%; height: 720px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 216, 77, 0.18) 0%, rgba(255, 216, 77, 0.05) 34%, transparent 66%);
}
.contact-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.contact-left h1 { margin-bottom: 20px; }
.contact-points { display: flex; flex-direction: column; gap: 16px; margin: 32px 0 40px; }
.contact-point { display: flex; gap: 12px; align-items: flex-start; }
.contact-point b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; display: block; }
.contact-quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.contact-quote p { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 28px; letter-spacing: -0.005em; color: var(--ink); }
.contact-quote .testi-person { margin-top: 20px; }
.contact-direct { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.contact-direct a { color: var(--ink); font-size: 15px; letter-spacing: -0.01em; font-weight: 550; text-decoration: underline; text-decoration-color: rgba(29,27,24,0.3); text-underline-offset: 3px; }
.contact-direct a:hover { text-decoration-color: var(--ink); }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow: 0 10px 40px rgba(29, 27, 24, 0.08);
}
.contact-card h5 { margin-bottom: 6px; }
.contact-card > .p3 { color: var(--muted-c); margin-bottom: 22px; }
.contact-card .accent-text { color: var(--danger); }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field textarea {
  font-family: var(--font);
  font-size: 15px; letter-spacing: -0.005em; color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  width: 100%; min-height: 96px; resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lead-field textarea::placeholder { color: rgba(110, 103, 92, 0.5); }
.lead-field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.lead-field.invalid textarea { border-color: rgba(193, 62, 34, 0.6); }

@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 767px) {
  .contact-wrap { padding: 120px 0 70px; }
  .lead-row { grid-template-columns: 1fr; }
  .lead-panel { padding: 28px 22px; max-height: calc(100vh - 32px); }
  .contact-card { padding: 26px 20px; }
}

/* ================================================================
   AESTHETIC PASS v2 — grained pastel panels, swap diagram,
   logo wall, ownership grid, package menu (folk-inspired)
   ================================================================ */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  --p-yellow: #F1E3A9;
  --p-blue: #D7E2F1;
  --p-green: #DBE7CD;
  --p-lavender: #E2DBF1;
  --p-pink: #F3DBE1;
}

/* ---------- Grained pastel panels ---------- */
.panel-outer { padding: 10px 20px; }
.panel {
  position: relative;
  border-radius: 36px;
  padding: 104px 0;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.panel > .container { position: relative; z-index: 1; }
.panel-yellow   { background: var(--p-yellow); }
.panel-blue     { background: var(--p-blue); }
.panel-green    { background: var(--p-green); }
.panel-lavender { background: var(--p-lavender); }
.panel-pink     { background: var(--p-pink); }

.panel .eyebrow-pill { background: rgba(255, 255, 255, 0.66); border-color: rgba(29, 27, 24, 0.16); }
.panel .muted { color: #55514A; }
.panel .section-head { margin-bottom: 60px; }
.panel .os-row { border-bottom-color: rgba(29, 27, 24, 0.13); }
.panel .os-row:not(.os-head):not(.os-total):hover { background: rgba(255, 255, 255, 0.55); }
.panel .os-pills i { background: rgba(255, 255, 255, 0.72); }
.panel .os-head { border-bottom-color: rgba(29, 27, 24, 0.3); }
.panel .os-total { border-top-color: rgba(29, 27, 24, 0.3); }
.panel .metric { background: rgba(29, 27, 24, 0.035); }
.panel .calc-callout { background: rgba(255, 255, 255, 0.6); }
.panel .compare-red { background: rgba(255, 255, 255, 0.55); }
.panel .compare-green { background: rgba(255, 255, 255, 0.55); }
.panel .compare-vs span { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Hero swap diagram ---------- */
.swap-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 1020px;
  margin: 76px auto 0;
  padding-bottom: 96px;
  text-align: left;
}
.swap-col { display: flex; flex-direction: column; gap: 10px; }
.swap-col-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-c); text-align: center; margin-bottom: 6px;
}
.swap-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 1px 4px rgba(29, 27, 24, 0.05);
}
.swap-left .swap-chip:nth-child(odd) { transform: translateX(-14px); }
.swap-right .swap-chip:nth-child(odd) { transform: translateX(14px); }
.swap-chip svg { width: 20px; height: 20px; flex-shrink: 0; }
.swap-chip span { font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; }
.swap-chip b { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--danger); font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 8px; }
.swap-chip-own b { color: var(--success); }
.swap-mid { display: flex; align-items: center; }
.swap-line { display: block; width: 48px; border-top: 2px dashed rgba(29, 27, 24, 0.3); }
.swap-box {
  background: var(--ink); color: var(--cream);
  border-radius: 20px;
  padding: 28px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 20px 44px rgba(29, 27, 24, 0.28);
}
.swap-box b { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.swap-box b i { font-style: normal; color: var(--pop); }
.swap-box > span { font-size: 12px; color: rgba(244, 240, 233, 0.65); }

/* ---------- Logo wall ---------- */
.trust { border-top: none; padding: 64px 0 84px; }
.trust .tagline { margin-bottom: 32px; }
.trust .ink { color: var(--ink); font-weight: 600; }
.logo-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.lw-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  background: var(--white);
  padding: 24px 10px 20px;
  color: rgba(29, 27, 24, 0.78);
  transition: color 0.25s ease, background 0.25s ease;
}
.lw-cell:hover { color: var(--ink); background: var(--card); }
.lw-cell svg { width: 26px; height: 26px; }
.lw-cell > span:last-child { font-size: 12px; color: var(--muted-c); }
.lw-text { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.04em; line-height: 26px; }

/* ---------- Ownership grid ---------- */
.own-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.own-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.own-card b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }

/* ---------- Package menu ---------- */
.pkg-menu { display: flex; flex-direction: column; gap: 16px; }
.pkg-row {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 185px;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 2px 10px rgba(29, 27, 24, 0.04);
}
.pkg-head h4 { font-size: 24px; line-height: 30px; }
.pkg-for { margin-top: 5px; }
.pkg-price {
  font-family: var(--display);
  font-size: 31px; font-weight: 650; letter-spacing: -0.03em;
  margin-top: 16px; font-variant-numeric: tabular-nums;
}
.pkg-price span {
  display: block;
  font-family: var(--font);
  font-size: 12.5px; font-weight: 450; letter-spacing: 0;
  color: var(--muted-c);
  margin-top: 3px;
}
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pkg-list li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 550; letter-spacing: -0.01em; flex-wrap: wrap; }
.pkg-list li svg { width: 17px; height: 17px; flex-shrink: 0; fill: currentColor; }
.pkg-list li i { font-style: normal; font-size: 13px; font-weight: 400; color: var(--muted-c); }
.pkg-inherit { color: var(--success); font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.06em; }
.pkg-meta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.pkg-cta { display: flex; justify-content: flex-end; }
.pkg-cta .btn { white-space: nowrap; }

.pkg-featured { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pkg-featured .pkg-for, .pkg-featured .pkg-meta, .pkg-featured .pkg-price span { color: rgba(244, 240, 233, 0.68); }
.pkg-featured .pkg-list li i { color: rgba(244, 240, 233, 0.6); }
.pkg-featured .pkg-list li svg { fill: var(--pop); }
.pkg-featured .pkg-inherit { color: var(--pop); }
.pkg-featured .pkg-meta { border-top-color: rgba(244, 240, 233, 0.25); }
.pkg-featured .btn-dark { background: var(--cream); color: var(--ink); }
.pkg-pop { position: absolute; top: -13px; right: 36px; }

.pkg-addons { margin-top: 44px; text-align: center; }
.addons-title { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--muted-c); margin-bottom: 16px; }
.addon-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.addon-chip {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 17px;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em;
}
.addons-note { margin-top: 18px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* step chips now carry day labels */
.step-num { width: auto; min-width: 88px; height: 56px; padding: 0 24px; border-radius: 100px; font-size: 18px; }
.steps::before { top: 28px; }

/* 6-column pricing compare table */
.ptable-6 .ptable-row { grid-template-columns: 1.9fr repeat(5, 1fr); gap: 12px; }
.ptable-6 .pt-price { font-size: 17px; }

/* ---------- Responsive: new systems ---------- */
@media (max-width: 1199px) {
  .panel { padding: 80px 0; border-radius: 28px; }
  .own-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-row { grid-template-columns: 220px 1fr; }
  .pkg-cta { grid-column: 1 / -1; justify-content: flex-start; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .swap-left .swap-chip:nth-child(odd), .swap-right .swap-chip:nth-child(odd) { transform: none; }
}
@media (max-width: 899px) {
  .ptable-6 .ptable-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .panel-outer { padding: 8px 10px; }
  .panel { padding: 56px 0; border-radius: 22px; }
  .swap-diagram { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; padding-bottom: 56px; }
  .swap-mid { justify-content: center; }
  .swap-line { width: 2px; height: 34px; border-top: none; border-left: 2px dashed rgba(29, 27, 24, 0.3); }
  .swap-mid { flex-direction: column; }
  .own-grid { grid-template-columns: 1fr; }
  .pkg-row { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .pkg-cta .btn { width: 100%; justify-content: center; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .lw-cell { padding: 18px 6px 15px; }
  .lw-cell svg { width: 22px; height: 22px; }
  .pkg-pop { right: 20px; }
}

/* ================================================================
   POLISH v3 — motion, hovers, harmonized color
   ================================================================ */

/* Color harmony: retire harsh red for warm clay; deepen green a touch */
:root {
  --danger: #B4552D;
  --success: #2F6B4C;
}
.compare-red { background: #F3E4D6; border-color: rgba(180, 85, 45, 0.3); }
.calc-callout { border-color: rgba(180, 85, 45, 0.3); }
.gap-bar { background: rgba(180, 85, 45, 0.22); }
.lead-field.invalid input, .lead-field.invalid select, .lead-field.invalid textarea { border-color: rgba(180, 85, 45, 0.6); }
.compare-green { border-color: rgba(47, 107, 76, 0.3); }
.os-deploy-cell b::before { border-color: rgba(47, 107, 76, 0.5); }

/* Designer details */
::selection { background: var(--pop); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.footer :focus-visible, .cta-banner :focus-visible { outline-color: var(--pop); }

/* Nav: sliding underline + logo tilt */
.nav-link, .nav-trigger { position: relative; }
.nav-link::after, .nav-trigger::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after, .nav-trigger:hover::after,
.nav-item.open .nav-trigger::after, .nav-link.active::after { transform: scaleX(1); }
.logo .logo-mark { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

/* Buttons: press feedback */
.btn:active { transform: translateY(0) scale(0.97); }

/* Eyebrow dot: soft pulse */
.eyebrow-pill .dot { animation: dotPulse 2.6s ease-out infinite; }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 216, 77, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(255, 216, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 216, 77, 0); }
}

/* Logo wall: grayscale sleeping, wakes to brand color */
.lw-cell { cursor: default; }
.lw-cell svg {
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lw-cell:hover svg { filter: grayscale(0) opacity(1); transform: scale(1.16) translateY(-2px); }
.lw-cell > span:last-child { transition: color 0.3s ease; }
.lw-cell:hover > span:last-child { color: var(--ink); }
.lw-cell .lw-text { transition: color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lw-cell:hover .lw-text { color: #FF3D57; transform: scale(1.1) translateY(-2px); }

/* Logo wall: staggered entrance */
.trust.reveal .lw-cell { opacity: 0; transform: translateY(12px); }
.trust.reveal.visible .lw-cell { animation: lwIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes lwIn { to { opacity: 1; transform: none; } }

/* Swap chips: offsets via margin so hover transform stays clean */
.swap-left .swap-chip:nth-child(odd), .swap-right .swap-chip:nth-child(odd) { transform: none; }
.swap-left .swap-chip:nth-child(odd) { margin-left: -14px; margin-right: 14px; }
.swap-right .swap-chip:nth-child(odd) { margin-left: 14px; margin-right: -14px; }
.swap-chip { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.swap-chip:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(29, 27, 24, 0.12); border-color: rgba(29, 27, 24, 0.28); }
.swap-chip svg { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.swap-chip:hover svg { transform: scale(1.2) rotate(-4deg); }

/* Swap connectors: marching dashes toward the box */
.swap-line {
  border: none; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(29, 27, 24, 0.35) 0 6px, transparent 6px 12px);
  animation: dashR 0.9s linear infinite;
}
.swap-line-l { animation-name: dashR; }
.swap-line-r { animation-name: dashR; }
@keyframes dashR { to { background-position: 12px 0; } }

/* Swap box: gentle levitation */
.swap-box { animation: floaty 4.5s ease-in-out infinite alternate; }
@keyframes floaty {
  from { transform: translateY(0); box-shadow: 0 20px 44px rgba(29, 27, 24, 0.28); }
  to { transform: translateY(-7px); box-shadow: 0 30px 54px rgba(29, 27, 24, 0.22); }
}

/* Cards: unified lift language */
.stat-card, .own-card, .testi-card, .calc-stat, .chart-card, .timeline-card, .slider-card, .contact-quote, .contact-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.stat-card:hover, .own-card:hover, .testi-card:hover, .contact-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(29, 27, 24, 0.1);
  border-color: rgba(29, 27, 24, 0.26);
}
.badge, .chip { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.stat-card:hover .badge, .testi-card:hover .chip { transform: rotate(-2deg) scale(1.05); }

/* Package rows: lift; featured row deepens */
.pkg-row { transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.pkg-row:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(29, 27, 24, 0.13); border-color: rgba(29, 27, 24, 0.3); }
.pkg-featured:hover { box-shadow: 0 22px 52px rgba(29, 27, 24, 0.32); border-color: var(--ink); }
.pkg-pop { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pkg-featured:hover .pkg-pop { transform: rotate(2deg) scale(1.06); }
.pkg-list li svg { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pkg-list li:hover svg { transform: scale(1.25); }

/* FAQ: warm the question on approach */
.faq-q { transition: background 0.25s ease; }
.faq-item:not(.open) .faq-q:hover { background: var(--card); }

/* OS table pills sharpen on row hover */
.os-pills i { transition: border-color 0.25s ease, color 0.25s ease; }
.os-row:hover .os-pills i { border-color: rgba(29, 27, 24, 0.28); color: var(--ink); }

/* Addon chips */
.addon-chip { transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.addon-chip:hover { transform: translateY(-2px); border-color: rgba(29, 27, 24, 0.35); background: var(--white); }

/* Slider thumb: focus ring bloom */
#seatSlider::-webkit-slider-thumb { transition: transform 0.2s ease, box-shadow 0.2s ease; }
#seatSlider:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(29, 27, 24, 0.08), 0 2px 8px rgba(29, 27, 24, 0.35); }

/* Ink blocks get the paper grain too */
.cta-banner::before, .footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.footer { position: relative; }
.footer .container { position: relative; z-index: 1; }

/* Marker highlight under the closing serif line */
.cta-banner h1 em {
  background: linear-gradient(180deg, transparent 66%, rgba(255, 216, 77, 0.32) 66%, rgba(255, 216, 77, 0.32) 94%, transparent 94%);
  padding: 0 0.06em;
  border-radius: 3px;
}

/* Socials: playful spin */
.socials a { transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.socials a:hover { transform: rotate(-8deg) scale(1.1); }

/* Calm everything down for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .swap-box, .swap-line, .eyebrow-pill .dot { animation: none; }
  .trust.reveal .lw-cell { opacity: 1; transform: none; animation: none; }
  .lw-cell svg, .swap-chip, .swap-chip svg, .pkg-row, .stat-card, .own-card, .testi-card { transition: none; }
}
@media (max-width: 767px) {
  .swap-line {
    width: 2px; height: 34px;
    background: repeating-linear-gradient(180deg, rgba(29, 27, 24, 0.35) 0 6px, transparent 6px 12px);
    animation: dashD 0.9s linear infinite;
  }
  @keyframes dashD { to { background-position: 0 12px; } }
  .swap-left .swap-chip:nth-child(odd), .swap-right .swap-chip:nth-child(odd) { margin-left: 0; margin-right: 0; }
}

/* ================================================================
   FIX — the hidden attribute must always win. Without this, the
   invisible lead modal (display:flex) overlays the whole page and
   swallows every hover and click.
   ================================================================ */
[hidden] { display: none !important; }

/* ================================================================
   FLOW DIAGRAM v4 — folk-style folder groups + curved connectors
   ================================================================ */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }

.flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 96px;
  align-items: center;
  max-width: 1150px;
  margin: 84px auto 0;
  padding-bottom: 100px;
  text-align: left;
}
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.flow-path { fill: none; stroke: rgba(29, 27, 24, 0.3); stroke-width: 1.8; }
.flow-bead { fill: var(--pop); stroke: rgba(29, 27, 24, 0.55); stroke-width: 1; }

.flow-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.flow-side-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: -4px;
}
.flow-side-label::before {
  content: "";
  width: 9px; height: 9px; border-radius: 3px;
  background: var(--pop);
  border: 1px solid rgba(29, 27, 24, 0.3);
}
.flow-left { align-items: flex-end; }
.flow-left .fg:nth-of-type(1) { margin-right: 26px; }
.flow-left .fg:nth-of-type(3) { margin-right: 44px; }
.flow-left .fg:nth-of-type(4) { margin-right: 58px; }
.flow-right .fg:nth-of-type(1) { margin-left: 26px; }
.flow-right .fg:nth-of-type(3) { margin-left: 44px; }
.flow-right .fg:nth-of-type(4) { margin-left: 58px; }

/* folder group: tab + tile row */
.fg { filter: drop-shadow(0 2px 6px rgba(29, 27, 24, 0.06)); transition: transform 0.3s ease, filter 0.3s ease; }
.fg:hover { transform: translateY(-3px); filter: drop-shadow(0 8px 16px rgba(29, 27, 24, 0.12)); }
.fg-tab {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px; line-height: 18px; letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 7px 7px 0 0;
  padding: 6px 13px 5px;
  position: relative; top: 1px;
}
.fg-tiles {
  display: flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 10px 10px 10px;
  overflow: hidden;
}
.fg-tile {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease;
  cursor: default;
}
.fg-tile + .fg-tile { border-left: 1px solid var(--border-soft); }
.fg-tile:hover { background: var(--card); }
.fg-tile svg { width: 24px; height: 24px; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.fg-tile:hover svg { transform: scale(1.3) rotate(-5deg); }

/* center hub */
.flow-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.flow-hub { display: inline-block; }
.flow-diagram .swap-box { animation: hubGlow 4s ease-in-out infinite alternate; }
@keyframes hubGlow {
  from { box-shadow: 0 18px 40px rgba(29, 27, 24, 0.26); }
  to { box-shadow: 0 26px 58px rgba(29, 27, 24, 0.36), 0 0 0 6px rgba(255, 216, 77, 0.12); }
}
.flow-status {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.flow-status li:nth-child(1) { --o: 1; opacity: var(--o); font-weight: 600; }
.flow-status li:nth-child(2) { --o: 0.55; opacity: var(--o); }
.flow-status li:nth-child(3) { --o: 0.38; opacity: var(--o); }
.flow-status li:nth-child(4) { --o: 0.24; opacity: var(--o); }

/* entrance: groups rise in sequence, statuses follow */
.fg { --o: 1; }
.flow-diagram.reveal .fg, .flow-diagram.reveal .flow-status li { opacity: 0; transform: translateY(14px); }
.flow-diagram.reveal.visible .fg { animation: fgIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--fd, 0s); }
.flow-diagram.reveal.visible .flow-status li { animation: fgIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.flow-diagram.reveal.visible .flow-status li:nth-child(1) { animation-delay: 0.7s; }
.flow-diagram.reveal.visible .flow-status li:nth-child(2) { animation-delay: 0.85s; }
.flow-diagram.reveal.visible .flow-status li:nth-child(3) { animation-delay: 1s; }
.flow-diagram.reveal.visible .flow-status li:nth-child(4) { animation-delay: 1.15s; }
@keyframes fgIn { to { opacity: var(--o, 1); transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .flow-bead { display: none; }
  .flow-diagram .swap-box { animation: none; }
  .flow-diagram.reveal .fg, .flow-diagram.reveal .flow-status li { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 1099px) {
  .flow-diagram { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; padding-bottom: 64px; justify-items: center; }
  .flow-svg { display: none; }
  .flow-side { align-items: center; }
  .flow-side .fg { margin-left: 0 !important; margin-right: 0 !important; }
  .flow-right .flow-side-label { align-self: center; }
  .fg-tile { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .fg-tile { width: 46px; height: 46px; }
  .fg-tile svg { width: 20px; height: 20px; }
}

/* ================================================================
   v5 — Loved-by-owners grid, highlight marks, ₹0 receipt,
   deeper grain on colored surfaces
   ================================================================ */

/* deeper grain on the pastel panels */
.panel::before { opacity: 0.28; }

/* grain on the other colored surfaces */
.compare-panel, .pkg-featured, .swap-box, .calc-callout { position: relative; overflow: hidden; }
.compare-panel::after, .calc-callout::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.22; mix-blend-mode: multiply;
  pointer-events: none;
}
.pkg-featured::after, .swap-box::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.28; mix-blend-mode: soft-light;
  pointer-events: none;
}
.compare-panel > *, .pkg-featured > *, .calc-callout > * { position: relative; z-index: 1; }
.pkg-pop { position: absolute; z-index: 2; }  /* must re-win over .pkg-featured > * */

/* folk-style mono index tags on packages */
.pkg-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--muted-c);
  margin-bottom: 9px;
}
.pkg-featured .pkg-num { color: rgba(244, 240, 233, 0.55); }

/* ---------- Loved by owners ---------- */
.love-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.love-card {
  margin: 0;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 30px 30px 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.love-card:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 rgba(29, 27, 24, 0.12); }
.love-card blockquote { font-size: 16.5px; line-height: 27px; font-weight: 450; letter-spacing: -0.01em; }
.love-person { display: flex; align-items: center; gap: 12px; }
.love-person strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.love-person i { display: block; font-style: normal; font-size: 13px; color: var(--muted-c); }

/* pastel highlighter marks, folk-style */
.hl { padding: 1px 5px 2px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; color: var(--ink); }
.hl-pink   { background: #F9DCE7; }
.hl-green  { background: #DCEDD8; }
.hl-blue   { background: #D8E8F9; }
.hl-yellow { background: #FBEBAC; }

/* wide card: quote + receipt */
.love-wide { grid-column: 2 / 4; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.love-wide-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; height: 100%; }

.receipt {
  position: relative;
  font-family: var(--mono);
  font-size: 12.5px; letter-spacing: 0.02em;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 22px 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(29, 27, 24, 0.07);
}
.receipt::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.25; mix-blend-mode: multiply;
  pointer-events: none;
}
.r-head { text-align: center; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.r-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(29, 27, 24, 0.2); }
.r-row b { font-variant-numeric: tabular-nums; }
.r-total { border-bottom: none; border-top: 1.5px solid var(--ink); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 14.5px; }
.r-note { text-align: center; color: var(--muted-c); margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.r-stamp {
  position: absolute; right: 16px; top: 34%;
  transform: rotate(-11deg);
  font-family: var(--display);
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--danger);
  border: 2.5px solid var(--danger);
  border-radius: 8px;
  padding: 5px 12px;
  opacity: 0.8;
}
.love-grid .reveal.visible .r-stamp { animation: stampIn 0.45s cubic-bezier(0.34, 1.8, 0.64, 1) 0.55s backwards; }
@keyframes stampIn { from { transform: rotate(-11deg) scale(2.2); opacity: 0; } to { transform: rotate(-11deg) scale(1); opacity: 0.8; } }

@media (max-width: 1199px) {
  .love-grid { grid-template-columns: repeat(2, 1fr); }
  .love-wide { grid-column: 1 / 3; }
}
@media (max-width: 767px) {
  .love-grid { grid-template-columns: 1fr; }
  .love-wide { grid-column: 1; grid-template-columns: 1fr; }
  .love-card { padding: 24px 20px; }
}
