/* RentPadi website. Brand colours from docs/BRAND.md; status colours match the app. */

:root {
  --green: #0f5132;
  --green-600: #146b43;
  --deep: #0a3a24;
  --ink: #10231a;
  --mint: #8cc5a5;
  --mint-50: #eef7f1;
  --mint-100: #dcefe3;
  --gold: #f4b23e;
  --gold-ring: #d8901c;
  --gold-50: #fdf6e7;
  --cream: #f6f4ee;
  --paper: #fbfaf6;
  --white: #ffffff;

  --text: var(--ink);
  --muted: #4d5d54;
  --subtle: #6f7d75;
  --line: #e5e2d8;
  --line-strong: #d2cec1;

  --paid: #15803d;
  --paid-bg: #dcfce7;
  --due: #a35207;
  --due-bg: #fef3c7;
  --overdue: #b91c1c;
  --overdue-bg: #fee2e2;
  --wa: #25d366;
  --wa-bubble: #d9fdd3;
  --wa-bg: #efeae2;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Plus Jakarta Sans', var(--font);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(16 35 26 / 0.06), 0 1px 1px rgb(16 35 26 / 0.04);
  --shadow: 0 2px 4px rgb(16 35 26 / 0.04), 0 8px 24px rgb(16 35 26 / 0.08);
  --shadow-lg: 0 4px 8px rgb(16 35 26 / 0.05), 0 24px 60px rgb(16 35 26 / 0.16);

  --gutter: 16px;
  --container: 1160px;
  --header-h: 68px;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--mint-100); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.6vw, 4.1rem); letter-spacing: -0.04em; line-height: 1.03; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 700; }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; font-weight: 700; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: calc(780px + var(--gutter) * 2); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--green);
}
.brand:hover { color: var(--green); }
.wordmark {
  font-family: var(--font-brand);
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.wordmark span { font-weight: 500; }
.wordmark b { font-weight: 800; }
.brand-on-dark, .brand-on-dark:hover { color: var(--white); }

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

.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { box-shadow: 0 1px 2px rgb(10 58 36 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.12); }
.btn-primary:hover { --btn-bg: var(--deep); }
.btn-secondary { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn-secondary:hover { --btn-border: var(--green); --btn-fg: var(--green); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--deep); box-shadow: 0 1px 2px rgb(10 58 36 / 0.2); }
.btn-gold:hover { --btn-bg: #f7c25f; --btn-fg: var(--deep); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgb(255 255 255 / 0.35); }
.btn-ghost-light:hover { --btn-border: var(--white); --btn-fg: var(--white); }
.btn-wa { --btn-bg: #1faa53; }
.btn-wa:hover { --btn-bg: #178a42; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.94rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  text-decoration: none;
}
.text-link .icon { width: 1em; height: 1em; transition: transform 0.15s; }
.text-link:hover .icon { transform: translateX(3px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 250 246 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(251 250 246 / 0.95); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.header-inner .brand { margin-right: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 550;
  font-size: 0.97rem;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav > a:hover { color: var(--ink); background: rgb(16 35 26 / 0.05); }
.nav > a[aria-current='page'] { color: var(--green); background: var(--mint-50); }
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.login-link { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 0.97rem; }
.login-link:hover { color: var(--green); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded='true'] .icon-open { display: none; }
.menu-btn[aria-expanded='true'] .icon-close { display: block; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .login-link { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.18s, transform 0.18s; }
  .nav > a { padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
  .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
}
@media (max-width: 359px) {
  .header-actions .btn-sm { display: none; }
}
@media (max-width: 420px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .wordmark { font-size: 1.3rem; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--deep);
  color: rgb(255 255 255 / 0.82);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--mint); }
.section-border { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin-bottom: 0; }
.section-dark .section-head p { color: rgb(255 255 255 / 0.74); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint-50);
  border: 1px solid var(--mint-100);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.eyebrow .icon { width: 15px; height: 15px; }
.section-dark .eyebrow { background: rgb(140 197 165 / 0.12); border-color: rgb(140 197 165 / 0.25); color: var(--mint); }
.eyebrow-gold { background: var(--gold-50); border-color: #f8dfa9; color: #8a5a06; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.55; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto;
  height: 520px;
  background: radial-gradient(closest-side, rgb(140 197 165 / 0.28), transparent), radial-gradient(closest-side at 70% 40%, rgb(244 178 62 / 0.14), transparent);
  pointer-events: none;
  z-index: -1;
}
.page-hero h1 { max-width: 880px; margin-inline: auto; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { max-width: 680px; margin: 0 auto; }
.page-hero .hero-ctas { justify-content: center; }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -15%;
  top: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgb(140 197 165 / 0.35), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: 10%;
  bottom: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(closest-side, rgb(244 178 62 / 0.18), transparent 70%);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
}
.hero h1 .accent { color: var(--green); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.22em;
  background: var(--gold);
  opacity: 0.55;
  border-radius: 4px;
  z-index: -1;
}
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-note { font-size: 0.92rem; color: var(--subtle); margin: -14px 0 24px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; }
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--muted);
}
.trust-chips .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--green);
  stroke-width: 3;
}
.page-hero .trust-chips { justify-content: center; margin-top: 28px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
  min-height: 560px;
}
.hero-visual .phone { transform: rotate(-2deg); }
.float {
  position: absolute;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.float-wa { left: 0; top: 34px; max-width: 268px; }
.float-paid { right: 0; bottom: 64px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 979px) {
  .hero-visual { min-height: 0; }
}
@media (max-width: 560px) {
  .hero-visual { padding-top: 92px; padding-bottom: 72px; }
  .float-wa { left: 0; right: auto; top: 0; max-width: 250px; }
  .float-paid { right: 0; bottom: 0; }
}

/* ---------- Phone mockup ---------- */

.phone {
  position: relative;
  width: 292px;
  flex: none;
  padding: 10px;
  border-radius: 46px;
  background: #11201a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2b3d35;
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #11201a;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 37px;
  background: #f7f8f6;
  height: 580px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 26px 0;
  height: 44px;
  font-size: 11.5px;
  font-weight: 650;
}
.phone-sm { width: 260px; }
.phone-sm .phone-screen { height: 520px; }

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 10px;
}
.app-top .brand { gap: 6px; }
.app-top .wordmark { font-size: 15px; }
.app-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
}
.app-body { padding: 0 14px; }
.app-hello { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; margin: 2px 2px 10px; }
.app-hello small { display: block; font-size: 11px; color: var(--subtle); font-weight: 500; letter-spacing: 0; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.stat {
  padding: 10px 11px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid #ebeee9;
}
.stat-label { font-size: 10px; color: var(--subtle); font-weight: 600; }
.stat-value { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.stat-sub { font-size: 10px; color: var(--subtle); }
.stat-wide { grid-column: span 2; background: var(--green); border-color: var(--green); color: var(--white); }
.stat-wide .stat-label, .stat-wide .stat-sub { color: rgb(255 255 255 / 0.72); }
.stat-wide .stat-value { font-size: 20px; }
.stat-overdue .stat-value { color: var(--overdue); }
.stat-due .stat-value { color: var(--due); }

.list-title {
  display: flex;
  justify-content: space-between;
  margin: 12px 2px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.list { background: var(--white); border: 1px solid #ebeee9; border-radius: 14px; overflow: hidden; }
.row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
}
.row + .row { border-top: 1px solid #f0f2ef; }
.row-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
  background: #eef1ee;
  color: var(--muted);
}
.row-name { font-weight: 650; font-size: 12px; line-height: 1.25; }
.row-sub { font-size: 10.5px; color: var(--subtle); }
.row-amt { text-align: right; font-weight: 700; font-size: 12px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-paid { background: var(--paid-bg); color: var(--paid); }
.badge-due { background: var(--due-bg); color: var(--due); }
.badge-overdue { background: var(--overdue-bg); color: var(--overdue); }
.badge-lg { font-size: 0.8rem; padding: 4px 10px; }

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px 18px;
  background: var(--white);
  border-top: 1px solid #ebeee9;
}
.tab { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; font-weight: 600; color: #8a958f; }
.tab .icon { width: 18px; height: 18px; }
.tab.is-active { color: var(--green); }

/* Tenant payment page inside a phone */
.pay-head { padding: 4px 18px 16px; text-align: center; }
.pay-head .from { font-size: 11px; color: var(--subtle); }
.pay-head .who { font-size: 14px; font-weight: 700; }
.pay-card {
  margin: 0 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid #ebeee9;
  text-align: center;
}
.pay-amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 2px; }
.pay-period { font-size: 11px; color: var(--subtle); margin-bottom: 12px; }
.pay-btn {
  display: block;
  padding: 11px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.pay-methods { display: flex; justify-content: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pay-methods span { padding: 3px 8px; border-radius: 999px; background: #f1f3f0; font-size: 10px; font-weight: 600; color: var(--muted); }
.pay-trust {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--mint-50);
  color: var(--deep);
  font-size: 10.5px;
  line-height: 1.4;
}
.pay-trust .icon { width: 16px; height: 16px; color: var(--green); }
.pay-receipts { margin: 12px 14px 0; }

/* WhatsApp chat inside a phone */
.wa-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 14px 10px;
  background: #075e54;
  color: var(--white);
  margin-top: -44px;
  padding-top: 52px;
}
.wa-top .wa-av { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.wa-top b { display: block; font-size: 13px; }
.wa-top small { font-size: 10px; opacity: 0.8; }
.wa-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  background: var(--wa-bg);
  height: 100%;
}
.wa-msg {
  max-width: 86%;
  padding: 7px 9px 5px;
  border-radius: 10px;
  background: var(--white);
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}
.wa-msg.out { align-self: flex-end; background: var(--wa-bubble); }
.wa-msg .t { display: block; text-align: right; font-size: 9px; color: #7a8a83; margin-top: 2px; }
.wa-msg .wa-link { color: #027eb5; word-break: break-all; }
.wa-btns { display: grid; gap: 4px; margin-top: 6px; }
.wa-btns span { display: block; text-align: center; padding: 6px; border-top: 1px solid #eef0ee; color: #027eb5; font-weight: 600; }
.wa-day { align-self: center; padding: 3px 9px; border-radius: 8px; background: #e1f2fb; font-size: 10px; color: #54656f; }

/* Floating cards */
.notif {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  line-height: 1.4;
}
.notif-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--green);
}
.notif-icon .icon { width: 18px; height: 18px; }
.notif-icon.wa { background: #e7f9ee; color: #1faa53; }
.notif b { display: block; font-size: 0.86rem; color: var(--ink); }
.notif small { color: var(--subtle); }
.notif .amt { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

/* Receipt mockup */
.receipt {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 26px 24px 30px;
  background: var(--white);
  border-radius: 18px 18px 6px 6px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}
.receipt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 12px;
  background: radial-gradient(circle at 8px -2px, transparent 8px, var(--white) 8.5px) 0 0 / 16px 12px repeat-x;
}
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.receipt-head .brand .wordmark { font-size: 1.05rem; }
.receipt-no { text-align: right; font-size: 0.78rem; color: var(--subtle); }
.receipt-no b { display: block; color: var(--ink); font-size: 0.95rem; }
.receipt-amount { padding: 14px 0; border-block: 1px dashed var(--line-strong); text-align: center; margin-bottom: 14px; }
.receipt-amount .big { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; margin: 0; }
.receipt dt { color: var(--subtle); }
.receipt dd { margin: 0; text-align: right; font-weight: 600; }
.receipt .stamp {
  position: absolute;
  right: 18px;
  top: 92px;
  padding: 4px 12px;
  border: 2.5px solid var(--paid);
  border-radius: 8px;
  color: var(--paid);
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: rotate(-10deg);
  opacity: 0.85;
}

/* ---------- Problem cards ---------- */

.quote-card {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.quote-card blockquote {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}
.quote-card blockquote::before { content: '“'; display: block; font-size: 3rem; line-height: 0.6; color: var(--gold); margin-bottom: 8px; }
.quote-card p { color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 20px; list-style: none; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.step .step-time { display: inline-block; margin-top: 12px; font-size: 0.8rem; font-weight: 700; color: var(--green); background: var(--mint-50); padding: 3px 9px; border-radius: 999px; }

/* ---------- Feature split rows ---------- */

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.reverse > :first-child { order: 2; }
}
.split + .split { margin-top: clamp(72px, 10vw, 120px); }
.split-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--mint-50), var(--cream));
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 420px;
}
.split-visual.gold { background: linear-gradient(160deg, var(--gold-50), var(--cream)); }
.split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.split-copy > p { color: var(--muted); font-size: 1.08rem; }

.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  stroke-width: 3;
}
.section-dark .checks .icon { background: var(--mint); color: var(--deep); }
.checks b { color: var(--ink); }
.section-dark .checks b { color: var(--white); }

/* ---------- Feature cards ---------- */

.card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card h3 { margin-bottom: 8px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--mint); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--mint-50);
  color: var(--green);
  border: 1px solid var(--mint-100);
}
.card-icon .icon { width: 22px; height: 22px; }
.card-icon.gold { background: var(--gold-50); border-color: #f8dfa9; color: #9a6508; }
.section-dark .card { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.1); }
.section-dark .card p { color: rgb(255 255 255 / 0.7); }
.section-dark .card-icon { background: rgb(140 197 165 / 0.14); border-color: rgb(140 197 165 / 0.22); color: var(--mint); }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.tag-soon { background: var(--gold-50); color: #8a5a06; border: 1px solid #f8dfa9; }
.tag-plan { background: var(--mint-50); color: var(--green); border: 1px solid var(--mint-100); }

/* ---------- Money flow diagram ---------- */

.flow {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
@media (min-width: 860px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; }
}
.flow-node {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
  text-align: center;
}
.flow-node .card-icon { margin: 0 auto 12px; }
.flow-node h3 { font-size: 1.05rem; margin-bottom: 4px; }
.flow-node p { margin: 0; font-size: 0.92rem; color: rgb(255 255 255 / 0.66); }
.flow-node.is-you { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.flow-node.is-you h3 { color: var(--deep); }
.flow-node.is-you p { color: rgb(10 58 36 / 0.78); }
.flow-node.is-you .card-icon { background: rgb(255 255 255 / 0.5); border-color: transparent; color: var(--deep); }
.flow-arrow { display: grid; place-items: center; color: var(--mint); }
.flow-arrow .icon { width: 28px; height: 28px; }
@media (max-width: 859px) { .flow-arrow .icon { transform: rotate(90deg); } }
.flow-aside {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px dashed rgb(140 197 165 / 0.45);
  color: rgb(255 255 255 / 0.8);
}
.flow-aside .icon { width: 24px; height: 24px; color: var(--mint); margin-top: 2px; }
.flow-aside p { margin: 0; }

/* ---------- Reminder timeline ---------- */

.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 30px 0 4px;
  list-style: none;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 41px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--mint) 62%, var(--gold) 70%, var(--overdue) 100%);
}
.timeline li { position: relative; display: grid; justify-items: center; gap: 8px; flex: 1; text-align: center; font-size: 0.78rem; font-weight: 650; color: var(--muted); }
.timeline li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--mint);
  box-sizing: border-box;
  position: relative;
}
.timeline li.due::before { border-color: var(--gold); background: var(--gold); }
.timeline li.late::before { border-color: var(--overdue); }
.timeline-card { padding: 22px 22px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); width: 100%; box-shadow: var(--shadow); }
.timeline-card h4 { margin-bottom: 2px; }
.timeline-card .muted { font-size: 0.88rem; }

