/*
Theme Name: ScrunchBox
Theme URI: https://scrunchbox.in
Author: ScrunchBox
Description: Custom theme for the ScrunchBox InsurTech platform website.
Version: 1.4.4
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: scrunchbox
*/

:root {
	--brand: #A42054;
	--brand-d: #851A44;
	--ink: #1C1530;
	--ink-2: #2A2142;
	--ink-line: #40355A;
	--fg: #231C33;
	--muted: #625A70;
	--line: #E7E1EA;
	--mist: #F7F4F8;
	--blush: #F6E9EF;
	--petal: #F7A9C7;
	--white: #FFFFFF;
	--ok: #1F7A5A;
	--err: #B42318;
	--f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--wrap: 1180px;
	--gut: clamp(16px, 4vw, 32px);
	--r: 14px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--fg); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-d); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.in { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.small { font-size: 14px; color: var(--muted); }

/* Type */
.eb { font: 500 12px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.eb.on-dark { color: var(--petal); }
.h1 { font: 500 clamp(30px, 4.6vw, 52px)/1.06 var(--f-display); letter-spacing: -.025em; text-wrap: balance; margin-bottom: 20px; }
.h1 em { font-style: normal; color: var(--brand); }
.h2 { font: 500 clamp(23px, 3vw, 34px)/1.14 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.h2.sm { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 26px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 58ch; }
.lead-s { color: var(--muted); max-width: 58ch; font-size: 15.5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--f-body); padding: 14px 20px; border-radius: 9px; background: var(--brand); color: #fff; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #CFC6D8; }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blush); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Utility bar */
.util { background: var(--ink); color: #CFC6D8; font-size: 13px; }
.util .in { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding-block: 8px; flex-wrap: wrap; }
.util a { color: #fff; text-decoration: none; font-weight: 500; }
.util a:hover { color: var(--petal); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(28,21,48,.35); }
.head-row { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand img { display: block; width: 132px; height: auto; }
.nav { flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: block; font: 500 15px var(--f-body); color: var(--fg); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-item.is-current > .nav-link { color: var(--brand); }
.nav-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-left: 8px; vertical-align: 3px; opacity: .6; transition: transform .2s; }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); vertical-align: -1px; }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: min(560px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -24px rgba(28,21,48,.35); padding: 12px; display: none; }
.nav-toggle[aria-expanded="true"] + .mega { display: block; }
.mega-in { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--fg); }
.mega-link:hover { background: var(--mist); color: var(--fg); }
.mega-link b { display: block; font-size: 14.5px; color: var(--ink); }
.mega-link small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-ic { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--blush); color: var(--brand); display: grid; place-items: center; }
.mega-ic .ico { width: 20px; height: 20px; }
.mega-all { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 14px; font-weight: 600; text-decoration: none; border-top: 1px solid var(--line); margin-top: 4px; }
.mega-all .ico { width: 16px; height: 16px; }
.nav-members, .nav-cta-m { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; content: ""; }
.burger span { top: 21px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.util { display: none; }
	.head-cta { display: none; }
	.burger { display: block; }
	/* A backdrop-filter would make the fixed menu size itself to the header, so mobile uses a solid header. */
	.site-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.nav { display: none; position: fixed; top: var(--nav-top, 72px); left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gut) calc(32px + env(safe-area-inset-bottom, 0px)); flex-direction: column; border-top: 1px solid var(--line); }
	.nav-open .nav { display: flex; }
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-item { border-bottom: 1px solid var(--line); }
	.nav-link { width: 100%; text-align: left; padding: 16px 4px; font-size: 17px; }
	.mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; }
	.mega-in { grid-template-columns: 1fr; }
	.nav-members { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; padding: 14px 16px; background: var(--mist); border-radius: 12px; }
	.nav-members span { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
	.nav-members a { padding: 8px 0; text-decoration: none; font-weight: 500; }
	.nav-cta-m { display: flex; margin-top: 20px; }
}

/* Hero */
.hero { background: radial-gradient(900px 420px at 85% 0%, var(--blush) 0, transparent 62%), linear-gradient(#fff, #FBF9FC); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.hero-art .stack { display: block; width: 100%; max-width: 540px; margin-inline: auto; }
.stack-lab text { font: 600 13px var(--f-body); fill: var(--ink); }
.stack-lab text.s { font: 400 11px var(--f-mono); fill: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { order: -1; max-width: 440px; } }
@media (prefers-reduced-motion: no-preference) {
	.stack .plate { animation: sbx-rise .9s cubic-bezier(.2,.7,.2,1) both; }
	.stack .p2 { animation-delay: .12s; } .stack .p3 { animation-delay: .24s; } .stack .p4 { animation-delay: .36s; }
	@keyframes sbx-rise { from { transform: translateY(14px); opacity: .35; } }
}

/* Page hero */
.phero { background: radial-gradient(700px 300px at 90% 0%, var(--blush) 0, transparent 65%), #FBF9FC; border-bottom: 1px solid var(--line); }
.phero .in { padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 60px); }
.phero .h1 { max-width: 22ch; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* Live band */
.live { border-block: 1px solid var(--line); }
.live-row { display: flex; align-items: center; gap: 12px 26px; padding-block: 18px; flex-wrap: wrap; }
.live-k { margin: 0; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.live-v { margin: 0; font: 500 16px var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.live-chips { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.live-chips a { display: inline-block; font-size: 14px; padding: 7px 13px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.live-chips a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1F9D6B; margin-right: 8px; vertical-align: 1px; }
.live-chips a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 860px) { .live-chips { margin-left: 0; } }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec.alt { background: var(--mist); }
.sec.dark { background: var(--ink); color: #D9CFE3; }
.sec.dark .h2, .sec.dark h3 { color: #fff; }
.sec.dark a:not(.btn) { color: var(--petal); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 40px; }
.sec-head p { margin: 0; color: var(--muted); max-width: 54ch; }
.sec.dark .sec-head p { color: #BDB3C8; }
@media (max-width: 800px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.center-cta { margin-top: 36px; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.prose p { font-size: 17px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pillar { background: #fff; padding: 28px 24px; }
.pillar-ic { color: var(--brand); display: block; margin-bottom: 18px; }
.pillar-ic .ico { width: 34px; height: 34px; }
.pillar h3 { font: 600 17px var(--f-body); margin-bottom: 8px; }
.pillar p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* Journey strip (home) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding-right: 12px; }
.flow li::before { content: counter(f, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--ink-line); font: 500 11.5px var(--f-mono); color: var(--petal); margin-bottom: 14px; }
.flow li::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; border-top: 1px dashed var(--ink-line); }
.flow li:last-child::after { display: none; }
.flow span { display: block; font-size: 14px; line-height: 1.35; color: #EDE6F2; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } .flow li::after { display: none; } }

/* Partner → Platform → Customer */
.pflow { margin-top: 44px; display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; gap: 14px; align-items: center; text-align: center; }
.pflow > div { border: 1px solid var(--ink-line); border-radius: 12px; padding: 18px; font-size: 14px; color: #BDB3C8; }
.pflow b { display: block; color: #fff; font: 500 15px var(--f-display); margin-bottom: 6px; }
.pflow .core { background: var(--brand); border-color: var(--brand); color: #FBE3EC; }
.pflow-arrow { color: var(--petal); }
.pflow-arrow .ico { width: 22px; height: 22px; }
@media (max-width: 760px) { .pflow { grid-template-columns: minmax(0, 1fr); } .pflow-arrow { transform: rotate(90deg); justify-self: center; } }

/* Journey (platform page) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: j; }
.journey li { counter-increment: j; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: #fff; position: relative; }
.journey li::before { content: counter(j, decimal-leading-zero); display: block; font: 500 12px var(--f-mono); color: var(--brand); margin-bottom: 12px; }
.journey h3 { font: 600 16.5px var(--f-body); margin-bottom: 6px; }
.journey p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .journey { grid-template-columns: minmax(0, 1fr); } }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.caps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cap { background: #fff; padding: 24px; }
.cap h3 { font: 600 16px var(--f-body); margin-bottom: 6px; }
.cap h3::before { content: ""; display: block; width: 22px; height: 3px; background: var(--brand); border-radius: 2px; margin-bottom: 14px; }
.cap p { margin: 0; font-size: 14.5px; color: var(--muted); }
.aws-note { display: flex; gap: 10px; align-items: center; }
.aws-note .ico { width: 30px; height: 30px; color: var(--brand); flex: none; }
@media (max-width: 900px) { .caps, .caps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .caps, .caps.four { grid-template-columns: minmax(0, 1fr); } }

/* Solution cards */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sol-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s, box-shadow .15s; }
.sol-card:hover { border-color: #D7B3C5; transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(28,21,48,.35); color: var(--fg); }
.sol-card b { font: 600 18px var(--f-body); color: var(--ink); }
.sol-text { font-size: 14.5px; color: var(--muted); flex: 1; }
.verb { font: 500 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.more .ico { width: 16px; height: 16px; transition: transform .15s; }
.sol-card:hover .more .ico, .case-row:hover .more .ico { transform: translateX(3px); }
.ic-tile { width: 46px; height: 46px; border-radius: 11px; background: var(--blush); color: var(--brand); display: grid; place-items: center; flex: none; }
.ic-tile .ico { width: 24px; height: 24px; }
.ic-tile.big { width: 60px; height: 60px; border-radius: 14px; }
.ic-tile.big .ico { width: 30px; height: 30px; }
@media (max-width: 960px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .sol-grid { grid-template-columns: minmax(0, 1fr); } }
.custom-bar { margin-top: 16px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 22px; border: 1.5px dashed #D4C8DA; border-radius: var(--r); background: #fff; }
.custom-bar > div { flex: 1 1 320px; }
.custom-bar b { color: var(--ink); font-size: 17px; }
.custom-bar p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); max-width: 70ch; }

/* Comparison */
.cmp { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-row span { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 15.5px; display: flex; gap: 10px; align-items: center; }
.cmp-row span:first-child { color: var(--muted); background: #fff; }
.cmp-row span:last-child { background: var(--ink); color: #fff; font-weight: 500; border-top-color: #33294A; }
.cmp-row span:last-child .ico { width: 18px; height: 18px; color: var(--petal); flex: none; }
.cmp-h span { border-top: 0; font: 500 12px var(--f-mono) !important; letter-spacing: .1em; text-transform: uppercase; padding-block: 18px 12px; }
.cmp-h span:last-child { color: var(--petal); }
@media (max-width: 520px) { .cmp-row span { padding: 12px 14px; font-size: 14.5px; } }

/* Pet */
.petmap { display: block; width: 100%; max-width: 500px; margin-inline: auto; }
.pm-c { font: 500 12px var(--f-display); fill: #fff; letter-spacing: .04em; }
.pm-l { font: 500 12.5px var(--f-body); fill: var(--ink); }
.dot-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.dot-list.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dot-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); margin-right: 10px; vertical-align: 2px; }
.provider-box { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); padding: 28px; }
.provider-box h3 { font: 600 19px var(--f-body); margin-bottom: 8px; }
.provider-box .btn { margin-top: 8px; }

/* CTA band */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.cta-band .h2 { margin-bottom: 16px; }
.lead-dark { color: #BDB3C8; max-width: 62ch; }
.seg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.seg-chips a { font-size: 14px; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--ink-line); color: #EDE6F2 !important; text-decoration: none; }
.seg-chips a:hover { border-color: var(--petal); }
.cta-btns { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta-btns { flex-direction: row; flex-wrap: wrap; } }

/* Case studies */
.cases { display: grid; gap: 14px; }
.case-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--fg); transition: border-color .15s, box-shadow .15s; }
.case-row:hover { border-color: #D7B3C5; box-shadow: 0 18px 36px -24px rgba(28,21,48,.35); color: var(--fg); }
.case-main { display: flex; flex-direction: column; gap: 6px; }
.case-main b { font: 500 clamp(18px, 2vw, 22px)/1.25 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
@media (max-width: 640px) { .case-row { grid-template-columns: minmax(0, 1fr); } }
.prop-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.prop-flow li { flex: 1 1 160px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); background: #fff; position: relative; }
.prop-flow li.core { background: var(--brand); border-color: var(--brand); color: #fff; }
.prop-flow li + li::before { content: "→"; position: absolute; left: -13px; top: 50%; transform: translateY(-50%); color: var(--brand); font-weight: 700; background: #fff; line-height: 1; }
.prop-flow.is-plus li + li::before { content: "+"; }
.comp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.comp-grid .comp { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.comp h3 { font: 600 16.5px var(--f-body); margin-bottom: 6px; }
.comp p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tick-grid .comp { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.tick-grid .comp .ico { width: 20px; height: 20px; color: var(--brand); flex: none; }
.tick-grid h3 { margin: 0; font-weight: 500; font-size: 15.5px; }
@media (max-width: 900px) { .comp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .comp-grid, .tick-grid { grid-template-columns: minmax(0, 1fr); } }
.takeaway { max-width: 860px; }
.takeaway-q { font: 500 clamp(20px, 2.6vw, 28px)/1.35 var(--f-display); color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
.disclosure-inline { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* About */
.vision { max-width: 860px; }
.vision-q { font: 500 clamp(24px, 3.4vw, 38px)/1.2 var(--f-display); color: #fff; letter-spacing: -.02em; text-wrap: balance; }
.vision-words { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vision-words li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--ink-line); color: #fff; font-weight: 500; }
.company { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.company h3 { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.company p { margin: 0; color: var(--fg); }
@media (max-width: 760px) { .company { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Partner steps + form */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 22px var(--f-display); color: var(--brand); margin-bottom: 14px; }
.steps h3 { font: 600 17px var(--f-body); margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.enq { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 48px -32px rgba(28,21,48,.3); }
.enq p { margin: 0 0 16px; }
.enq label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.enq label span { font-weight: 400; color: var(--muted); }
.enq input, .enq select, .enq textarea { width: 100%; font: 15.5px var(--f-body); color: var(--fg); padding: 12px 14px; border: 1px solid #D6CEDC; border-radius: 9px; background: #fff; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(164,32,84,.15); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } }
.enq .btn { width: 100%; margin: 4px 0 14px; }
.enq-msg { padding: 12px 14px; border-radius: 9px; font-size: 14.5px; }
.enq-msg.ok { background: #E7F5EE; color: var(--ok); }
.enq-msg.err { background: #FDECEA; color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Generic content (old pages, legal) */
.prose-page { max-width: 820px; }
.prose-page h2 { font: 500 24px/1.25 var(--f-display); margin: 1.6em 0 .6em; }
.prose-page h3 { font: 600 19px var(--f-body); margin: 1.4em 0 .5em; }
.prose-page ul, .prose-page ol { padding-left: 1.3em; }
.post-row { padding-block: 22px; border-bottom: 1px solid var(--line); }
.post-row a { color: var(--ink); text-decoration: none; }

/* Elementor pages keep their own layout inside the new header and footer */
.is-elementor-page main { min-height: 40vh; }

/* Footer */
.site-foot { background: #130E21; color: #A79FB3; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.foot-brand img { width: 150px; margin-bottom: 8px; }
.foot-pos { color: #fff; font-weight: 600; margin: 0; }
.foot-tags { margin: 0; font-size: 13px; }
.foot-h { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--petal); margin-bottom: 6px; }
.site-foot a { color: #D9CFE3; text-decoration: none; overflow-wrap: anywhere; }
.site-foot a:hover { color: #fff; }
.foot-addr { grid-column: 1 / 3; flex-direction: row !important; gap: 32px !important; }
.foot-addr p { margin: 0; font-size: 13px; flex: 1; }
.foot-addr b { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid #2A2142; padding-top: 20px; font-size: 12.5px; line-height: 1.6; }
.foot-legal p { margin: 0 0 6px; }
.disclosure { color: #C3BACD; }
@media (max-width: 860px) {
	.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-brand, .foot-addr { grid-column: 1 / -1; }
	.foot-addr { flex-direction: column !important; gap: 16px !important; }
}

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

/* Member pages: claim, contact */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 48px -32px rgba(28,21,48,.3); min-width: 0; }
.claim-side, .contact-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.doc-group h3 { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-list li { display: flex; gap: 10px; font-size: 15px; color: var(--fg); }
.doc-list .ico { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.help-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.help-box b { display: block; color: var(--ink); margin-bottom: 4px; }
.help-box p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.help-box p:last-child { margin-bottom: 0; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item h3 { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item p { margin: 0; }
.contact-item a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* Contact Form 7 in the theme's form style */
.wpcf7 { font-size: 15px; }
.wpcf7-form p { margin: 0 0 16px; font-weight: 600; color: var(--ink); font-size: 14px; }
.wpcf7-form p span[style*="color:red"], .wpcf7-form p span[style*="color: red"] { color: var(--brand) !important; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="number"], .wpcf7-form select, .wpcf7-form textarea {
	width: 100%; font: 15.5px var(--f-body); color: var(--fg); padding: 12px 14px; border: 1px solid #D6CEDC; border-radius: 9px; background: #fff;
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(164,32,84,.15); }
.wpcf7-radio, .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.wpcf7-list-item { margin: 0; }
.wpcf7-list-item label, .wpcf7-radio .wpcf7-list-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #D6CEDC; border-radius: 9px; font-weight: 500; cursor: pointer; }
.wpcf7-list-item input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.wpcf7 .wpcf7-submit, .wpcf7 #submitBtn { -webkit-appearance: none; appearance: none; text-transform: none !important; letter-spacing: 0 !important; background: var(--brand) !important; color: #fff !important; border: 0 !important; border-radius: 9px !important; font: 600 15px/1 var(--f-body) !important; padding: 15px 20px !important; width: 100% !important; cursor: pointer; }
.wpcf7 .wpcf7-submit:hover, .wpcf7 #submitBtn:hover { background: var(--brand-d) !important; }
.wpcf7-submit { display: inline-flex; width: 100%; justify-content: center; font: 600 15px/1 var(--f-body); padding: 15px 20px; border-radius: 9px; background: var(--brand); color: #fff; border: 0; cursor: pointer; }
.wpcf7-submit:hover { background: var(--brand-d); }
.wpcf7-not-valid-tip { color: var(--err); font-size: 13px; font-weight: 500; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 12px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--ok); background: #E7F5EE; color: var(--ok); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: var(--err); background: #FDECEA; color: var(--err); }
.wpcf7-spinner { margin: 10px auto 0; display: block; }
.wpcf7 .g-recaptcha { margin: 4px 0 16px; max-width: 100%; overflow: hidden; }
.codedropz-upload-wrapper { margin-top: 6px; }
.codedropz-upload-handler { border: 1.5px dashed #CDBFD6 !important; border-radius: 12px !important; background: var(--mist); }
.codedropz-upload-inner h3 { font: 600 16px var(--f-body) !important; color: var(--ink); }
.codedropz-upload-inner .cd-upload-btn { color: var(--brand) !important; font-weight: 600; }
.codedropz-upload-inner span { color: var(--muted); }

/* Legal documents */
.legal { max-width: 780px; font-size: 16.5px; line-height: 1.75; }
.legal h2, .legal h3, .legal h4, .legal h5, .legal h6 { font: 600 19px/1.35 var(--f-body); color: var(--ink); margin: 2em 0 .6em; }
.legal p { margin: 0 0 1.1em; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .4em; }
.legal a { overflow-wrap: anywhere; }

/* Plan page */
.pillars.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .pillars.three { grid-template-columns: minmax(0, 1fr); } }
.plan-art { display: grid; place-items: center; min-height: 260px; background: radial-gradient(circle at center, var(--blush) 0, transparent 65%); }
.plan-ic { width: 160px; height: 160px; border-radius: 40px; box-shadow: 0 30px 60px -30px rgba(164,32,84,.5); }
.plan-ic .ico { width: 84px; height: 84px; }

/* Sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 32px; }
.sitemap h2 { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sitemap a { color: var(--ink); text-decoration: none; font-weight: 500; }
.sitemap a:hover { color: var(--brand); }
