/* Bright Touch Technology — colours taken from the logo */
:root {
  --navy: #032d63;
  --navy-deep: #021f45;
  --blue: #1565ac;
  --cyan: #00a9ce;
  --ice: #eaf4fa;
  --paper: #f5f8fb;
  --ink: #0d2341;
  --muted: #52627a;
  --line: #d7e2ec;
  --display: "Chakra Petch", "Bahnschrift", "DIN Alternate", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cut: 22px;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, .h1 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.tint { background: var(--paper); }
.small-title { font-size: 1.35rem; color: var(--navy); margin-bottom: 1.2em; }
.kicker { font-family: var(--display); font-weight: 600; color: var(--cyan); font-size: 1.05rem; margin-bottom: .8em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfe0f0; max-width: 46ch; }
.lead-dark { font-size: 1.2rem; color: var(--ink); max-width: 48ch; }
.note { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--cyan); padding-left: 14px; }
.muted { color: var(--muted); }

/* Buttons: the cut corner echoes the angled letterforms in the logo */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--display); letter-spacing: .01em; padding: 15px 24px; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background .15s; }
.btn:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .93rem; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy-deep); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); clip-path: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost { background: var(--ice); color: var(--navy); }
.btn-ghost:hover { background: #d4e9f5; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-family: var(--display); font-weight: 600; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--cyan); padding-bottom: 2px; }
.cut { margin: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.cut img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 220px; height: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav > ul > li > a { font: 600 1rem var(--display); color: var(--ink); text-decoration: none; padding: 10px 12px; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current] { color: var(--blue); }
.site-nav a[aria-current] { box-shadow: inset 0 -2px var(--cyan); }
.sub-toggle { background: none; border: 0; color: var(--muted); padding: 6px 4px; margin-left: -8px; cursor: pointer; }
.nav-cta { margin-left: 10px; }
.mega, .drop { position: absolute; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.has-mega { position: static !important; }
.mega { left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--cyan); box-shadow: 0 30px 60px -30px rgba(3,45,99,.35); padding: 32px 0 36px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 32px; }
.mega-head { display: block; font: 600 1rem var(--display); color: var(--navy); text-decoration: none; margin-bottom: 8px; }
.mega ul, .drop { list-style: none; margin: 0; padding: 0; }
.mega li a, .drop a { display: block; color: var(--muted); text-decoration: none; font-size: .93rem; padding: 3px 0; }
.mega li a:hover, .drop a:hover { color: var(--blue); }
.drop { top: 100%; left: 0; min-width: 250px; background: #fff; border-top: 3px solid var(--cyan); box-shadow: 0 24px 40px -20px rgba(3,45,99,.35); padding: 12px 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega,
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { visibility: visible; opacity: 1; }
.menu-toggle { display: none; }

/* Swoosh lines borrowed from the logo mark */
.swoosh { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; }
.swoosh path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* Home hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #0a4a8f 0%, var(--navy) 45%, var(--navy-deep) 100%); color: #fff; }
.hero-swoosh { height: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: min(78vh, 680px); padding: 64px 0 72px; }
.hero h1, .hero .h1 { color: #fff; max-width: 13ch; }
.slide[hidden] { display: none; }
.slide { animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.slide-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; max-width: 560px; }
.slide-controls button { background: none; border: 0; color: #9fb7d3; text-align: left; font: 500 .85rem var(--display); padding: 0; cursor: pointer; }
.slide-controls button i { display: block; height: 3px; margin-top: 8px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.slide-controls button i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.slide-controls button[aria-pressed="true"] { color: #fff; }
.slide-controls button[aria-pressed="true"] i::after { transform: scaleX(1); }
.hero.playing .slide-controls button[aria-pressed="true"] i::after { animation: fill 7s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-media { margin: 0; position: relative; --cut: 48px; clip-path: polygon(14% 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 22%); }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: opacity .35s; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(0,169,206,.35)); }

/* Inner cover */
.cover { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 48px 0 64px; }
.cover-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.cover h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 18ch; }
.cover-media { margin: 0; --cut: 36px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.cover-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 26px; color: #7f9bbd; }
.crumbs a { color: #b6cbe2; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.cover-404 { padding: 120px 0; text-align: left; }

/* Section heads & layouts */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin: 0; color: var(--navy); }
.section-head p { margin: 0; color: var(--muted); max-width: 48ch; }
.section-head .text-link { grid-column: 2; justify-self: start; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split h2 { color: var(--navy); }
.intro-icon { width: 44px; margin-bottom: 20px; }

/* Home service explorer (tabs) */
.explorer-grid { display: grid; grid-template-columns: 330px 1fr; gap: 48px; }
.explorer-tabs { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.explorer-tabs button { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; text-align: left; background: none; border: 0; border-left: 3px solid transparent; margin-left: -2px;
  padding: 13px 18px; font: 600 1.05rem var(--display); color: var(--muted); cursor: pointer; }
.explorer-tabs button small { font: 500 .85rem var(--body); color: #8a9ab0; }
.explorer-tabs button:hover { color: var(--navy); }
.explorer-tabs button[aria-selected="true"] { color: var(--navy); border-left-color: var(--cyan); background: linear-gradient(90deg, var(--ice), transparent); }
.explorer-panel { display: grid; grid-template-columns: .95fr 1fr; gap: 36px; align-items: start; }
.js .explorer-panel[hidden] { display: none; }
.explorer-panel h3 { font-size: 1.6rem; color: var(--navy); }
.explorer-panel > div > p { color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.link-list a:hover { color: var(--blue); padding-left: 8px; transition: padding .15s; }
.link-list img { width: 22px; flex: none; }
html:not(.js) .explorer-tabs { display: none; }
html:not(.js) .explorer-grid { grid-template-columns: 1fr; gap: 56px; }

/* Products band */
.products-band { background: var(--paper); }
.product-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.product-tile { background: #fff; padding: 28px 24px 30px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; position: relative; }
.product-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.product-tile:hover::after, .product-tile:focus-visible::after { transform: scaleX(1); }
.product-tile img { width: 34px; margin-bottom: 14px; }
.product-tile h3 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.product-tile p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Steps (real sequences only) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-col { grid-template-columns: 1fr; gap: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 18px; }
.steps-col li { border-top: 1px solid var(--line); padding: 22px 0 18px; display: grid; grid-template-columns: 56px 1fr; }
.steps-col li > * { grid-column: 2; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 .95rem var(--display); color: var(--cyan); display: block; margin-bottom: 10px; }
.steps-col li::before { grid-column: 1; grid-row: 1 / span 2; font-size: 1.3rem; }
.steps h3 { color: var(--navy); margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

/* Partners */
.partners-strip { padding-top: 0; }
.partner-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-logos li { display: flex; align-items: center; gap: 16px; padding: 26px 20px; }
.partner-logos li + li { border-left: 1px solid var(--line); }
.partner-logos span { display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; }
.partner-logos strong { font: 600 1.15rem var(--display); color: var(--navy); }
.partner-logos.large { margin: 24px 0 32px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; font: 500 .95rem var(--display); color: var(--navy); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #b9cde3; margin: 0; }
.cta-band .actions { justify-content: flex-end; margin: 0; }

/* Cards & lists */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mini-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); transition: border-color .15s; }
.mini-card:hover { border-color: var(--cyan); }
.mini-card img { width: 28px; margin-bottom: 10px; }
.mini-card strong { font: 600 1.08rem/1.25 var(--display); color: var(--navy); }
.mini-card span { color: var(--muted); font-size: .92rem; }
.checks { list-style: none; padding: 0; margin: 0; columns: 1; }
.checks li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg); }
.checks.compact li { padding: 7px 0 7px 28px; border: 0; font-size: .95rem; }
.checks.compact li::before { top: 13px; width: 11px; height: 6px; }
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li { border-top: 1px solid var(--line); }
.value-list li > a, .value-list li > strong { display: block; }
.value-list a, .value-list li:not(:has(a)) { padding: 20px 0; display: flex; flex-direction: column; text-decoration: none; }
.value-list strong { font: 600 1.25rem var(--display); color: var(--navy); }
.value-list span { color: var(--muted); }
.value-list.sectors { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.value-list a:hover strong { color: var(--blue); }

/* Services page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0 0; }
.jump a { font: 500 .92rem var(--display); text-decoration: none; color: var(--navy); background: var(--ice); padding: 8px 14px; }
.jump a:hover { background: var(--cyan); color: #fff; }
.group-section { scroll-margin-top: 90px; }
.group-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 56px; align-items: start; }
.group-intro { position: sticky; top: 110px; }
.group-intro h2 { color: var(--navy); }
.group-intro p { color: var(--muted); }

/* Products page */
.product-list { display: grid; gap: 32px; }
.product-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.product-card:nth-child(even) .cut { order: 2; }
.product-card h2 { font-size: 1.9rem; margin: 12px 0 8px; }
.product-card h2 a { color: var(--navy); text-decoration: none; }
.product-card .actions { margin-top: 18px; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; color: var(--navy); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.contact-details h2 { color: var(--navy); }
.contact-details dl { margin: 0; }
.contact-details dt { font: 600 .9rem var(--display); color: var(--cyan); margin-top: 18px; }
.contact-details dd { margin: 2px 0 0; font-size: 1.08rem; }
.map iframe { width: 100%; height: 260px; border: 0; margin-top: 28px; }
.form-card { background: var(--paper); padding: clamp(24px, 4vw, 44px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.field { margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 18px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); padding: 12px 14px; border-radius: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0,169,206,.25); }
[aria-invalid="true"] { border-color: #c62828; }
.field-error { color: #b71c1c; font-size: .9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.notice { padding: 14px 18px; margin-bottom: 22px; border-left: 4px solid; background: #fff; }
.notice.success { border-color: #1e8e5a; }
.notice.error { border-color: #c62828; }

/* Footer */
.site-footer { position: relative; background: var(--navy-deep); color: #a9bdd6; padding: 72px 0 28px; font-size: .95rem; overflow: hidden; }
.footer-swoosh { top: 0; bottom: auto; height: 60px; opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { width: 230px; margin-bottom: 18px; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.site-footer a { display: block; color: #cddbec; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--cyan); }
.social { display: flex; gap: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: .85rem; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #1ea952; color: #fff; text-decoration: none;
  padding: 12px 18px 12px 14px; font: 600 .95rem var(--display); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.wa-float:hover { background: #178a42; color: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .product-row { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .explorer-grid { grid-template-columns: 260px 1fr; gap: 32px; }
  .explorer-panel { grid-template-columns: 1fr; }
  .explorer-panel .cut { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span:first-child, .menu-toggle span:first-child::before, .menu-toggle span:first-child::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: transform .2s; }
  .menu-toggle span:first-child::before, .menu-toggle span:first-child::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span:first-child::before { top: -7px; } .menu-toggle span:first-child::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 76px 0 0 0; background: #fff; overflow-y: auto; display: none; padding: 12px 20px 40px; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { flex: 1; padding: 16px 0; font-size: 1.1rem; }
  .sub-toggle { padding: 16px; margin: 0; }
  .mega, .drop { position: static; display: none; visibility: visible; opacity: 1; box-shadow: none; border: 0; padding: 0 0 16px; width: 100%; }
  .has-mega:hover .mega, .has-drop:hover .drop { display: none; }
  .has-mega.open .mega, .has-drop.open .drop { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 14px; width: 100%; }
  .nav-cta { margin: 20px 0 0; border: 0 !important; }
  .hero-grid, .cover-grid, .split, .section-head, .cta-inner, .group-grid, .contact-grid, .product-card { grid-template-columns: 1fr; }
  .section-head .text-link { grid-column: 1; }
  .hero-grid { min-height: 0; gap: 36px; padding: 44px 0 56px; }
  .hero-media { order: -1; --cut: 28px; }
  .hero-media img { aspect-ratio: 16 / 9; }
  .cover-media { display: none; }
  .explorer-grid { grid-template-columns: 1fr; }
  .explorer-tabs { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .explorer-tabs button { border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -2px; white-space: nowrap; }
  .explorer-tabs button[aria-selected="true"] { border-bottom-color: var(--cyan); background: none; }
  .group-intro { position: static; }
  .cta-band .actions { justify-content: flex-start; }
  .product-card:nth-child(even) .cut { order: 0; }
  .steps, .steps-4 { grid-template-columns: 1fr 1fr; }
  .partner-logos { grid-template-columns: 1fr 1fr; }
  .partner-logos li:nth-child(3) { border-left: 0; }
  .partner-logos li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 170px; }
  .product-row, .card-grid, .card-grid-2, .value-list.sectors, .steps, .steps-4, .footer-grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .partner-logos { grid-template-columns: 1fr; }
  .partner-logos li + li { border-left: 0; border-top: 1px solid var(--line); }
  .slide-controls { gap: 8px; }
  .slide-controls span { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Refinements after visual review */
.site-nav > ul > li > a.btn { color: #fff; padding: 11px 18px; }
.site-nav > ul > li > a.btn:hover { color: #fff; }
.swoosh { opacity: .55; }
.cta-band .swoosh, .cover .swoosh { height: 40%; }
@media (max-width: 920px) { .hero-swoosh { height: 45%; top: auto; } }
.value-list li > a, .value-list li:not(:has(a)) { display: flex; flex-direction: column; gap: 2px; padding: 20px 0; text-decoration: none; }

/* ===== v2: professional polish ===== */
.topbar { background: var(--navy-deep); color: #b6c8de; font-size: .84rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #dbe6f3; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--cyan); }
.topbar-contact, .topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar svg { color: var(--cyan); }
.site-header { transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(3,45,99,.45); }

/* Hero refinements */
.hero { padding-bottom: 60px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; }
.hero .kicker::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }

/* Domain search card overlapping the hero */
.domain-dock { position: relative; z-index: 2; margin-top: -58px; }
.domain-card { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; background: #fff; padding: 28px 32px; box-shadow: 0 30px 60px -30px rgba(3,45,99,.45); border-top: 3px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.domain-card h2 { font-size: 1.35rem; color: var(--navy); margin: 0 0 4px; }
.domain-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.domain-input { display: flex; }
.domain-input input { flex: 1; font-size: 1.05rem; padding: 15px 16px; border-right: 0; }
.domain-input .btn { clip-path: none; }

/* Why section */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.why-grid li { padding: 28px 26px 8px 0; }
.why-grid li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.why-grid svg { width: 34px; height: 34px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.why-grid h3 { color: var(--navy); font-size: 1.2rem; }
.why-grid p { color: var(--muted); font-size: .96rem; margin: 0; }

/* AI band */
.ai-band { background: linear-gradient(120deg, var(--ice), #f8fbfe 60%); }
.ai-band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ai-band h2 { color: var(--navy); }
.ai-band p { color: var(--muted); max-width: 46ch; }
.ai-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-prompts button { text-align: left; background: #fff; border: 1px solid var(--line); padding: 16px 18px; font: 500 .98rem var(--body); color: var(--navy); cursor: pointer; transition: border-color .15s; }
.ai-prompts button:hover { border-color: var(--cyan); }
.ai-prompts button::before { content: "✦"; color: var(--cyan); margin-right: 8px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 1.1rem var(--display); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { color: var(--muted); padding: 0 40px 20px 0; margin: 0; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.post-card .cut { margin-bottom: 8px; }
.post-card time { font-size: .85rem; color: var(--cyan); font-weight: 600; }
.post-card h3 { color: var(--navy); margin: 0; font-size: 1.25rem; }
.post-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.post-card:hover h3 { color: var(--blue); }
.article { font-size: 1.08rem; line-height: 1.75; }
.article img { margin: 1.5em 0; }
.article blockquote { border-left: 3px solid var(--cyan); margin: 1.5em 0; padding: 4px 0 4px 20px; color: var(--muted); }

/* Domain page */
.domain-hero { padding-bottom: 72px; }
.domain-hero h1 { max-width: none; }
.domain-search { display: flex; max-width: 760px; margin-top: 28px; }
.domain-search input { flex: 1; font-size: 1.15rem; padding: 18px 20px; border: 0; }
.domain-search .btn { clip-path: none; padding-inline: 28px; }
.tld-hint { margin-top: 14px; color: #9fb7d3; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.tld-hint span { color: #fff; font-family: var(--display); }
.domain-list { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.domain-list li { display: grid; grid-template-columns: 1fr 160px 130px; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); min-height: 64px; }
.domain-list li.primary { background: var(--ice); padding-inline: 16px; }
.d-name { font: 600 1.15rem var(--display); color: var(--navy); word-break: break-all; }
.d-status { font-weight: 600; font-size: .92rem; }
.d-action { text-align: right; }
.domain-list .available .d-status { color: #1b7a4b; }
.domain-list .available .d-status::before { content: "● "; }
.domain-list .taken .d-name { color: #8a9ab0; text-decoration: line-through; text-decoration-thickness: 1px; }
.domain-list .taken .d-status { color: #8a9ab0; }
.domain-list .unknown .d-status { color: #a26a00; }
.domain-list .checking .d-status { color: var(--muted); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.domain-ideas { margin-top: 48px; }
.inline-form { display: flex; gap: 10px; max-width: 640px; }
.inline-form input { flex: 1; }
.idea-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: var(--muted); }
.idea-chips button { background: #fff; border: 1px solid var(--line); padding: 8px 14px; font: 600 .95rem var(--display); color: var(--navy); cursor: pointer; }
.idea-chips button:hover { border-color: var(--cyan); }
.field-sm { flex: 0 0 110px; }
.small { font-size: .88rem; }

/* AI helper + chat */
.ai-helper { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.ai-status { font-size: .9rem; color: var(--muted); }
.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floaters .wa-float { position: static; }
.ai-launch { display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; cursor: pointer; padding: 12px 18px 12px 14px; font: 600 .95rem var(--display);
  box-shadow: 0 10px 30px -10px rgba(3,45,99,.6); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.ai-launch svg { color: var(--cyan); }
.ai-launch:hover { background: var(--blue); }
.ai-chat { position: fixed; right: 20px; bottom: 140px; z-index: 60; width: min(400px, calc(100vw - 24px)); height: min(560px, calc(100vh - 170px)); background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(2,31,69,.55); border-top: 3px solid var(--cyan); }
.ai-chat[hidden] { display: none; }
.ai-chat header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--navy); color: #fff; }
.ai-chat header strong { font-family: var(--display); display: block; }
.ai-chat header small { color: #9fb7d3; font-size: .76rem; }
.ai-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.ai-msg { max-width: 88%; padding: 10px 14px; font-size: .94rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); align-self: flex-start; overflow-wrap: anywhere; }
.ai-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-color: var(--blue); }
.ai-msg.error { border-color: #e3b4b4; color: #b71c1c; }
.ai-msg a { font-weight: 600; }
.ai-msg.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; background: var(--muted); border-radius: 50%; animation: pulse 1s infinite; }
.ai-msg.typing span:nth-child(2) { animation-delay: .2s; } .ai-msg.typing span:nth-child(3) { animation-delay: .4s; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: var(--paper); }
.ai-chips button { background: #fff; border: 1px solid var(--line); padding: 6px 10px; font-size: .82rem; color: var(--navy); cursor: pointer; }
.ai-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ai-form textarea { resize: none; padding: 10px 12px; }

@media (max-width: 1080px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-grid li:nth-child(3) { border-left: 0; padding-left: 0; } .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 920px) {
  .domain-card, .ai-band-grid { grid-template-columns: 1fr; }
  .domain-dock { margin-top: -36px; }
  .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .topbar-contact a:nth-child(2) { display: none; }
  .why-grid, .post-grid, .ai-prompts { grid-template-columns: 1fr; }
  .why-grid li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .domain-input, .domain-search, .inline-form { flex-direction: column; gap: 8px; }
  .domain-input input { border-right: 1.5px solid var(--line); }
  .domain-list li { grid-template-columns: 1fr auto; }
  .domain-list .d-action { grid-column: 1 / -1; text-align: left; }
  .domain-list .d-action:empty { display: none; }
  .ai-chat { right: 12px; bottom: 120px; height: calc(100vh - 150px); }
  .ai-launch span { display: none; }
  .ai-launch { padding: 13px; }
}
.ai-chat header small { display: block; line-height: 1.35; margin-top: 2px; }
.ai-form textarea { min-height: 44px; }
.explorer { padding-bottom: clamp(32px, 4vw, 56px); }
.domain-search .btn { background: var(--cyan); color: var(--navy-deep); }
.domain-search .btn:hover { background: #fff; }
/* backdrop-filter makes the header the containing block of the fixed mobile menu; drop it on small screens */
@media (max-width: 920px) { .site-header { backdrop-filter: none; background: #fff; } .site-nav { bottom: 0; } }

/* ===== v3: images ===== */
.app-frame { display: block; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(3,45,99,.45); }
.app-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef3f8; border-bottom: 1px solid var(--line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9d5e2; }
.app-bar i:first-child { background: #f17f73; } .app-bar i:nth-child(2) { background: #f4c661; } .app-bar i:nth-child(3) { background: #6fcf8a; }
.app-bar span { margin-left: 12px; font-size: .8rem; color: var(--muted); }
.app-frame img { width: 100%; height: auto; }
.app-frame.small { border-radius: 8px; box-shadow: 0 24px 50px -30px rgba(3,45,99,.5); transition: transform .2s; }
.app-frame.small .app-bar { height: 24px; padding: 0 10px; gap: 5px; }
.app-frame.small .app-bar i { width: 8px; height: 8px; }
.app-frame.small:hover { transform: translateY(-3px); }
.showcase { background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); }
.center { text-align: center; }
.tile-shot { display: block; margin: -28px -24px 16px; border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; aspect-ratio: 16 / 10; }
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .3s; }
.product-tile:hover .tile-shot img { transform: scale(1.04); }
.product-tile .tile-icon { width: 30px; margin: 0 0 8px; }
/* Brand logos are wordmarks: size by height so they stay readable */
.partner-logos li { gap: 18px; }

/* ===== v4: full-bleed cinematic slider ===== */
.hero { min-height: min(88vh, 780px); display: flex; align-items: stretch; padding: 0; background: var(--navy-deep); isolation: isolate; }
.hero::before { z-index: 1; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); }
.hero-img.is-active { opacity: 1; }
.hero-img.is-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(2,31,69,.95) 0%, rgba(3,45,99,.86) 32%, rgba(3,45,99,.45) 58%, rgba(3,45,99,.08) 82%),
  linear-gradient(0deg, rgba(2,31,69,.85) 0%, rgba(2,31,69,0) 38%); }
.hero-swoosh { z-index: 1; height: 75%; opacity: .45; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 72px 0 120px; }
.hero-slides { max-width: 640px; min-height: 340px; display: flex; align-items: center; }
.hero h1, .hero .h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 14ch; text-shadow: 0 2px 30px rgba(2,31,69,.35); }
.hero .lead { color: #dbe7f4; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.slide:not([hidden]) > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.slide:not([hidden]) > :nth-child(2) { animation-delay: .08s; }
.slide:not([hidden]) > :nth-child(3) { animation-delay: .16s; }
.slide:not([hidden]) > :nth-child(4) { animation-delay: .24s; }
.slide { animation: none; }

.hero-controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 190px); gap: 18px; flex: 1; }
.hero-tabs button { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; background: none; border: 0; padding: 0; text-align: left; color: #8fa8c6; cursor: pointer; font: 500 .86rem var(--display); }
.hero-tabs b { font-weight: 700; color: inherit; font-size: .8rem; }
.hero-tabs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tabs i { grid-column: 1 / -1; display: block; height: 3px; margin-top: 10px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.hero-tabs i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.hero-tabs button:hover { color: #fff; }
.hero-tabs button[aria-pressed="true"] { color: #fff; }
.hero-tabs button[aria-pressed="true"] b { color: var(--cyan); }
.hero-tabs button[aria-pressed="true"] i::after { transform: scaleX(1); }
.hero.playing .hero-tabs button[aria-pressed="true"] i::after { animation: fill 7s linear both; }
.hero-nav { display: flex; gap: 8px; }
.hero-nav button { width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.3); cursor: pointer; transition: background .15s, border-color .15s; }
.hero-nav button:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero-pause .i-play { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
.hero.is-paused .hero-pause .i-pause { display: none; }
.hero .slide-controls { display: none; }

@media (max-width: 920px) {
  .hero { min-height: 640px; }
  .hero-img img { object-position: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(2,31,69,.55) 0%, rgba(3,45,99,.82) 45%, rgba(2,31,69,.96) 100%); }
  .hero-inner { justify-content: flex-end; padding: 56px 0 96px; gap: 28px; }
  .hero-slides { min-height: 0; }
  .hero-tabs span { display: none; }
  .hero-tabs { grid-auto-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 600px) {
  .hero-nav button { width: 40px; height: 40px; }
  .hero-nav .hero-prev { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-img { transition: none; } }
.hero-swoosh { opacity: .28; height: 55%; }

/* ===== v5: partner grid (wraps cleanly for any number of partners) ===== */
.partner-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-logos li, .partner-logos li + li { background: #fff; border: 0; padding: 22px 20px; min-height: 88px; }
.partner-logos li:nth-child(n) { border: 0; }
.wordmark { flex: none; min-width: 96px; font: 700 1.05rem/1 var(--display); color: var(--navy); letter-spacing: .02em; padding: 10px 12px; border: 1.5px solid var(--line); text-align: center; }
.partner-logos li:hover .wordmark { border-color: var(--cyan); }
.partner-logos.large li { padding: 26px 22px; }
.monogram { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 1.25rem var(--display);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.partner-logos li:hover .monogram { background: var(--blue); }
.partner-logos { gap: 0; background: #fff; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-logos li, .partner-logos li + li, .partner-logos li:nth-child(n) { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-logos .monogram { display: grid; color: #fff; font-size: 1.25rem; }

/* ===== v6: partner logo marquee ===== */
.partners-strip { padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.partners-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.partners-head .small-title { margin: 0; }
.marquee { position: relative; display: flex; overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { flex: none; display: flex; align-items: center; gap: 72px; padding-right: 72px; margin: 0; list-style: none; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee li { flex: none; display: flex; align-items: center; height: 48px; }
.marquee li:hover img { filter: none; opacity: 1; }
.logo-text { font: 700 1.55rem/1 var(--display); letter-spacing: .01em; color: #8597ad; white-space: nowrap; transition: color .25s; }
.marquee li:hover .logo-text { color: var(--navy); }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0; flex: 1; }
  .marquee-track[aria-hidden] { display: none; }
}

/* ===== v7: real partner logos, sized by area (see logo_dims) ===== */
.marquee li { height: 60px; }
.marquee-track { gap: 80px; padding-right: 80px; }
.partner-logos .logo-box { flex: none; width: 150px; height: 56px; display: flex; align-items: center; justify-content: flex-start; }
/* Logo images take their size from width/height attributes (computed by logo_dims) */
.partner-logos img, .marquee img { max-width: 100%; height: auto; }
.marquee img { filter: grayscale(1) contrast(1.1); opacity: .62; transition: filter .25s, opacity .25s; }
.partner-logos.large li { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 24px; }
.partner-logos.large .logo-box { width: 100%; height: 60px; }
.partner-logos.large li { align-items: center; text-align: center; }
.partner-logos.large .logo-box { justify-content: center; }
.partner-logos.large li > span:last-child { align-items: center; }

/* ===== v9: motion system ===== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Scroll reveal (only added by JS, so content is never hidden without it) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:is(.mini-card, .product-tile, .post-card, .partner-logos li) { transition-delay: 0ms; transition-duration: .3s; }
.reveal:not(.in):is(.mini-card, .product-tile, .post-card, .partner-logos li) { transition-delay: var(--d, 0ms); }
.app-frame.reveal { transform: translateY(40px) scale(.97); }
.app-frame.reveal.in { transform: none; }

/* Inner page headers arrive on load */
.cover .crumbs, .cover .kicker, .cover h1, .cover .lead, .cover .actions, .cover-media, .domain-search, .tld-hint { animation: rise .8s var(--ease) both; }
.cover .kicker { animation-delay: .05s; } .cover h1 { animation-delay: .1s; } .cover .lead, .domain-search { animation-delay: .2s; }
.cover .actions, .tld-hint { animation-delay: .3s; } .cover-media { animation: cover-in 1.1s var(--ease) .15s both; }
@keyframes cover-in { from { opacity: 0; transform: translateX(30px) scale(.98); clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { opacity: 1; transform: none; } }

/* Hover micro-interactions */
.btn { transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.text-link { background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 2px no-repeat; border-bottom-color: rgba(0,169,206,.35); transition: background-size .35s var(--ease), color .2s; }
.text-link:hover { background-size: 100% 2px; color: var(--navy); }
.mini-card, .product-tile, .post-card, .product-card .app-frame { transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.mini-card:hover, .product-tile:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -26px rgba(3,45,99,.45); }
.mini-card img, .why-grid svg { transition: transform .35s var(--ease); }
.mini-card:hover img { transform: translateX(4px) rotate(-4deg); }
.why-grid li:hover svg { transform: translateY(-4px); }
.cut img { transition: transform .8s var(--ease); }
.post-card:hover .cut img, .explorer-panel .cut:hover img, .group-intro .cut:hover img, .product-card .cut:hover img { transform: scale(1.05); }
.post-card:hover { transform: translateY(-4px); }
.link-list a { transition: padding .2s var(--ease), color .2s; }
.link-list a img { transition: transform .25s var(--ease); }
.link-list a:hover img { transform: scale(1.15); }
.partner-logos li { transition: background .25s; }
.partner-logos li:hover { background: #f8fbfe; }
.partner-logos li img { transition: transform .3s var(--ease); }
.partner-logos li:hover img { transform: scale(1.06); }
.chips li { transition: border-color .2s, transform .2s var(--ease); }
.chips li:hover { border-color: var(--cyan); transform: translateY(-2px); }
.site-nav > ul > li > a { position: relative; }
.site-nav > ul > li > a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav > ul > li > a:not(.btn):hover::after { transform: scaleX(1); }

/* Menus, panels and results */
.mega, .drop { transform: translateY(-8px); transition: opacity .2s, visibility .2s, transform .25s var(--ease); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega, .has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { transform: none; }
.mega-grid > div { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.has-mega:hover .mega-grid > div, .has-mega:focus-within .mega-grid > div, .has-mega.open .mega-grid > div { opacity: 1; transform: none; }
.mega-grid > div:nth-child(2) { transition-delay: .03s; } .mega-grid > div:nth-child(3) { transition-delay: .06s; } .mega-grid > div:nth-child(4) { transition-delay: .09s; }
.mega-grid > div:nth-child(5) { transition-delay: .12s; } .mega-grid > div:nth-child(6) { transition-delay: .15s; } .mega-grid > div:nth-child(7) { transition-delay: .18s; } .mega-grid > div:nth-child(8) { transition-delay: .21s; }
.explorer-panel:not([hidden]) { animation: panel-in .45s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(14px); } }
.faq details[open] p { animation: rise .4s var(--ease) both; }
.ai-chat:not([hidden]) { animation: pop .3s var(--ease) both; transform-origin: bottom right; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.ai-msg { animation: rise .35s var(--ease) both; }
.ai-launch { animation: nudge 1s var(--ease) 2.5s both; }
@keyframes nudge { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: none; } }
.wa-float { transition: transform .2s var(--ease), background .2s; }
.wa-float:hover, .ai-launch:hover { transform: translateY(-3px); }
.domain-list li { animation: rise .45s var(--ease) var(--d, 0ms) both; }
.domain-list li.available .d-status, .domain-list li.taken .d-status, .domain-list li.unknown .d-status { animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.notice { animation: rise .5s var(--ease) both; }
.domain-card { transition: box-shadow .3s; }
.domain-card:focus-within { box-shadow: 0 34px 70px -30px rgba(3,45,99,.6); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .mega-grid > div { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}