.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.schedule-table th, .schedule-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule-table th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--subtle); font-weight: 700; }
.schedule-table td:first-child { font-weight: 700; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 650; background: var(--mint-50); color: var(--green); border: 1px solid var(--mint-100); }
.pill.due { background: var(--gold-50); color: #8a5a06; border-color: #f8dfa9; }
.pill.late { background: var(--overdue-bg); color: var(--overdue); border-color: #fbcaca; }

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

.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  margin-bottom: 36px;
}
.billing-toggle button {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
}
.billing-toggle button[aria-pressed='true'] { background: var(--green); color: var(--white); }
.billing-toggle .save { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--deep); font-size: 0.74rem; font-weight: 800; }
.toggle-wrap { text-align: center; }

.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.plan.is-featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 750;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-for { color: var(--subtle); font-size: 0.93rem; margin-bottom: 18px; min-height: 2.8em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.plan-price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.plan-price .per { color: var(--subtle); font-weight: 550; font-size: 0.95rem; }
.plan-sub { font-size: 0.86rem; color: var(--subtle); min-height: 1.5em; margin-bottom: 20px; }
.plan-units {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--cream);
  font-weight: 650;
  font-size: 0.94rem;
}
.plan-units .icon { color: var(--green); }
.plan .checks { margin: 0 0 24px; gap: 10px; font-size: 0.94rem; }
.plan .checks .icon { width: 19px; height: 19px; padding: 3px; }
.plan .btn { margin-top: auto; }

