@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

:root {
  /* NoteKaro logo palette: navy, maroon (primary), orange (accent) */
  --color-navy: #170557;
  --color-teal: #850826;
  --color-teal-dark: #6b061e;
  --color-teal-light: #f8e9ed;
  --color-gold: #e44d2a;
  --color-gold-soft: #fff1ec;
  --color-ink: #1a1030;
  --color-muted: #5b6770;
  --color-surface: #f7f6f8;
  --color-border: #e2dde8;
  --color-success: #1e9e5a;
  --color-success-soft: #e7f8ee;
  --color-danger: #d64545;
  --color-danger-soft: #fdecec;
  --color-cream: #fbf7f0;
  --shadow-card: 0 4px 16px rgba(23, 5, 87, 0.08);
  --shadow-hover: 0 8px 28px rgba(23, 5, 87, 0.14);
  --shadow-phone: 0 24px 48px rgba(12, 3, 40, 0.35);
  --header-h: 72px;
  --font-display: Poppins, Inter, "Noto Sans", system-ui, sans-serif;
  --font-body: Inter, "Noto Sans", system-ui, sans-serif;
  /* Ruled khata lines used on navy and teal bands */
  --ledger-lines: repeating-linear-gradient(180deg, transparent 0 31px, rgba(255, 255, 255, 0.055) 31px 32px);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--color-ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-teal); }
strong, b { font-weight: 600; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--font-display); color: var(--color-navy); }
h2 { font-size: 28px; line-height: 1.2; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 12px; }

.sprite { position: absolute; width: 0; height: 0; }
.icon { width: 24px; height: 24px; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 80;
  background: #fff; color: var(--color-navy); padding: 8px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

/* Icon tile: tinted rounded square behind an outline icon */
.feature-card .icon,
.biz-rows .icon,
.partner-tile .icon,
.trust-row .icon,
.mode-points .icon,
.security-grid .icon {
  box-sizing: content-box; width: 24px; height: 24px; padding: 10px;
  border-radius: 12px; background: var(--color-teal-light); color: var(--color-teal);
}

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 64px 0; }
.section-surface { background: var(--color-surface); }
.section-teal { background: var(--color-teal-light); }
.section-navy {
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(133, 8, 38, 0.35), transparent 70%),
    var(--ledger-lines),
    var(--color-navy);
  color: #fff;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.center { text-align: center; }
