/* Stonevale Bank public website: premium layer on top of site.css. All motion is disabled for visitors who ask for reduced motion. */
:root {
  --stone: #f6f3ee;
  --stone-2: #ece6dc;
  --ink-2: #0a1a31;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
body.site { background: #fff; }
.site h1, .site h2, .display { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }

/* ---------- header: frosted glass that tightens on scroll ---------- */
.site .utility { position: relative; z-index: 31; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header-inner { transition: padding .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 26, 49, .08); background: rgba(255, 255, 255, .97); }
.site-header.scrolled .site-header-inner { padding-top: .55rem; padding-bottom: .55rem; }
.site-nav { gap: .2rem; align-items: center; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 8px; background: none; border: 0; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-item > a:hover, .nav-item > button:hover, .nav-item:focus-within > button { background: var(--stone); color: var(--navy); }
.nav-item > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.nav-item:hover > button::after, .nav-item:focus-within > button::after { transform: rotate(-135deg) translateY(-1px); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; transform: translate(-50%, -8px); opacity: 0; visibility: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(10, 26, 49, .16); padding: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: block; padding: .7rem .8rem; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background .18s var(--ease); }
.mega a:hover, .mega a:focus-visible { background: var(--stone); }
.mega a strong { display: block; color: var(--navy); font-size: .95rem; }
.mega a span { display: block; color: var(--muted); font-size: .84rem; margin-top: .1rem; }
.header-actions { display: flex; gap: .5rem; align-items: center; }

/* ---------- hero ---------- */
.hero-x { position: relative; overflow: hidden; color: #fff; background: var(--ink-2); isolation: isolate; }
.hero-x .aurora { position: absolute; inset: -30%; z-index: -2; background:
  radial-gradient(40% 50% at 20% 30%, rgba(34, 72, 122, .9), transparent 70%),
  radial-gradient(35% 45% at 80% 20%, rgba(200, 164, 93, .35), transparent 70%),
  radial-gradient(45% 55% at 65% 85%, rgba(23, 52, 89, .95), transparent 70%);
  filter: blur(10px); animation: drift 22s var(--ease) infinite alternate; }
.hero-x .grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 100% { transform: translate3d(4%, -3%, 0) rotate(8deg); } }
.hero-x-inner { max-width: 1200px; margin: 0 auto; padding: 4.5rem 1.25rem 5rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-x .eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; padding: .35rem .75rem; border: 1px solid rgba(200, 164, 93, .4); border-radius: 999px; background: rgba(200, 164, 93, .08); }
.hero-x .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(200, 164, 93, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 164, 93, .6); } 70% { box-shadow: 0 0 0 10px rgba(200, 164, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 164, 93, 0); } }
.hero-x h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; margin: 1.1rem 0 1rem; }
.hero-x h1 em { font-style: normal; background: linear-gradient(90deg, #e9cf98, #c8a45d 60%, #e9cf98); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-x .lead { color: #c9d5e6; font-size: 1.15rem; max-width: 32em; margin-bottom: 1.8rem; }
.hero-x .btn-row { margin-top: 0; }
.btn-glow { position: relative; background: var(--gold); color: var(--ink-2); box-shadow: 0 10px 30px rgba(200, 164, 93, .35); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(200, 164, 93, .5); color: var(--ink-2); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: background .2s var(--ease), transform .2s var(--ease); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-2px); }
.hero-trust { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.2rem; color: #aebcd1; font-size: .88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-stage { position: relative; min-height: 470px; }
.float-card { position: absolute; width: 330px; aspect-ratio: 1.586; border-radius: 18px; padding: 1.2rem 1.35rem; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #1b3d6b 0%, #0e2340 55%, #0a1a31 100%); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .15); transform-style: preserve-3d; }
.float-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 48%, transparent 60%); background-size: 250% 100%; animation: sheen 5.5s var(--ease) infinite; pointer-events: none; }
@keyframes sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.float-card .chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #e9cf98, #b48d43); }
.float-card .num { letter-spacing: .18em; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.float-card .row { display: flex; justify-content: space-between; align-items: end; font-size: .78rem; opacity: .9; }
.float-card .row img { width: 34px; height: 34px; }
.card-back { top: 10px; right: -30px; transform: rotate(9deg); opacity: .55; filter: saturate(.6); animation: float-b 9s var(--ease) infinite alternate; }
.card-front { top: 40px; left: 0; animation: float-a 7s var(--ease) infinite alternate; }
@keyframes float-a { 0% { transform: translateY(0) rotate(-6deg); } 100% { transform: translateY(-14px) rotate(-3deg); } }
@keyframes float-b { 0% { transform: translateY(0) rotate(9deg); } 100% { transform: translateY(10px) rotate(12deg); } }
.signin-x { position: absolute; left: 30px; right: 0; bottom: 0; z-index: 2; background: #fff; color: var(--ink); border-radius: 18px; padding: 1.5rem 1.5rem 1.2rem; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.signin-x h2 { font-family: var(--font); font-size: 1.2rem; margin-bottom: .1rem; }
.signin-x .greet { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }

/* floating-label inputs */
.fl { position: relative; margin-bottom: .9rem; }
.fl input { width: 100%; font: inherit; padding: 1.2rem .8rem .45rem; border: 1px solid #c3cbd7; border-radius: 10px; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.fl label { position: absolute; left: .82rem; top: .9rem; color: var(--muted); pointer-events: none; transition: transform .18s var(--ease), font-size .18s var(--ease), color .18s var(--ease); transform-origin: left top; }
.fl input:focus { border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(34, 72, 122, .12); outline: none; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label { transform: translateY(-.55rem); font-size: .74rem; color: var(--navy-3); font-weight: 600; }
.fl .pw-toggle { top: 50%; }

/* ---------- quick links ---------- */
.quicklinks { position: relative; z-index: 2; max-width: 1200px; margin: -2.4rem auto 0; padding: 0 1.25rem; }
.quicklinks-inner { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(10, 26, 49, .10); display: grid; grid-template-columns: repeat(6, 1fr); }
.ql { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1.3rem .6rem; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; border-right: 1px solid var(--line-2); transition: background .2s var(--ease); }
.ql:last-child { border-right: 0; }
.ql .ic { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(145deg, #1d3f6c 0%, #0e2340 55%, #0a1a31 100%); box-shadow: 0 10px 22px rgba(10, 26, 49, .22), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(200, 164, 93, .22); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ql svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.ql svg .g { fill: var(--gold); stroke: none; }
.ql svg .w { fill: #fff; stroke: none; }
.ql svg .dkf { fill: #0e2340; stroke: none; }
.ql svg .gs { stroke: var(--gold); }
.ql svg .b { stroke-width: 2.2; }
.ql svg .dk { stroke: #0e2340; stroke-width: 1.9; }
.ql svg .soft { opacity: .45; }
.ql:hover { background: #fbfaf7; color: var(--navy); }
.ql:hover .ic, .ql:focus-visible .ic { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(10, 26, 49, .28), 0 0 0 4px rgba(200, 164, 93, .28), inset 0 1px 0 rgba(255, 255, 255, .14); }
.ql:hover svg { transform: scale(1.06); }

/* ---------- sections ---------- */
.sec { max-width: 1200px; margin: 0 auto; padding: 5.5rem 1.25rem; }
.sec-head { max-width: 44rem; margin-bottom: 2.4rem; }
.sec-head .kicker { color: var(--gold-dark); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
.sec-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: .5rem 0 .6rem; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.band-stone { background: var(--stone); }
.band-dark { background: var(--ink-2); color: #c9d5e6; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .sec-head p { color: #aebcd1; }

/* tabs with a sliding indicator */
.tabs { position: relative; display: inline-flex; background: var(--stone); border-radius: 999px; padding: .3rem; margin-bottom: 1.8rem; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-weight: 600; padding: .55rem 1.3rem; border-radius: 999px; cursor: pointer; color: var(--muted); transition: color .25s var(--ease); }
.tabs button[aria-selected=true] { color: var(--navy); }
.tabs .pill { position: absolute; top: .3rem; bottom: .3rem; left: .3rem; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(10, 26, 49, .12); transition: transform .35s var(--ease), width .35s var(--ease); }
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.prod { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.prod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy-3), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.prod:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10, 26, 49, .12); border-color: #d4dae4; }
.prod:hover::before { transform: scaleX(1); }
.prod h3 { font-size: 1.25rem; font-family: var(--serif); }
.prod .big { font-family: var(--serif); font-size: 2.8rem; color: var(--navy); line-height: 1; margin: .6rem 0 .2rem; font-variant-numeric: tabular-nums; }
.prod .big small { font-size: 1rem; font-family: var(--font); color: var(--muted); margin-left: .3rem; }
.prod .sub { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.prod p { color: #3c4859; flex: 1; }
.prod ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .4rem; font-size: .92rem; }
.prod li { display: flex; gap: .5rem; align-items: flex-start; }
.prod li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: .2rem; border-radius: 50%; background: #e6f3ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2318794e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.tab-panel[hidden] { display: none; }
.tab-panel.entering .prod { animation: rise .5s var(--ease) both; }
.tab-panel.entering .prod:nth-child(2) { animation-delay: .08s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* savings calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: stretch; }
.calc-card { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 2rem; box-shadow: 0 18px 50px rgba(10, 26, 49, .06); }
.calc-row { margin-bottom: 1.6rem; }
.calc-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.calc-row .top strong { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--navy-3) var(--p, 50%), #e2e6ec var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-3); box-shadow: 0 2px 8px rgba(10, 26, 49, .25); cursor: pointer; transition: transform .15s var(--ease); }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-3); cursor: pointer; }
.calc-result { background: linear-gradient(160deg, #0e2340, #173459); color: #fff; border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.calc-result::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 164, 93, .35), transparent 70%); }
.calc-result .label { color: #aebcd1; font-size: .9rem; }
.calc-result .total { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.05; margin: .3rem 0; font-variant-numeric: tabular-nums; }
.calc-result .earned { color: #e9cf98; font-weight: 600; }
.calc-result .fine { color: #8ea2bf; font-size: .78rem; margin-top: 1.2rem; }

/* app showcase with a phone that plays through screens */
.app { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.phone { position: relative; width: 290px; height: 590px; margin: 0 auto; border-radius: 46px; background: #0a1a31; padding: 12px; box-shadow: 0 40px 80px rgba(10, 26, 49, .35), inset 0 0 0 2px #22344f; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #0a1a31; border-radius: 999px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); }
.scr { position: absolute; inset: 0; padding: 3.2rem 1.1rem 1rem; opacity: 0; transform: translateX(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.scr.off { opacity: 0; transform: translateX(-30px); }
.scr .bar { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-weight: 700; color: var(--navy); font-size: .9rem; }
.scr .bar img { width: 26px; height: 26px; }
.scr .tile { background: #fff; border-radius: 14px; padding: .9rem; margin-bottom: .7rem; box-shadow: var(--shadow); font-size: .82rem; }
.scr .tile small { color: var(--muted); display: block; }
.scr .tile b { font-size: 1.25rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.scr .ok { width: 64px; height: 64px; border-radius: 50%; margin: 2.2rem auto 1rem; display: grid; place-items: center; background: #e6f3ec; }
.scr .ok svg { width: 32px; height: 32px; stroke: var(--pos); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.scr.on .ok svg { animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scr .center { text-align: center; }
.scr .mini-card { margin: 1rem auto; width: 92%; aspect-ratio: 1.586; border-radius: 12px; background: linear-gradient(135deg, #1b3d6b, #0a1a31); transition: filter .6s var(--ease); }
.scr.on .mini-card.lock { animation: lockcard 1.4s .4s var(--ease) forwards; }
@keyframes lockcard { to { filter: grayscale(1) brightness(.8); } }
.feature-list { display: grid; gap: 1.1rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; padding: 1rem; border-radius: 14px; transition: background .25s var(--ease); cursor: default; }
.feature-list li:hover, .feature-list li.active { background: var(--stone); }
.feature-list .ic { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(145deg, #1d3f6c 0%, #0e2340 60%, #0a1a31 100%); box-shadow: 0 8px 16px rgba(10, 26, 49, .18), inset 0 0 0 1px rgba(200, 164, 93, .22); display: grid; place-items: center; }
.feature-list svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-list strong { display: block; color: var(--navy); }
.feature-list span { color: var(--muted); font-size: .93rem; }

/* security band */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.sec-card { border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 1.5rem; background: rgba(255, 255, 255, .03); transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.sec-card:hover { border-color: rgba(200, 164, 93, .5); background: rgba(200, 164, 93, .06); transform: translateY(-4px); }
.sec-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(200, 164, 93, .12); margin-bottom: 1rem; }
.sec-card svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-card h3 { font-size: 1.05rem; font-family: var(--font); }
.sec-card p { color: #aebcd1; font-size: .92rem; margin: 0; }
.promise { margin-top: 2.2rem; padding: 1.2rem 1.4rem; border-radius: 14px; background: rgba(200, 164, 93, .1); border: 1px solid rgba(200, 164, 93, .3); color: #f1e3c4; }

/* stats strip */
.stats-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats-x div { padding: 1rem; }
.stats-x strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--navy); font-variant-numeric: tabular-nums; }
.stats-x span { color: var(--muted); font-size: .9rem; }

/* closing call to action */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: 3.2rem; background: linear-gradient(120deg, #0e2340, #22487a); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta p { color: #c9d5e6; }
.cta::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(200, 164, 93, .12); }
.cta .kv { color: #c9d5e6; position: relative; z-index: 1; }
.cta .kv dt { color: #8ea2bf; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

/* back to top */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(10, 26, 49, .3); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 20; font-size: 1.2rem; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 980px) {
  .hero-x-inner, .calc, .app, .cta { grid-template-columns: 1fr; }
  .hero-stage { min-height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
  .quicklinks-inner { grid-template-columns: repeat(3, 1fr); }
  .ql:nth-child(3) { border-right: 0; }
  .sec-grid, .stats-x { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: 1fr; }
  .mega { display: none; }
}
@media (max-width: 560px) {
  .float-card { width: 270px; }
  .card-back { right: -10px; }
  .signin-x { left: 0; }
  .sec-grid { grid-template-columns: 1fr; }
  .cta { padding: 2rem 1.4rem; }
  .sec { padding: 4rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .scr .ok svg { stroke-dashoffset: 0; }
}
.band-dark a, .promise a { color: #e9cf98; }
.band-dark a:hover, .promise a:hover { color: #fff; }
@media (max-width: 600px) { .utility-inner a:not(:last-child) { display: none; } }

/* lifestyle photo cards */
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.life-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(10, 26, 49, .06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.life-card:hover, .life-card:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10, 26, 49, .14); }
.life-card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.life-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.life-card:hover img { transform: scale(1.05); }
.life-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.life-card .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); background: rgba(200, 164, 93, .12); padding: .3rem .65rem; border-radius: 999px; }
.life-card h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin: .8rem 0 .4rem; line-height: 1.25; }
.life-card p { color: var(--muted); font-size: .95rem; margin: 0 0 1.1rem; }
.life-card .more { margin-top: auto; font-weight: 700; color: var(--navy-3); }
.life-card .more b { display: inline-block; transition: transform .3s var(--ease); }
.life-card:hover .more b { transform: translateX(5px); }

/* photo behind the phone */
.app-visual { position: relative; min-height: 640px; }
.app-photo { position: absolute; left: 0; top: 0; width: 64%; height: 80%; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px rgba(10, 26, 49, .18); }
.app-visual::before { content: ""; position: absolute; left: 8%; bottom: 2%; width: 50%; height: 30%; border-radius: 28px; background: linear-gradient(135deg, rgba(200, 164, 93, .35), rgba(200, 164, 93, 0)); }
.app-visual .phone { position: absolute; right: 0; bottom: 0; transform: scale(.9); transform-origin: bottom right; }
@media (max-width: 980px) {
  .life-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .app-visual { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .app-visual { min-height: 0; }
  .app-photo, .app-visual::before { display: none; }
  .app-visual .phone { position: relative; transform: none; margin: 0 auto; }
}
