/* MetaCirq website — the app's light mode (constants.dart _light). */
:root {
  --page: #DDE8E2;
  --page-2: #E8F0EC;
  --card: #FFFFFF;
  --surface: #EFF8FA;
  --ink: #130B29;
  --ink-2: #3A4150;
  --muted: #6B6E8F;
  --line: rgba(19, 11, 41, 0.10);
  --navy: #24223A;
  --navy-deep: #130B29;
  --lime: #C8F169;
  --lime-ink: #1C2A06;
  --orange: #F04F23;
  --ok: #1F9D55;
  --shadow: 0 1px 2px rgba(19, 11, 41, 0.04), 0 12px 40px rgba(19, 11, 41, 0.07);
  --radius: 22px;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; transition: background .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { width: min(820px, 100%); }
[hidden] { display: none !important; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn:focus-visible, .tab:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); color: var(--ink);
}
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface); color: var(--ink-2); }

/* ---------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--page) 78%, transparent); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 40px; width: auto; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu { display: none; }

/* ---------------------------------------------------------- hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 20%, transparent); }
h1 { font-size: clamp(44px, 6.4vw, 78px); font-weight: 700; margin: 0 0 20px; }
.accent { color: var(--orange); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; fill: var(--ok); }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
/* Realistic iPhone: titanium frame, side buttons, Dynamic Island, status
   bar, glass glare; tilts in 3D with the pointer (main.js). */