.section-intro { max-width: 720px; margin-bottom: 36px; }
.section-intro.center { margin-inline: auto; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.4; margin: 0 0 12px; color: var(--color-gold);
}
.eyebrow-dark { color: var(--color-teal); }
.lede { font-size: 17px; color: var(--color-muted); line-height: 1.6; }
.section-navy .lede, .hero .lede { color: rgba(255, 255, 255, 0.82); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid transparent; font: 600 16px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn-primary { background: var(--color-teal); color: #fff; }
.btn-primary:hover { background: var(--color-teal-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(133, 8, 38, 0.3); }
.btn-secondary { background: #fff; color: var(--color-navy); border-color: var(--color-navy); }
.btn-secondary:hover { background: var(--color-navy); color: #fff; transform: translateY(-2px); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: inherit; font-weight: 600; text-decoration: none;
}
.text-link .icon { transition: transform 150ms ease; }
.text-link:hover .icon { transform: translateY(3px); }
.hero .text-link { color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  transition: background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}
.header-bar, .header-end, .desktop-nav, .logo, .store-row, .socials { display: flex; align-items: center; }
.header-bar { height: 100%; justify-content: space-between; gap: 16px; }
.logo { gap: 10px; text-decoration: none; color: inherit; min-height: 44px; flex: none; }
.logo img { width: auto; height: 52px; max-width: min(240px, 62vw); object-fit: contain; border-radius: 0; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: inherit; white-space: nowrap; line-height: 1; }
.logo-sheet { width: auto; height: 44px; display: block; background: #fff; border-radius: 8px; padding: 4px 8px; }
.desktop-nav { display: none; gap: 4px; }
.desktop-nav a {
  position: relative; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px;
  min-height: 44px; padding: 8px 12px; display: inline-flex; align-items: center;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--color-gold); border-radius: 2px; transform: scaleX(0); transition: transform 150ms ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-end { gap: 8px; }
.header-cta { display: none; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent;
  color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.page-home .site-header,
.page-home .site-header.is-stuck {
  position: fixed; top: 0; left: 0; right: 0;
}
.page-home .site-header,
.page-home .site-header.is-stuck,
.page-inner .site-header {
  background: #fff; color: var(--color-navy);
  box-shadow: var(--shadow-card);
}
.page-home .hero { padding-top: calc(var(--header-h) + 40px); }
.nav-sheet {
  position: fixed; inset: 0; z-index: 50; background: var(--color-navy); color: #fff;
  padding: 16px 20px 32px; display: flex; flex-direction: column; gap: 12px; overflow: auto;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet-top, .nav-sheet nav { display: flex; }
.nav-sheet-top { justify-content: space-between; align-items: center; }
.nav-sheet nav { flex-direction: column; }
.nav-sheet nav a {
  color: #fff; text-decoration: none; font-size: 22px; font-family: var(--font-display);
  font-weight: 600; min-height: 48px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.menu-open { overflow: hidden; }

/* Store badges */
.store-row { flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.store-badge { display: block; border-radius: 10px; transition: transform 150ms ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 56px; width: auto; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(640px 380px at 86% 22%, rgba(133, 8, 38, 0.4), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgba(228, 77, 42, 0.12), transparent 70%),
    linear-gradient(90deg, transparent 40px, rgba(228, 77, 42, 0.22) 40px 41px, transparent 41px 45px, rgba(228, 77, 42, 0.22) 45px 46px, transparent 46px),
    var(--ledger-lines),
    var(--color-navy);
  color: #fff;
  padding: 64px 0;
  overflow: clip;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-grid { display: grid; gap: 40px; }
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.2em; height: 0.26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C48 3 118 1 197 6' stroke='%23E44D2A' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 28px 0 8px; }
.hero-cta .store-row { margin: 0; }
.micro-trust { margin: 4px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 13px; font-weight: 500; line-height: 1.5; }
.qr-desk { display: none; align-items: center; gap: 12px; }
.qr-desk img { width: 88px; height: 88px; background: #fff; border-radius: 12px; padding: 6px; }
.qr-desk p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.hero .qr-desk { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.18); }

.hero-visual { position: relative; display: grid; place-items: center; padding: 40px 0 64px; }
.hero-sheet {
  position: absolute; inset: 4% 6%; border-radius: 32px; transform: rotate(-3deg);
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(255, 255, 255, 0.07) 27px 28px),
    linear-gradient(160deg, rgba(133, 8, 38, 0.4), rgba(133, 8, 38, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.phone-pair { position: relative; display: flex; justify-content: center; align-items: center; }
/* Parallel tilt keeps the overlap inside the back phone's bezel, so no screen content is hidden */
.tilt-left { transform: rotate(-6deg) translateY(28px); z-index: 1; }
.tilt-right { transform: rotate(-6deg) translateY(-28px); margin-left: -4px; z-index: 2; }
.tilt-left .phone-screen { padding-right: 18px; }

/* Phone mockup: designed at 220px, scaled per breakpoint with zoom */
.phone {
  width: 220px; zoom: 0.7; background: #12043a; border-radius: 32px; padding: 8px;
  box-shadow: var(--shadow-phone);
}
.phone-screen {
  background: var(--color-cream); color: var(--color-ink); border-radius: 24px;
  min-height: 360px; padding: 10px 12px 12px; overflow: hidden;
}
.status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--color-navy); }
.status-dots { width: 36px; height: 8px; border-radius: 99px; background: linear-gradient(#170557, #170557) left / 10px 8px no-repeat, linear-gradient(#850826, #850826) right / 16px 8px no-repeat; }
.screen-kicker { margin: 8px 0 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-teal); font-weight: 600; }
.screen-hello { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; color: var(--color-navy); font-size: 20px; line-height: 1.3; }
.mini, .budget, .money-row, .float-card {
  border-radius: 12px; background: #fff; box-shadow: var(--shadow-card);
}
.mini, .budget { padding: 8px 10px; margin-bottom: 8px; }
.mini strong, .khata-list strong { display: block; font-size: 13px; color: var(--color-navy); }
.mini span, .khata-list small { color: var(--color-muted); font-size: 12px; }
.mini-gold { background: var(--color-gold-soft); }
.budget-row, .money-row, .khata-list li { display: flex; justify-content: space-between; gap: 8px; }
.budget-row { font-size: 12px; font-weight: 600; }
.bar { height: 6px; background: #efe6d6; border-radius: 99px; margin-top: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--color-teal); }
.money-row { padding: 8px 10px; align-items: center; font-size: 13px; }
.money-row.got span, .money-row.got strong { color: var(--color-success); font-weight: 600; }
.will-get { margin: 0 0 8px; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); font-size: 12px; color: var(--color-muted); }
.will-get strong { display: block; color: var(--color-danger); font-size: 18px; font-family: var(--font-display); }
.khata-list { list-style: none; margin: 0; padding: 0; }
.khata-list li { padding: 7px 0; border-top: 1px solid var(--color-border); font-size: 12px; line-height: 1.35; }
.due { color: var(--color-danger); font-weight: 600; text-align: right; }
.paid { color: var(--color-success); font-weight: 600; text-align: right; }

.float-card {
  position: absolute; margin: 0; padding: 10px 14px 10px 10px; font-size: 13px; font-weight: 600; line-height: 1.35;
  color: var(--color-navy); max-width: 220px; z-index: 3; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-hover);
  animation: rise 600ms ease-out both, bob 4s ease-in-out 700ms infinite;
}
.float-icon { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.float-icon .icon { width: 18px; height: 18px; }
.float-got { left: 0; bottom: 0; color: var(--color-success); }
.float-got .float-icon { background: var(--color-success-soft); color: var(--color-success); }
.float-gas { right: 0; top: 0; background: var(--color-gold-soft); animation-delay: 180ms, 900ms; }
.float-gas .float-icon { background: var(--color-gold); color: var(--color-navy); }

/* Trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--color-border); }
.trust-row {
  list-style: none; margin-block: 0; margin-inline: auto; padding-block: 28px;
  display: grid; gap: 12px;
}
.trust-row li {
  display: flex; align-items: center; gap: 14px; min-height: 72px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--color-border);
  border-radius: 16px; font-weight: 600; color: var(--color-navy); line-height: 1.35;
}

/* Two modes */
.mode-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  background: #fff; border-radius: 999px; padding: 4px; margin-top: 12px;
  box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
}
.mode-switch button {
  position: relative; z-index: 1; min-height: 44px; min-width: 128px; border: 0; background: transparent;
  border-radius: 999px; font: 600 16px/1 var(--font-body); color: var(--color-navy); cursor: pointer;
  transition: color 250ms ease;
}
.mode-switch button[aria-selected="true"] { color: #fff; }
.mode-glider {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--color-teal); border-radius: 999px; transition: transform 250ms ease;
  box-shadow: 0 4px 12px rgba(133, 8, 38, 0.35);
}
.mode-stage { display: grid; margin-top: 16px; }
.mode-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 250ms ease, visibility 250ms; }
.mode-panel.is-active { opacity: 1; visibility: visible; }
.mode-layout { display: grid; gap: 40px; align-items: center; justify-items: center; }
.mode-layout > .phone {
  justify-self: center; margin: 32px 0;
  box-shadow: var(--shadow-phone), 0 0 0 28px rgba(133, 8, 38, 0.08), 0 0 0 60px rgba(133, 8, 38, 0.05);
}
.mode-points { list-style: none; margin: 0; padding: 0; width: min(100%, 480px); }
.mode-points li {
  display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px;
  padding: 12px 16px 12px 12px; margin-bottom: 12px; box-shadow: var(--shadow-card); font-weight: 600; color: var(--color-navy);
}

/* Personal features */
.split-intro, .biz-layout, .card-layout, .download-inner, .faq-wrap { display: grid; gap: 32px; }
.split-intro { margin-bottom: 36px; align-items: center; }
.frame-photo { margin: 0; width: 100%; min-width: 0; }
.frame-photo picture { display: block; width: 100%; }
.frame-photo img { width: 100%; border-radius: 16px; object-fit: cover; height: 280px; box-shadow: var(--shadow-card); }
.feature-scroller {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 12px; margin: -4px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.feature-scroller::-webkit-scrollbar { display: none; }
.feature-card, .plan-card, .story-card, .partner-tile, .call-sheet {
  background: #fff; border: 1px solid var(--color-border); border-radius: 16px; box-shadow: var(--shadow-card);
}
.feature-card {
  flex: 0 0 82%; scroll-snap-align: start; padding: 22px; min-width: 0;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.feature-card .icon { margin-bottom: 16px; }
.feature-card p, .biz-rows p, .steps p { color: var(--color-muted); margin: 0; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dots button {
  width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: var(--color-border); cursor: pointer;
  transition: width 200ms ease, background-color 200ms ease;
}
.dots button[aria-current="true"] { background: var(--color-teal); width: 20px; }

/* Business */
.biz-visual { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; width: 100%; max-width: 560px; margin-inline: auto; }
.biz-visual picture { display: block; grid-column: 1 / -1; grid-row: 1; }
.biz-photo { width: 100%; height: 300px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-card); }
.biz-visual .phone { grid-column: 2; grid-row: 1 / 3; align-self: end; margin-right: 16px; position: relative; z-index: 1; }
.wa-bubble {
  grid-column: 1; grid-row: 2; align-self: start; position: relative;
  margin: 16px 0 0; padding: 10px 12px 8px; border-radius: 4px 14px 14px 14px;
  background: var(--color-success-soft); box-shadow: var(--shadow-card); font-size: 14px; line-height: 1.45; color: var(--color-ink);
}
.wa-bubble::before {
  content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent;
  border-top-color: var(--color-success-soft); border-right-color: var(--color-success-soft);
}
.wa-bubble strong { display: block; color: var(--color-success); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.wa-time { display: block; text-align: right; font-size: 11px; color: var(--color-muted); margin-top: 4px; }
.biz-rows { display: grid; gap: 16px; }
.biz-rows article {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff;
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow-card);
  border-left: 4px solid transparent; transition: border-color 200ms ease, transform 200ms ease;
}
.biz-rows article:nth-child(even) { border-left-color: var(--color-gold); }
.biz-rows article:nth-child(odd) { border-left-color: var(--color-teal); }
.biz-rows h3 { margin-bottom: 4px; }

/* Card customers */
.card-layout { align-items: center; }
.plain-points { list-style: none; padding: 0; margin: 16px 0 0; }
.plain-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; min-height: 48px; color: var(--color-navy); }
.plain-points .icon {
  box-sizing: content-box; width: 16px; height: 16px; padding: 5px; border-radius: 999px;
  background: var(--color-teal); color: #fff;
}
.call-sheet { margin: 0; padding: 20px; box-shadow: var(--shadow-hover); }
.call-sheet figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-navy); margin-bottom: 12px;
}
.call-count { font: 600 12px/1 var(--font-body); background: var(--color-teal-light); color: var(--color-teal-dark); border-radius: 999px; padding: 6px 10px; }
.call-sheet ul { list-style: none; margin: 0; padding: 0; }
.call-sheet li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.call-who { display: flex; align-items: center; gap: 12px; }
.call-who strong { display: block; color: var(--color-navy); line-height: 1.3; }
.call-sheet small { display: block; color: var(--color-muted); font-size: 13px; }
.avatar {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none;
  background: var(--color-navy); color: #fff; font: 600 13px/1 var(--font-body);
}
.due-chip { color: var(--color-teal-dark); font-weight: 600; }
.due-chip.is-urgent { color: var(--color-danger); }
.mock-actions { display: flex; gap: 8px; }
.mock-actions span {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 600;
}
.mock-actions .icon { width: 14px; height: 14px; }
.act-call { background: var(--color-teal-light); color: var(--color-teal-dark); }
.act-wa { background: var(--color-success-soft); color: #167a45; }

/* Partners, steps, security, pricing */
.partner-grid, .security-grid, .plan-grid, .steps { display: grid; gap: 16px; }
.partner-grid { grid-template-columns: 1fr 1fr; }
.partner-tile {
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.partner-tile h3 { margin: 0; font-size: 17px; }
.partner-tile.is-soon { border-style: dashed; background: transparent; box-shadow: none; }
.partner-tile.is-soon .icon { background: var(--color-gold-soft); color: var(--color-navy); }
.disclaimer { font-size: 13px; line-height: 1.5; color: var(--color-muted); margin: 20px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps li { text-align: center; padding: 8px 12px; }
.step-no {
  width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--color-teal); color: #fff; font: 700 24px/1 var(--font-display);
  box-shadow: 0 0 0 8px var(--color-teal-light), 0 10px 24px rgba(133, 8, 38, 0.3);
  position: relative; z-index: 1;
}
.steps p { max-width: 280px; margin-inline: auto; }
.security-grid { list-style: none; margin: 0; padding: 0; }
.security-grid li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px; padding: 18px;
}
.security-grid h3 { margin: 0; font-size: 17px; }
.security-grid .icon { background: rgba(228, 77, 42, 0.14); color: var(--color-gold); }
.privacy-link { margin: 32px 0 0; }
.privacy-link .text-link { color: #fff; }

.bill-toggle {
  display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 4px; margin-top: 8px;
}
.bill-toggle button {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  background: transparent; font: 600 15px/1 var(--font-body); color: var(--color-navy); cursor: pointer;
}
.bill-toggle button[aria-pressed="true"] { background: var(--color-navy); color: #fff; }
.save-pill { background: var(--color-gold); color: var(--color-navy); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 12px; margin-inline: 4px; }
.plan-grid { align-items: stretch; margin-top: 8px; }
.plan-card { padding: 28px 24px 24px; display: flex; flex-direction: column; position: relative; transition: transform 200ms ease, box-shadow 200ms ease; }
.plan-card.is-popular { border: 2px solid var(--color-gold); box-shadow: var(--shadow-hover); margin-top: 16px; }
.plan-badge {
  position: absolute; top: -15px; left: 24px; margin: 0;
  background: var(--color-gold); color: var(--color-navy);
  font-size: 13px; font-weight: 600; border-radius: 999px; padding: 5px 12px;
  box-shadow: 0 4px 12px rgba(228, 77, 42, 0.35);
}
.plan-card h3 { margin-bottom: 4px; }
.plan-summary, .plan-note { color: var(--color-muted); font-size: 13px; font-weight: 500; line-height: 1.5; margin-bottom: 0; }
.plan-price { font-family: var(--font-display); color: var(--color-navy); font-size: 40px; font-weight: 700; margin: 16px 0 0; line-height: 1.1; }
.plan-price .period, .plan-price .rupee { font-size: 16px; font-weight: 600; }
.plan-price .rupee { vertical-align: 0.9em; margin-right: 2px; }
.plan-card ul { list-style: none; margin: 20px 0 24px; padding: 20px 0 0; border-top: 1px solid var(--color-border); }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.plan-card .icon {
  box-sizing: content-box; width: 12px; height: 12px; padding: 4px; margin-top: 3px;
  border-radius: 999px; background: var(--color-teal-light); color: var(--color-teal);
}
.plan-card .btn { margin-top: auto; }

/* Testimonials */
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; max-width: none; }
.carousel-head h2 { margin: 0; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav .icon-btn { background: #fff; border: 1px solid var(--color-border); color: var(--color-navy); transition: background-color 150ms ease, color 150ms ease; }
.carousel-nav .icon-btn:hover { background: var(--color-navy); color: #fff; }
.testimonial-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 4px 12px; margin: -4px;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.story-card { flex: 0 0 86%; scroll-snap-align: start; margin: 0; padding: 24px; display: flex; flex-direction: column; }
.story-card::before {
  content: "\201C"; display: block; height: 36px; margin-bottom: 4px;
  font: 700 72px/1 Georgia, "Times New Roman", serif; color: var(--color-gold);
}
.story-card p { font-size: 17px; color: var(--color-ink); flex: 1; }
.story-card footer { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--color-border); }
.story-card img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.story-card strong { color: var(--color-navy); }
.story-card small { display: block; color: var(--color-muted); }

/* FAQ */
.faq-intro { margin-bottom: 0; }
.faq-intro .btn { margin-top: 4px; }
.faq-item {
  background: #fff; border: 1px solid var(--color-border); border-radius: 16px;
  padding: 0 20px; margin-bottom: 12px; transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq-item.is-open { border-color: var(--color-teal); box-shadow: var(--shadow-card); }
.faq-item h3 { margin: 0; font-size: 17px; }
.faq-item button {
  width: 100%; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: transparent; border: 0; text-align: left; font: 600 17px/1.4 var(--font-display); color: var(--color-navy); cursor: pointer; padding: 10px 0;
}
.faq-item button .icon {
  box-sizing: content-box; width: 20px; height: 20px; padding: 6px; border-radius: 999px;
  background: var(--color-teal-light); color: var(--color-teal); transition: transform 200ms ease;
}
.faq-item.is-open button .icon { transform: rotate(180deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms ease; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { color: var(--color-muted); padding-bottom: 16px; margin: 0; }

/* Final CTA */
.download-band {
  position: relative; color: #fff; padding: 64px 0; overflow: clip;
  background:
    radial-gradient(520px 280px at 92% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(23, 5, 87, 0.25), transparent 70%),
    var(--ledger-lines),
    var(--color-teal);
}
.download-band h2 { color: #fff; margin-bottom: 20px; }
.download-inner { align-items: center; }
.qr-on-teal { background: #fff; color: var(--color-navy); border-radius: 16px; padding: 12px 20px 12px 12px; box-shadow: var(--shadow-hover); justify-self: start; }
.qr-on-teal img { width: 112px; height: 112px; padding: 0; }

.sticky-download {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 30;
  min-height: 52px; border-radius: 999px; background: var(--color-teal); color: #fff;
  text-decoration: none; font-weight: 600; align-items: center; justify-content: center;
  box-shadow: var(--shadow-hover);
}
.sticky-download.is-on { display: flex; }

/* Footer */
.site-footer { background: var(--color-navy); color: rgba(255, 255, 255, 0.86); padding-top: 64px; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 28px; align-items: start; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo img { height: 48px; max-width: 220px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer-brand .logo-word { color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, 0.75); max-width: 280px; margin: 0 0 16px; }
.socials { gap: 8px; margin: 0; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.socials a:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy); }
.socials .icon { width: 20px; height: 20px; }
.footer-col h2 { margin: 0 0 12px; font-size: 16px; color: #fff; }
.footer-col button {
  width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center;
  background: transparent; border: 0; color: #fff; font: 700 16px/1.3 var(--font-display); cursor: pointer; padding: 0;
}
.footer-col button::after { content: "+"; color: var(--color-gold); font-size: 22px; }
.footer-col.is-open button::after { content: "–"; }
.footer-links { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.footer-col.is-open .footer-links { display: grid; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: rgba(255, 255, 255, 0.82); transition: color 150ms ease; }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding: 20px 0 28px; font-size: 14px; }
.footer-bottom .container { display: grid; gap: 6px; }
.footer-bottom p { margin: 0; }
/* Leave room for the mobile sticky download bar */
.page-home .footer-bottom { padding-bottom: 88px; }

/* Inner pages */
.page { padding: 48px 0 72px; }
.narrow { max-width: 760px; }
.page h1 { font-size: 34px; line-height: 1.15; margin-top: 0; }
.page h2 { margin-top: 28px; }
form { display: grid; gap: 6px; margin: 16px 0 24px; }
label { font-weight: 600; font-size: 14px; }
.field {
  width: 100%; border: 1.5px solid var(--color-border); border-radius: 8px;
  min-height: 48px; padding: 10px 12px; font: 400 16px/1.5 var(--font-body); color: var(--color-ink);
}
textarea.field { min-height: 120px; }
.field-error { color: var(--color-danger); font-size: 14px; margin: 0 0 8px; }
.form-success { background: var(--color-teal-light); border-radius: 12px; padding: 12px 14px; font-weight: 600; }

.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: #fff; color: var(--color-ink); border-radius: 16px; box-shadow: var(--shadow-hover);
  padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.consent p { margin: 0; flex: 1 1 180px; font-size: 14px; }
.consent[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    animation: rise 400ms ease-out forwards;
    animation-play-state: paused;
  }
  .js [data-reveal].is-in { animation-play-state: running; }
}

@media (max-width: 767px) {
  #personal .split-intro {
    gap: 20px;
    margin-bottom: 28px;
  }
  #personal .split-intro > div { min-width: 0; }
  #personal .split-intro h2 {
    font-size: 24px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  #personal .split-intro .lede {
    font-size: 16px;
    margin-bottom: 0;
  }
  #personal .frame-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 240px;
    object-fit: cover;
  }
  #personal .feature-scroller {
    gap: 12px;
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }
  #personal .feature-card {
    flex: 0 0 min(78%, 280px);
    padding: 18px;
  }
  #personal .feature-card h3 { font-size: 17px; }
}
@media (max-width: 399px) {
  .container { padding-inline: 16px; }
  h1 { font-size: 30px; }
  .hero-cta .store-row, .store-row { width: 100%; flex-direction: column; align-items: stretch; }
  .store-badge { display: flex; justify-content: center; }
  .float-card { display: none; }
  .phone { zoom: 0.62; }
  .partner-grid { grid-template-columns: 1fr; }
  .logo img { height: 48px; max-width: min(220px, 64vw); }
  #personal .feature-scroller {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}
@media (min-width: 400px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row li { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
}
@media (min-width: 768px) {
  .phone { zoom: 0.85; }
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .trust-row li { flex-direction: row; text-align: left; justify-content: flex-start; }
  .feature-scroller,
  .partner-grid,
  .security-grid,
  .plan-grid,
  .steps {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    overflow: visible;
  }
  .feature-scroller, .testimonial-track { margin: 0; padding: 0; }
  .testimonial-track { padding-bottom: 12px; }
  .feature-card,
  .partner-tile,
  .security-grid > li,
  .plan-card,
  .steps > li { grid-column: span 6; flex: none; }
  .dots { display: none; }
  .mode-layout, .split-intro, .card-layout { grid-template-columns: repeat(12, 1fr); gap: 24px; justify-items: stretch; }
  .mode-layout > .phone,
  .split-intro > div,
  .card-layout > div { grid-column: span 5; }
  .mode-layout > .mode-points,
  .split-intro > .frame-photo,
  .card-layout > .call-sheet { grid-column: span 7; }
  .mode-layout > .mode-points { justify-self: center; }
  .story-card { flex-basis: calc(50% - 12px); }
  .footer-grid { grid-template-columns: minmax(240px, 1.4fr) repeat(3, 1fr); gap: 40px 32px; }
  .footer-links { display: grid; }
  .footer-col h2 { margin-bottom: 8px; }
  .footer-col button { pointer-events: none; min-height: 0; width: auto; }
  .footer-col button::after { content: none; }
  .footer-bottom .container { grid-template-columns: 1fr auto; align-items: center; }
  .download-inner { grid-template-columns: 1.4fr auto; }
  .qr-desk { display: flex; }
  .sticky-download, .sticky-download.is-on { display: none; }
  .page-home .footer-bottom { padding-bottom: 28px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .logo img { height: 62px; max-width: 290px; }
  .footer-brand .logo img { height: 56px; }
  .phone { zoom: 1; }
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 22px; }
  .lede, .plan-summary, .plan-note, .micro-trust { font-size: 14px; }
  .lede { font-size: 19px; }
  .desktop-nav, .header-cta { display: flex; }
  .menu-toggle { display: none; }
  .hero { padding: 96px 0; }
  .page-home .hero { padding-top: calc(var(--header-h) + 64px); }
  .section { padding: 96px 0; }
  .section-intro { margin-bottom: 48px; }
  .hero-grid { grid-template-columns: 55fr 45fr; align-items: center; gap: 24px; }
  .hero-visual { min-height: 520px; }
  .feature-card,
  .partner-tile,
  .security-grid > li { grid-column: span 3; }
  .partner-tile { grid-column: span 4; flex-direction: row; align-items: center; }
  .plan-card,
  .steps > li { grid-column: span 4; }
  .plan-grid { align-items: start; }
  .plan-card.is-popular { margin-top: -12px; }
  .steps::before {
    content: ""; position: absolute; top: 40px; left: calc(100% / 6); right: calc(100% / 6);
    border-top: 2px dashed var(--color-border);
  }
  .biz-layout { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
  .biz-layout > .biz-visual { grid-column: span 5; max-width: none; }
  .biz-layout > .biz-rows { grid-column: 7 / span 6; }
  .biz-rows article:nth-child(even) { margin-left: 32px; }
  .biz-rows article:nth-child(odd) { margin-right: 32px; }
  .biz-photo { height: 340px; }
  .faq-wrap { grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .story-card { flex-basis: calc(33.333% - 16px); }
  .page h1 { font-size: 48px; }
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover, .plan-card:hover, .partner-tile:hover, .story-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-hover);
  }
  .feature-card:hover, .partner-tile:hover { border-color: var(--color-teal); }
  .biz-rows article:hover { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
}

/* Page loader */
.page-loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: #fff; transition: opacity 280ms ease, visibility 280ms ease;
}
.page-loader img { width: min(280px, 72vw); height: auto; }
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

/* Policy pages */
.policy-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(228, 77, 42, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(133, 8, 38, 0.35), transparent 45%),
    var(--color-navy);
  color: #fff; padding: 32px 0 48px; overflow: hidden;
}
.policy-hero-grid { display: grid; gap: 28px; align-items: center; }
.policy-hero h1 { color: #fff; margin: 0 0 14px; }
.policy-hero .lede { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.policy-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.policy-chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 13px; font-weight: 600;
}
.policy-chips .icon { width: 16px; height: 16px; color: var(--color-gold); }
.policy-hero-art { justify-self: center; width: 100%; max-width: 440px; }
.policy-hero-art img {
  display: block; width: 100%; height: auto; border-radius: 28px;
  box-shadow: var(--shadow-phone); transform: rotate(-2deg);
}

.policy-layout { display: grid; gap: 8px; padding-block: 32px 56px; }
.policy-toc { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; }
.policy-toc summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; cursor: pointer; list-style: none;
  font: 600 13px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-teal);
}
.policy-toc summary::-webkit-details-marker { display: none; }
.policy-toc summary .icon { width: 18px; height: 18px; transition: transform 200ms ease; }
.policy-toc[open] summary .icon { transform: rotate(180deg); }
.policy-toc ol { list-style: none; margin: 0; padding: 0 10px 12px; display: grid; gap: 2px; }
.policy-toc a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--color-ink);
  text-decoration: none; font-size: 15px; line-height: 1.35; transition: background 150ms ease, color 150ms ease;
}
.policy-toc a span { min-width: 22px; color: var(--color-muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.policy-toc a:hover, .policy-toc a.is-active { background: #fff; color: var(--color-teal); box-shadow: var(--shadow-card); }
.policy-toc a.is-active span { color: var(--color-gold); }

.policy-section { padding: 28px 0; border-bottom: 1px solid var(--color-border); scroll-margin-top: calc(var(--header-h) + 16px); }
.policy-section h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 22px; line-height: 1.25; }
.policy-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--color-teal-light); color: var(--color-teal);
}
.policy-icon .icon { width: 22px; height: 22px; }
.policy-num {
  display: block; margin-bottom: 4px; font: 600 12px/1 var(--font-body);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold);
}
.policy-section p { margin: 0 0 14px; line-height: 1.75; }
.policy-section strong { color: var(--color-navy); }
.policy-list { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 10px; }
.policy-list li { position: relative; padding-left: 34px; line-height: 1.6; }
.policy-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e9e5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.policy-cards { display: grid; gap: 12px; margin: 4px 0 18px; }
.policy-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 16px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.policy-card-icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--color-gold-soft); color: var(--color-gold);
}
.policy-card:nth-child(even) .policy-card-icon { background: var(--color-teal-light); color: var(--color-teal); }
.policy-card-icon .icon { width: 20px; height: 20px; }
.policy-card strong { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 16px; }
.policy-card span { font-size: 15px; line-height: 1.55; color: var(--color-muted); }

.policy-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: 14px;
  background: var(--color-gold-soft); border-left: 4px solid var(--color-gold);
}
.policy-note .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--color-gold); }
.policy-note p { margin: 0; line-height: 1.6; }
.policy-note-ok { background: var(--color-success-soft); border-left-color: var(--color-success); }
.policy-note-ok .icon { color: var(--color-success); }

.policy-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; padding: 0; }
.policy-tags li {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--color-danger-soft); color: var(--color-danger); font-weight: 600; font-size: 14px;
}
.policy-tags .icon { width: 16px; height: 16px; }

.policy-steps { list-style: none; counter-reset: step; display: grid; gap: 12px; margin: 18px 0; padding: 0; }
.policy-steps li {
  counter-increment: step; padding: 18px 16px 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 16px; box-shadow: var(--shadow-card);
}
.policy-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px;
  border-radius: 50%; background: var(--color-navy); color: #fff; font: 700 15px/1 var(--font-display);
}
.policy-steps li:last-child::before { background: var(--color-success); }
.policy-steps strong { display: block; margin-bottom: 4px; font-family: var(--font-display); }
.policy-steps span { font-size: 14px; line-height: 1.55; color: var(--color-muted); }

.policy-figure {
  margin: 24px 0 8px; overflow: hidden; border-radius: 20px;
  background: var(--color-cream); border: 1px solid var(--color-border);
}
.policy-figure img { display: block; width: 100%; height: auto; }
.policy-figure figcaption { padding: 16px 18px; font-size: 15px; line-height: 1.55; color: var(--color-muted); }
.policy-figure figcaption strong {
  display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 18px; color: var(--color-navy);
}

.policy-contact-list { display: grid; gap: 10px; margin: 0 0 16px; }
.policy-contact-list div {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border);
}
.policy-contact-icon {
  grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: #fff; color: var(--color-teal);
}
.policy-contact-icon .icon { width: 20px; height: 20px; }
.policy-contact-list dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.policy-contact-list dd { margin: 0; font-weight: 600; color: var(--color-navy); overflow-wrap: anywhere; }
.policy-contact-list .pending { font-weight: 400; font-style: italic; color: var(--color-muted); }

