/* PlanSwatch Marketing Website — Architectural SaaS Design System */
:root {
  --navy: #13293D;
  --navy-deep: #0C1B29;
  --navy-mid: #1D3B57;
  --terracotta: #C26543;
  --terracotta-hover: #AC5434;
  --terracotta-soft: rgba(194, 101, 67, 0.11);
  --gold: #C49645;
  --gold-soft: rgba(196, 150, 69, 0.14);
  --stone: #F7F5F0;
  --stone-deep: #ECE7DC;
  --white: #FFFFFF;
  --ink: #102030;
  --ink-secondary: #435568;
  --ink-muted: #66788A;
  --border: #E2DDD2;
  --shadow-sm: 0 2px 10px rgba(19, 41, 61, 0.05);
  --shadow-md: 0 14px 36px rgba(19, 41, 61, 0.09);
  --shadow-lg: 0 24px 60px rgba(12, 27, 41, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Sticky Navbar === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(19, 41, 61, 0.18);
}

.nav-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(194, 101, 67, 0.28);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
  box-shadow: 0 8px 22px rgba(194, 101, 67, 0.36);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(19, 41, 61, 0.22);
}

.btn-navy:hover {
  background: var(--navy-mid);
}

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

.btn-ghost:hover {
  background: var(--stone);
  border-color: #cbd5e1;
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: var(--stone);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15.5px;
  border-radius: 13px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

/* === Hero Section === */
.hero {
  position: relative;
  padding: 56px 0 52px;
  background:
    radial-gradient(circle at 12% 10%, rgba(196, 150, 69, 0.12), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(194, 101, 67, 0.10), transparent 40%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F5F0 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8A641F;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--navy);
}

.hero-title .accent {
  color: var(--terracotta);
}

.hero-sub {
  margin: 0 auto 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

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

.hero-proof-check {
  color: var(--terracotta);
  font-weight: 800;
}

/* Interactive Before/After Hero Slider */
.hero-stage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.ba-slider,
.ps-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #0F1E2D;
}

.ps-compare:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.ps-compare.is-dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(12, 27, 41, 0.44);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(12, 27, 41, 0.34);
  border: 2px solid var(--navy);
  pointer-events: none;
}

.ba-pill {
  position: absolute;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(19, 41, 61, 0.84);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ba-pill-before {
  left: 14px;
}

.ba-pill-after {
  right: 14px;
  background: rgba(194, 101, 67, 0.92);
}

.hero-stage-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px 2px;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

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

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(19, 41, 61, 0.2);
}

/* === Section Headings === */
.section {
  padding: 84px 0;
}

.section-white {
  background: var(--white);
}

.section-stone {
  background: var(--stone);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
}

.section-sub {
  margin: 0;
  font-size: 16px;
  color: var(--ink-secondary);
}

/* === 3 Core Tools Showcase === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.tool-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.tool-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-media .ps-compare {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.tool-media .ba-handle {
  width: 38px;
  height: 38px;
  font-size: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.tool-media .ba-pill {
  bottom: 10px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 4;
}

.tool-media .ba-pill-before {
  left: 10px;
}

.tool-media .ba-pill-after {
  right: 10px;
}

.tool-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(19, 41, 61, 0.88);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.tool-inset {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 84px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.tool-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.tool-desc {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.tool-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}

.tool-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-list li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 800;
}

.tool-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tool-link:hover {
  color: var(--terracotta);
}

/* === White-Label Section === */
.wl-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1A3A57 100%);
  color: var(--white);
  padding: 84px 0;
}

.wl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.wl-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(196, 150, 69, 0.2);
  color: #F3D192;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.wl-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.wl-desc {
  margin: 0 0 24px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.wl-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.wl-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
}

.wl-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.wl-mockup {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

.wl-mockup-bar {
  background: #1B365D;
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wl-mockup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14.5px;
}

.wl-mockup-monogram {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.wl-mockup-phone {
  font-size: 12.5px;
  opacity: 0.88;
  font-weight: 600;
}

.wl-mockup-body {
  padding: 16px 18px 18px;
}

.wl-mockup-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.wl-mockup-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--stone);
  border-radius: 11px;
  border: 1px solid var(--border);
}

.wl-mockup-lead strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
}

.wl-mockup-lead span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* === Pricing Grid === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--terracotta);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-tier {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
}

.price-sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 18px;
  min-height: 38px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.price-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}

