/* ---------- Tokens ---------- */
:root {
  --navy: #0A1630;
  --ink: #14213D;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F5F7FB;
  --soft-2: #EAF0FB;
  --primary: #2D5BE3;
  --primary-600: #2148C2;
  --primary-50: #EEF3FF;
  --mint: #5EEAD4;
  --green: #0E9F6E;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 30, 70, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 30, 70, .32);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 600 .95rem/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--soft); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--soft-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav-panel { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 .95rem var(--font); cursor: pointer; }
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover { background: var(--soft); }
.nav-item { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 330px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s; }
.nav-item:hover .menu, .nav-item:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 10px; }
.menu a:hover { background: var(--soft); }
.menu-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.menu-icon svg { width: 18px; height: 18px; }
.menu strong { display: block; color: var(--ink); font-size: .95rem; }
.menu small { color: var(--muted); font-size: .85rem; }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
[data-page="payroll"] .nav-link[aria-haspopup], [data-page="spend"] .nav-link[aria-haspopup],
[data-page="pricing"] [data-nav="pricing"], [data-page="about"] [data-nav="about"], [data-page="contact"] [data-nav="contact"] { color: var(--primary); }

@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .nav-panel { display: none; position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; max-height: calc(100vh - 72px); overflow: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-open .nav-panel { display: flex; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav-item > .nav-link { display: none; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0; border: 0; box-shadow: none; }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { height: 48px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; background: radial-gradient(900px 480px at 88% -8%, #DCE6FF 0%, transparent 62%), radial-gradient(600px 380px at 0% 100%, #E7FBF7 0%, transparent 60%), linear-gradient(#fff, #F7F9FD); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hero .lead { margin-bottom: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .9rem; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }
.hero-sm { padding: 72px 0 64px; }
.hero-center { text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .btn-row { justify-content: center; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } .hero-grid > .float-wrap, .hero-grid > .card-stack { max-width: 680px; } }
@media (max-width: 980px) { .hero { padding: 56px 0 72px; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.band { padding: 40px 0; border-bottom: 1px solid var(--line); }
.band p { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 8px; }
.icon { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.icon svg { width: 22px; height: 22px; }
.icon.mint { background: #E3FBF6; color: #0F766E; }
.icon.amber { background: #FFF4DB; color: #A16207; }

.product-card { display: flex; flex-direction: column; padding: 36px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card .checks { flex: 1; margin-bottom: 28px; }
.product-card .visual { margin: -8px -8px 28px; padding: 28px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; min-height: 230px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.reverse > :first-child { order: 0; } }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D5BE3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks strong { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-tag { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 16px; font: 800 .95rem var(--display); color: var(--primary); }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Status legend (payroll page) ---------- */
.status-list { display: grid; gap: 12px; margin-top: 28px; }
.status-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.status-row p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 520px) { .status-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 64px; border-radius: 24px; background: radial-gradient(600px 300px at 100% 0%, rgba(94, 234, 212, .22), transparent 60%), var(--navy); color: #B9C6DE; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0; max-width: 560px; }
@media (max-width: 820px) { .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; background: var(--navy); color: #9FB0CC; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { margin-bottom: 16px; color: #fff; font: 700 .8rem var(--font); letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #C9D4EA; }
.site-footer a:hover { color: #fff; }
.footer-brand p { max-width: 340px; }
.footer-contact { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.footer-contact svg { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.disclosures { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; line-height: 1.7; color: #8496B5; }
.disclosures p { margin-bottom: .8em; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Dashboard mock ---------- */
.float-wrap { position: relative; padding-bottom: 72px; }
.mock { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 12px; color: #1F2A3D; line-height: 1.4; }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.m-brand { display: flex; align-items: center; gap: 6px; font: 800 13px var(--display); color: var(--navy); }
.m-brand svg { width: 18px; height: 18px; }
.m-co { display: flex; align-items: center; gap: 8px; }
.m-co span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.m-co i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #FDBA74, #F472B6); }
.mock-grid { display: grid; grid-template-columns: 124px 1fr; }
.mock-side { display: grid; align-content: start; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--line); }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: #475569; font-size: 11px; }
.mock-side svg { width: 13px; height: 13px; }
.mock-side .on { background: #E8EEFB; color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.mock-main { padding: 16px 18px 20px; min-width: 0; }
.m-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.m-title strong { font-size: 15px; }
.m-btns { display: flex; gap: 6px; }
.m-btn { padding: 5px 10px; border-radius: 6px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.m-btn.o { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.m-note { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 8px 10px; border-radius: 6px; background: #F1F4F8; font-size: 11px; }
.m-note svg { width: 13px; height: 13px; }
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.m-stats div { padding-left: 10px; border-left: 1px solid var(--line); }
.m-stats div:first-child { padding-left: 0; border-left: 0; }
.m-stats small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.m-stats b { display: block; font-size: 15px; }
.m-stats em { font-style: normal; font-size: 10px; color: #64748B; }
.m-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.m-chips span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; background: #F8FAFC; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.m-chips b { display: block; font-size: 10.5px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.float-card { position: absolute; right: -20px; bottom: 0; width: 90%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.float-card::before { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 22px; background: #DCE6FB; }
.m-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.m-table th { padding: 12px 14px; background: #F4F6F9; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; color: #1F2A3D; }
.m-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.m-table th { white-space: nowrap; }
.m-table tr:last-child td { border-bottom: 0; }
.m-table .num { text-align: right; }
.m-table .act { font-weight: 700; color: #1F6F8B; text-align: right; }
@media (max-width: 1240px) { .float-card { right: 0; } }
@media (max-width: 560px) {
  .mock-grid { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .float-wrap { padding-bottom: 0; }
  .float-card { position: relative; width: 100%; margin-top: 20px; }
  .float-card::before { display: none; }
  .m-table { font-size: 12px; }
  .m-table th, .m-table td { padding: 10px 8px; }
  .m-table .hide-sm { display: none; }
}

.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.pill-amber { background: #F8CF7E; color: #5A3D00; }
.pill-cyan { background: #8CE6F4; color: #064A57; }
.pill-blue { background: #DCE6FF; color: #1E3A8A; }
.pill-gray { background: #E8ECF2; color: #334155; }
.pill-red { background: #FFD9D9; color: #8A1C1C; }
.pill-green { background: #CDF5E3; color: #065F46; }

/* ---------- Card visual ---------- */
.bank-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: 380px; aspect-ratio: 1.586; padding: 22px 24px; border-radius: 18px; color: #fff; background: radial-gradient(420px 220px at 110% -10%, rgba(94, 234, 212, .45), transparent 60%), linear-gradient(135deg, #0B1C47 0%, #1D3FA8 60%, #2D5BE3 100%); box-shadow: 0 24px 48px -20px rgba(10, 22, 48, .55); }
.bank-card::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); }
.bc-top, .bc-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.bc-brand { display: flex; align-items: center; gap: 8px; font: 800 1.05rem var(--display); }
.bc-brand svg { width: 22px; height: 22px; }
.bc-tag { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.bc-mid { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #F1E3B5, #B8995A); }
.bc-mid svg { width: 22px; height: 22px; opacity: .85; }
.bc-num { position: relative; z-index: 1; font: 500 1.05rem ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; }
.bc-bottom { align-items: flex-end; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.bc-bottom small { display: block; opacity: .7; font-size: .6rem; }
.bc-net { font: 800 italic 1.35rem var(--display); letter-spacing: 0; text-transform: none; }
.bank-card.light { background: radial-gradient(420px 220px at 110% -10%, rgba(45, 91, 227, .28), transparent 60%), linear-gradient(135deg, #F8FAFF, #DCE6FF); color: var(--navy); }
.bank-card.light::after { border-color: rgba(45, 91, 227, .08); }
.card-stack { position: relative; width: 100%; max-width: 420px; margin: 0 auto; padding: 0 0 56px 48px; }
.card-stack .bank-card.light { position: absolute; left: 0; bottom: 0; width: 82%; transform: rotate(-6deg); }
.card-stack .bank-card:not(.light) { position: relative; z-index: 1; margin-left: auto; transform: rotate(3deg); }

/* ---------- Phone / Wallet ---------- */
.phone { position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 19; margin: 0 auto; padding: 12px; border-radius: 48px; background: #0B0F19; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3140; }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 58px 16px 18px; border-radius: 38px; background: #F2F2F7; display: flex; flex-direction: column; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 96px; height: 28px; border-radius: 20px; background: #0B0F19; transform: translateX(-50%); }
.wallet-title { margin-bottom: 14px; font: 700 1.6rem var(--font); color: #000; letter-spacing: -.02em; }
.phone .bank-card { max-width: none; padding: 14px 16px; border-radius: 12px; font-size: .85em; }
.phone .bank-card .chip { width: 30px; height: 22px; }
.phone .bank-card .bc-num { font-size: .78rem; }
.phone .bank-card .bc-net { font-size: 1rem; }
.wallet-pass { margin-top: 10px; height: 46px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.wallet-pass.b { height: 40px; opacity: .7; }
.ready { margin-top: auto; text-align: center; color: #3A3A3C; font-size: .82rem; }
.ready svg { width: 46px; height: 46px; margin: 0 auto 8px; color: var(--primary); }
.ready strong { display: block; color: #000; font-size: .95rem; }
.wallet-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 10px; background: #000; color: #fff; font-weight: 600; }
.wallet-btn svg { width: 20px; height: 20px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg); }
.plan .tag { position: absolute; top: -12px; left: 30px; padding: 4px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan .for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan .model { margin: 18px 0 2px; font: 800 1.7rem var(--display); color: var(--ink); letter-spacing: -.02em; }
.plan .model-note { color: var(--muted); font-size: .88rem; }
.plan .checks { flex: 1; margin: 22px 0 30px; }
.plan .checks li { font-size: .95rem; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.include-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.include-grid h3 { font-size: 1rem; margin-bottom: 12px; }
.include-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .93rem; color: var(--muted); }
@media (max-width: 980px) { .include-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .include-grid { grid-template-columns: 1fr; } }

.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.fee-table th, .fee-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.fee-table th { background: var(--soft); color: var(--ink); font-weight: 600; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table td:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- Legal ---------- */
.legal-hero { padding: 64px 0 40px; background: var(--soft); border-bottom: 1px solid var(--line); }
.legal-hero p { margin: 0; color: var(--muted); }
.prose { max-width: 800px; margin: 0 auto; padding: 56px 0 96px; }
.prose h2 { margin-top: 2.2em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; margin: 16px 0 24px; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.prose .toc { padding: 20px 24px; border-radius: 12px; background: var(--soft); }
.prose .toc ol { margin: 8px 0 0; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .prose .toc ol { columns: 1; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 16px; padding: 36px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }
.form-success { display: none; padding: 16px; border-radius: 12px; background: #E7F8F0; color: #065F46; font-weight: 500; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 22px; border-radius: 14px; background: var(--soft); }
.contact-item .icon { margin: 0; flex: none; background: #fff; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 24px 18px; } .form-row { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.facts { display: grid; grid-template-columns: 180px 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { padding-bottom: 0; border-bottom: 0; } }
.status-row > .pill { justify-self: start; }
.float-card .m-table { font-size: 12.5px; }
.float-card .m-table th, .float-card .m-table td { padding-left: 11px; padding-right: 11px; }
.float-card .pill { padding: 4px 9px; font-size: 10px; }
.hero-grid > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .contact-grid > * { min-width: 0; }
@media (max-width: 560px) { .m-title { flex-wrap: wrap; } .m-stats { grid-template-columns: 1fr 1fr; } .m-stats div:nth-child(3) { display: none; } .m-chips span:nth-child(n+3) { display: none; } }
@media (max-width: 560px) { .float-card .m-table th:last-child, .float-card .m-table td.act { display: none; } }
@media (max-width: 560px) {
  .m-table th, .m-table td { white-space: normal; padding-left: 10px; padding-right: 10px; }
  .m-table .num { white-space: nowrap; }
  .product-card { padding: 24px 20px; }
  .product-card .visual { margin: 0 0 24px; padding: 16px 10px; }
}
@media (max-width: 560px) { .m-table .pill { padding: 3px 8px; font-size: 9.5px; letter-spacing: .04em; } }