.plans-compact .plan { padding: 22px 20px; }
.plans-compact .plan-for { min-height: 0; margin-bottom: 12px; }
.plans-compact .plan-price .amount { font-size: 1.9rem; }

.promises { display: grid; gap: 16px; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.promise .card-icon { width: 40px; height: 40px; margin: 0; }
.promise .card-icon .icon { width: 19px; height: 19px; }
.promise h3 { font-size: 1.02rem; margin-bottom: 4px; }
.promise p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--white); font-size: 1rem; }
.compare thead th small { display: block; font-weight: 500; color: var(--subtle); font-size: 0.82rem; }
.compare th[scope='row'] { text-align: left; font-weight: 550; color: var(--ink); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .group th { background: var(--cream); text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--subtle); }
.compare .yes { color: var(--green); }
.compare .yes .icon { margin: 0 auto; width: 20px; height: 20px; stroke-width: 2.6; }
.compare .no { color: #b8bfba; }
.compare .col-featured { background: rgb(238 247 241 / 0.6); }

/* Fee calculator */
.calc {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .calc { grid-template-columns: 0.9fr 1.1fr; } }
.calc-inputs { padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; align-content: start; }
.calc-results { padding: clamp(24px, 3vw, 36px); background: var(--deep); color: rgb(255 255 255 / 0.8); display: grid; gap: 18px; align-content: start; }
.calc-results h3 { color: var(--white); margin: 0; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 650; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--subtle); }
.input, .select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}
.input:focus, .select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgb(15 81 50 / 0.12); }
textarea.input { min-height: 130px; resize: vertical; font-weight: 500; line-height: 1.5; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--subtle); }
.input-prefix .input { padding-left: 34px; }
.range-row { display: flex; gap: 14px; align-items: center; }
.range-row input[type='range'] { flex: 1; accent-color: var(--green); height: 28px; }
.range-row .input { width: 84px; text-align: center; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--cream); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 6px; border-radius: 10px; text-align: center; font-weight: 650; font-size: 0.92rem; color: var(--muted); transition: background-color 0.15s, color 0.15s; }
.segmented input:checked + span { background: var(--white); color: var(--green); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.result-row:last-of-type { border-bottom: 0; }
.result-row .k { font-size: 0.95rem; }
.result-row .k small { display: block; color: rgb(255 255 255 / 0.55); font-size: 0.82rem; }
.result-row .v { font-weight: 800; font-size: 1.3rem; color: var(--white); text-align: right; white-space: nowrap; letter-spacing: -0.02em; }
.result-row .v.muted { font-size: 0.95rem; font-weight: 600; color: rgb(255 255 255 / 0.55); white-space: normal; }
.result-best {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgb(244 178 62 / 0.14);
  border: 1px solid rgb(244 178 62 / 0.4);
  color: var(--white);
}
.result-best b { color: var(--gold); }
.calc-foot { font-size: 0.82rem; color: rgb(255 255 255 / 0.55); margin: 0; }

.fee-line {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.fee-line div { display: flex; justify-content: space-between; gap: 16px; }
.fee-line .minus { color: var(--muted); }
.fee-line .total { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 800; color: var(--green); }

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

.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--mint); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F5132' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint-100); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer ul { padding-left: 1.2em; margin-bottom: 1em; }
.faq .answer li { margin-bottom: 4px; }

.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 240px 1fr; gap: 56px; } }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 4px; }
.faq-nav a { padding: 9px 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
.faq-nav a:hover { background: var(--white); color: var(--green); }
@media (max-width: 959px) {
  .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 0.92rem; }
}
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.faq-group h2 .card-icon { margin: 0; width: 40px; height: 40px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: var(--green);
  color: rgb(255 255 255 / 0.84);
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(244 178 62 / 0.35), transparent);
}
.cta-band::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -80px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(140 197 165 / 0.3), transparent);
}
.cta-band h2 { color: var(--white); max-width: 680px; }
.cta-band p { max-width: 620px; font-size: 1.12rem; }
.cta-band .hero-ctas { margin: 28px 0 0; }
.cta-band .trust-chips li { color: rgb(255 255 255 / 0.85); }
.cta-band .trust-chips .icon { background: rgb(255 255 255 / 0.14); color: var(--gold); }
.cta-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1.4fr 0.6fr; } }
.cta-mark { justify-self: center; display: grid; place-items: center; width: 220px; height: 220px; border-radius: 52px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); transform: rotate(-6deg); }
.cta-mark svg { width: 150px; height: auto; }
@media (max-width: 959px) { .cta-mark { display: none; } }

