/* =============================================================
   Rentgate Website — Site styles
   Mobile-first → desktop progressive enhancement
   ============================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  overflow-x: hidden;
}

/* Paper grain — applied to the body, very subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0 0.03 0 0 0 0.06 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ----------- LAYOUT ----------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1100px) { .container { padding: 0 48px; } }

.section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ----------- NAV ----------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--paper-200); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--paper-900);
}
.brand-dot { color: var(--brand); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--paper-900);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.06em;
}
.brand-mark .dot { color: var(--brand); }

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms var(--ease-out);
}
.nav-links a:hover { color: var(--fg-1); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  background: var(--paper-100);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--paper-200);
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--fg-3);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: all 160ms var(--ease-out);
}
.lang-toggle button.on {
  background: white;
  color: var(--paper-900);
  box-shadow: var(--shadow-xs);
}

/* ----------- BUTTONS ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 160ms var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--paper-900);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 6px 16px -6px rgba(20, 16, 8, 0.4);
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(20, 16, 8, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-brand {
  background: var(--brand);
  color: white;
  box-shadow: 0 6px 16px -6px rgba(0, 166, 200, 0.5);
}
.btn-brand:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(0, 166, 200, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--paper-300);
}
.btn-ghost:hover { background: var(--paper-100); }
.btn-lg { padding: 16px 26px; font-size: 15px; border-radius: 14px; }

/* ----------- HERO ----------- */
.hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: 80px 0 120px; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: white;
  border: 1px solid var(--paper-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}
.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint-500);
  box-shadow: 0 0 0 3px rgba(38, 122, 51, 0.18);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: var(--serif-display-weight, 400);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: var(--paper-900);
  padding-bottom: 0.06em;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--brand);
}
.hero h1 .strike {
  text-decoration: line-through;
  text-decoration-color: var(--maroon-300);
  text-decoration-thickness: 3px;
  color: var(--paper-500);
  font-style: italic;
}
.hero p.sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-meta .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta .num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: var(--serif-display-weight, 400);
  color: var(--paper-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta .lbl {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 500;
}

/* ----------- HERO 3D STAGE ----------- */
.hero-stage {
  position: relative;
  height: 560px;
  perspective: 1800px;
  perspective-origin: 50% 40%;
}
@media (max-width: 900px) { .hero-stage { height: 460px; } }
@media (max-width: 600px) { .hero-stage { height: 380px; margin: 0 -8px; } }

.float {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

/* paper stack — back layer */
.receipt-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 320px;
  transform: translate(-58%, -52%) rotateX(20deg) rotateY(-18deg) rotateZ(-8deg);
}
.receipt {
  position: absolute;
  inset: 0;
  background: white;
  border: 1px solid var(--paper-200);
  border-radius: 10px;
  padding: 18px 16px;
  box-shadow: 0 18px 40px -20px rgba(20,16,8,0.25), 0 4px 8px rgba(20,16,8,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: 30% 90%;
}
.receipt::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 14px;
  right: 14px;
  height: 14px;
  background:
    radial-gradient(circle at 7px 0, transparent 7px, white 7.5px) 0 0 / 14px 14px repeat-x;
  filter: drop-shadow(0 4px 4px rgba(20,16,8,0.06));
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-700);
}
.receipt-row.head {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-500);
  border-bottom: 1px dashed var(--paper-300);
  padding-bottom: 6px;
  margin-bottom: 4px;
}
.receipt-row.total {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--paper-900);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  color: var(--paper-900);
}
.receipt-stamp {
  position: absolute;
  bottom: 22px;
  right: 14px;
  width: 64px;
  height: 64px;
  border: 2px solid var(--mint-500);
  color: var(--mint-500);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  transform: rotate(-12deg);
  opacity: 0.7;
}
.receipt-2 {
  transform: translate(-3px, -10px) rotate(2.5deg);
}
.receipt-3 {
  transform: translate(6px, -22px) rotate(-3deg);
}

/* phone */
.hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 580px;
  transform: translate(-30%, -50%) rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
}
.hero-phone .phone-shell {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #1a1a1a, #0a0a0a);
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 30px 60px -15px rgba(20, 16, 8, 0.45),
    0 12px 22px -8px rgba(20, 16, 8, 0.25),
    inset 0 0 0 2px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero-phone .phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper-50);
  border-radius: 36px;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 5;
}

/* coin stack — front detail */
.coin-stack {
  position: absolute;
  bottom: 30px;
  left: 5%;
  width: 110px;
  height: 110px;
  transform-style: preserve-3d;
  transform: rotateX(60deg);
}
.coin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #f0d989, #b08818 70%, #5e4408);
  border: 2px solid #f3da80;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: #5e4408;
  font-weight: 800;
  font-family: var(--font-serif);
  font-size: 36px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 -3px 0 rgba(0,0,0,0.15);
}