.phone-stage { perspective: 1400px; display: grid; place-items: center; }
.iphone {
  --tx: 0deg; --ty: 0deg;
  position: relative; width: 304px; height: 624px; border-radius: 54px; padding: 4px;
  /* titanium edge: a brushed metal gradient around a thin black bezel */
  background:
    linear-gradient(#0B0A12, #0B0A12) padding-box,
    linear-gradient(140deg, #8E8B95 0%, #3E3C45 18%, #C9C6CF 34%, #4A4852 52%, #A8A5AE 70%, #36343C 86%, #7D7A84 100%) border-box;
  border: 3px solid transparent;
  transform: rotateX(var(--tx)) rotateY(var(--ty)) rotate(-2deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.iphone.tilting { transition: transform .08s linear; }
.side-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5d5a64, #b9b6bf 50%, #5d5a64); }
.side-btn.action { left: -6px; top: 108px; height: 28px; }
.side-btn.vol-up { left: -6px; top: 156px; height: 52px; }
.side-btn.vol-down { left: -6px; top: 218px; height: 52px; }
.side-btn.power { right: -6px; top: 176px; height: 84px; }
.screen {
  position: relative; height: 100%; border-radius: 48px; background: #DDE8E2; overflow: hidden; color: #130B29;
}
.status-bar { position: absolute; top: 0; left: 0; right: 0; height: 50px; display: flex; justify-content: space-between; align-items: center; padding: 6px 28px 0 34px; font-weight: 600; font-size: 14px; z-index: 3; }
.sb-icons { display: flex; align-items: center; gap: 5px; }
.sb-icons svg { fill: #130B29; }
.battery { width: 24px; height: 12px; border: 1.3px solid rgba(19,11,41,.45); border-radius: 4px; padding: 1.3px; position: relative; }
.battery::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(19,11,41,.45); }
.battery i { display: block; height: 100%; width: 78%; background: #130B29; border-radius: 2px; }
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 104px; height: 31px; border-radius: 20px; background: #000; overflow: hidden;
  transition: width .45s cubic-bezier(.2,.9,.25,1.1), height .45s cubic-bezier(.2,.9,.25,1.1), border-radius .45s ease;
}
.island.open { width: 268px; height: 66px; border-radius: 30px; }
.isl-content { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; opacity: 0; transition: opacity .2s ease; white-space: nowrap; }
.island.open .isl-content { opacity: 1; transition-delay: .2s; }
.isl-ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.isl-content b { display: block; font-size: 13px; }
.isl-content small { color: rgba(255,255,255,.7); font-size: 12px; }
.app { padding: 58px 16px 16px; height: 100%; }
.home-indicator { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; background: #130B29; opacity: .85; z-index: 6; }
.glare {
  position: absolute; inset: 4px; border-radius: 48px; pointer-events: none; z-index: 5;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.28) 46%, rgba(255,255,255,0) 60%);
  background-size: 250% 250%; background-position: var(--gx, 60%) var(--gy, 40%);
  mix-blend-mode: soft-light; transition: background-position .5s ease;
}
.iphone.tilting .glare { transition: none; }
.phone-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.screen button { font: inherit; border: 0; cursor: pointer; }
.eye { background: transparent; padding: 4px; margin-left: 6px; vertical-align: middle; border-radius: 50%; }
.eye svg { width: 20px; height: 20px; fill: rgba(255,255,255,.85); display: block; }
.eye.off svg { opacity: .55; }
.eye:hover svg { fill: #C8F169; }
.pill { transition: transform .15s ease, filter .15s ease; }
.pill:active { transform: scale(.95); }
button.pill:hover { filter: brightness(1.05); }
.pill.nfc.pulse { animation: nfc-pulse 1.2s ease-out; }
@keyframes nfc-pulse { 0% { box-shadow: 0 0 0 0 rgba(200,241,105,.8); } 100% { box-shadow: 0 0 0 16px rgba(200,241,105,0); } }
.tx-list .tx.new { animation: tx-in .5s cubic-bezier(.2,.9,.25,1.1); }
@keyframes tx-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.wc-balance.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.06); color: #C8F169; } }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; background: #fff; border-radius: 26px 26px 48px 48px;
  padding: 10px 16px 30px; transform: translateY(105%); transition: transform .4s cubic-bezier(.2,.9,.25,1);
}
.sheet.open { transform: none; }
.grab { display: block; width: 40px; height: 4px; border-radius: 2px; background: #D8DCE6; margin: 0 auto 12px; }
.sheet-h { font-weight: 700; margin-bottom: 8px; }
.sheet-opt { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: #EFF8FA; margin-bottom: 7px; font-size: 13px; }
.sheet-opt span { width: 32px; height: 32px; border-radius: 10px; background: #C8F169; display: grid; place-items: center; font-weight: 700; }
.sheet-opt small { display: block; color: #6B6E8F; font-size: 11.5px; }
.scrim { position: absolute; inset: 0; z-index: 6; background: rgba(19,11,41,.35); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.scrim.on { opacity: 1; pointer-events: auto; cursor: pointer; }
.app-top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #24223A; color: #C8F169; font-weight: 700; font-size: 14px; }
.avatar.sm { width: 38px; height: 38px; font-size: 13px; }
.hello { font-weight: 500; font-size: 15px; line-height: 1.2; }
.handle { font-size: 12px; color: #6B6E8F; }
.bell { margin-left: auto; position: relative; width: 36px; height: 36px; border-radius: 50%; background: #EFF8FA; display: grid; place-items: center; animation: ring 3.5s ease-in-out infinite; transform-origin: 50% 20%; padding: 0; }
.bell.read { animation: none; }
.bell svg { width: 18px; height: 18px; fill: #130B29; }
.badge { position: absolute; top: -3px; right: -3px; width: 15px; height: 15px; border-radius: 50%; background: #E53935; color: #fff; font-size: 9px; display: grid; place-items: center; font-weight: 700; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(14deg); } 78% { transform: rotate(-12deg); } 82% { transform: rotate(8deg); } 86% { transform: rotate(-5deg); } }
.wallet-card { margin-top: 18px; border-radius: 22px; overflow: hidden; }
.wc-strip { background: #C8F169; display: flex; justify-content: space-between; padding: 10px 14px 18px; font-size: 12px; color: #1C2A06; }
.wc-body { background: #130B29; color: #fff; margin-top: -10px; border-radius: 20px; padding: 16px 16px 14px; }
.wc-row { display: flex; justify-content: space-between; align-items: center; }
.wc-row img { height: 15px; width: auto; }
.wc-label { color: #F04F23; font-size: 13px; }
.wc-balance { font-size: 25px; font-weight: 700; text-align: center; margin: 18px 0 14px; letter-spacing: -.02em; display: flex; align-items: center; justify-content: center; }
.wc-add { display: inline-flex; align-items: center; gap: 8px; float: right; background: #1C1A33; border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 12px; }
.wc-add i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #130B29; color: #F04F23; }
.app-actions { display: flex; gap: 8px; margin: 16px 0 14px; clear: both; padding-top: 2px; }
.tx-list { display: grid; }
.pill { border-radius: 999px; padding: 11px 0; text-align: center; font-weight: 500; font-size: 14px; }
.pill.nfc { flex: 1; background: #24223A; color: #fff; }
.pill.send { flex: 1; background: #C8F169; color: #1C2A06; }
.pill.more { width: 44px; background: #EFF8FA; }
.app-h { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.tx { display: flex; justify-content: space-between; align-items: center; background: #EFF8FA; border-radius: 14px; padding: 9px 12px; margin-bottom: 7px; }
.tx p { font-size: 12.5px; line-height: 1.3; }
.tx small { font-size: 10.5px; color: #6B6E8F; }
.tx b { font-size: 12.5px; }
.tx b.in { color: #1F9D55; }
.float {
  position: absolute; display: flex; gap: 12px; align-items: center; background: var(--card); color: var(--ink);
  padding: 12px 16px; border-radius: 18px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.3;
}
.float small { display: block; color: var(--muted); font-size: 12px; }
.f-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.f-ico.lime { background: var(--lime); color: var(--lime-ink); }
.f1 { left: 0; top: 120px; animation: float2 6s ease-in-out infinite; }
.f2 { right: 0; bottom: 120px; animation: float2 6s ease-in-out infinite 1.5s; }
@keyframes float2 { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------- strip */
.strip { padding: 8px 0 24px; }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip-row div { background: var(--card); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.strip-row b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.strip-row span { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------- sections */
.section { padding: 100px 0; }
.section.alt { background: var(--page-2); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; margin: 0 0 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(19,11,41,.04), 0 20px 50px rgba(19,11,41,.12); }
.f-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; margin-bottom: 20px; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(odd) .f-icon { background: var(--lime); }
.feature:nth-child(odd) .f-icon svg { stroke: var(--lime-ink); }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* Android-only chip and the iPhone notice */
.chip.android { background: #E3F5EA; color: #1F7A45; font-size: 11px; vertical-align: 3px; margin-left: 4px; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.notice p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.notice b { color: var(--ink); }
.notice-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; font-style: italic; font-family: Georgia, serif; }

/* Send */
.send-grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--card); padding: 6px; border-radius: 999px; margin: 28px 0 22px; box-shadow: var(--shadow); }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 500; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.tab.on { background: var(--navy); color: #fff; }
.rail-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rail-points li { display: flex; gap: 12px; color: var(--ink-2); }
.rail-points li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%231C2A06' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat; }
.calc { display: grid; gap: 18px; position: sticky; top: 100px; }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-title { font-weight: 700; font-size: 18px; }
.field { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.money-input { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; padding: 4px 16px; }
.money-input span { font-weight: 700; color: var(--ink); }
.money-input input, .field select {
  border: 0; background: transparent; font: inherit; font-size: 26px; font-weight: 700; color: var(--ink);
  width: 100%; padding: 10px 0; outline: none; min-width: 0;
}
.field select { background: var(--surface); border-radius: 16px; padding: 14px 16px; font-size: 16px; font-weight: 600; appearance: auto; }
.calc-lines { margin: 0; display: grid; gap: 10px; }
.calc-lines div { display: flex; justify-content: space-between; color: var(--ink-2); }
.calc-lines dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-lines .big { border-top: 1px solid var(--line); padding-top: 14px; }
.calc-lines .big dd { font-size: 24px; font-weight: 700; }
.calc-note { color: var(--muted); font-size: 13px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { color: var(--ink-2); padding-left: 34px; position: relative; }
.checks li b { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%231C2A06' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat; }

/* Scan & tap */
.pay-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.qr-card { background: var(--card); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); width: 300px; display: grid; gap: 16px; position: relative; z-index: 1; }
.qr-who { display: flex; gap: 12px; align-items: center; }
.qr-who small { display: block; color: var(--muted); font-size: 13px; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); aspect-ratio: 1; gap: 1px; background: #fff; padding: 8px; border-radius: 12px; }
.qr i { background: #130B29; border-radius: 1px; }
.qr b { background: transparent; }
.qr-code { display: flex; justify-content: space-between; background: var(--surface); border-radius: 14px; padding: 12px 14px; }
.qr-code span { color: var(--muted); }
.tap-ring { position: absolute; right: 4%; bottom: 8%; width: 130px; height: 130px; display: grid; place-items: center; }
.tap-ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: pulse 2.4s ease-out infinite; opacity: 0; }
.tap-ring span:nth-child(2) { animation-delay: .8s; } .tap-ring span:nth-child(3) { animation-delay: 1.6s; }
.tap-ring b { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 10px 30px rgba(240, 79, 35, .4); }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.2); opacity: 0; } }

/* Cards */
.split.rev > :first-child { order: 0; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.mini { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.mini b { display: block; margin-bottom: 4px; }
.mini span { color: var(--ink-2); font-size: 14px; }
.cards-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.lime-card { position: absolute; width: min(380px, 92%); aspect-ratio: 354 / 224; border-radius: 27px; background: var(--lime); color: #1C2A06; padding: 22px 26px; box-shadow: 0 30px 60px rgba(19, 11, 41, .18); }
.lime-card.back { transform: translate(28px, -46px) rotate(6deg); background: #B9E55A; display: flex; justify-content: space-between; }
.lime-card.front { transform: rotate(-4deg); display: flex; flex-direction: column; justify-content: space-between; transition: transform .4s ease; }
.cards-visual:hover .lime-card.front { transform: rotate(0) translateY(-6px); }
.lc-top { display: flex; justify-content: space-between; font-size: 15px; }
.lc-num { font-size: 22px; letter-spacing: .06em; }
.lc-num b { font-size: 30px; letter-spacing: .02em; }
.lc-bottom { display: flex; justify-content: space-between; }
.lc-bottom small { display: block; font-size: 11px; letter-spacing: .12em; opacity: .7; }

/* Rates */
.rates { display: grid; gap: 18px; }
.rate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rate-list li { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 12px 14px; }
.flag { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--card); }
.rate-list .code { font-weight: 700; }
.rate-list small { display: block; color: var(--muted); font-size: 12px; }
.rate-list .amt { margin-left: auto; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Security (navy, like the app's wallet card) */
.section.dark { background: var(--navy-deep); color: #fff; }
.section.dark .lead, .section.dark .eyebrow { color: rgba(255, 255, 255, .7); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-item { background: rgba(255, 255, 255, .05); border: 0; border-radius: 20px; padding: 24px; }
.sec-item b { display: block; font-size: 18px; margin-bottom: 8px; color: var(--lime); }
.sec-item span { color: rgba(255, 255, 255, .75); font-size: 15px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.price { padding: 24px; }
.p-name { color: var(--muted); font-weight: 500; font-size: 14px; }
.p-val { font-size: 34px; font-weight: 700; margin: 10px 0 4px; letter-spacing: -.02em; }
.p-sub { color: var(--ink-2); font-size: 14px; }
.p-val small { font-size: 20px; color: var(--muted); margin-left: 2px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.tier .t-name { font-size: 22px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.tier .t-sub { color: var(--muted); margin-top: 2px; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.tier li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink-2); }
.tier li b { color: var(--ink); }
.tier.featured { background: var(--navy); color: #fff; }
.tier.featured .t-sub, .tier.featured li { color: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .12); }
.tier.featured li b { color: var(--lime); }
.tier.featured .chip { background: var(--lime); color: var(--lime-ink); }

/* Business */
.rails { display: grid; gap: 16px; }
.rail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rail-grid div { background: var(--surface); border-radius: 16px; padding: 16px; }
.rail-grid b { display: block; }
.rail-grid span { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; }

/* Download */
.download { background: var(--navy-deep); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.download .lead { color: rgba(255, 255, 255, .75); }
.download h2 { margin-top: 0; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store { display: inline-flex; gap: 12px; align-items: center; background: #fff; color: #130B29; text-decoration: none; border-radius: 16px; padding: 10px 18px; font-weight: 700; font-size: 17px; line-height: 1.1; }
.store small { display: block; font-weight: 500; font-size: 11px; color: #6B6E8F; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.dl-mark { display: grid; place-items: center; position: relative; z-index: 1; }
.dl-mark img { width: 100%; max-width: 320px; height: auto; }

/* Footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer img { height: 22px; width: auto; }
.footer .foot-logo { height: 45px; }
.foot-tag { color: var(--muted); margin-top: 12px; }
.foot-h { font-weight: 700; margin-bottom: 12px; }
.foot-grid a, .foot-grid span { display: block; color: var(--ink-2); text-decoration: none; margin-bottom: 8px; font-size: 15px; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; color: var(--muted); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .send-grid { grid-template-columns: 1fr; }
  .calc { position: static; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .menu { display: grid; }
  .nav.open .links {
    display: grid; position: absolute; top: 72px; left: 0; right: 0; gap: 4px; padding: 12px 24px 20px;
    background: var(--page); border-bottom: 1px solid var(--line); margin: 0;
  }
  .nav.open .links a { padding: 12px 0; font-size: 17px; }
  .hero-grid, .split, .download { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .feature-grid, .sec-grid { grid-template-columns: 1fr 1fr; }
  .strip-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split.rev > :first-child { order: 1; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav-actions .btn { display: none; }
  .feature-grid, .sec-grid, .price-grid, .tiers, .mini-grid { grid-template-columns: 1fr; }
  .float { display: none; }
  .hero-visual { min-height: 520px; }
  .phone-stage { transform: scale(.9); }
  .download { padding: 36px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .tab { padding: 9px 13px; font-size: 14px; }
}

/* ---------------------------------------------------------- sub pages */
.links a.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 4px; }
/* "Learn more" links: the arrow sits in a lime circle that nudges now and
   then; on hover/focus the circle turns navy and grows, the arrow flies out
   to the right and back in from the left, and the underline sweeps across. */
.more-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  font-weight: 600; color: var(--ink); text-decoration: none; padding: 4px 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0% 2px no-repeat;
  transition: background-size .35s ease, gap .25s ease;
}
.more-link span {
  position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: inline-grid; place-items: center; overflow: hidden;
  background: var(--lime); color: var(--lime-ink); font-size: 17px; line-height: 1;
  transition: background .25s ease, color .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.more-link span i { display: block; font-style: normal; transform: rotate(-30deg); animation: arrow-nudge 3.2s ease-in-out infinite; }
.more-link:hover, .more-link:focus-visible { background-size: 100% 2px; gap: 16px; }
.more-link:hover span, .more-link:focus-visible span {
  background: var(--navy); color: var(--lime); transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(36, 34, 58, .25);
}
.more-link:hover span i, .more-link:focus-visible span i { animation: arrow-fly .55s cubic-bezier(.65,0,.35,1); }
.more-link:active span { transform: scale(.94); }
@keyframes arrow-nudge { 0%, 78%, 100% { transform: rotate(-30deg) translateX(0); } 84% { transform: rotate(-30deg) translateX(5px); } 90% { transform: rotate(-30deg) translateX(-2px); } 95% { transform: rotate(-30deg) translateX(2px); } }
@keyframes arrow-fly {
  0% { transform: rotate(-30deg) translateX(0); }
  45% { transform: rotate(-30deg) translateX(30px); opacity: 1; }
  46% { transform: rotate(-30deg) translateX(-30px); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: rotate(-30deg) translateX(0); }
}

.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 18px; max-width: 860px; }
.page-hero .lead { max-width: 680px; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { text-decoration: none; background: var(--card); color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 14px; box-shadow: var(--shadow); }
.jump a:hover { color: var(--ink); }

.block { padding: 56px 0; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; }
.block-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.block h2 { font-size: clamp(28px, 3.2vw, 40px); }
.block .lead { font-size: 17px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); margin-bottom: 14px; }
.tag.navy { background: var(--navy); color: #fff; }
.tag.green { background: #E3F5EA; color: #1F7A45; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--card); border-radius: 18px; padding: 18px 20px 18px 64px; position: relative; box-shadow: var(--shadow); color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.steps li b { display: block; color: var(--ink); margin-bottom: 2px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.fact { background: var(--card); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.fact span { display: block; color: var(--muted); font-size: 13px; }
.fact b { font-size: 20px; }

.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; background: var(--surface); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare .card h3 { font-size: 22px; margin-bottom: 6px; }
.compare ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.compare li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink-2); }
.compare li b { color: var(--ink); text-align: right; }

.callout { background: var(--navy-deep); color: #fff; border-radius: 28px; padding: 44px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.callout h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); }
.callout p { color: rgba(255, 255, 255, .75); }

.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); color: var(--ink); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-ok { background: #E3F5EA; color: #1F7A45; border-radius: 14px; padding: 14px 16px; }

@media (max-width: 900px) {
  .block-grid, .compare { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .links a.on { box-shadow: none; color: var(--orange); }
}
@media (max-width: 600px) {
  .facts, .contact-form .row2 { grid-template-columns: 1fr; }
  .callout { padding: 30px 24px; }
}

/* ---------------------------------------------------------- phone: the real Home screen */
.screen .app { padding: 56px 15px 0; }
.screen .app-top { gap: 12px; }
.avatar-img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(19,11,41,.08); flex: none; }
.avatar-img.sm { width: 38px; height: 38px; }
.screen .hello { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.screen .handle { font-size: 12.5px; }
.screen .bell { width: 40px; height: 40px; }
.screen .badge { width: 16px; height: 16px; font-size: 9.5px; top: -2px; right: -2px; }
.screen .wallet-card { margin-top: 16px; }
.screen .wc-strip { font-size: 12.5px; padding: 10px 16px 20px; }
.screen .wc-body { border-radius: 22px; padding: 15px 16px 12px; }
.screen .wc-balance { font-size: 24px; margin: 18px 0 14px; }
.eye svg { width: 22px; height: 22px; fill: #fff; }
.eye .eye-off { display: block; }
.eye .eye-open { display: none; }
.eye.off .eye-off { display: none; }
.eye.off .eye-open { display: block; }
.eye.off svg { opacity: 1; }
.screen .wc-add { padding: 6px 6px 6px 14px; font-size: 12px; }
.screen .wc-add i { width: 24px; height: 24px; font-size: 15px; }
.screen .app-actions { gap: 10px; margin: 16px 0 16px; align-items: center; }
.screen .pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; height: 46px; font-size: 15px; font-weight: 500; border-radius: 999px; }
.screen .pill.nfc { background: #24223A; color: #fff; justify-content: flex-start; padding-left: 7px; }
.pill-ico.light { width: 32px; height: 32px; border-radius: 50%; background: #EFF8FA; display: grid; place-items: center; }
.pill-ico svg { width: 18px; height: 18px; fill: none; stroke: #24223A; stroke-width: 2.2; stroke-linecap: round; }
.screen .pill.send { background: #C8F169; color: #1C2A06; }
.plane { width: 18px; height: 18px; fill: #24223A; transform: rotate(-12deg); }
.screen .pill.more { width: 46px; flex: none; padding: 0; background: #EFF8FA; display: grid; grid-template-columns: 9px 9px; gap: 4px; place-content: center; }
.pill.more i { width: 9px; height: 9px; border-radius: 50%; background: #130B29; display: block; }
.screen .app-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.screen .app-h b { font-weight: 700; }
.screen .app-h span { font-weight: 600; font-size: 13px; }
.screen .tx { background: #EFF8FA; border-radius: 14px; padding: 11px 13px; margin-bottom: 8px; gap: 10px; align-items: flex-start; }
.tx-l { min-width: 0; }
.screen .tx p { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 168px; }
.screen .tx small { font-size: 10.5px; color: #6B6E8F; }
.tx-r { text-align: right; flex: none; }
.tx-r b { display: block; font-size: 12.5px; font-weight: 500; }
.tx-r em { font-style: normal; font-size: 11.5px; color: #34A853; }
.app-nav {
  position: absolute; left: 12px; right: 12px; bottom: 20px; z-index: 5; height: 62px; border-radius: 31px;
  background: #24223A; border: 1.5px solid #1C1B1F; display: flex; align-items: center; justify-content: space-between; padding: 0 9px;
}
.app-nav span { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.app-nav span svg { width: 18px; height: 18px; fill: #130B29; }
.app-nav span.on { width: 46px; height: 46px; border-radius: 50%; background: #171624; }
.app-nav span.on svg { fill: #F04F23; width: 22px; height: 22px; }
/* The list slides under the nav bar; nothing shows below the bar. */
.screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: #DDE8E2; z-index: 4; }
/* Add Money sits inside the navy wallet card, bottom right, like the app. */
.screen .wc-body { display: flex; flex-direction: column; padding-bottom: 14px; overflow: hidden; }
.screen .wc-add { float: none; align-self: flex-end; margin-top: 2px; }
.screen .wc-balance { margin: 16px 0 12px; }
/* Notifications open in MetaCirq blue (the app's navy); the closed island
   stays black like the real camera cut-out. */
.island { transition: width .45s cubic-bezier(.2,.9,.25,1.1), height .45s cubic-bezier(.2,.9,.25,1.1), border-radius .45s ease, background .3s ease; }
.island.open { background: #24223A; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.island.open .isl-content small { color: rgba(255,255,255,.75); }

/* "Learn more" arrows get their own pointer: a navy disc with a lime arrow. */
.more-link, .more-link * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><circle cx='18' cy='18' r='16' fill='%2324223A' stroke='%23FFFFFF' stroke-width='2'/><path d='M12 18h11m-4.5-4.5L23 18l-4.5 4.5' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") 18 18, pointer; }

/* Site cursor: a navy arrow with a lime edge; over anything clickable, a
   navy disc with a lime dot. Text fields keep the text cursor. */
html, body { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path d='M6.2 4.6c-.9-.5-1.9.4-1.5 1.3l7.1 17.6c.4 1 1.8 1 2.1 0l2.2-6.3c.1-.4.4-.7.8-.8l6.3-2.2c1-.3 1-1.7.1-2.1z' fill='%2324223A' stroke='%23FFFFFF' stroke-width='1.8' stroke-linejoin='round'/></svg>") 5 5, auto; }
a, button, summary, select, label[for], .tab, .jump a, .store, .sheet-opt, .scrim.on {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><circle cx='15' cy='15' r='12' fill='%2324223A' fill-opacity='.92' stroke='%23FFFFFF' stroke-width='2'/><circle cx='15' cy='15' r='3.4' fill='%23F04F23'/></svg>") 15 15, pointer;
}
input, textarea { cursor: text; }
.more-link, .more-link * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><circle cx='18' cy='18' r='16' fill='%2324223A' stroke='%23FFFFFF' stroke-width='2'/><path d='M12 18h11m-4.5-4.5L23 18l-4.5 4.5' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") 18 18, pointer; }

/* ---------------------------------------------------------- cursor indicator */
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1000; opacity: 0; transition: opacity .25s ease; }
body.has-cursor .cursor-ring, body.has-cursor .cursor-dot { opacity: 1; }
.cursor-ring::before {
  content: ""; position: absolute; width: 36px; height: 36px; left: -18px; top: -18px; border-radius: 50%;
  border: 2px solid rgba(36, 34, 58, .85); background: rgba(36, 34, 58, 0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6);
  transition: width .25s cubic-bezier(.2,.9,.25,1.2), height .25s cubic-bezier(.2,.9,.25,1.2), left .25s cubic-bezier(.2,.9,.25,1.2), top .25s cubic-bezier(.2,.9,.25,1.2), background .25s ease, border-color .25s ease;
}
.cursor-ring.hover::before { width: 54px; height: 54px; left: -27px; top: -27px; background: rgba(36, 34, 58, .10); }
.cursor-ring.label::before { width: 74px; height: 74px; left: -37px; top: -37px; background: #24223A; border-color: #24223A; }
.cursor-ring.down::before { width: 26px; height: 26px; left: -13px; top: -13px; }
.cursor-ring.text::before { width: 4px; height: 26px; left: -2px; top: -13px; border-radius: 2px; background: rgba(36, 34, 58, .7); border-color: transparent; box-shadow: none; }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  color: #FFFFFF; font: 600 12px/1 "Outfit", system-ui, sans-serif; letter-spacing: .02em; transition: opacity .2s ease, transform .25s ease;
}
.cursor-ring.label .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-dot::before { content: ""; position: absolute; width: 6px; height: 6px; left: -3px; top: -3px; border-radius: 50%; background: #F04F23; }
.cursor-ripple {
  position: fixed; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none; z-index: 999;
  border: 2px solid #24223A; animation: cursor-ripple .55s ease-out forwards;
}
@keyframes cursor-ripple { to { transform: scale(4); opacity: 0; } }

/* Learn-more link on the navy Security section: white text and underline. */
.section.dark .more-link { color: #fff; background-image: linear-gradient(#fff, #fff); }

/* Support button in the header: headset icon + label. */
.support-btn { gap: 8px; padding-left: 14px; }
.support-btn svg { flex: none; }
@media (max-width: 600px) { .nav-actions .support-btn { display: inline-flex; padding: 10px 12px; } }

/* Phones: smaller logo and a compact Support button so the top bar fits;
   on very narrow phones Support shows just its headset icon. */
@media (max-width: 600px) {
  .logo img { height: 32px; }
  .nav-row { gap: 12px; }
  .nav-actions { gap: 8px; }
  .nav-actions .support-btn { padding: 9px 13px; font-size: 13px; gap: 6px; }
}
@media (max-width: 400px) {
  .support-label { display: none; }
  .nav-actions .support-btn { padding: 0; width: 40px; height: 40px; justify-content: center; }
}
/* Send-to tabs on phones: an even 2 x 2 grid instead of wrapping inside a pill. */
@media (max-width: 640px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 24px; gap: 6px; padding: 6px; }
  .tab { text-align: center; padding: 11px 8px; font-size: 14.5px; }
}

/* Menu button: hamburger when closed, X when the menu is open; no outline. */
.menu .i-close { display: none; }
.nav.open .menu .i-open { display: none; }
.nav.open .menu .i-close { display: block; }
.nav.open .menu { background: var(--navy); color: #fff; }
.menu svg { transition: transform .25s ease; }
.nav.open .menu .i-close { animation: menu-x .25s ease; }
@keyframes menu-x { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
.menu:focus, .menu:focus-visible { outline: none; }
.menu:focus-visible { background: #DDE3EC; }
.nav.open .menu:focus-visible { background: var(--navy); }
/* Download banner on phones: equal store buttons side by side, a smaller
   logo above the heading, and comfortable padding. */
@media (max-width: 640px) {
  .download { padding: 32px 22px; gap: 22px; text-align: left; }
  .download .dl-mark { order: -1; justify-items: start; }
  .download .dl-mark img { max-width: 170px; }
  .store-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .store { justify-content: center; padding: 10px 10px; gap: 8px; font-size: 15px; }
  .store svg { width: 22px; height: 22px; }
  .store small { font-size: 10px; }
}
@media (max-width: 340px) { .store-row { grid-template-columns: 1fr; } }
/* Phone menu: centred links in a panel that slides down smoothly, with
   rounded bottom corners, a soft shadow and a dimmed page behind it. */
@media (max-width: 900px) {
  .nav .links, .nav.open .links {
    display: grid; position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    justify-items: center; text-align: center; gap: 2px; padding: 8px 24px 26px;
    background: var(--page); border-bottom: 0; border-radius: 0 0 28px 28px;
    box-shadow: 0 22px 40px rgba(19, 11, 41, .14), 0 0 0 100vmax rgba(19, 11, 41, .28);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
    opacity: 0; visibility: hidden; transform: translateY(-14px); pointer-events: none;
    transition: opacity .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
  }
  .nav.open .links {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  .nav .links a { padding: 12px 22px; font-size: 17px; border-radius: 14px; width: 100%; max-width: 280px; }
  .nav .links a:hover, .nav .links a:focus-visible { background: rgba(36, 34, 58, .06); outline: none; }
  .nav.open .links a { animation: menu-item .4s cubic-bezier(.2, .8, .2, 1) both; }
  .nav.open .links a:nth-child(2) { animation-delay: .03s; } .nav.open .links a:nth-child(3) { animation-delay: .06s; }
  .nav.open .links a:nth-child(4) { animation-delay: .09s; } .nav.open .links a:nth-child(5) { animation-delay: .12s; }
  .nav.open .links a:nth-child(6) { animation-delay: .15s; } .nav.open .links a:nth-child(7) { animation-delay: .18s; }
}
@keyframes menu-item { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .nav .links, .nav.open .links a { transition: none; animation: none; } }
/* Rounded floating header: the bar is a pill that hovers below the top edge. */
.nav, .nav.scrolled { background: transparent; backdrop-filter: none; border-bottom: 0; padding-top: 12px; }
.nav-row {
  height: 64px; padding: 0 10px 0 24px; border-radius: 999px;
  background: color-mix(in srgb, #fff 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(19, 11, 41, .04), 0 10px 30px rgba(19, 11, 41, .06);
  transition: box-shadow .2s ease, background .2s ease;
}
.nav.scrolled .nav-row { background: color-mix(in srgb, #fff 88%, transparent); box-shadow: 0 12px 32px rgba(19, 11, 41, .10); }
@media (max-width: 900px) {
  .nav { padding: 10px 12px 0; }
  .nav-row { height: 60px; padding: 0 8px 0 18px; }
  .nav .links, .nav.open .links { top: 80px; left: 12px; right: 12px; border-radius: 28px; clip-path: none;
    background: color-mix(in srgb, #fff 94%, transparent); }
}
@media (max-width: 900px) {
  .nav .links, .nav.open .links { background: #fff; clip-path: inset(-6px -100vmax -100vmax -100vmax); }
  .nav.open .nav-row { background: #fff; }
}
/* Softer header corners: rounded rectangle, not a full pill. */
.nav-row { border-radius: 18px; }
@media (max-width: 900px) { .nav-row { border-radius: 16px; } .nav .links, .nav.open .links { border-radius: 18px; } }
/* Header: a little less rounded, and more glass-like (clearer, stronger blur,
   bright edge highlight). */
.nav-row {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .32));
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 10px 30px rgba(19, 11, 41, .07);
}
.nav.scrolled .nav-row {
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 12px 32px rgba(19, 11, 41, .10);
}
@media (max-width: 900px) {
  .nav-row { border-radius: 12px; }
  .nav .links, .nav.open .links { border-radius: 14px; }
  .nav.open .nav-row { background: #fff; }
}
/* Terms & Conditions page and footer legal link. */
.foot-legal a { color: inherit; text-decoration: none; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; }
.legal-meta { color: var(--muted); margin: 6px 0 18px; }
.page-hero .notice { max-width: 720px; margin-bottom: 22px; }
.legal { max-width: 780px; padding-bottom: 80px; }
.legal section { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal h2 { font-size: 24px; margin: 0 0 12px; }
.legal p { color: var(--ink-2); line-height: 1.7; margin: 0 0 12px; }
.legal a { color: var(--ink); }
.wrap.legal { max-width: none; }
.legal section { max-width: 780px; }
/* Policy pages: bullet lists and highlighted placeholders to fill in. */
.legal-list { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); line-height: 1.7; }
.legal-list li { margin: 6px 0; }
.legal-list li::marker { color: var(--orange); }
.todo { background: #FFF1B8; color: #5A4300; border-radius: 6px; padding: 1px 6px; font-weight: 600; }

/* ------------------------------------------------ print / PDF (policy pages) */
@media print {
  @page { size: A4; margin: 18mm 16mm 18mm; }
  html, body { background: #fff !important; cursor: auto !important; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor-ring, .cursor-dot, .cursor-ripple, #site-footer, .jump, .crumbs, .links, .nav-actions, .menu { display: none !important; }
  .nav { position: static !important; padding: 0 !important; }
  .nav-row { background: none !important; box-shadow: none !important; border: 0 !important; backdrop-filter: none !important;
    height: auto !important; padding: 0 0 10px !important; border-bottom: 2px solid #F04F23 !important; border-radius: 0 !important; }
  .logo img { height: 46px !important; }
  .wrap { width: 100% !important; padding: 0 !important; }
  .page-hero { padding: 18px 0 6px !important; background: none !important; }
  .page-hero h1 { font-size: 30px !important; margin: 0 0 8px !important; }
  .page-hero .lead { font-size: 13px !important; max-width: none !important; }
  .notice { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .legal { padding-bottom: 0 !important; }
  .legal section { max-width: none !important; padding: 12px 0 !important; break-inside: auto; }
  .legal h2 { font-size: 16px !important; break-after: avoid; }
  .legal p, .legal-list { font-size: 11.5px !important; line-height: 1.55 !important; color: #222 !important; }
  .facts .fact { box-shadow: none !important; border: 1px solid #ddd; }
  .todo { background: #FFF1B8 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit !important; text-decoration: none !important; }
  .print-foot { display: block !important; }
}
.print-foot { display: none; margin-top: 24px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 10px; color: #6B6E8F; }
@media print { .footer, footer { display: none !important; } }
/* Blank date line, filled in by hand on the printed policy. */
.date-blank { display: inline-block; width: 150px; border-bottom: 1.5px solid #130B29; vertical-align: -3px; margin: 0 4px; }
/* Blank lines to fill in by hand, and the directors' signature block (PDF only). */
.blank { display: inline-block; min-width: 140px; border-bottom: 1.5px solid #130B29; vertical-align: -3px; margin: 0 4px; height: 1em; }
.blank.wide { min-width: 220px; }
.blank.sig { height: 2.2em; }
.print-only { display: none; }
@media print {
  .print-only { display: block !important; }
  .sign-block { break-inside: avoid; break-before: page; padding-top: 4px !important; }
  .sign-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
  .sign { border: 1px solid #ccc; border-radius: 10px; padding: 12px 14px; }
  .sign p { margin: 0 0 12px !important; display: flex; align-items: flex-end; gap: 6px; }
  .sign .blank { flex: 1; min-width: 0; }
  .sign-h { font-weight: 700; color: #130B29 !important; font-size: 13px !important; }
  .seal-box { margin-top: 16px; width: 170px; height: 90px; border: 1.5px dashed #999; border-radius: 10px;
    display: grid; place-items: center; color: #999; font-size: 11px; }
}
