:root {
  --navy: #2039a5;
  --navy-dark: #14266f;
  --slate: #61708a;
  --gold: #ffad3f;
  --gold-dark: #dc7e08;
  --bg: #f6f8ff;
  --card: #ffffff;
  --text: #263451;
  --muted: #68758d;
  --line: #dce2f2;
  --success: #207a54;
  --danger: #b43d3d;
  --shadow: 0 18px 46px rgba(32, 57, 165, 0.11);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(232, 163, 61, 0.65); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  padding: 10px 14px; background: #fff; color: var(--navy); border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.surface { background: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
  color: var(--navy); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--gold); border-radius: 99px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading > div { max-width: 720px; }
h1, h2, h3 { color: var(--navy-dark); line-height: 1.12; letter-spacing: -0.035em; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 6.2vw, 5.2rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin-top: 0; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--slate); max-width: 700px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.accent { color: var(--gold-dark); }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px); border-bottom: 1px solid rgba(220, 228, 235, 0.85);
}
.navbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-dark); min-width: 260px; }
.brand-logo { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: .035em; }
.brand-copy small { margin-top: 6px; color: #75819a; font-size: .57rem; letter-spacing: .07em; font-weight: 700; white-space: nowrap; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px;
  background: var(--navy); color: #fff; font-size: 0.82rem; letter-spacing: -0.03em;
  box-shadow: 0 7px 18px rgba(32, 57, 165, 0.2);
}
.nav-menu { display: flex; align-items: center; gap: 25px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { font-size: 0.92rem; font-weight: 650; color: #384b5c; }
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--navy); }
.nav-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy); transition: 0.25s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 12px;
  background: var(--navy); color: #fff !important; font-weight: 800; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32, 57, 165, 0.22); background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: #2f260f !important; }