.policy-section.policy-contact {
  margin-top: 28px; padding: 24px 20px; border: 0; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 100% 0%, rgba(228, 77, 42, 0.25), transparent 50%), var(--color-navy);
}
.policy-contact h2 { color: #fff; }
.policy-contact .policy-icon { background: rgba(255, 255, 255, 0.12); color: var(--color-gold); }
.policy-contact p { color: rgba(255, 255, 255, 0.85); }
.policy-contact .policy-contact-list { margin: 0; }
.policy-contact .policy-contact-list div { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); }
.policy-contact .policy-contact-icon { background: rgba(255, 255, 255, 0.12); color: var(--color-gold); }
.policy-contact .policy-contact-list dt { color: rgba(255, 255, 255, 0.6); }
.policy-contact .policy-contact-list dd, .policy-contact .policy-contact-list a { color: #fff; }
.policy-contact .policy-contact-list .pending { color: rgba(255, 255, 255, 0.65); }
.policy-ack {
  display: flex; gap: 10px; align-items: center; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px;
  background: var(--color-teal-light); color: var(--color-teal); font-weight: 600; line-height: 1.5;
}
.policy-ack .icon { flex: none; width: 20px; height: 20px; }

.policy-related { background: var(--color-surface); padding: 48px 0 56px; }
.policy-related h2 { margin: 0 0 20px; font-size: 26px; }
.related-grid { display: grid; gap: 14px; }
.related-card {
  display: grid; grid-template-columns: 96px 1fr 20px; gap: 14px; align-items: center; padding: 12px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 18px; color: var(--color-ink); text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.related-card img { width: 96px; height: 72px; border-radius: 12px; object-fit: cover; }
.related-card strong {
  display: block; margin-bottom: 2px; font-family: var(--font-display); color: var(--color-navy); font-size: 17px; line-height: 1.3;
}
.related-card span span { font-size: 14px; line-height: 1.45; color: var(--color-muted); }
.related-arrow { width: 20px; height: 20px; color: var(--color-teal); }
.policy-tagline {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 36px 0 0;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--color-navy);
}
.policy-tagline img { flex: none; width: 40px; height: 40px; border-radius: 10px; }

@media (min-width: 768px) {
  .policy-hero { padding: 48px 0 64px; }
  .policy-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-steps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .policy-figure { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
  .policy-figure figcaption { padding: 24px; }
  .policy-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-section.policy-contact { padding: 32px; }
  .policy-section h2 { font-size: 26px; }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-card { grid-template-columns: 1fr; align-content: start; padding: 14px 14px 18px; }
  .related-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .related-arrow { display: none; }
}
@media (min-width: 1024px) {
  .policy-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .policy-hero-art { justify-self: end; }
  .policy-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding-block: 48px 72px; }
  .policy-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
  .policy-toc {
    max-height: calc(100vh - var(--header-h) - 48px); overflow: auto;
    scrollbar-width: thin; scrollbar-color: #e9d3d9 transparent;
  }
  .policy-toc::-webkit-scrollbar { width: 6px; }
  .policy-toc::-webkit-scrollbar-track { background: transparent; margin: 14px 0; }
  .policy-toc::-webkit-scrollbar-thumb { background: #e9d3d9; border-radius: 999px; }
  .policy-toc::-webkit-scrollbar-thumb:hover { background: #d9b4bf; }
  .policy-toc::-webkit-scrollbar-button { display: none; height: 0; }
  .policy-toc summary { pointer-events: none; }
  .policy-toc summary .icon { display: none; }
  .policy-section:first-child { padding-top: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .policy-card:hover { border-color: var(--color-teal); transform: translateY(-2px); box-shadow: var(--shadow-card); }
  .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--color-teal); }
}