/* floating chip */
.chip-card {
  position: absolute;
  background: white;
  border: 1px solid var(--paper-200);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-900);
}
.chip-card .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.chip-card.cash {
  top: 18%;
  right: 4%;
  transform: rotate(4deg);
}
.chip-card.cash .icon { background: var(--mint-100); color: var(--mint-500); }
.chip-card.upi {
  bottom: 14%;
  right: 8%;
  transform: rotate(-3deg);
}
.chip-card.upi .icon { background: var(--rust-100); color: var(--rust-700); }

.chip-card .num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--fg-3);
  font-weight: 500;
}

/* float animation */
@keyframes float-y { 0%,100%{transform: translateY(0)} 50%{transform: translateY(-10px)} }
.float-y { animation: float-y 6s ease-in-out infinite; }
.float-y.d1 { animation-delay: -2s; }
.float-y.d2 { animation-delay: -4s; }

/* ----------- LIVE TICKER ----------- */
.ticker {
  position: relative;
  padding: 16px 0;
  background: var(--paper-900);
  color: var(--paper-100);
  overflow: hidden;
  border-block: 1px solid var(--paper-800);
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--paper-900), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--paper-900), transparent); }
.ticker-track {
  display: flex;
  gap: 56px;
  animation: ticker 40s linear infinite;
  width: max-content;
}
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--paper-200);
  white-space: nowrap;
}
.ticker-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mint-300);
}
.ticker-item .num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--mint-300);
  font-weight: 700;
}

/* ----------- SECTION HEADERS ----------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: var(--serif-display-weight, 400);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper-900);
  margin: 0 0 20px;
  padding-bottom: 0.06em;
}
.section-title em {
  font-style: italic;
  color: var(--brand);
}
.section-sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0;
}

/* ----------- FEATURES ----------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: white;
  border: 1px solid var(--paper-200);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 240ms var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--paper-300);
}
.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-100);
  color: var(--paper-900);
  margin-bottom: 20px;
}
.feature-card.is-brand .icon-wrap {
  background: var(--brand);
  color: white;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--paper-900);
}
.feature-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0 0 20px;
}

.feature-card.large {
  grid-column: span 1;
}
@media (min-width: 1100px) {
  .feature-card.large { grid-column: span 2; }
}

/* mini visual inside cards */
.mini-receipt {
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-700);
}
.mini-receipt .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.mini-receipt .row.total {
  border-top: 1px solid var(--paper-900);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 700;
  color: var(--paper-900);
}
.mini-receipt .pos { color: var(--mint-500); font-weight: 600; }
.mini-receipt .due { color: var(--money-due); font-weight: 600; }

.mini-otp {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.mini-otp .digit {
  width: 36px;
  height: 44px;
  border: 1px solid var(--paper-300);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  background: white;
  color: var(--paper-900);
}
.mini-otp .digit.filled {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 166, 200, 0.18);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

/* ----------- HOW IT WORKS ----------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.step {
  position: relative;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--paper-200);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.step .step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--paper-900);
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-2);
}

/* ----------- ROLES ----------- */
.roles-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .roles-grid { grid-template-columns: repeat(3, 1fr); } }
.role-card {
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--paper-200);
  background: white;
  box-shadow: var(--shadow-sm);
}
.role-card .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.role-card.owner .badge { background: var(--paper-900); color: white; }
.role-card.staff .badge { background: var(--brand); color: white; }
.role-card.tenant .badge { background: var(--mint-500); color: white; }
.role-card h3 {
  font-family: var(--font-serif);
  font-weight: var(--serif-display-weight, 400);
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.05;
  color: var(--paper-900);
}
.role-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0 0 22px;
}
.role-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-card li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.4;
}
.role-card li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
}
.role-card.owner li::before { background: var(--paper-900); }
.role-card.staff li::before { background: var(--brand); }
.role-card.tenant li::before { background: var(--mint-500); }

/* ----------- APP SHOWCASE ----------- */
.showcase {
  position: relative;
  padding: 96px 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--paper-100) 100%),
    var(--paper-50);
  overflow: hidden;
}
.showcase-stage {
  position: relative;
  height: 720px;
  perspective: 2000px;
  margin-top: 32px;
}
@media (max-width: 900px) { .showcase-stage { height: 540px; } }

.showcase-phone {
  position: absolute;
  width: 280px;
  height: 580px;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transition: all 600ms var(--ease-out);
}
.showcase-phone .phone-shell {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #1a1a1a, #0a0a0a);
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 40px 80px -20px rgba(20, 16, 8, 0.45),
    0 16px 28px -8px rgba(20, 16, 8, 0.2),
    inset 0 0 0 2px rgba(255,255,255,0.05);
}
.showcase-phone .phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper-50);
  border-radius: 36px;
  overflow: hidden;
}

.showcase-phone.p1 { transform: translate(-130%, -50%) rotateY(20deg); z-index: 2; }
.showcase-phone.p2 { transform: translate(-50%, -52%) rotateY(0); z-index: 3; }
.showcase-phone.p3 { transform: translate(30%, -50%) rotateY(-20deg); z-index: 2; }

