/* Fintap — site styles. Brand: teal #01ccd2 + navy #004964, Inter. */
:root {
  --teal: #01ccd2;
  --teal-600: #00b5bb;
  --teal-700: #0b6f75;
  --teal-50: #e3f2f2;
  --accent: #0b7c83;      /* deep sea: accents on light backgrounds */
  --aqua: #7fe3e6;        /* deep sea: accents on navy */
  --teal-100: #c9f4f5;
  --navy: #004964;
  --navy-800: #003a50;
  --navy-900: #00283a;
  --ink: #0d1b24;
  --text: #3d4b56;
  --muted: #64727c;
  --line: #e3e9ed;
  --soft: #f1f7f7;
  --white: #fff;
  --danger: #c62828;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 36, .06), 0 1px 3px rgba(13, 27, 36, .05);
  --shadow: 0 10px 30px -12px rgba(0, 40, 58, .18), 0 4px 10px -6px rgba(0, 40, 58, .08);
  --shadow-lg: 0 30px 60px -20px rgba(0, 40, 58, .28);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
h4 { font-size: 1.1rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.center .eyebrow::before { display: none; }
.lead { font-size: 1.16rem; color: var(--text); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bar { width: 48px; height: 4px; background: var(--accent); border-radius: 4px; margin: 18px 0 22px; }
.center .bar { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 inherit; letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--teal); color: var(--navy-900); box-shadow: 0 8px 20px -8px rgba(1, 204, 210, .7); }
.btn--primary:hover { background: #12d8de; color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(1, 204, 210, .75); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(0, 73, 100, .22); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { color: var(--navy-900); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.textlink { font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.textlink svg { width: 16px; height: 16px; transition: transform .2s; }
.textlink:hover svg { transform: translateX(3px); }

/* Utility bar + header */
.utility { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.utility .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.utility a { color: #fff; text-decoration: none; font-weight: 500; }
.utility a:hover { color: var(--aqua); }
.utility__right { display: flex; gap: 22px; align-items: center; }
.utility__right span { opacity: .8; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 40, 58, .35); }
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.logo { display: block; flex: none; }
.logo img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--navy); background: var(--soft); }
.nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: none; } .nav__item:hover > .nav__link svg { transform: rotate(180deg); } }
.dropdown a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.dropdown a:hover { background: var(--soft); color: var(--ink); }
.dropdown__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-50); display: grid; place-items: center; color: var(--navy); }
.dropdown__icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-weight: 600; font-size: .98rem; }
.dropdown small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.dropdown--grid { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown--grid a { padding: 10px 14px; font-weight: 500; font-size: .95rem; }
.dropdown--grid .dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding-top: 14px; color: var(--navy); font-weight: 600; }
.header__cta { display: flex; align-items: center; gap: 18px; margin-left: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
.header__phone svg { width: 18px; height: 18px; color: var(--teal-700); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(0, 20, 30, .45); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 20px 22px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__top .logo img { width: 116px; }
.drawer__group { border-top: 1px solid var(--line); padding: 14px 0; }
.drawer__label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.drawer a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.drawer .btn { margin-top: 18px; }
.drawer__contact { margin-top: auto; padding-top: 18px; font-size: .95rem; color: var(--muted); }
.drawer__contact a { display: inline; font-weight: 600; padding: 0; color: var(--navy); }

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: #eef2f4; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 85% at 50% 50%, rgba(246, 248, 249, .97) 0%, rgba(246, 248, 249, .92) 60%, rgba(246, 248, 249, .55) 100%); }
.hero .container { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(150px, 15vw, 190px); }
.hero__copy { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 20px; text-wrap: balance; }
.hero h1 span { color: var(--navy); }
.hero .lead { color: #42515c; max-width: 540px; margin: 0 auto 30px; }
.hero .btn-row { justify-content: center; }
.hero__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero__note svg { width: 18px; height: 18px; color: var(--teal-700); flex: none; }

.feature-cards { position: relative; z-index: 2; margin-top: -110px; }
.feature-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.feature-card { padding: 36px 34px 38px; border-right: 1px solid var(--line); }
.feature-card:last-child { border-right: 0; }
.feature-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-50); display: grid; place-items: center; margin-bottom: 20px; }
.feature-card__icon img { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Stats band */
.stats { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border-radius: 24px; padding: 44px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(127, 227, 230, .14); }
.stat { position: relative; z-index: 1; text-align: center; }
.stat__num { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.stat__num em { font-style: normal; color: var(--aqua); }
.stat__label { margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: .95rem; }

/* Generic grids/cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--navy)); }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.product-card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--teal-50); color: var(--navy); display: grid; place-items: center; margin-bottom: 22px; }
.product-card__icon svg { width: 30px; height: 30px; }
.product-card h3 { font-size: 1.55rem; margin-bottom: 12px; color: var(--navy); }
.product-card ul { list-style: none; padding: 0; margin: 8px 0 26px; }
.product-card li { position: relative; padding-left: 30px; margin: 10px 0; }
.product-card .textlink { margin-top: auto; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 34px; margin: 12px 0; color: var(--text); }
.check-list li::before, .product-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004964' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.benefit { display: flex; gap: 18px; }
.benefit img { width: 52px; height: 52px; flex: none; }
.benefit h3 { margin-bottom: 4px; font-size: 1.08rem; letter-spacing: -.005em; }
.benefit p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Requirements */
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.req__item { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.req__value { font-size: 1.65rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.req__label { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* Calculator */

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 4px; font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004964' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 4px 22px; color: var(--text); max-width: 760px; }

/* Page hero (inner) */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .9; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 32, 46, .92) 0%, rgba(0, 40, 58, .78) 45%, rgba(0, 40, 58, .35) 100%); }
.page-hero .container { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: #fff; max-width: 760px; font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.page-hero .lead { color: rgba(255, 255, 255, .86); max-width: 620px; }
.page-hero .eyebrow { color: var(--aqua); }
.page-hero--plain { background: linear-gradient(135deg, #f1f7f7 0%, #e3f2f2 100%); color: var(--ink); }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--compact .container { padding-top: 40px; padding-bottom: 40px; }
.page-hero--compact h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.page-hero--compact .lead { font-size: 1.05rem; margin: 0; }
.page-hero--plain .lead { color: var(--text); }
.page-hero--plain .eyebrow { color: var(--teal-700); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--aqua); flex: none; }

/* Forms */
.form-card { background: #fff; color: var(--text); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 32px; }
.form-card h2, .form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card__sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 7px; }
.field .req-star { color: var(--teal-700); }
.field .hint { display: block; font-size: .82rem; color: var(--muted); margin-top: 6px; font-weight: 400; }
.field .hint[hidden] { display: none; }
.field input:not([type]), .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=url], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid #d5dee3; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem/1.4 inherit; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364727c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11, 124, 131, .16); outline: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .84rem; margin-top: 6px; }
.field.has-error .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices--1 { grid-template-columns: 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice > span { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 16px; border: 1.5px solid #d5dee3; border-radius: 12px; cursor: pointer; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; line-height: 1.35; }
.choice > span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9c6cd; transition: all .15s; }
.choice input[type=checkbox] + span::before { border-radius: 5px; }
.choice input:checked + span { border-color: var(--accent); background: var(--teal-50); }
.choice input:checked + span::before { border: 5px solid var(--navy); }
.choice input[type=checkbox]:checked + span::before { border: 0; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: var(--muted); margin: 8px 0 14px; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.clickwrap { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 6px 0 16px; }
.clickwrap a { color: var(--navy); }
.form-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 500; margin-top: 14px; }
.form-trust svg { width: 16px; height: 16px; color: var(--teal-700); }
.hp { position: absolute !important; left: -9999px; }
.progress { display: flex; gap: 8px; margin-bottom: 24px; }
.progress__step { flex: 1; }
.progress__bar { height: 6px; border-radius: 6px; background: #e3eaee; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.progress__step.is-done .progress__bar i, .progress__step.is-active .progress__bar i { width: 100%; }
.progress__label { font-size: .78rem; color: var(--muted); margin-top: 8px; font-weight: 600; }
.progress__step.is-active .progress__label { color: var(--navy); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeUp .25s ease; }
.form-step__title { font-size: 1.25rem; margin-bottom: 18px; }
.form-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 10px; }
.form-nav .btn--ghost { padding: 0 22px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.file-drop { display: block; border: 2px dashed #b9c6cd; border-radius: 16px; padding: 32px 20px; text-align: center; background: #fbfdfe; cursor: pointer; transition: border-color .15s, background .15s; }
.file-drop:hover, .file-drop.is-over { border-color: var(--accent); background: var(--teal-50); }
.file-drop svg { width: 40px; height: 40px; color: var(--teal-700); margin: 0 auto 10px; }
.file-drop strong { display: block; font-size: 1.05rem; }
.file-drop small { color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: .9rem; }
.file-list li { display: flex; justify-content: space-between; padding: 8px 12px; background: var(--soft); border-radius: 8px; margin-top: 6px; }

/* Full application (/apply-now/) */
.form-step__sub { color: var(--muted); margin: -10px 0 18px; font-size: .95rem; }
.owner { border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 4px; margin-bottom: 16px; }
.owner__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-card .owner__title { font-size: 1.05rem; margin-bottom: 4px; }
.owner__sub { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
[data-add-owner] { margin: 0 0 22px; }
.legal-box { background: var(--soft); border-radius: 12px; padding: 16px 18px; font-size: .86rem; line-height: 1.55; color: var(--text); margin-bottom: 18px; }
.legal-box p { margin: 0; }
.form-status { font-size: .92rem; color: var(--navy); font-weight: 600; margin: 0 0 10px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.file-drop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.file-list li { gap: 12px; align-items: center; }
.file-list li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-list li > span:last-child { flex: none; color: var(--muted); }
.file-list button { background: none; border: 0; color: var(--navy); font: 600 .85rem inherit; cursor: pointer; padding: 0 0 0 10px; }
.apply-done h2 { margin: 6px 0 10px; }
.progress__step { min-width: 0; }
.progress__label { white-space: nowrap; }
.with-aside > * { min-width: 0; }
@media (max-width: 640px) {
  .progress__step:not(.is-active) .progress__label { visibility: hidden; }
  .owner { padding: 16px 14px 2px; }
}

/* Reviews */
.reviews { text-align: center; }
.reviews .trustpilot-widget { margin-top: 10px; min-height: 140px; }
.badges { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.badges img { height: 48px; width: auto; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 70%); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 124, 131, .5), rgba(11, 124, 131, 0) 70%); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-band__phone { color: #fff; font-weight: 600; text-decoration: none; }
.cta-band__phone:hover { color: var(--aqua); }

/* Media + prose */
.media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
/* Words stay whole in table cells; a table too wide for a phone scrolls sideways inside its own box. */
.table-scroll { overflow-x: auto; margin: 1.5em 0; -webkit-overflow-scrolling: touch; }
.table-scroll > table { margin: 0; }
@media (max-width: 640px) { .table-scroll > table:has(tr > :nth-child(4)) { min-width: 560px; } }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose li { margin: .35em 0; }
.legal { font-size: .98rem; }
.legal h2 { font-size: 1.35rem; }
.legal h3 { font-size: 1.12rem; }
.notice { background: #fff8e6; border: 1px solid #f3d98b; color: #6b4e00; border-radius: 12px; padding: 14px 18px; font-size: .92rem; margin-bottom: 28px; }

/* Article layout */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside__card { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.aside__card h3 { font-size: 1.1rem; }
.aside__links { list-style: none; padding: 0; margin: 0; }
.aside__links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.aside__links li:last-child a { border-bottom: 0; }
.aside__links a:hover { color: var(--teal-700); }
.aside__links svg { width: 16px; height: 16px; color: var(--teal-700); }
.aside__cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.aside__cta h3 { color: #fff; }
.aside__cta p { color: rgba(255, 255, 255, .8); font-size: .96rem; }

/* Industry tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; color: #fff; box-shadow: var(--shadow-sm); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 30, 44, 0) 35%, rgba(0, 30, 44, .85) 100%); }
.tile span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.tile span svg { width: 18px; height: 18px; color: var(--aqua); }
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: #fff; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.post-card h3 { font-size: 1.18rem; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .textlink { margin-top: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--navy); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; }
.contact-list a { text-decoration: none; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .95rem; margin-top: clamp(64px, 8vw, 112px); }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--aqua); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 72px 0 48px; }
.footer__brand img { width: 136px; margin-bottom: 20px; }
.footer__brand p { margin: 0 0 6px; }
.footer .footer__heading { color: #fff; font-size: .8rem; line-height: 1.15; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 9px 0; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.footer__social a:hover { background: var(--aqua); color: var(--navy-900); }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0 36px; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.footer__legal p { margin: 0 0 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom li { margin: 0; }

.main--flush + .footer { margin-top: 0; }
.thanks { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.thanks__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--teal-50); color: var(--navy); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks__icon svg { width: 36px; height: 36px; }

/* Responsive */
@media (max-width: 1120px) {
  .nav, .header__cta .header__phone { display: none; }
  .menu-btn { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .header__cta + .menu-btn { margin-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .grid-2, .page-hero__grid, .with-aside, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .aside { position: static; }
  .cta-band .btn-row { justify-content: flex-start; }
  .feature-cards__grid, .steps, .grid-3, .posts { grid-template-columns: 1fr; }
  .feature-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .hero__bg { background-position: 72% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(246, 248, 249, .96) 0%, rgba(246, 248, 249, .9) 60%, rgba(246, 248, 249, .75) 100%); }
  .order-first-sm { order: -1; }
}
@media (max-width: 640px) {
  .br-wide { display: none; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .utility { display: none; }
  .header .container { gap: 10px; }
  .header__cta .btn { min-height: 40px; padding: 0 14px; font-size: .84rem; }
  .logo img { width: 100px; }
  .menu-btn { width: 42px; height: 42px; }
  .benefits, .req, .row-2, .row-3, .choices { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .form-card, .product-card, .card { padding: 24px 20px; }
  .btn { white-space: normal; text-align: center; }
  .hero .btn-row .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr; }
  .dropdown--grid { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* /apply-now/signed/ — signature status */
.sign-list { list-style: none; padding: 0; margin: 8px auto 0; max-width: 560px; text-align: left; }
.sign-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border: 1px solid var(--line, #dfe5e8); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.sign-list__name { font-weight: 700; flex: 1 1 auto; min-width: 0; }
.sign-list__status { color: var(--muted); font-size: .9rem; }
.sign-list li.is-signed .sign-list__status { color: var(--teal-dark, #087f84); font-weight: 600; }
.sign-test { max-width: 560px; margin: 22px auto 0; text-align: left; padding: 18px 20px; border: 1px dashed var(--muted); border-radius: 12px; }
.sign-test .check-list { margin: 8px 0 14px; }

/* Application: vertical step list on the left of the form */
.form-card--rail { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 36px; }
.steps-rail { list-style: none; margin: 0; padding: 2px 24px 0 0; border-right: 1px solid var(--line); align-self: start; position: sticky; top: 110px; }
.steps-rail li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.steps-rail li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: calc(50% + 9px); height: calc(100% - 18px); width: 2px; background: #e3eaee; }
.steps-rail li.is-done:not(:last-child)::after { background: var(--accent); }
.steps-rail__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cfd9de; background: #fff; }
.steps-rail .is-done .steps-rail__dot { border-color: var(--accent); background: var(--accent); }
.steps-rail .is-active .steps-rail__dot { border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; background: var(--accent); }
.steps-rail .progress__label { margin: 0; font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.steps-rail .is-done .progress__label { color: var(--ink); }
.steps-rail .is-active .progress__label { color: var(--navy); font-weight: 700; }
@media (max-width: 640px) {
  /* Phones: one quiet line, "Step 2 of 7: You" */
  .form-card--rail { grid-template-columns: minmax(0, 1fr); }
  .steps-rail { position: static; border-right: 0; padding: 0 0 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
  .steps-rail li { display: none; padding: 0; }
  .steps-rail li.is-active { display: flex; }
  .steps-rail li::after { display: none; }
  .steps-rail .is-active .progress__label::before { content: "Step " attr(data-n) " of " attr(data-total) ": "; font-weight: 600; color: var(--muted); }
}

/* /sitemap/ */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; align-items: start; }
.sitemap-grid h2 { font-size: 1.05rem; margin-bottom: 10px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { margin: 8px 0; line-height: 1.4; }
.sitemap-grid a { color: var(--navy); text-decoration: none; }
.sitemap-grid a:hover { color: var(--teal-700); text-decoration: underline; }

/* Section blocks (homepage first, now site-wide): each section is a raised white block on a soft background, and section headings carry a teal key
   phrase plus a short accent bar (Ian, 2026-11-29). Only inside .flow, so other pages are unchanged. */
.flow { background: var(--soft); padding: clamp(20px, 3vw, 40px) 0; }
.flow > .section { background: transparent; padding: clamp(12px, 1.8vw, 20px) 0; }
.flow > .section:not(.section--bare) > .container, .flow-panel { width: calc(100% - 48px); max-width: calc(var(--container) - 48px); background: #fff; border: 1px solid #e3ebef; border-radius: 26px; box-shadow: 0 26px 50px -34px rgba(0, 41, 58, .32); padding: clamp(40px, 5vw, 68px) clamp(28px, 4vw, 60px); }
.flow .section-head { margin-bottom: 44px; }
.flow .section-head h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); letter-spacing: -.025em; line-height: 1.1; color: var(--navy); font-weight: 800; }
.flow .section-head h2::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; margin: 20px auto 0; background: linear-gradient(90deg, var(--accent), var(--navy)); }
.flow .req__item, .flow .step { background: var(--soft); border-color: transparent; }
/* The white homepage boxes show their border only on hover (Ian; not the two dark banners) */
.flow > .section:not(.section--bare) > .container, .flow-pair .flow-panel, .feature-cards__grid { border: 1px solid transparent; transition: border-color .2s ease; }
.flow > .section:not(.section--bare) > .container:hover, .flow-pair .flow-panel:hover, .feature-cards__grid:hover { border-color: var(--accent); }
/* Do you qualify? + How it works side by side */
.flow-pair > .container { width: calc(100% - 48px); max-width: calc(var(--container) - 48px); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.flow-pair .flow-panel { width: auto; max-width: none; margin: 0; padding: clamp(32px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; }
.flow-pair .section-head { margin-bottom: 28px; }
.flow-pair .section-head h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.flow-pair .req, .flow-pair .steps { gap: 12px; }
.flow-pair .req__item { padding: 20px 14px; }
.flow-pair .req__value { font-size: 1.3rem; }
.flow-pair .req__label { font-size: .85rem; }
.flow-pair .step { padding: 20px 16px; }
.flow-pair .step__num { width: 34px; height: 34px; margin-bottom: 12px; font-size: .9rem; }
.flow-pair .step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow-pair .step p { font-size: .88rem; }
.flow-pair .flow-panel > .center { margin-top: auto !important; padding-top: 24px; }
@media (max-width: 1060px) {
  .flow-pair > .container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .flow > .section:not(.section--bare) > .container { width: calc(100% - 24px); border-radius: 20px; padding: 32px 18px; }
  .flow-pair > .container { width: calc(100% - 24px); gap: 18px; }
  .flow-pair .flow-panel { border-radius: 20px; padding: 32px 18px; }
}

/* Site-wide additions for .flow pages: navy headings everywhere in a block, the gradient accent bar, and inner cards
   as pale fills (no card-in-a-card borders). */
.flow .section h2 { color: var(--navy); font-weight: 800; }
.flow .bar { width: 72px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--navy)); }
.flow .card { background: var(--soft); border-color: transparent; box-shadow: none; }

/* Apply page: pale background, white sidebar card, navy headings */
.apply-page { background: var(--soft); padding-bottom: clamp(48px, 6vw, 80px); }
.apply-page .aside__card { background: #fff; border-radius: 22px; box-shadow: 0 26px 50px -34px rgba(0, 41, 58, .32); }
.apply-page .form-step__title, .apply-page .aside__card h3 { color: var(--navy); font-weight: 800; }
.signed-page h1 { color: var(--navy); }

/* Topic landing pages (funding guides) */
.topic-prose p { font-size: 1.04rem; }
.topic-prose h2 { color: var(--navy); }
.topic-glance { padding: 34px; }
.topic-glance h3 { color: var(--navy); }
.topic-cards { display: grid; gap: 18px; margin-top: 30px; }
.topic-cards--3 { grid-template-columns: repeat(3, 1fr); }
.topic-cards--4 { grid-template-columns: repeat(4, 1fr); }
.topic-card { background: var(--soft); border-radius: 16px; padding: 24px 22px; border: 1px solid transparent; transition: border-color .2s; }
.topic-card:hover { border-color: var(--accent); }
.topic-card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.topic-card p { margin: 0; font-size: .96rem; color: var(--text); }
.topic-steps { list-style: none; padding: 0; margin: 30px auto 0; max-width: 820px; display: grid; gap: 14px; }
.topic-steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--soft); border-radius: 16px; padding: 20px 22px; }
.topic-steps__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.topic-steps h3 { font-size: 1.08rem; margin: 6px 0 6px; color: var(--navy); }
.topic-steps p { margin: 0; font-size: .97rem; }
.topic-list { max-width: 820px; margin: 22px auto 0; columns: 2; column-gap: 40px; }
.topic-list li { break-inside: avoid; }
.topic-fine { font-size: .85rem; color: var(--muted); margin-top: 24px; }
.topic-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic-related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--soft); border-radius: 14px; padding: 18px 20px; font-weight: 700; color: var(--navy); text-decoration: none; border: 1px solid transparent; transition: border-color .2s; }
.topic-related a:hover { border-color: var(--accent); color: var(--navy); }
.topic-related svg { width: 18px; height: 18px; flex: none; color: var(--teal-700); }
@media (max-width: 980px) { .topic-cards--4, .topic-related { grid-template-columns: 1fr 1fr; } .topic-cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .topic-cards--4, .topic-related { grid-template-columns: 1fr; } .topic-list { columns: 1; } }

/* Business loan calculator */
.loancalc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: 24px; overflow: hidden; background: #fff; }
.loancalc__inputs { padding: clamp(24px, 3vw, 40px); }
.loancalc .field { margin-bottom: 22px; }
.loancalc label { display: flex; justify-content: space-between; align-items: baseline; }
.loancalc__val { color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.loancalc__pair { display: grid; gap: 12px; }
.loancalc input[type=text], .loancalc input[type=number] { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.loancalc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.loancalc__suffix { position: relative; }
.loancalc__suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.loancalc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--navy) var(--p, 0%), #e3eaee var(--p, 0%)); outline-offset: 6px; margin: 6px 0 0; }
.loancalc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--navy); box-shadow: 0 2px 8px rgba(0, 40, 58, .25); cursor: grab; }
.loancalc input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 6px solid var(--navy); cursor: grab; }
.loancalc__ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; margin-top: 8px; }
.loancalc__freq { border: 0; padding: 0; margin: 0; }
.loancalc__seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; }
.loancalc__seg label { display: block; margin: 0; }
.loancalc__seg input { position: absolute; opacity: 0; pointer-events: none; }
.loancalc__seg span { display: block; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); cursor: pointer; }
.loancalc__seg input:checked + span { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.loancalc__seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.loancalc__result { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.loancalc__kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .7); }
.loancalc__big { color: #fff; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 4px; }
.loancalc__per { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.loancalc__split { display: flex; height: 10px; border-radius: 10px; overflow: hidden; margin: 22px 0 8px; background: rgba(255, 255, 255, .15); }
.loancalc__split i { display: block; height: 100%; transition: width .25s; }
.loancalc__split i:first-child, .loancalc__legend .p { background: #fff; }
.loancalc__split i:last-child, .loancalc__legend .i { background: var(--aqua); }
.loancalc__legend { display: flex; gap: 18px; font-size: .8rem; color: rgba(255, 255, 255, .75); }
.loancalc__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.loancalc__dl { margin: 18px 0 22px; }
.loancalc__dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.loancalc__dl dt { color: rgba(255, 255, 255, .78); }
.loancalc__dl dd { margin: 0; font-weight: 700; }
.loancalc__dl .is-total dt, .loancalc__dl .is-total dd { color: #fff; font-weight: 800; }
.loancalc__fine { font-size: .78rem; color: rgba(255, 255, 255, .62); margin: 14px 0 0; line-height: 1.5; }
.loancalc__schedule { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 18px clamp(24px, 3vw, 40px); }
.loancalc__schedule summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.loancalc__tablewrap { max-height: 380px; overflow: auto; margin-top: 14px; }
.loancalc__schedule table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.loancalc__schedule th, .loancalc__schedule td { text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.loancalc__schedule th:first-child, .loancalc__schedule td:first-child { text-align: left; }
.loancalc__schedule th { position: sticky; top: 0; background: #fff; color: var(--ink); }
.flow > .section > .container > .loancalc { box-shadow: 0 26px 50px -34px rgba(0, 41, 58, .32); border: 1px solid #e3ebef; }
@media (max-width: 900px) { .loancalc { grid-template-columns: 1fr; } .loancalc__row { grid-template-columns: 1fr; } }
.topic-after { margin-top: 26px; }
.narrow.topic-prose { margin-left: auto; margin-right: auto; }

/* ===== Version 2: Deep sea home hero (full-width photo, navy only behind the headline) ===== */
.hero--photo { position: relative; overflow: hidden; background: var(--navy-900); min-height: 640px; display: flex; align-items: center; }
.hero--photo .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 40, 58, .93) 0%, rgba(0, 40, 58, .8) 32%, rgba(0, 40, 58, .22) 52%, rgba(0, 40, 58, 0) 64%); }
.hero--photo .container { position: relative; z-index: 2; width: 100%; padding-top: clamp(64px, 8vw, 110px); padding-bottom: 180px; }
.hero--photo .hero__copy { max-width: 580px; margin: 0; text-align: left; }
.hero--photo h1 { color: #fff; margin-bottom: 20px; text-wrap: balance; }
.hero--photo h1 span { color: var(--aqua); }
.hero--photo .lead { color: rgba(255, 255, 255, .86); margin: 0 0 30px; max-width: 520px; }
.hero--photo .btn-row { justify-content: flex-start; }
.hero--photo .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero--photo .btn--ghost:hover { color: #fff; border-color: #fff; }
.hero--photo .hero__note { justify-content: flex-start; color: rgba(255, 255, 255, .82); }
.hero--photo .hero__note svg { color: var(--aqua); }
@media (max-width: 900px) {
  .hero--photo { display: block; min-height: 0; }
  .hero--photo .hero__img { position: relative; height: 300px; object-position: 50% 28%; }
  .hero--photo::before { display: none; }
  .hero--photo .container { padding-top: 36px; padding-bottom: 150px; }
}
@media (max-width: 640px) { .hero--photo .btn-row .btn { width: 100%; } }