/* ---------- Misc blocks ---------- */

.stat-strip { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 720px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip > div { padding: 24px 22px; background: var(--white); }
.stat-strip .num { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--green); line-height: 1.1; }
.stat-strip p { margin: 6px 0 0; color: var(--muted); font-size: 0.93rem; }

.callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--gold-50);
  border: 1px solid #f8dfa9;
}
.callout .icon { width: 24px; height: 24px; color: #9a6508; margin-top: 2px; }
.callout p { margin: 0; color: #5d4210; }
.callout b { color: #3f2c08; }
.callout-green { background: var(--mint-50); border-color: var(--mint-100); }
.callout-green .icon { color: var(--green); }
.callout-green p { color: var(--deep); }

.prose { max-width: 720px; }
.prose p, .prose li { color: var(--muted); font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose b, .prose strong { color: var(--ink); }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

.feature-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.feature-index a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.feature-index a:hover { border-color: var(--green); color: var(--green); }
.feature-index .icon { width: 16px; height: 16px; color: var(--green); }

.feature-block { padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.feature-block:nth-of-type(even) { background: var(--white); }
.feature-block .section-head { margin-bottom: 36px; }
.mini-features { display: grid; gap: 14px 28px; margin-top: 28px; }
@media (min-width: 720px) { .mini-features { grid-template-columns: repeat(2, 1fr); } }
.mini { display: flex; gap: 12px; }
.mini .icon { width: 22px; height: 22px; color: var(--green); margin-top: 3px; }
.mini h3 { font-size: 1rem; margin-bottom: 2px; }
.mini p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.sms {
  max-width: 340px;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 4px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.93rem;
  line-height: 1.5;
}
.sms-from { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: var(--subtle); margin-bottom: 6px; }
.sms a { word-break: break-all; }

.scam-check { display: grid; gap: 14px; }
@media (min-width: 760px) { .scam-check { grid-template-columns: 1fr 1fr; } }
.scam-col { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.scam-col h3 { display: flex; align-items: center; gap: 10px; }
.scam-col.ok h3 .icon { color: var(--paid); }
.scam-col.bad h3 .icon { color: var(--overdue); }
.scam-col ul { list-style: none; display: grid; gap: 10px; }
.scam-col li { display: flex; gap: 10px; color: var(--muted); }
.scam-col li .icon { width: 18px; height: 18px; margin-top: 4px; }
.scam-col.ok li .icon { color: var(--paid); }
.scam-col.bad li .icon { color: var(--overdue); }

.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 40px; } }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; }
a.contact-card:hover { border-color: var(--mint); box-shadow: var(--shadow-sm); color: inherit; }
.contact-card .card-icon { margin: 0; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }

.values { display: grid; gap: 18px; counter-reset: v; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value h3 { display: flex; gap: 10px; align-items: baseline; }
.value h3::before { counter-increment: v; content: '0' counter(v); font-size: 0.85rem; color: var(--gold-ring); font-weight: 800; }
.value p { margin: 0; color: var(--muted); }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--green); }

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

.site-footer {
  padding-block: 64px 28px;
  background: var(--deep);
  color: rgb(255 255 255 / 0.7);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { max-width: 360px; margin: 16px 0 0; }
.footer-made { display: flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 550; }
.footer-made .icon { width: 17px; height: 17px; }
.footer-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mint); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgb(255 255 255 / 0.78); text-decoration: none; word-break: break-word; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; display: flex; gap: 18px; }

/* ---------- Reveal on scroll (only with JS, never with reduced motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