.btn-gold:hover { background: #f0b457; }
.btn-outline { background: transparent; color: var(--navy) !important; border-color: #9fb1c0; }
.btn-outline:hover { background: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 82px; background: linear-gradient(135deg, #f8f9ff 0%, #f3f6ff 58%, #fff8ec 100%); }
.hero::before {
  content: ""; position: absolute; width: 540px; height: 540px; right: -200px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.2), rgba(232,163,61,0) 67%); pointer-events: none;
}
.hero::after { content: ""; position: absolute; inset: 0; background: url('../images/limiva-pattern.svg') center/cover no-repeat; pointer-events: none; opacity: .72; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 70px; }
.hero-copy p { max-width: 650px; }
.hero h1 span { color: var(--gold-dark); }
.trust-line { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--slate); font-size: 0.9rem; }
.trust-line span::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 7px; }
.phone-stage { position: relative; min-height: 575px; display: grid; place-items: center; }
.phone-stage::after { content: ""; position: absolute; width: 86%; aspect-ratio: 1; background: linear-gradient(145deg, #dfe5ff, #fff0d8); border-radius: 42% 58% 60% 40%; z-index: -1; }
.phone {
  position: relative; width: 320px; background: #0b1227; border: 9px solid #0b1227; border-radius: 46px;
  padding: 10px; box-shadow: 0 34px 72px rgba(13, 27, 89, .32); transform: rotate(2deg);
}
.phone::before { content: ""; position: absolute; z-index: 3; top: 18px; left: 50%; width: 92px; height: 25px; transform: translateX(-50%); border-radius: 0 0 16px 16px; background: #0b1227; }
.phone::after { content: ""; position: absolute; right: -13px; top: 125px; width: 4px; height: 74px; border-radius: 0 4px 4px 0; background: #25304a; }
.phone-screen { height: 510px; border-radius: 31px; overflow: hidden; background: #f4f6fc; padding: 0; }
.app-screen-image { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-top { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 0.75rem; }
.phone-logo { font-weight: 900; font-size: 1.1rem; }
.phone-app-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.phone-balance { color: #fff; padding: 58px 0 34px; }
.phone-balance small { display: block; opacity: .75; }
.phone-balance strong { font-size: 2rem; }
.phone-card { background: #fff; border-radius: 18px; box-shadow: 0 12px 28px rgba(32,57,165,.13); padding: 18px; margin-bottom: 12px; }
.phone-card b { display: block; color: var(--navy); }
.phone-card small { color: var(--muted); }
.floating-note { position: absolute; z-index: 4; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; box-shadow: var(--shadow); font-size: .84rem; backdrop-filter: blur(10px); }
.floating-note b { display: block; color: var(--navy); }
.note-one { left: -12px; top: 120px; }
.note-two { right: -16px; bottom: 110px; }

.metrics { margin-top: -1px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.metric { padding: 30px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.metric span { color: var(--muted); font-size: 0.9rem; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 28px rgba(32,57,165,.05); }
.card:hover { border-color: #b6c5d1; }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: #eef1ff; color: var(--navy); font-size: 1.25rem; font-weight: 900; margin-bottom: 40px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

.brand-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; padding: 58px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, #2039a5, #14266f); box-shadow: 0 26px 60px rgba(32,57,165,.24); }
.brand-banner::after { content: ""; position: absolute; inset: 0; background: url('../images/limiva-pattern.svg') center/cover no-repeat; filter: brightness(2); opacity: .3; }
.brand-banner > * { position: relative; z-index: 1; }
.brand-banner h2, .brand-banner h3, .brand-banner .eyebrow { color: #fff; }
.brand-banner p { color: #dbe1ff; }
.banner-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.banner-point { min-height: 130px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.banner-point strong { display: block; margin-bottom: 8px; color: #fff; }
.banner-point span { color: #dbe1ff; font-size: .86rem; }

.use-list { border-top: 1px solid var(--line); }
.use-item { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 30px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.use-num { color: var(--gold-dark); font-weight: 900; letter-spacing: .06em; }
.use-item h3 { font-size: 1.45rem; margin-bottom: 0; }
.use-item p { color: var(--muted); margin-bottom: 0; }

.trust-section { background: var(--navy); color: #d9e4ec; }
.trust-section h2, .trust-section h3, .trust-section .eyebrow { color: #fff; }
.trust-section .eyebrow::before { background: var(--gold); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); overflow: hidden; }
.trust-card { padding: 35px; background: var(--navy); }
.trust-card span { display: block; color: var(--gold); font-size: 1.5rem; margin-bottom: 20px; }
.trust-card p { color: #bfcfdb; margin-bottom: 0; }

.download-panel { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, #eef1ff, #fff7ea); padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; border: 1px solid #dfe4f6; }
.download-panel::after { content: ""; position: absolute; inset: 0; background: url('../images/limiva-pattern.svg') center/cover no-repeat; opacity: .55; pointer-events: none; }
.download-panel > * { position: relative; z-index: 1; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.store-badge { background: #10283c; color: #fff; border-radius: 10px; padding: 9px 15px; min-width: 145px; font-size: .75rem; line-height: 1.15; }
.store-badge b { display: block; font-size: 1.05rem; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #eef1ff 0%, #f6f8ff 62%, #fff5e6 100%); padding: 80px 0 72px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: url('../images/limiva-pattern.svg') center/cover no-repeat; opacity: .7; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { font-size: .85rem; color: var(--slate); margin-bottom: 28px; }
.page-hero h1 { max-width: 890px; font-size: clamp(2.55rem, 5.5vw, 4.6rem); }
.page-hero .lead { max-width: 760px; }

.product-feature { display: grid; grid-template-columns: 410px 1fr; gap: 62px; align-items: center; }
.product-visual { position: relative; overflow: hidden; background: linear-gradient(145deg, #e6ebff, #fff6e8); border: 1px solid var(--line); border-radius: 30px; min-height: 560px; display: grid; place-items: center; padding: 38px; }
.product-visual::before { content: ""; position: absolute; inset: 0; background: url('../images/limiva-pattern.svg') center/cover no-repeat; opacity: .65; }
.app-showcase { position: relative; z-index: 1; width: 250px; height: 490px; overflow: hidden; border: 8px solid #111b3d; border-radius: 38px; background: #fff; box-shadow: 0 28px 58px rgba(25,44,124,.28); transform: rotate(-2deg); }
.app-home-preview { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen-caption { position: absolute; z-index: 2; left: 24px; bottom: 24px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--navy-dark); font-size: .72rem; font-weight: 800; box-shadow: var(--shadow); }
.product-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.product-heading img { width: 58px; height: 58px; border-radius: 17px; flex: 0 0 58px; }
.product-heading h2 { margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.tag-list li { border-radius: 99px; background: #eef1ff; color: var(--navy); padding: 7px 12px; font-size: .82rem; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.placeholder-card { border-style: dashed; }
.placeholder-label { display: inline-block; background: #f2f5f7; padding: 5px 9px; border-radius: 6px; font-size: .75rem; color: var(--slate); margin-bottom: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--success); font-weight: 900; }
.notice { border-left: 4px solid var(--gold); background: #fff8ec; padding: 20px 22px; border-radius: 0 12px 12px 0; color: #584525; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 720px; }
th, td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); }
th { color: var(--navy); background: #eef3f7; font-size: .88rem; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 76px 1fr 220px; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-number { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 900; }
.step-time { color: var(--navy); font-size: .88rem; font-weight: 800; padding: 13px 15px; background: #eef1ff; border-radius: 10px; text-align: center; }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--muted); margin-bottom: 0; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 38px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy-dark); font-size: .9rem; font-weight: 750; }
.field input, .field select, .field textarea, .search-input {
  width: 100%; border: 1px solid #b9c6d0; border-radius: 10px; min-height: 50px; padding: 11px 13px; background: #fff; color: var(--text);
}
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: var(--navy); outline: 3px solid rgba(32,57,165,.1); }
.field .error { min-height: 19px; color: var(--danger); font-size: .78rem; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.form-note { color: var(--muted); font-size: .8rem; margin: 18px 0; }
.alert-success { display: none; margin-top: 18px; padding: 15px 17px; border-radius: 10px; background: #e8f7ef; color: #155f40; font-weight: 700; }
.alert-success.visible { display: block; }

.simulator-section { background: linear-gradient(135deg, #f7f8ff 0%, #fff 58%, #fff7ea 100%); }
.simulator-layout { align-items: center; }
.plan-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.plan-steps li { display: flex; align-items: center; gap: 14px; }
.plan-steps li > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: #eef1ff; color: var(--navy); font-weight: 900; }
.plan-steps strong, .plan-steps small { display: block; }
.plan-steps strong { color: var(--navy-dark); }
.plan-steps small { color: var(--muted); margin-top: 2px; }
.simulator-card { position: relative; overflow: hidden; padding: 38px; border: 1px solid #dce2f2; border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 24px 60px rgba(32,57,165,.13); }
.simulator-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -130px; top: -135px; border-radius: 50%; background: linear-gradient(145deg, rgba(32,57,165,.15), rgba(255,173,63,.13)); }
.simulator-card > * { position: relative; z-index: 1; }
.simulator-card-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.simulator-card-head h3 { margin: 5px 0 0; font-size: 1.55rem; }
.simulator-kicker { color: var(--navy); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.privacy-chip { padding: 7px 11px; border-radius: 99px; background: #e7f8f0; color: #15724e; font-size: .78rem; font-weight: 850; white-space: nowrap; }
.simulator-card form { display: grid; gap: 20px; }
.simulator-info { display: flex; gap: 11px; align-items: flex-start; padding: 15px 16px; border-radius: 13px; background: #f4f6ff; }
.simulator-info > span { color: var(--success); font-weight: 900; }
.simulator-info p { margin: 0; color: var(--muted); font-size: .8rem; }
.btn-block { width: 100%; }
.simulator-result[hidden] { display: none; }
.simulator-result { padding-top: 4px; }
.result-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: #e7f8f0; color: #168459; font-size: 1.5rem; font-weight: 900; }
.simulator-result h3 { font-size: 1.7rem; margin: 7px 0 20px; }
.simulator-result > p { color: var(--muted); font-size: .88rem; }
.rate-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.rate-summary > div { padding: 17px; border-radius: 15px; background: linear-gradient(145deg, #eef1ff, #f8f9ff); border: 1px solid #dfe4f5; }
.rate-summary span, .rate-summary strong, .rate-summary small { display: block; }
.rate-summary span { color: var(--muted); font-size: .75rem; }
.rate-summary strong { margin: 5px 0 2px; color: var(--navy); font-size: 1.15rem; }
.rate-summary small { color: #69758e; }
.result-list { margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.result-list div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-list dt { color: var(--muted); font-size: .86rem; }
.result-list dd { margin: 0; color: var(--navy-dark); font-weight: 850; text-align: right; }
.breakdown-title { margin: 4px 0 12px; color: var(--navy-dark); font-size: 1rem; }
.breakdown-table { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #fff; }
.breakdown-table > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.breakdown-table > div:last-child { border-bottom: 0; }
.breakdown-table span { color: var(--muted); }
.breakdown-table strong { color: var(--navy-dark); text-align: right; }
.breakdown-table .total { padding-block: 14px; background: #eef1ff; }
.breakdown-table .total span, .breakdown-table .total strong { color: var(--navy); font-weight: 900; }
.simulation-disclaimer { margin: 16px 0 0; padding-left: 12px; border-left: 3px solid var(--gold); line-height: 1.55; }

.timeline { position: relative; display: grid; gap: 0; margin-top: 35px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 94px; width: 2px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 70px 1fr; gap: 52px; position: relative; padding: 0 0 38px; }
.timeline-item::before { content: ""; position: absolute; left: 88px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); }
.timeline-year { color: var(--navy); font-weight: 900; }
.timeline-item h3 { margin-bottom: 8px; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { text-align: center; }
.avatar { width: 94px; height: 94px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(145deg,#dce6ee,#f7f9fb); display: grid; place-items: center; color: var(--navy); font-size: 2rem; font-weight: 850; }

.category-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.category-nav button { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 9px 14px; border-radius: 99px; cursor: pointer; font-weight: 700; }
.category-nav button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; margin-bottom: 28px; }
.search-wrap { min-width: 0; }
.search-wrap label { display: block; margin-bottom: 8px; color: var(--navy-dark); font-size: .9rem; font-weight: 750; line-height: 1.35; }
.search-field { position: relative; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--navy); pointer-events: none; }
.search-wrap .search-input { display: block; padding-left: 48px; }
.faq-tools > .btn { white-space: nowrap; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(32,57,165,.04); }
.faq-item details { border-radius: inherit; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; color: var(--navy-dark); font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #eef1ff; color: var(--navy); font-size: 1.15rem; transition: transform .25s; }
.faq-item details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-answer { padding: 0 24px 24px; color: var(--muted); max-width: 900px; }
.faq-answer p { margin: 0; }
.no-results { display: none; padding: 32px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid.two { grid-template-columns: repeat(2, 1fr); }
.contact-card a { color: var(--navy); font-weight: 800; word-break: break-word; }
.map-placeholder { min-height: 360px; border-radius: 24px; background: #dfe8ef; border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 30px; }
.map-pin { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); margin: 0 auto 28px; display: grid; place-items: center; }
.map-pin::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #fff; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 58px; align-items: start; }
.legal-nav { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.legal-nav a { display: block; padding: 9px 10px; border-radius: 7px; color: var(--slate); font-size: .88rem; }
.legal-nav a:hover { color: var(--navy); background: #eef3f7; }
.legal-content section { scroll-margin-top: 110px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: 1.65rem; }
.legal-content h3 { font-size: 1.05rem; margin-top: 24px; }
.legal-content p, .legal-content li { color: #4f6170; }

.site-footer { background: #111d55; color: #d5dcf6; padding: 68px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 60px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer .brand-copy strong { color: #fff; }
.site-footer .brand-copy small { color: #aeb9e0; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer p, .site-footer a { font-size: .88rem; color: #b9c9d5; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 9px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: .8rem; color: #91a8b9; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 50; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; inset: 77px 0 auto; max-height: calc(100vh - 77px); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 28px; border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .25s; }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu li a { display: block; padding: 13px 5px; }
  .nav-menu .btn { margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-copy .button-row, .trust-line { justify-content: center; }
  .phone-stage { min-height: 500px; }
  .metric-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-feature { grid-template-columns: 330px 1fr; gap: 35px; }
  .brand-banner { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; display: flex; gap: 3px; overflow-x: auto; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
  .section-heading { display: block; }
  .navbar { min-height: 76px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-logo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy small { font-size: .44rem; letter-spacing: .035em; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
  .hero { padding: 62px 0 60px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 3.55rem); }
  .phone-stage { transform: scale(.9); margin: -20px 0; }
  .note-one { left: -4%; }
  .note-two { right: -4%; }
  .metric-grid, .card-grid, .trust-grid, .product-grid, .people-grid, .contact-grid, .contact-grid.two { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .use-item { grid-template-columns: 50px 1fr; gap: 16px; }
  .use-item p { grid-column: 2; }
  .download-panel { padding: 35px 25px; grid-template-columns: 1fr; }
  .download-panel::after { right: -30px; }
  .page-hero { padding: 58px 0 52px; }
  .product-feature, .split { grid-template-columns: 1fr; gap: 35px; }
  .product-visual { min-height: 500px; padding: 26px; }
  .app-showcase { width: 230px; height: 450px; }
  .brand-banner { padding: 36px 24px; }
  .banner-points { grid-template-columns: 1fr; }
  .step { grid-template-columns: 58px 1fr; }
  .step-time { grid-column: 2; text-align: left; }
  .form-card { padding: 26px 20px; }
  .simulator-card { padding: 28px 20px; }
  .rate-summary { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .timeline::before { left: 74px; }
  .timeline-item { grid-template-columns: 55px 1fr; gap: 40px; }
  .timeline-item::before { left: 68px; }
  .faq-tools { grid-template-columns: 1fr; }
  .faq-tools > .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
