/* =========================================================
   Equity Wave Loan - main stylesheet
   Colors: wave violet #4b3bf5, surf cyan #16c1e3, sea-foam mint #43e0a1,
           abyss ink #0a0e2a, foam #f5f8ff
   Fonts: Funnel Display (headings), Funnel Sans (body), Martian Mono (labels)
   ========================================================= */
:root {
  --violet: #4b3bf5;
  --violet-dark: #3426d6;
  --cyan: #16c1e3;
  --mint: #43e0a1;
  --ink: #0a0e2a;
  --ink-2: #1a1f4a;
  --ink-3: #2b3166;
  --foam: #f5f8ff;
  --mist: #e9eefc;
  --white: #ffffff;
  --text: #2a2f52;
  --muted: #646a8f;
  --line: #dde3f6;
  --danger: #e5484d;
  --wave: linear-gradient(120deg, #4b3bf5 0%, #2f7cf0 50%, #16c1e3 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(43, 49, 140, .35);
  --shadow-sm: 0 8px 24px -12px rgba(43, 49, 140, .3);
  --font-head: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
a { color: var(--violet); text-decoration: none; transition: color .2s; }
a:hover { color: var(--violet-dark); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2rem; }
.text-grad { background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono, .eyebrow { font-family: var(--font-mono); }

/* ---------- utilities ---------- */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-foam { background: var(--foam); }
.bg-ink { background: var(--ink); color: #c9cdf0; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5c3-4 5-4 8 0s5 4 8 0 5-4 8 0' fill='none' stroke='%2316c1e3' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain; }
.bg-ink .eyebrow, .eyebrow.light { color: var(--mint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-ink .section-head p { color: #aeb3e0; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.mb-0 h2 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn-wave, .btn-line, .btn-mint {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  font-family: var(--font-body); border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s; line-height: 1.2; white-space: nowrap;
}
.btn-wave { background: var(--wave); color: #fff; box-shadow: 0 12px 26px -10px rgba(75, 59, 245, .7); }
.btn-wave:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(75, 59, 245, .8); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.bg-ink .btn-line, .hero .btn-line, .cta-band .btn-line { color: #fff; }
.bg-ink .btn-line:hover, .hero .btn-line:hover, .cta-band .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-wave .arr, .btn-line .arr, .btn-mint .arr { transition: transform .2s; }
.btn-wave:hover .arr, .btn-line:hover .arr, .btn-mint:hover .arr { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #b9bee6; font-size: .86rem; padding: 9px 0; }
.topbar a { color: #b9bee6; }
.topbar a:hover { color: var(--mint); }
.topbar .tb-items { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }
.topbar .tb-note { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--mint); text-transform: uppercase; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(10, 14, 42, .35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { color: var(--ink); font-weight: 600; padding: 9px 16px; border-radius: 999px; font-size: .98rem; }
.main-nav a:hover { background: var(--mist); color: var(--violet); }
.main-nav a.active { background: var(--ink); color: #fff; }
.nav-cta { margin-left: 12px; }
.nav-cta.btn-wave { padding: 11px 22px; color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(22, 193, 227, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(75, 59, 245, .55), transparent 60%), var(--ink); color: #c9cdf0; padding: 90px 0 150px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.18rem; color: #c3c8ee; max-width: 560px; }
.hero-lines { position: absolute; inset: auto 0 60px 0; height: 220px; opacity: .35; pointer-events: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-badges div { border-left: 2px solid var(--mint); padding-left: 14px; }
.hero-badges strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.hero-badges span { font-size: .85rem; color: #9ea4d6; }
.hero-visual { position: relative; padding: 0 0 30px 30px; }
.hero-visual .photo { border-radius: 32px 32px 32px 120px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 6px solid rgba(255, 255, 255, .08); }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: #fff; color: var(--text); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 20px; }
.float-card.fc-1 { left: 0; bottom: 0; width: 250px; }
.float-card.fc-2 { right: -10px; top: 30px; display: flex; gap: 12px; align-items: center; }
.float-card .mono { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.float-card .big { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--ink); line-height: 1.1; }
.float-card .bar { height: 8px; border-radius: 8px; background: var(--mist); margin-top: 10px; overflow: hidden; }
.float-card .bar i { display: block; height: 100%; width: 68%; background: var(--wave); border-radius: 8px; }
.float-card .dot { width: 42px; height: 42px; border-radius: 12px; background: rgba(67, 224, 161, .18); color: #12a26a; display: grid; place-items: center; }
.float-card .dot svg { width: 22px; height: 22px; }
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave-divider svg { width: 100%; height: 90px; display: block; }

/* ---------- feature strip ---------- */
.feature-strip { margin-top: -80px; position: relative; z-index: 3; }
.feature-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; height: 100%; display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); }
.icon-bubble { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--wave); color: #fff; }
.icon-bubble svg { width: 26px; height: 26px; }
.feature-box h4 { margin-bottom: 6px; }
.feature-box p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- service cards ---------- */
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .tag { position: absolute; left: 16px; top: 16px; background: rgba(10, 14, 42, .82); color: #fff; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.service-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .body p { color: var(--muted); font-size: .98rem; }
.service-card .body ul { list-style: none; padding: 0; margin: 0 0 22px; }
.service-card .body li { position: relative; padding-left: 26px; font-size: .95rem; margin-bottom: 6px; }
.service-card .body li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%230a0e2a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.service-card .btn-wave { margin-top: auto; align-self: flex-start; }

/* ---------- calculator ---------- */
.calc-card { background: #fff; color: var(--text); border-radius: 28px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); height: 100%; }
.calc-card h3 { margin-bottom: 4px; color: var(--ink); }
.calc-row { margin-top: 22px; }
.calc-row label { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 8px; }
.calc-row label output { font-family: var(--font-mono); font-size: .85rem; color: var(--violet); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: var(--mist); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--violet); cursor: pointer; box-shadow: 0 4px 10px rgba(75, 59, 245, .4); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--violet); cursor: pointer; }
.calc-result { background: var(--ink); border-radius: 28px; padding: 36px; color: #c9cdf0; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--ink-3); }
.calc-result .mono { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.calc-result .main-num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.05; margin: 6px 0 18px; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.calc-split div { background: var(--ink-2); border-radius: 16px; padding: 16px; }
.calc-split strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.35rem; }
.calc-split span { font-size: .82rem; color: #9ea4d6; }
.ltv-meter { height: 12px; border-radius: 12px; background: var(--ink-2); overflow: hidden; margin: 6px 0 8px; }
.ltv-meter i { display: block; height: 100%; width: 50%; background: var(--wave); border-radius: 12px; transition: width .3s; }
.calc-note { font-size: .8rem; color: #8c92c5; margin-top: auto; padding-top: 18px; }

/* ---------- steps ---------- */
.step-card { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px 30px; border: 1px solid var(--line); height: 100%; }
.step-num { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--violet); background: var(--mist); padding: 6px 12px; border-radius: 999px; display: inline-block; margin-bottom: 20px; }
.step-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-card .icon-bubble { position: absolute; right: 24px; top: 24px; width: 48px; height: 48px; border-radius: 14px; }
.step-card .icon-bubble svg { width: 22px; height: 22px; }

/* ---------- about / split ---------- */
.split-media { position: relative; }
.split-media .main { border-radius: 28px; overflow: hidden; aspect-ratio: 5/4; background: var(--mist); }
.split-media .main img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge-card { position: absolute; right: -14px; bottom: -24px; background: var(--wave); color: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow); max-width: 230px; }
.split-media .badge-card strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.split-media .badge-card span { font-size: .9rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 38px; margin-bottom: 16px; }
.check-list li strong { color: var(--ink); display: block; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 8px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 8.6' fill='none' stroke='%2343e0a1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* ---------- stats ---------- */
.stats-band { background: var(--wave); color: #fff; border-radius: 32px; padding: 50px 30px; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80'%3E%3Cpath d='M0 40c50-30 100-30 150 0s100 30 150 0 100-30 150 0' fill='none' stroke='white' stroke-opacity='.15' stroke-width='2'/%3E%3C/svg%3E") repeat-x center/400px 80px; pointer-events: none; }
.stat { text-align: center; position: relative; z-index: 1; padding: 10px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; }
.stat span { font-size: .95rem; opacity: .9; }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; }
.compare thead th:first-child { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.compare tbody th { color: var(--ink); font-weight: 700; background: var(--foam); width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(67, 224, 161, .2); color: #0d8a57; text-transform: uppercase; }

/* ---------- testimonials ---------- */
.testi-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 32px; height: 100%; display: flex; flex-direction: column; }
.testi-card .stars { color: var(--mint); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.testi-card p { color: #d3d6f3; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ink-3); }
.testi-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--wave); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: none; }
.testi-card .who strong { color: #fff; font-family: var(--font-head); font-size: 1.08rem; }

/* ---------- blog ---------- */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--violet); }
.post-card p { color: var(--muted); font-size: .96rem; }
.read-more { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.post-card.wide { flex-direction: row; }
.post-card.wide .media { flex: 0 0 42%; aspect-ratio: auto; min-height: 260px; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 64px 22px 26px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); cursor: pointer; position: relative; line-height: 1.4; }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--violet); display: grid; place-items: center; font-size: 1.3rem; font-family: var(--font-body); transition: transform .25s, background .25s; }
.faq-item.open .faq-q::after { content: "\2212"; background: var(--violet); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 32px; overflow: hidden; padding: 70px 50px; color: #d6daf6; background: var(--ink); }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 14, 42, .95) 30%, rgba(75, 59, 245, .6)); }
.cta-band .inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- newsletter band ---------- */
.news-band { background: var(--foam); border-top: 1px solid var(--line); padding: 60px 0; }
.news-band h3 { margin-bottom: 6px; }
.news-band p { color: var(--muted); margin: 0; }
.inline-form { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.inline-form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 18px; font-size: 1rem; font-family: var(--font-body); color: var(--ink); }
.inline-form .btn-wave { padding: 12px 24px; }
.form-msg { font-size: .9rem; margin-top: 10px; min-height: 1.2em; }
.form-msg.ok { color: #0d8a57; }
.form-msg.err { color: var(--danger); }

/* ---------- page banner ---------- */
.page-banner { position: relative; padding: 110px 0 140px; background: var(--ink); color: #c9cdf0; overflow: hidden; text-align: center; }
.page-banner .bg { position: absolute; inset: 0; }
.page-banner .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-banner .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 14, 42, .92), rgba(75, 59, 245, .62)); }
.page-banner .inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-banner p { font-size: 1.1rem; color: #cfd3f5; margin-bottom: 18px; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 8px 16px; border-radius: 999px; }
.crumbs a { color: var(--mint); }
.crumbs span { color: #fff; }

/* ---------- values / team ---------- */
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; }
.value-card .icon-bubble { margin-bottom: 20px; }
.value-card p { color: var(--muted); margin: 0; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--violet), var(--cyan)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--violet); }
.tl-item .yr { font-family: var(--font-mono); font-size: .75rem; color: var(--violet); font-weight: 700; letter-spacing: .08em; }
.tl-item h4 { margin: 4px 0 6px; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- service detail rows ---------- */
.svc-row { padding: 70px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; background: var(--mist); position: relative; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .num { position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--ink); font-family: var(--font-mono); font-weight: 700; font-size: .75rem; letter-spacing: .1em; padding: 8px 14px; border-radius: 999px; }
.svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 28px; }
.svc-facts div { background: var(--foam); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.svc-facts strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.svc-facts span { font-size: .8rem; color: var(--muted); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.field label .req { color: var(--violet); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--foam);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234b3bf5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(75, 59, 245, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fff6f6; }
.field .err { display: none; color: var(--danger); font-size: .84rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--violet); flex: none; }
.radio-group { display: grid; gap: 10px; }
.radio-group label { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--text); background: var(--foam); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; cursor: pointer; margin: 0; }
.radio-group input { accent-color: var(--violet); width: 18px; height: 18px; }
.success-box { display: none; text-align: center; padding: 30px 10px; }
.success-box.show { display: block; }
.success-box .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin: 0 auto 20px; }
.success-box .tick svg { width: 36px; height: 36px; }
.form-hidden { display: none; }

.info-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 16px; }
.info-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.info-card p, .info-card a { margin: 0; color: var(--muted); }
.info-card a:hover { color: var(--violet); }
.map-frame { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- subscribe page ---------- */
.perk { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.perk .icon-bubble { width: 48px; height: 48px; border-radius: 14px; }
.perk .icon-bubble svg { width: 22px; height: 22px; }
.perk h4 { margin-bottom: 4px; }
.perk p { margin: 0; color: var(--muted); font-size: .96rem; }
.side-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 30px; background: var(--mist); }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- article ---------- */
.article-hero { border-radius: 28px; overflow: hidden; aspect-ratio: 16/8; margin-bottom: 40px; background: var(--mist); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article { font-size: 1.1rem; line-height: 1.85; }
.article h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article p { margin-bottom: 1.4em; }
.article .pull { border-left: 4px solid var(--violet); background: var(--foam); padding: 22px 26px; border-radius: 0 18px 18px 0; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); margin: 36px 0; line-height: 1.5; }
.sidebar-box { background: var(--foam); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin-bottom: 24px; }
.sidebar-box h4 { margin-bottom: 14px; }
.sidebar-box.dark { background: var(--ink); color: #c9cdf0; border-color: var(--ink); }
.sidebar-box.dark h4 { color: #fff; }
.side-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.side-post:last-child { margin-bottom: 0; }
.side-post img { width: 76px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--mist); }
.side-post a { color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.35; }
.side-post a:hover { color: var(--violet); }
.sticky-side { position: sticky; top: 110px; }
.stack-form input { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); margin-bottom: 10px; font-family: var(--font-body); font-size: 1rem; outline: none; }
.stack-form input:focus { border-color: var(--violet); }
.sidebar-box.dark .stack-form input { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }

/* ---------- legal ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal .updated { font-family: var(--font-mono); font-size: .75rem; color: var(--violet); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9aed9; padding: 90px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 6px; background: var(--wave); }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.site-footer a { color: #a9aed9; }
.site-footer a:hover { color: var(--mint); }
.foot-logo img { height: 46px; width: auto; margin-bottom: 20px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 10px; }
.foot-contact { list-style: none; padding: 0; margin: 0; }
.foot-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 4px; }
.site-footer .inline-form { background: var(--ink-2); border-color: var(--ink-3); box-shadow: none; }
.site-footer .inline-form input { color: #fff; }
.site-footer .inline-form input::placeholder { color: #8c92c5; }
.foot-bottom { border-top: 1px solid var(--ink-3); margin-top: 60px; padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .9rem; }
.foot-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

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

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .main-nav a { padding: 9px 11px; }
}
@media (max-width: 991.98px) {
  .section { padding: 76px 0; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10, 14, 42, .3); display: none; gap: 4px; }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .hero { padding: 70px 0 140px; }
  .hero-visual { margin-top: 50px; padding-left: 0; }
  .float-card.fc-2 { right: 10px; }
  .cta-actions { justify-content: flex-start; margin-top: 26px; }
  .split-media .badge-card { right: 14px; }
  .sticky-side { position: static; margin-top: 40px; }
  .post-card.wide { flex-direction: column; }
  .post-card.wide .media { aspect-ratio: 16/10; min-height: 0; }
}
@media (max-width: 767.98px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
  .btn-wave, .btn-line, .btn-mint { white-space: normal; text-align: center; }
  .g-5, .gy-5 { --bs-gutter-y: 2.25rem; }
  body { font-size: 16px; }
  .topbar .tb-note { display: none; }
  .topbar .tb-items { justify-content: center; gap: 6px 18px; }
  .nav-wrap { height: 72px; }
  .brand img { height: 38px; }
  .feature-strip { margin-top: -60px; }
  .cta-band { padding: 50px 26px; }
  .form-card, .calc-card, .calc-result { padding: 28px 22px; }
  .svc-facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .svc-facts div { padding: 10px; }
  .page-banner { padding: 80px 0 110px; }
  .float-card.fc-1 { width: 210px; }
  .wave-divider svg { height: 50px; }
  .inline-form { border-radius: 18px; flex-direction: column; }
  .inline-form .btn-wave { width: 100%; }
}
@media (max-width: 420px) {
  .brand img { height: 32px; }
  .float-card.fc-2 { display: none; }
  .hero-badges { gap: 18px; }
  .calc-split { grid-template-columns: 1fr; }
}
