/* BI CFO — index theme: pure black, ice-blue accent, grid with plus marks */
:root {
  --bg: #000;
  --ink: #FFFFFF;
  --ink-soft: rgba(255,255,255,.72);
  --slate: rgba(255,255,255,.5);
  --paper: #000;
  --wash: rgba(255,255,255,.04);
  --card: rgba(255,255,255,.025);
  --rule: rgba(255,255,255,.1);
  --line2: rgba(255,255,255,.24);
  --accent: #AFDDFF;
  --accent-hi: #c8e8ff;
  --margin: #FF9C8F;
  --save: #AFDDFF;
  --save-wash: rgba(175,221,255,.08);
  --pay-wash: rgba(255,156,143,.08);
  --focus: #AFDDFF;
  --radius-s: 0px;
  --radius-m: 0px;
  --gut: 20px;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-io: cubic-bezier(0.76,0,0.24,1);
  --display: "Inter Tight", "Graphik LCG", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--display);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 768px) { :root { --gut: 35px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #000; color-scheme: dark; }
body { margin: 0; background: #000; color: var(--ink); font: 15px/1.6 var(--sans); font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #000; }

/* Full-bleed grid behind every page */
.gridbg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.gridbg i { position: absolute; background: rgba(255,255,255,.04); }
.gridbg i.v { top: 0; width: 1px; height: 100%; transform-origin: top; animation: gridV 1.2s var(--ease-out) both; }
.gridbg i.h { left: 0; height: 1px; width: 100%; transform-origin: left; animation: gridH 1.2s var(--ease-out) both; }
.gridbg b { position: absolute; animation: scaleIn .7s var(--ease-out) both; }
.gridbg b::before, .gridbg b::after { content: ""; position: absolute; background: rgba(255,255,255,.7); transform: translate(-50%,-50%); }
.gridbg b::before { width: 10px; height: 1px; } .gridbg b::after { width: 1px; height: 10px; }
body > header, body > main, body > footer { position: relative; z-index: 1; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideL { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes gridV { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes gridH { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
.a-up { animation: fadeUp .9s var(--ease-out) both; }
.a-in { animation: fadeIn .8s var(--ease-out) both; }
.a-l { animation: slideL .8s var(--ease-out) both; }
.a-r { animation: slideR .8s var(--ease-out) both; }
.a-s { animation: scaleIn .7s var(--ease-out) both; }

.wrap { max-width: none; margin: 0; padding: 0 var(--gut); }
.wrap.narrow, .how { max-width: 820px; }

/* Header */
.site-head { position: relative; z-index: 20; }
.site-head .hbar { display: flex; align-items: center; padding: 20px var(--gut); }
@media (min-width: 768px) { .site-head .hbar { padding: 27px var(--gut); } }
.brand { font: 400 18px/21px var(--display); color: #fff; text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
@media (min-width: 768px) { .brand { font-size: 21px; } }
.brand:hover { color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 30px; height: 26px; flex: none; }
@media (min-width: 768px) { .brand .mark { width: 34px; height: 30px; } }
.nav { display: none; align-items: center; gap: 40px; margin-left: 40px; }
.nav a { display: flex; gap: 3px; font: 400 13px/15.6px var(--sans); color: #fff; text-decoration: none; }
.nav a span:first-child { color: rgba(175,221,255,.8); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.status { display: none; align-items: center; gap: 12px; margin-left: auto; font: 400 13px/15.6px var(--sans); white-space: nowrap; }
.status .live { color: var(--accent); }
.status .gap { margin-left: 20px; }
.chip { background: var(--accent); color: #000; border-radius: 3px; padding: 2px 5px; }
.status a { color: #fff; text-decoration: none; margin-left: 20px; }
.cty { display: inline-flex; border: 1px solid var(--line2); }
.cty a, .status .cty a { margin: 0; padding: 2px 7px; color: rgba(255,255,255,.7); text-decoration: none; font: 400 12px/15.6px var(--sans); }
.cty a + a { border-left: 1px solid var(--line2); }
.cty a:hover { color: var(--accent); }
.cty a[aria-current="true"] { background: var(--accent); color: #000; }
.cty.big a { padding: 6px 12px; font-size: 14px; }
.status a:hover { color: var(--accent); }
@media (min-width: 1024px) { .nav, .status { display: flex; } }
@media (max-width: 1379px) { .status .ty { display: none; } .status .gap { margin-left: 0; } .nav { gap: 28px; margin-left: 32px; } }
@media (max-width: 1159px) { .nav { gap: 20px; margin-left: 24px; } .brand > span { font-size: 18px; } .status a { margin-left: 12px; } }
.nav-toggle { margin-left: auto; width: 40px; height: 40px; position: relative; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: #fff; cursor: pointer; z-index: 60; }
.nav-toggle i { position: absolute; width: 22px; height: 1.5px; background: #fff; transition: transform .3s var(--ease-io), opacity .3s var(--ease-io); }
.nav-toggle i:nth-child(1) { transform: translateY(-6px); } .nav-toggle i:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.menu { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: flex; flex-direction: column; padding: 96px 20px 40px; visibility: hidden; opacity: 0; transform: translateY(-16px); transition: all .5s var(--ease-io); }
.menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .5s var(--ease-io), transform .5s var(--ease-io), visibility 0s; }
.menu nav { display: flex; flex-direction: column; gap: 32px; }
.menu nav a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 400 28px/1.2 var(--sans); letter-spacing: -.02em; opacity: 0; transform: translateX(-24px); transition: opacity .5s var(--ease-io), transform .5s var(--ease-io); }
.menu nav a span:first-child { font-size: 14px; color: rgba(175,221,255,.8); }
.menu.open nav a { opacity: 1; transform: none; }
.menu .foot { margin-top: auto; padding-top: 40px; border-top: 1px solid var(--rule); font-size: 13px; display: flex; gap: 8px; align-items: center; }
@media (min-width: 1024px) { .menu { display: none; } }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; color: #fff; }
h1 { font-size: clamp(32px, 6vw, 68px); line-height: 1; }
h2 { font-size: clamp(26px, 3.6vw, 44px); }
h3, h2.h3 { font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.save-box h2.h3 { font-size: 18px; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 17px; color: var(--ink-soft); }
.muted { color: var(--slate); }
.small { font-size: 13px; }
.tag { display: inline-block; font: 400 13px/15.6px var(--sans); background: var(--accent); color: #000; padding: 2px 6px; margin-bottom: 10px; }
.label-x { font: 400 13px/15.6px var(--sans); color: #fff; }

/* Chamfered panel: the signature box (bottom-left corner cut) */
.sheet, .panel {
  position: relative; background: #000; padding: 24px;
  border: 0; border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}
.sheet::before, .panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--line2),var(--line2)) top/100% 1px no-repeat,
    linear-gradient(var(--line2),var(--line2)) right/1px 100% no-repeat,
    linear-gradient(var(--line2),var(--line2)) left top/1px calc(100% - 30px) no-repeat,
    linear-gradient(var(--line2),var(--line2)) right bottom/calc(100% - 30px) 1px no-repeat,
    linear-gradient(45deg, transparent calc(50% - .5px), var(--line2) calc(50% - .5px), var(--line2) calc(50% + .5px), transparent calc(50% + .5px)) left bottom/30px 30px no-repeat;
}
.sheet { border-color: var(--accent); }
.sheet::before { --line2: rgba(175,221,255,.6); }
.sheet > *, .panel > * { position: relative; }
@media (max-width: 520px) { .sheet, .panel { padding: 20px; } }

/* Hero (non-landing) */
.hero { padding: 56px 0 48px; }
.hero .wrap > *, .tool-grid > * { min-width: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: var(--ink-soft); }
.hero-points li { padding-left: 22px; position: relative; }
.hero-points li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); font-size: 12px; }

/* Forms */
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font: 500 13px/15.6px var(--sans); margin-bottom: 8px; color: #fff; }
.field .hint { display: block; font-weight: 400; color: var(--slate); font-size: 12px; margin-top: 6px; line-height: 1.4; }
.input-money { position: relative; }
.input-money::before { content: "₹"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--accent); pointer-events: none; z-index: 1; }
.input-money input[type="text"] { padding-left: 18px; }
.input-money[data-sym]::before { content: attr(data-sym); font-size: 13px; }
.input-money[data-sym="S$"] input[type="text"] { padding-left: 26px; }
.input-money[data-sym="AED"] input[type="text"] { padding-left: 38px; }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], input[type="tel"], select, textarea {
  width: 100%; font: 400 17px/1.3 var(--sans); color: #fff; background: transparent;
  border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; padding: 10px 0; min-height: 44px;
}
textarea { border: 1px solid var(--line2) !important; padding: 10px 12px !important; background: transparent !important; color: #fff !important; border-radius: 0 !important; }
select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23AFDDFF'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 22px; }
select option { background: #000; color: #fff; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
input[type="range"] { accent-color: var(--accent); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { margin: 0; font: 400 13px/15.6px var(--sans); border: 1px solid var(--line2); padding: 8px 12px; cursor: pointer; background: transparent; color: #fff; transition: all .2s; }
.seg label:hover { border-color: var(--accent); }
.seg input:checked + label { background: var(--accent); color: #000; border-color: var(--accent); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; width: 16px; height: 16px; }
details.more { border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 8px; }
details.more summary { cursor: pointer; font: 500 13px var(--sans); color: var(--accent); padding: 4px 0 12px; }

/* Buttons: square, ice blue, star glyph */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 500 13px/15.6px var(--sans); text-transform: uppercase; letter-spacing: .025em; padding: 12px 20px; border-radius: 0; border: 1px solid var(--accent); background: var(--accent); color: #000; cursor: pointer; text-decoration: none; min-height: 44px; transition: background .2s, color .2s; }
.btn::before { content: "✦"; font-size: 16px; line-height: 1; letter-spacing: 0; }
.btn:hover { background: var(--accent-hi); color: #000; border-color: var(--accent-hi); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost::before { content: none; }
.btn-ghost:hover { background: rgba(175,221,255,.1); color: var(--accent); }
.btn-block { width: 100%; }
button { font-family: var(--sans); }

/* Results */
.result-head { font: 400 13px/15.6px var(--sans); color: var(--slate); margin: 0 0 8px; }
.figure { font: 400 clamp(36px, 5vw, 56px)/1 var(--display); letter-spacing: -.03em; margin: 0 0 8px; color: #fff; }
.figure.save { color: var(--accent); }
.figure.pay { color: var(--margin); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.compare .cell { padding: 14px 0; background: transparent; border: 0; }
.compare .cell + .cell { border-left: 1px solid var(--rule); padding-left: 18px; }
.compare .cell.win .v { color: var(--accent); }
.compare .cell.win .k::after { content: "  [ LOWER ]"; color: var(--accent); }
.compare .k { font-size: 12px; color: var(--slate); }
.compare .v { font: 400 24px/1.2 var(--display); letter-spacing: -.02em; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th { font: 400 12px/1.3 var(--sans); color: var(--slate); }
.ledger th, .ledger td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger td.num, .ledger th.num { text-align: right; white-space: nowrap; }
.ledger tr.total td { font-weight: 600; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); color: var(--accent); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bar { height: 6px; background: rgba(255,255,255,.08); overflow: hidden; min-width: 80px; }
.bar span { display: block; height: 100%; background: var(--accent); transition: width .6s var(--ease-out), background .3s; }
.note { font-size: 13px; color: var(--ink-soft); background: transparent; border-left: 1px solid var(--accent); padding: 4px 0 4px 14px; }

/* Tool page layout */
.tool { padding: 0 0 56px; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tool-grid .result-col { position: sticky; top: 20px; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; gap: 32px; } .tool-grid .result-col { position: static; } }

/* Tool list */
.tools { padding: 56px 0; }
.tool-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 24px; border-top: 1px solid var(--line2); }
@media (max-width: 760px) { .tool-list { grid-template-columns: 1fr; } }
.tool-item { display: block; padding: 20px 8px 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.tool-list .tool-item:nth-child(odd) { padding-right: 28px; }
@media (min-width: 761px) { .tool-list .tool-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); } }
.tool-item h3 { margin-bottom: 4px; }
.tool-item p { margin: 0; color: var(--slate); font-size: 14px; }
.tool-item:hover h3 { color: var(--accent); }
.tool-item .soon { font-size: 12px; color: var(--slate); }

/* Sections */
.section { padding: 64px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; list-style: none; counter-reset: s; margin: 24px 0 0; }
.steps li { counter-increment: s; border-top: 1px solid var(--line2); padding-top: 14px; color: var(--ink-soft); }
.steps li::before { content: "0" counter(s) "."; font: 400 13px/1 var(--sans); color: var(--accent); display: block; margin-bottom: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.plan-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .plan-cta { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq summary::marker { color: var(--accent); }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

/* Save box */
.save-box { margin-top: 24px; border-top: 1px dashed var(--line2); padding-top: 20px; }
.save-box h3 { font-size: 18px; }
.save-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 520px) { .save-form { grid-template-columns: 1fr; } }
.save-msg { font-size: 13px; margin-top: 8px; }
.save-msg.ok { color: var(--accent); }
.save-msg.err { color: var(--margin); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 32px 0 35px; font: 400 13px/1.6 var(--sans); color: var(--slate); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.disclaimer { font-size: 12px; color: var(--slate); margin-top: 16px; }

/* Stack wide comparison table on small screens */
@media (max-width: 600px) {
  .ledger.stack thead { display: none; }
  .ledger.stack, .ledger.stack tbody, .ledger.stack tr, .ledger.stack td { display: block; width: 100%; }
  .ledger.stack tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .ledger.stack td { border: 0; padding: 3px 0; text-align: left; }
  .ledger.stack td.num { text-align: left; }
  .ledger.stack td[data-k]::before { content: attr(data-k) ": "; color: var(--slate); font-size: 12px; }
  .ledger.stack tr.total td:empty { display: none; }
}
.field label.check { font-weight: 400; display: flex; }

/* Page header band: big display heading on the grid */
.page-band { padding: 72px 0 56px; margin-bottom: 40px; border-bottom: 1px solid var(--rule); }
@media (max-width: 767px) { .page-band { padding: 48px 0 36px; } }
.page-band h1 { max-width: 16ch; margin-bottom: 18px; animation: fadeUp .9s .4s var(--ease-out) both; }
.page-band .lead { margin: 0; max-width: 60ch; animation: fadeUp .9s .55s var(--ease-out) both; }
.crumbs { font: 400 13px/15.6px var(--sans); color: var(--slate); margin-bottom: 22px; animation: slideL .8s .2s var(--ease-out) both; }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.tool-grid .result-col .sheet, .tool > .wrap > .sheet { animation: slideR .8s .6s var(--ease-out) both; }
.figure.bump { animation: fadeIn .35s ease-out; }

/* Crawlable explainer and related tools */
.how { padding: 56px 0 8px; }
.how h2 { font-size: clamp(24px, 3vw, 34px); }
.how h3 { margin-top: 28px; }
.how .ledger { margin-top: 8px; }
.how p, .how li { color: var(--ink-soft); }
.related { padding: 24px 0 24px; }
.related h2 { font-size: 22px; }
.rel-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rel { display: inline-flex; gap: 6px; padding: 8px 12px; border: 1px solid var(--line2); text-decoration: none; font: 400 13px/15.6px var(--sans); color: #fff; }

.rel:hover { border-color: var(--accent); color: var(--accent); }

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

/* ---------- Motion layer (assets/motion.js); nothing here applies with reduced motion ---------- */
.mo-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 100; pointer-events: none; box-shadow: 0 0 12px rgba(175,221,255,.6); }
.mo-glow { position: absolute; left: 0; top: 0; width: 600px; height: 600px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(175,221,255,.07), rgba(175,221,255,.025) 55%, transparent); will-change: transform; }
.gridbg i.v em { position: absolute; left: 0; top: -120px; width: 1px; height: 120px; background: linear-gradient(to bottom, transparent, rgba(175,221,255,.55), transparent); animation: mo-pulse 9s linear infinite; }
@keyframes mo-pulse { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(calc(100vh + 120px)); opacity: 0; } }
.has-motion .mo-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.has-motion .mo-w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); }
.has-motion .mo-in .mo-w > span, .has-motion .page-band h1 .mo-w > span { transform: none; }
.has-motion .page-band h1 { animation: none; }
.has-motion .page-band h1 .mo-w > span { animation: mo-rise .9s var(--ease-out) both; animation-delay: inherit; }
@keyframes mo-rise { from { transform: translateY(105%); } to { transform: none; } }
.has-motion .mo-r { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .8s var(--ease-out) var(--d, 0ms); }
.has-motion .mo-r.mo-in { opacity: 1; transform: none; }
.has-motion .page-band h1.mo-r { opacity: 1; transform: none; }
.mo-row td { animation: mo-rowflash 1.1s var(--ease-out) var(--d, 0ms) both; }
@keyframes mo-rowflash { 0% { background: rgba(175,221,255,.12); box-shadow: inset 2px 0 0 var(--accent); } 100% { background: transparent; box-shadow: inset 0 0 0 transparent; } }
.has-motion .btn { transition: background .2s, color .2s, transform .35s var(--ease-out); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-io); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .mo-progress, .mo-glow, .gridbg i.v em { display: none; } }

/* Country suggestion bar */
.geo-bar { position: fixed; left: 50%; bottom: 20px; z-index: 90; transform: translate(-50%, 140%); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  max-width: calc(100% - 32px); padding: 12px 14px 12px 16px; background: #000; border: 1px solid var(--accent); font: 400 13px/1.4 var(--sans); color: #fff;
  box-shadow: 0 20px 60px -20px rgba(175,221,255,.35); transition: transform .6s var(--ease-out), opacity .4s; }
.geo-bar.in { transform: translate(-50%, 0); }
.geo-bar.out { opacity: 0; transform: translate(-50%, 40%); }
.geo-bar a { color: #000; background: var(--accent); padding: 5px 9px; text-decoration: none; font-size: 12px; letter-spacing: .02em; }
.geo-bar a.geo-alt { background: transparent; color: var(--accent); border: 1px solid var(--line2); }
.geo-bar a:hover { background: var(--accent-hi); color: #000; }
.geo-x { background: none; border: 1px solid var(--line2); color: #fff; padding: 5px 9px; font: 400 12px/1.2 var(--sans); cursor: pointer; }
.geo-x:hover { border-color: var(--accent); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .geo-bar { transition: none; } }
html, body { overflow-x: clip; }

.note:empty, #r-sub:empty { display: none; }
input:focus-visible, select:focus-visible { box-shadow: 0 1px 0 0 var(--accent) !important; }
textarea:focus-visible { outline: 1px solid var(--accent); outline-offset: 0; }
