/* Self-hosted latin subsets (Google Fonts, OFL). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-400-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Oswald; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/oswald-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tinos; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/tinos-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallbacks so the swap to the web fonts barely moves text. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --navy: #061347;
  --navy-deep: #030a26;
  --navy-mid: #0d1f5c;
  --navy-line: rgba(199,208,224,.14);
  --silver: #c7d0e0;
  --silver-bright: #e8edf6;
  --white: #ffffff;
  --ink: #0b1433;
  --muted: #5b6683;
  --paper: #f6f8fc;
  --line: #dfe4ee;
  --glow: rgba(232,237,246,.55);
  --glow-soft: rgba(199,208,224,.18);
  --radius: 14px;
  --shadow: 0 2px 5px rgba(3,10,38,.08), 0 13px 27px -5px rgba(3,10,38,.25), 0 8px 16px -8px rgba(0,0,0,.3);
}

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
* { box-sizing: border-box; }
::selection { background: var(--navy); color: var(--white); }
html { scrollbar-color: #9aa6c2 var(--paper); }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 Inter, 'Inter Fallback', sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
p { margin: 0 0 24px; }
h1, h2, h3 { font-family: Oswald, 'Arial Narrow', sans-serif; font-weight: 500; margin: 0; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; }
h3 { font-size: 1.55rem; line-height: 1.25; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.dark a:focus-visible { outline-color: var(--white); }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 120px; }
.light { color: var(--ink); }
.dark { color: var(--white); }
.eyebrow { color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.dark .eyebrow { color: var(--silver); }
.section-heading { max-width: 650px; margin-bottom: 52px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 25px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.6; min-height: 48px; transition: transform .25s, box-shadow .25s; }
.dark .button { background: var(--white); color: var(--navy); }
.button span { font-size: 19px; line-height: 1; transition: transform .25s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(6,19,71,.55); }
.dark .button:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 8px 30px -6px var(--glow); }
.button:hover span { transform: translate(2px, -2px); }
.text-link { display: inline-block; width: fit-content; font-weight: 500; position: relative; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; opacity: .45; transform: scaleX(.35); transform-origin: left; transition: transform .3s; }
.text-link:hover::after { transform: scaleX(1); }
.skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(-200%); z-index: 100; padding: 12px 20px; background: var(--white); color: var(--navy); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

/* The non-scripted navigation stays expanded and usable on small screens. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 30; color: var(--ink); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav-ready .site-header { position: fixed; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255,255,255,.84); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom-color: var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name { font: 700 19px/1.1 Tinos, 'Times New Roman', serif; color: var(--navy); }
.brand-tag { font: 500 12px/1.2 Inter, 'Inter Fallback', sans-serif; color: var(--muted); letter-spacing: .02em; }
.dark .brand-name { color: var(--white); }
.dark .brand-tag { color: var(--silver); }
#primary-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 500; padding: 5px 5px 5px 26px; border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 8px 30px -12px rgba(3,10,38,.35); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
#primary-nav > a:not(.button) { padding-block: 12px; position: relative; }
#primary-nav > a:not(.button)::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
#primary-nav > a:hover::after, #primary-nav > a[aria-current]::after { transform: scaleX(1); }
.nav-cta { font-size: 12px; padding: 11px 19px; min-height: 42px; gap: 14px; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 190px 0 150px; background: var(--white); }
.hero-background, .shader-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-background canvas, .shader-layer canvas { display: block; position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s ease-out; }
.shader-on canvas { opacity: 1; }
/* Painted first; it fades out once the WebGPU ribbon is ready, and stays if WebGPU is missing. */
.ribbon-fallback { position: absolute; inset: 0; background: linear-gradient(122deg, rgba(6,19,71,0) 50%, rgba(6,19,71,.55) 58%, #061347 63%, #2a4290 70%, #c7d0e0 75%, rgba(199,208,224,.35) 80%, rgba(199,208,224,0) 86%); transition: opacity 1.2s ease-out; }
.shader-on .ribbon-fallback { opacity: 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 62px; align-items: center; }
.hero-copy { min-width: 0; }
.hero .eyebrow { margin-bottom: 26px; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.012em; max-width: 600px; margin-bottom: 28px; color: var(--navy); text-wrap: balance; }
.hero-sub { color: #3d4a6b; max-width: 500px; font-size: 20px; line-height: 1.6; margin-bottom: 34px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 25px; }
.hero-actions .text-link { font-size: 14px; color: var(--navy); }
.hero-note { color: var(--muted); font-size: 13px; margin: 22px 0 0; }
.statement-stage { position: relative; min-width: 0; perspective: 1100px; padding: 20px 7px; }
.statement-card { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; isolation: isolate; background: rgba(255,255,255,.9); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 32px; color: var(--ink); transform: rotate(4deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); box-shadow: 0 50px 100px -20px rgba(3,10,38,.38), 0 30px 60px -30px rgba(0,0,0,.45), inset 0 1px 0 #fff; transition: transform .25s ease-out; }
.statement-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--angle), transparent 15%, rgba(6,19,71,.15) 30%, #2a4290 39%, transparent 47%, transparent 68%, #9aa6c2 78%, transparent 90%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: border-beam 6s linear infinite; }
.statement-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.statement-title { font-size: 16px; font-weight: 600; margin: 0 0 5px; color: var(--navy); }
.statement-subtitle { color: var(--muted); font-size: 12px; margin: 0; }
.statement-symbol { width: 32px; flex-shrink: 0; fill: none; stroke: var(--navy); stroke-width: 1.3; }
.statement-lines { padding-block: 14px 19px; }
.statement-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; font-size: 12px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.placeholder { display: block; height: 7px; border-radius: 20px; background: linear-gradient(90deg, #dfe4ee, #9aa6c2); flex-shrink: 0; }
.p-long { width: 62px; }.p-medium { width: 48px; }.p-short { width: 35px; }
.fee-row { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; border-radius: 9px; border: 1px solid var(--line); background: #f1f4fa; color: var(--navy); font-size: 13px; font-weight: 600; }
.fee-badge { display: grid; place-items: center; height: 23px; width: 23px; border-radius: 50%; background: #716f6d; color: var(--white); }
.fee-after { display: none; }
.statement-card.is-saved .fee-before { display: none; }
.statement-card.is-saved .fee-after { display: inline; }
.statement-card.is-saved .fee-badge { color: var(--white); background: var(--navy); }
.statement-card.is-saved .fee-row { animation: saved-pulse 1.5s ease-out; border-color: #9aa6c2; background: #e9eef8; }
.statement-card.is-saved .fee-row::after { content: ''; position: absolute; inset: -100% -30%; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%); transform: translateX(110%); animation: shimmer 1.25s ease-out; pointer-events: none; }
.statement-bottom { display: flex; gap: 5px; margin-top: 25px; }
.statement-bottom span { height: 4px; border-radius: 5px; width: 20px; background: var(--line); }
.statement-bottom span:first-child { width: 58px; background: #9aa6c2; }

.partners { background: var(--white); padding: 36px 0 42px; border-block: 1px solid var(--line); }
.partner-row { display: flex; gap: 70px; align-items: center; justify-content: center; }
.partner-row p { margin: 0; }
.partner-row > p:first-child { font-size: 13px; color: var(--muted); }
.partner-names { display: flex; align-items: center; justify-content: space-between; flex: 0 1 700px; gap: 25px; margin: 0; padding: 0; list-style: none; color: var(--navy); font-size: 23px; }
.partner-names li { display: flex; align-items: center; opacity: .62; transition: opacity .25s; }
.partner-names li:hover { opacity: 1; }
.partner-names img { width: auto; }
/* Logo heights are set by eye so the four marks carry the same visual weight. */
.logo-rapyd { height: 26px; }
.logo-teya { height: 28px; }
.logo-mypos { height: 48px; }
/* No official SkyTab mark is published any more (skytab.com now redirects to Shift4 Dine), so the name is set as type. */
.logo-skytab { font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.spotlight-card { --mx: 50%; --my: 25%; position: relative; isolation: isolate; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform .3s; }
.spotlight-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(6,19,71,.07), transparent 40%); z-index: -1; opacity: 0; transition: opacity .3s; }
.spotlight-card::after { content: ''; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; background: radial-gradient(250px circle at var(--mx) var(--my), rgba(6,19,71,.45), transparent 65%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.spotlight-card:hover { transform: translateY(-4px); }
.spotlight-card:hover::after, .spotlight-card:hover::before { opacity: 1; }
.service-icon { width: 40px; height: 40px; margin-bottom: 36px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spotlight-card h3 { margin-bottom: 16px; color: var(--navy); }
.spotlight-card p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }

.how-section { background: var(--white); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; list-style: none; margin: 0; padding: 0; }
.steps::before, .steps::after { content: ''; position: absolute; top: 25px; left: 26px; right: 26px; height: 1px; background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--navy), var(--silver)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s ease; }
.steps.is-in-view::after { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.step-number { display: grid; place-items: center; height: 52px; width: 52px; border-radius: 50%; background: var(--white); border: 1px solid var(--silver); font: 500 18px/1 Oswald, 'Arial Narrow', sans-serif; color: var(--muted); margin-bottom: 30px; transition: color .4s, background .4s, box-shadow .4s; }
.steps.is-in-view .step-number { color: var(--white); background: var(--navy); box-shadow: 0 0 0 7px var(--white), 0 0 24px var(--silver); }
.steps.is-in-view li:nth-child(2) .step-number { transition-delay: .45s; }
.steps.is-in-view li:nth-child(3) .step-number { transition-delay: .9s; }
.steps h3 { margin-bottom: 15px; color: var(--navy); }
.steps p { font-size: 15px; color: var(--muted); max-width: 310px; margin: 0; line-height: 1.8; }
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .how-section { min-height: 850px; view-timeline-name: --how; view-timeline-axis: block; }
    .how-sticky { position: sticky; top: 70px; }
    .steps::after { animation: progress-draw linear both; animation-timeline: --how; animation-range: contain 0% contain 90%; transition: none; }
    .steps .step-number { animation: step-light linear both; animation-timeline: --how; animation-range: contain 0% contain 10%; transition: none; }
    .steps li:nth-child(2) .step-number { animation-range: contain 40% contain 50%; }
    .steps li:nth-child(3) .step-number { animation-range: contain 80% contain 90%; }
  }
}

.paid-band { position: relative; isolation: isolate; background: var(--navy); padding-block: 155px; clip-path: polygon(0 70px, 100% 0, 100% calc(100% - 70px), 0 100%); margin-block: -1px; }
.paid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.paid-grid h2 { max-width: 400px; }
.paid-grid p:not(.eyebrow) { color: var(--silver-bright); line-height: 1.8; }
.paid-grid .button { margin-top: 8px; }
.meet { padding-top: 140px; }
.meet-grid { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 120px; }
.portrait-frame { position: relative; padding: 10px; background: linear-gradient(135deg, var(--white), var(--silver), var(--white)); border-radius: 24px; box-shadow: 0 0 55px var(--glow-soft); }
.portrait-frame img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); }
.meet-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.8; margin-top: 28px; }
.meet-copy .text-link { color: var(--navy); font-size: 15px; }
.meet-copy .text-link span { padding-left: 18px; }
.faq { padding-top: 30px; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0; font-size: 16px; font-weight: 600; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 15px; height: 15px; flex-shrink: 0; transition: transform .25s; }
.plus::before, .plus::after { content: ''; position: absolute; top: 7px; left: 0; width: 15px; height: 1px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(45deg); }
.faq-answer p { color: var(--muted); font-size: 15px; line-height: 1.8; padding-right: 35px; margin-bottom: 25px; }
@supports (interpolate-size: allow-keywords) {
  details { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height .3s, content-visibility .3s; transition-behavior: allow-discrete; }
  details[open]::details-content { height: auto; }
}
.final-cta { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 100%, #1b2f73, var(--navy) 50%, var(--navy-deep)); }
.final-content { position: relative; text-align: center; }
.final-content::before { content: ''; position: absolute; inset: -60px -10%; z-index: -1; background: radial-gradient(closest-side, rgba(3,10,38,.85), rgba(3,10,38,.55) 60%, transparent); pointer-events: none; }
.final-cta .ribbon-fallback { background: linear-gradient(58deg, transparent 30%, #1b2f73 44%, #c7d0e0 54%, transparent 64%); opacity: .7; }
.final-cta .shader-on .ribbon-fallback { opacity: 0; }
.final-content h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.final-content p { color: var(--silver-bright); margin: 24px 0 32px; }
.site-footer { padding: 76px 0 26px; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr .8fr; gap: 42px; padding-bottom: 64px; }
.footer-brand .brand-name { font-size: 17px; }
.footer-brand p { font-size: 13px; color: var(--silver); margin-top: 24px; max-width: 200px; }
.footer-heading { font: 600 13px/1.6 Inter, 'Inter Fallback', sans-serif; margin-bottom: 19px; }
.footer-grid nav a, .footer-contact a, .footer-contact address { display: block; font-size: 12px; color: var(--silver); margin-bottom: 10px; }
.footer-contact address { font-style: normal; margin-top: 16px; max-width: 190px; }
.content address { font-style: normal; margin-bottom: 24px; }
.footer-other a { font-size: 12px; color: var(--silver); }
.footer-grid a:hover { color: var(--white); }
.trading-name { border-top: 1px solid var(--navy-line); padding-top: 25px; margin: 0; color: var(--silver); font-size: 10px; line-height: 1.8; }

/* Content is visible by default. JS adds this class only with an active observer. */
.reveal-ready [data-reveal] { opacity: 0; filter: blur(6px); transform: translateY(16px); transition: opacity .7s, filter .7s, transform .7s; transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].is-visible { opacity: 1; filter: none; transform: none; }
.reveal-ready .spotlight-card.is-visible:hover { transform: translateY(-4px); }
.page-hidden *, .page-hidden *::before, .page-hidden *::after, .hero.is-paused *, .hero.is-paused *::before, .hero.is-paused *::after { animation-play-state: paused !important; }
@keyframes border-beam { to { --angle: 360deg; } }
@keyframes shimmer { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes saved-pulse { 35% { box-shadow: 0 0 0 4px rgba(42,66,144,.12), 0 0 28px rgba(42,66,144,.25); } }
@keyframes progress-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes step-light { from { color: var(--muted); background: var(--white); box-shadow: 0 0 0 7px var(--white); } to { color: var(--white); background: var(--navy); box-shadow: 0 0 0 7px var(--white), 0 0 24px var(--silver); } }

@media (max-width: 1050px) {
  .nav-shell { gap: 20px; }.brand-name { font-size: 17px; }#primary-nav { gap: 18px; }
  .hero-grid { gap: 35px; }.statement-card { padding: 26px; }.hero-actions { flex-direction: column; align-items: flex-start; }
  .meet-grid { gap: 70px; }.paid-grid { gap: 60px; }.footer-grid { gap: 26px; }
}
@media (max-width: 899px) {
  .nav-shell { flex-wrap: wrap; min-height: 78px; padding-block: 18px; }
  #primary-nav { width: 100%; flex-wrap: wrap; justify-content: center; border-radius: 24px; padding: 8px 16px; }
  .nav-ready .menu-toggle { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; background: transparent; color: var(--navy); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-ready #primary-nav { display: none; position: absolute; left: 0; top: 100%; border-radius: 0; box-shadow: none; padding: 22px 24px 28px; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); flex-direction: column; gap: 5px; align-items: stretch; }
  .nav-ready .menu-open #primary-nav { display: flex; }
  #primary-nav .nav-cta { margin-top: 10px; }
  .hero { padding-top: 220px; padding-bottom: 130px; }
  .nav-ready .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-sub { font-size: 15px; }.hero-actions .button { font-size: 12px; padding: 13px 20px; gap: 13px; }
  .statement-card { padding: 22px; }.statement-title { font-size: 14px; }.statement-row { font-size: 11px; gap: 8px; }.placeholder { max-width: 32px; }
  .service-grid { gap: 16px; }.spotlight-card { padding: 26px; }
  .steps { gap: 30px; }.partner-row { gap: 36px; }.partner-names { gap: 18px; }
  .meet-grid { gap: 45px; }.faq-grid { gap: 48px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 699px) {
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }.hero-copy { max-width: 540px; }.hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: row; align-items: center; }.hero-actions .button { font-size: 14px; }
  .statement-stage { width: min(440px, calc(100% - 20px)); margin-inline: auto; padding: 0; }.statement-card { padding: 28px; }.statement-title { font-size: 16px; }.statement-row { font-size: 12px; }.placeholder { max-width: none; }
  .hero { padding-bottom: 110px; }.hero-background { top: auto; height: 46%; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
  .partner-row { flex-direction: column; gap: 20px; }.partner-names { flex: auto; width: 100%; max-width: 440px; font-size: 21px; gap: 12px; }
  .service-grid, .steps, .paid-grid, .meet-grid, .faq-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 20px; }.spotlight-card { padding: 32px; }.service-icon { margin-bottom: 26px; }
  .steps { gap: 36px; }.steps li { padding-left: 78px; min-height: 100px; }.step-number { position: absolute; top: 0; left: 0; margin: 0; }
  .steps::before, .steps::after { top: 26px; bottom: 26px; left: 25px; right: auto; width: 1px; height: auto; }.steps::after { transform: scaleY(1); transform-origin: top; }.steps p { max-width: none; }
  .paid-grid { gap: 32px; }.paid-band { clip-path: polygon(0 35px, 100% 0, 100% calc(100% - 35px), 0 100%); padding-block: 110px; }
  .meet-grid { gap: 50px; }.portrait-frame { max-width: 380px; width: calc(100% - 16px); margin-inline: auto; }.meet-copy { max-width: 500px; }
  .faq-grid { gap: 36px; }.footer-grid { column-gap: 30px; }.footer-brand { grid-column: 1 / -1; }.footer-other { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 32px); }.section { padding-block: 76px; }.section-heading { margin-bottom: 36px; }
  .brand { gap: 10px; }.brand-mark { width: 38px; height: 38px; }.brand-name { font-size: 15px; }.brand-tag { font-size: 11px; }.nav-shell { min-height: 78px; padding-block: 14px; }
  .hero { padding-top: 230px; }.nav-ready .hero { padding-top: 136px; }.hero .eyebrow { font-size: 11px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }.hero-note { font-size: 11px; }.hero-sub { margin-bottom: 27px; }
  .hero-grid { gap: 55px; }.statement-card { padding: 24px; }.statement-row { gap: 10px; }.statement-title { font-size: 14px; }
  .partners { padding-block: 25px 33px; }.partner-names { font-size: 20px; }.partner-row > p:first-child { font-size: 12px; }
  .paid-band { padding-block: 108px; }.meet { padding-top: 84px; }.faq { padding-top: 10px; }
  .final-content p { font-size: 16px; }.site-footer { padding-top: 58px; }.footer-grid { padding-bottom: 40px; }
  summary { font-size: 14px; gap: 18px; }.faq-answer p { padding-right: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, details::details-content { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1; filter: none; transform: none; }
  .statement-card { transform: none; }.fee-before { display: none; }.fee-after { display: inline; }.fee-badge { color: var(--white); background: var(--navy); }
  .spotlight-card:hover, .reveal-ready .spotlight-card.is-visible:hover, .button:hover { transform: none; }
  .steps::after { transform: none; }.step-number { color: var(--white); background: var(--navy); }
}


/* Shared content pages use the approved Home typography and palette. */
section.content { padding-block: 76px; background: var(--white); }
section.content:nth-of-type(even) { background: var(--paper); }
.narrow { max-width: 70ch; }
.content h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 28px; }
.content h3 { margin-block: 30px 16px; color: var(--navy); }
.content p, .content li { overflow-wrap: anywhere; }
.content a:not(.button):not(.link-card), .faq-item a, .hero-sub a { text-decoration: underline; text-underline-offset: 4px; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--muted); }
.callout { padding: 24px 28px; margin-block: 32px; background: var(--silver-bright); border-left: 3px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 30px; border: 1px solid var(--line); border-radius: 10px; }
.table-scroll:focus-visible, input:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
table.compare { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 15px; text-align: left; }
.compare th, .compare td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--silver-bright); color: var(--navy); }
.compare tr:last-child td { border-bottom: 0; }
ul.ticks { padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; margin-block: 14px; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; font-weight: 600; color: var(--navy); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.link-card { display: flex; flex-direction: column; gap: 15px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.link-card:hover { box-shadow: var(--shadow); border-color: var(--silver); }
.link-card strong { font: 500 1.5rem/1.3 Oswald, 'Arial Narrow', sans-serif; color: var(--navy); }
.link-card span { color: var(--muted); font-size: 15px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.inner-hero { padding: 160px 0 60px; }
.inner-hero-grid { display: grid; grid-template-columns: 55% 45%; align-items: center; }
.inner-hero-copy { position: relative; padding-right: 30px; min-width: 0; }
.inner-hero h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.inner-hero .hero-sub { font-size: 18px; }
.inner-hero .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
/* Desktop: the ribbon bleeds off the right edge of the hero and fades in from the left, like the Home hero. */
.inner-ribbon { position: absolute; top: 0; right: 0; bottom: 0; width: 50vw; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.inner-ribbon canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s; }
.inner-ribbon.shader-on canvas { opacity: 1; }
.inner-ribbon .ribbon-fallback { background: linear-gradient(48deg, transparent 16%, var(--navy) 37%, #2a4290 49%, var(--silver) 64%, transparent 78%); }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 14px; color: var(--silver); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.last-updated { font-size: 12px; color: var(--muted); margin: 26px 0 0; }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 16px; }
.faq-item p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.8; }
.fee-calculator { display: grid; gap: 22px; margin-block: 30px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.fee-calculator label { display: grid; gap: 9px; font-size: 15px; font-weight: 500; }
.fee-calculator input { font: inherit; min-width: 0; width: 100%; padding: 13px; color: var(--ink); background: var(--white); border: 1px solid var(--silver); border-radius: 7px; }
.fee-calculator button { cursor: pointer; border: 0; justify-self: start; }
.fee-calculator button[hidden] { display: none; }
.calculator-help { font-size: 13px; color: var(--muted); margin: 0; }
.calculator-result { display: block; font-weight: 600; color: var(--navy); }
.footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { max-width: none; }
.footer-contact { grid-column: span 2; }
.footer-other { grid-column: span 2; align-self: end; }
.footer-grid a { overflow-wrap: anywhere; }
.trading-name a { margin-left: 20px; text-decoration: underline; }
#primary-nav { gap: 15px; padding-left: 18px; white-space: nowrap; }
.site-header .brand-name { max-width: none; }
.nav-group { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-group > a { padding-block: 12px; }
.dropdown-toggle { display: inline-grid; place-items: center; color: var(--navy); background: transparent; border: 0; padding: 8px 4px; cursor: pointer; min-width: 24px; }
.dropdown-toggle svg { transition: transform .2s; }
.nav-group.is-open .dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown { display: none; position: absolute; top: 100%; left: -18px; width: 270px; max-height: 70vh; overflow-y: auto; list-style: none; margin: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); white-space: normal; }
.nav-dropdown a { display: block; padding: 11px 12px; border-radius: 6px; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--silver-bright); }
html:not(.dropdown-ready) .nav-group:hover .nav-dropdown, html:not(.dropdown-ready) .nav-group:focus-within .nav-dropdown, .nav-group.is-open .nav-dropdown { display: block; }
@media (min-width: 900px) and (max-width: 1150px) {
  #primary-nav { gap: 10px; font-size: 12px; }
  .site-header .brand-name { font-size: 17px; max-width: 190px; }
  .site-header .nav-cta { padding-inline: 13px; }
  .nav-shell { gap: 16px; }
}
@media (max-width: 899px) {
  .nav-ready #primary-nav { max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav-group { display: block; }
  .nav-group > a { display: block; font-weight: 600; }
  .dropdown-toggle { display: none; }
  .nav-dropdown { display: block; position: static; width: auto; max-height: none; border: 0; border-left: 1px solid var(--line); box-shadow: none; background: transparent; margin: 0 0 10px 8px; padding: 0 0 0 12px; border-radius: 0; }
  .nav-dropdown a { padding-block: 9px; font-size: 13px; }
  .inner-hero, .nav-ready .inner-hero { padding-top: 140px; padding-bottom: 44px; }
  html:not(.nav-ready) .site-header { position: relative; }
  html:not(.nav-ready) .hero { padding-top: 60px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  section.content { padding-block: 56px; }
  .inner-hero-grid, .two-col { grid-template-columns: 1fr; }
  .inner-hero-copy { padding-right: 0; }
  .inner-ribbon { position: relative; top: auto; bottom: auto; width: auto; z-index: auto; height: 140px; margin-top: 24px; -webkit-mask-image: linear-gradient(to right, transparent, #000 25%); mask-image: linear-gradient(to right, transparent, #000 25%); }
  .inner-hero h1 { max-width: 100%; }
  .inner-hero .hero-sub { max-width: none; }
  .inner-hero, .nav-ready .inner-hero { padding-bottom: 12px; }
  .footer-contact, .footer-other { grid-column: 1 / -1; }
}

/* Mobile menu: one column, each section an accordion, 44px+ targets, page scroll locked while open. */
@media (max-width: 899px) {
  .nav-ready #primary-nav { flex-wrap: nowrap; white-space: normal; gap: 0; padding: 6px 24px 28px; font-size: 16px; overscroll-behavior: contain; height: calc(100dvh - 78px); background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open.site-header { background: var(--white); }
  .nav-ready #primary-nav > a:not(.button), .nav-ready .nav-group { border-bottom: 1px solid var(--line); }
  .nav-ready #primary-nav > a:not(.button) { display: flex; align-items: center; min-height: 54px; padding: 0; font-weight: 600; }
  .nav-ready #primary-nav > a:not(.button)::after { display: none; }
  .nav-ready .nav-group { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
  .nav-ready .nav-group > a { display: flex; align-items: center; min-height: 54px; padding: 0; }
  .nav-ready .dropdown-toggle { display: grid; width: 48px; height: 48px; justify-self: end; border-radius: 50%; }
  .nav-ready .dropdown-toggle svg { width: 16px; height: 16px; }
  .nav-ready .nav-dropdown { display: none; grid-column: 1 / -1; margin: 0 0 14px 2px; padding: 0 0 0 14px; }
  .nav-ready .nav-group.is-open .nav-dropdown { display: block; }
  .nav-ready .nav-dropdown a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15px; color: #3d4a6b; }
  .nav-ready #primary-nav .nav-cta { margin-top: 22px; min-height: 52px; font-size: 14px; }
  .menu-locked, .menu-locked body { overflow: hidden; }
}

/* Phones get no WebGPU ribbon, so the CSS ribbon behind the statement card carries the look. */
@media (max-width: 699px) {
  .hero:not(.inner-hero) .ribbon-fallback { background: linear-gradient(35deg, rgba(6,19,71,0) 30%, rgba(6,19,71,.55) 40%, #061347 46%, #2a4290 54%, #c7d0e0 61%, rgba(199,208,224,.3) 67%, rgba(199,208,224,0) 73%); }
}
@media (max-width: 699px) {
  .inner-ribbon { -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent), linear-gradient(transparent, #000 25%, #000 75%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent), linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-composite: intersect; }
}