@media (max-width: 900px) {
  .showcase-phone { width: 220px; height: 460px; }
  .showcase-phone.p1 { transform: translate(-118%, -50%) rotateY(20deg); }
  .showcase-phone.p3 { transform: translate(18%, -50%) rotateY(-20deg); }
}
@media (max-width: 600px) {
  .showcase-phone.p1, .showcase-phone.p3 { display: none; }
  .showcase-phone.p2 { transform: translate(-50%, -50%); }
}

/* ----------- PRICING TEASER ----------- */
.pricing-teaser {
  background: var(--paper-900);
  color: white;
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.pricing-teaser::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 166, 200, 0.4), transparent 70%);
  filter: blur(40px);
}
.pricing-teaser .grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 800px) {
  .pricing-teaser .grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .pricing-teaser { padding: 72px; }
}
.pricing-teaser h2 {
  font-family: var(--font-serif);
  font-weight: var(--serif-display-weight, 400);
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-teaser h2 em { color: var(--rust-300); font-style: italic; }
.pricing-teaser p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--paper-200);
  margin: 0 0 28px;
}
.price-card {
  background: white;
  color: var(--paper-900);
  border-radius: 20px;
  padding: 28px;
}
.price-card .tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.price-card .amount {
  font-family: var(--font-serif);
  font-weight: var(--serif-display-weight, 400);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 12px 0 4px;
}
.price-card .amount sup { font-size: 28px; vertical-align: super; }
.price-card .amount sub { font-size: 14px; color: var(--fg-3); font-family: var(--font-sans); font-weight: 500; }
.price-card .features-mini {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--paper-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.price-card .features-mini li { display: flex; gap: 10px; align-items: center; color: var(--fg-2); }
.price-card .features-mini li::before {
  content: "✓";
  color: var(--mint-500);
  font-weight: 800;
}

/* ----------- TESTIMONIALS ----------- */
.testimonials {
  background: white;
  border-block: 1px solid var(--paper-200);
}
.test-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .test-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .test-grid { grid-template-columns: repeat(3, 1fr); } }
.test-card {
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.test-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--paper-900);
  margin: 0;
}
.test-card .who {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}
.test-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
}
.test-card .who strong { font-weight: 600; font-size: 14px; color: var(--paper-900); display: block; }
.test-card .who span { font-size: 12px; color: var(--fg-3); }
.test-card .stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: -6px;
}
.test-card .stat strong { color: var(--paper-900); font-weight: 700; }

/* ----------- FAQ ----------- */
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: white;
  border: 1px solid var(--paper-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 200ms var(--ease-out);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 17px;
  color: var(--paper-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--paper-700);
  border-bottom: 2px solid var(--paper-700);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
  margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item .answer {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* ----------- ONBOARDING FORM ----------- */
.onboard {
  background:
    radial-gradient(circle at 80% 0%, var(--rust-100), transparent 50%),
    radial-gradient(circle at 0% 100%, var(--amber-50), transparent 50%),
    var(--paper-50);
  border-radius: 32px;
  padding: 56px 40px;
  border: 1px solid var(--paper-200);
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) { .onboard { padding: 36px 22px; border-radius: 24px; } }

.onboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .onboard-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}
.onboard h2 {
  font-family: var(--font-serif);
  font-weight: var(--serif-display-weight, 400);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--paper-900);
}
.onboard h2 em { color: var(--brand); font-style: italic; }
.onboard p.lead { font-size: 17px; color: var(--fg-2); margin: 0 0 24px; }

.onboard ul.benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.onboard ul.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.4;
}
.onboard ul.benefits li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--mint-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  background-size: contain;
}

form.onboard-form {
  background: white;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--paper-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field select {
  height: 48px;
  border: 1px solid var(--paper-300);
  border-radius: 12px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  background: white;
  color: var(--paper-900);
  transition: all 160ms var(--ease-out);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 166, 200, 0.18);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.field-help { font-size: 12px; color: var(--fg-3); }
form.onboard-form .submit {
  margin-top: 8px;
  height: 56px;
  border-radius: 14px;
  background: var(--paper-900);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  transition: all 160ms var(--ease-out);
}
form.onboard-form .submit:hover { background: #000; transform: translateY(-1px); }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 12px;
}
.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--mint-500);
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 8px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: var(--serif-display-weight, 400);
  margin: 0;
  letter-spacing: -0.01em;
}
.form-success p { color: var(--fg-2); margin: 0; max-width: 320px; }
form.onboard-form.sent .field, form.onboard-form.sent .field-row, form.onboard-form.sent .submit { display: none; }
form.onboard-form.sent .form-success { display: flex; }

/* ----------- FOOTER ----------- */
.footer {
  background: var(--paper-900);
  color: var(--paper-200);
  padding: 72px 0 32px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
}
.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-400);
  margin: 0 0 20px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer a {
  color: var(--paper-200);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms var(--ease-out);
}
.footer a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-800);
  font-size: 12px;
  color: var(--paper-400);
}
.footer-bottom .lights {
  display: flex;
  gap: 16px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--paper-300);
  margin-top: 16px;
}

/* ----------- SCROLL REVEAL ----------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }

/* ----------- TWEAKS PANEL OFFSET ----------- */
[data-tweaks-panel] { z-index: 200; }