.price-per {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-trial-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 800;
  flex-shrink: 0;
}

/* === Mobile Apps Banner === */
.mobile-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}

.mobile-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.mobile-banner h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.mobile-banner p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  max-width: 560px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.store-badge-sub {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.78;
  line-height: 1.1;
}

.store-badge-main {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}

/* === FAQ Accordion === */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  font-weight: 600;
  color: var(--terracotta);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-a {
  display: block;
}

/* === Footer === */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 52px 0 36px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.footer-note {
  margin: 0;
  font-size: 13.5px;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.footer-link,
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.footer-link:hover,
.footer-link-btn:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.56);
}

/* === Legal Modals === */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 27, 41, 0.58);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.modal-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.modal-close {
  border: none;
  background: var(--stone);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}

.legal-body {
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.legal-body h4 {
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.legal-body p {
  margin: 0 0 10px;
}

/* === Responsive === */
@media (max-width: 1040px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid,
  .wl-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mobile-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-brand-name {
    font-size: 17px;
  }
  .nav-actions .btn-ghost {
    padding: 8px 11px;
    font-size: 13px;
  }
  .nav-actions .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
  }
  .hero {
    padding: 32px 0 36px;
  }
  .section {
    padding: 56px 0;
  }
  .wl-band {
    padding: 56px 0;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero-stage-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* === Feature Request / Feedback Modal === */
.fb-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.fb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fb-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.fb-label-opt {
  font-weight: 500;
  color: var(--ink-muted);
}

.fb-select,
.fb-input,
.fb-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.fb-select:focus,
.fb-input:focus,
.fb-textarea:focus {
  background: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-soft);
}

.fb-textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.fb-error {
  display: none;
  font-size: 13px;
  font-weight: 500;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 10px;
  padding: 9px 12px;
}

.fb-error.show {
  display: block;
}

.fb-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.fb-success {
  display: none;
  text-align: center;
  padding: 16px 8px 6px;
}

.fb-success.show {
  display: block;
}

.fb-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: #15803D;
  font-size: 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.fb-success-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.fb-success-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.fb-success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

/* Interactive Full-App Tutorial Modal */
    .ps-tour-backdrop {
      position: fixed;
      inset: 0;
      z-index: 210;
      background: rgba(15, 23, 42, 0.72);
      backdrop-filter: blur(7px);
      -webkit-backdrop-filter: blur(7px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 12px;
      user-select: none;
      -webkit-user-select: none;
      touch-action: pan-y;
    }
    .ps-tour-backdrop.open {
      display: flex;
      animation: psTourFadeIn 0.2s ease-out;
    }
    @keyframes psTourFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .ps-tour-card {
      width: 100%;
      max-width: 500px;
      max-height: calc(100dvh - 24px);
      background: #FFFFFF;
      border-radius: 22px;
      box-shadow: 0 24px 64px rgba(15, 23, 42, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.14);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      user-select: none;
      -webkit-user-select: none;
      animation: psTourPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes psTourPop {
      from { opacity: 0; transform: translateY(10px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .ps-tour-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 18px 11px;
      background: #0F172A;
      color: #FFFFFF;
      flex-shrink: 0;
    }
    .ps-tour-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .ps-tour-step-pill {
      display: inline-flex;
      align-items: center;
      padding: 3px 9px;
      border-radius: 999px;
      background: rgba(16, 185, 129, 0.2);
      border: 1px solid rgba(52, 211, 153, 0.38);
      color: #6EE7B7;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.02em;
    }
    .ps-tour-skip {
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.08);
      color: #E2E8F0;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 999px;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .ps-tour-skip:hover {
      background: rgba(255, 255, 255, 0.18);
      color: #FFFFFF;
    }

    /* Slide body */
    .ps-tour-stage {
      position: relative;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding: 16px 20px 12px;
    }
    .ps-tour-slide {
      display: none;
      flex-direction: column;
      gap: 11px;
      animation: psSlideIn 0.2s ease-out;
    }
    .ps-tour-slide.active {
      display: flex;
    }
    @keyframes psSlideIn {
      from { opacity: 0; transform: translateX(8px); }
      to { opacity: 1; transform: translateX(0); }
    }

    /* Visual hero mini-card */
    .ps-tour-visual {
      position: relative;
      border-radius: 15px;
      background: linear-gradient(135deg, #0F172A 0%, #1E293B 58%, #0F3B3E 100%);
      border: 1px solid rgba(15, 23, 42, 0.12);
      padding: 14px;
      min-height: 146px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
      color: #FFFFFF;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    .ps-tour-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 86% 18%, rgba(16, 185, 129, 0.24), transparent 52%);
      pointer-events: none;
    }
    .ps-vis-row {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .ps-vis-chips {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 10px;
    }
    .ps-vis-chip {
      font-size: 10.5px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #F1F5F9;
      white-space: nowrap;
    }
    .ps-vis-chip.teal {
      background: rgba(16, 185, 129, 0.22);
      border-color: rgba(52, 211, 153, 0.45);
      color: #A7F3D0;
    }

    /* Plan badges */
    .ps-tour-badge-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 7px;
    }
    .ps-tour-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11.5px;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 999px;
      letter-spacing: 0.01em;
    }
    .ps-tour-badge.all {
      background: #ECFDF5;
      color: #047857;
      border: 1px solid #A7F3D0;
    }
    .ps-tour-badge.tier {
      background: linear-gradient(135deg, #0F172A, #1E3A5F);
      color: #FFFFFF;
      border: 1px solid #334155;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    }
    .ps-tour-badge.tier .ps-badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #34D399;
      flex-shrink: 0;
    }
    .ps-tour-badge.upgrade {
      background: #F0FDFA;
      color: #0F766E;
      border: 1px solid #99F6E4;
    }
    .ps-tour-subnote {
      font-size: 11.5px;
      font-weight: 600;
      color: #64748B;
      font-style: italic;
    }

    .ps-tour-title {
      margin: 0;
      font-size: 19px;
      font-weight: 800;
      color: #0F172A;
      letter-spacing: -0.02em;
      line-height: 1.22;
    }
    .ps-tour-desc {
      margin: 0;
      font-size: 13.5px;
      line-height: 1.5;
      color: #334155;
      font-weight: 500;
    }
    .ps-tour-desc strong {
      color: #0F172A;
      font-weight: 700;
    }
    .ps-tour-callout {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 8px 11px;
      border-radius: 10px;
      background: #F0FDF4;
      border: 1px solid #BBF7D0;
      color: #065F46;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.35;
    }
    .ps-tour-jump-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding-top: 2px;
    }
    .ps-tour-jump {
      border: 0;
      background: transparent;
      padding: 4px 0;
      color: #0D9488;
      font-family: inherit;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: color 0.15s;
    }
    .ps-tour-jump:hover {
      color: #0F172A;
      text-decoration: underline;
    }

    /* Footer controls */
    .ps-tour-footer {
      padding: 11px 18px 15px;
      border-top: 1px solid #E2E8F0;
      background: #F8FAFC;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex-shrink: 0;
    }
    .ps-tour-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
    }
    .ps-tour-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      border: 0;
      padding: 0;
      background: #CBD5E1;
      cursor: pointer;
      transition: width 0.2s, background 0.2s;
    }
    .ps-tour-dot.active {
      width: 24px;
      background: #0D9488;
    }
    .ps-tour-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .ps-tour-btn-back {
      padding: 10px 16px;
      border-radius: 11px;
      border: 1px solid #CBD5E1;
      background: #FFFFFF;
      color: #334155;
      font-family: inherit;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .ps-tour-btn-back:hover:not(:disabled) {
      background: #F1F5F9;
      color: #0F172A;
    }
    .ps-tour-btn-back:disabled {
      opacity: 0.4;
      cursor: default;
    }
    .ps-tour-btn-next {
      flex: 1;
      max-width: 210px;
      padding: 10px 18px;
      border-radius: 11px;
      border: 0;
      background: #0F172A;
      color: #FFFFFF;
      font-family: inherit;
      font-size: 13.5px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
      transition: background 0.15s, transform 0.12s;
    }
    .ps-tour-btn-next:hover { background: #1E293B; }
    .ps-tour-btn-next:active { transform: scale(0.98); }
    .ps-tour-btn-next.finish {
      background: linear-gradient(135deg, #0D9488, #059669);
      box-shadow: 0 4px 14px rgba(5, 150, 105, 0.34);
    }

    /* Visual mini-diagrams inside slides */
    .ps-vis-split {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 10px;
    }
    .ps-vis-box {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 11px;
      padding: 9px 10px;
      text-align: center;
    }
    .ps-vis-box-label {
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #94A3B8;
      margin-bottom: 5px;
    }
    .ps-vis-box.after {
      background: rgba(16, 185, 129, 0.14);
      border-color: rgba(52, 211, 153, 0.38);
    }
    .ps-vis-box.after .ps-vis-box-label { color: #6EE7B7; }
    .ps-vis-arrow {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #10B981;
      color: #0F172A;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 14px;
      box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
      flex-shrink: 0;
    }
    .ps-zone-dots {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .ps-zdot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.85);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    .ps-wl-mock {
      position: relative;
      z-index: 1;
      background: rgba(255, 255, 255, 0.96);
      color: #0F172A;
      border-radius: 11px;
      padding: 10px 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
    }
    .ps-wl-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid #E2E8F0;
    }
    .ps-wl-logo-box {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 800;
      color: #0F172A;
    }
    .ps-wl-logo-badge {
      padding: 3px 7px;
      border-radius: 6px;
      background: #0F172A;
      color: #34D399;
      font-size: 9.5px;
      font-weight: 800;
      letter-spacing: 0.04em;
    }
    .ps-wl-phone {
      font-size: 10.5px;
      font-weight: 700;
      color: #475569;
    }
    .ps-wl-pills {
      display: flex;
      gap: 6px;
      margin-top: 8px;
    }
    .ps-wl-pill {
      flex: 1;
      text-align: center;
      font-size: 10.5px;
      font-weight: 800;
      padding: 5px 6px;
      border-radius: 7px;
      background: #ECFDF5;
      color: #047857;
      border: 1px solid #A7F3D0;
    }
    .ps-wl-pill.navy {
      background: #0F172A;
      color: #FFFFFF;
      border-color: #0F172A;
    }
    .ps-plan-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }
    .ps-plan-mini {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      padding: 9px 7px;
      text-align: center;
    }
    .ps-plan-mini.hi {
      background: rgba(16, 185, 129, 0.2);
      border-color: rgba(52, 211, 153, 0.5);
    }
    .ps-plan-mini-t {
      font-size: 11px;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 1.25;
    }
    .ps-plan-mini-s {
      font-size: 9.8px;
      font-weight: 600;
      color: #CBD5E1;
      margin-top: 3px;
      line-height: 1.25;
    }

    @media (max-width: 480px) {
      .ps-tour-backdrop { padding: 10px; }
      .ps-tour-card { border-radius: 18px; }
      .ps-tour-topbar { padding: 11px 14px 10px; }
      .ps-tour-stage { padding: 13px 15px 10px; }
      .ps-tour-slide { gap: 9px; }
      .ps-tour-visual { min-height: 126px; padding: 11px; }
      .ps-tour-title { font-size: 17px; }
      .ps-tour-desc { font-size: 13px; line-height: 1.45; }
      .ps-tour-callout { font-size: 11.5px; padding: 7px 10px; }
      .ps-tour-footer { padding: 10px 14px 13px; gap: 8px; }
      .ps-tour-btn-back, .ps-tour-btn-next { padding: 9px 14px; font-size: 13px; }
    }
  
      /* Tablet / iPad header fit: keep ? Guide compact so Account pill never clips off-screen */
      @media (max-width: 1120px) {
        .ps-guide-label { display: none; }
        .ps-guide-btn { padding: 0; width: 32px; height: 32px; justify-content: center; border-radius: 999px; gap: 0; }
        .header-inner { gap: 8px; padding-left: 12px; padding-right: 12px; }
        .desktop-nav { gap: 2px; }
        .nav-pill { padding: 7px 10px; font-size: 12.5px; }
        .brand-sub { display: none; }
        .brand-name { font-size: 16px; }
        .header-right { gap: 6px; flex-shrink: 0; }
        .account-pill { padding: 4px 8px 4px 5px; gap: 6px; }
        .account-name { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      }
      @media (max-width: 820px) {
        .nav-pill { padding: 6px 8px; font-size: 12px; }
        .brand-mark-img { width: 30px; height: 30px; }
        .brand-mark { width: 30px; height: 30px; }
        .brand-name { font-size: 15px; }
        .account-name { max-width: 64px; }
      }

.ps-tour-feedback-link {
  background: none;
  border: none;
  padding: 4px 6px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terracotta);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ps-tour-feedback-link:hover {
  color: var(--terracotta-hover);
}

.price-features li.is-excluded { color: #64748b; }
.price-features li.is-excluded::before { content: '✕'; color: #94a3b8; }
