/* Tychra marketing site. System fonts only: nothing to download, no layout shift.
   Green is kept for one job: "use this one" (the picked card, the main button, a confirmed source).

   1. COLOURS. Black is the default look. The light block under it is used only when a visitor picks light with the
      switch in the header. Anything with class="dark" (the home hero, the closing band) always uses the black values.
      Change a value here and it changes everywhere. */
:root, .dark {
  --paper: #000000;            /* page background: black */
  --surface: #0d0d0f;          /* panels and cards: neutral, just above black */
  --sunk: #19191c;             /* hover fills, notes */
  --ink: #f4f4f6;              /* text */
  --muted: #a7a7af;            /* secondary text (8.7:1 on the page; all text pairs pass WCAG AA) */
  --line: #232327;             /* hairlines */
  --rule: #4a4a52;             /* the stronger line above tables and lists */
  --green: #17c283; --green-text: #4fdca3; --green-soft: #18181b; --on-green: #000000;
  --go-bg: #17c283; --go-ink: #000000; --go-hover: #4ddba4;   /* the main button */
  --amber-text: #f2c063; --amber-soft: #3a2c0d; --amber: #e8a20c;
  --ph: #4a3b05; --ph-ink: #ffe58a;
  --focus: #b9f5dc;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 48px -24px rgba(0, 0, 0, .9);
  --glow: rgba(0, 168, 107, .26);        /* green light */
  --teal: transparent;        /* unused on dark: backgrounds stay black */
  --bg-hero: #000000;
  --bg-band: #09090b;
  --bg-close: radial-gradient(60% 130% at 50% 125%, rgba(255, 255, 255, .08), transparent 70%), #000000;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --paper: #f5f5f6; --surface: #ffffff; --sunk: #ececee; --ink: #0e0e10; --muted: #5a5a62; --line: #d8d8dc; --rule: #0e0e10;
  --green: #00a86b; --green-text: #00704a; --green-soft: #dff5ea; --on-green: #ffffff;
  --go-bg: #000000; --go-ink: #ffffff; --go-hover: #26262a;
  --amber-text: #7a4a00; --amber-soft: #fcefd6; --amber: #e8a20c;
  --ph: #fff2b3; --ph-ink: #5c4300;
  --focus: #000000;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 16px 36px -20px rgba(0, 0, 0, .28);
  --glow: rgba(0, 168, 107, .12); --teal: transparent;
  --bg-band: #ffffff;
  color-scheme: light;
}

/* 2. FONTS AND SIZES */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", Georgia, serif;
  --wrap: 1160px; --gut: 20px;

  /* 3. MOTION. Every speed, depth and angle on the site. motion.js reads the unitless ones too.
        Visitors who ask their device for reduced motion get the still, composed layout instead. */
  --ease: cubic-bezier(.16, 1, .3, 1);   /* the one easing curve: quick start, long soft landing */
  --m-start: .15s;       /* wait after load before the phone and cards arrive */
  --m-deal: 1.3s;        /* how long the phone and each card take to arrive */
  --m-stagger: .12s;     /* gap between cards */
  --m-orbit: 46s;        /* one full turn of the cards round the phone */
  --m-rig-x: 4;          /* resting tilt of the hero picture, degrees (x leans it back, y turns it) */
  --m-rig-y: 0;
  --m-tilt: 7;           /* extra tilt toward the pointer or with the phone, degrees */
  --m-tilt-ease: .07;    /* 0 to 1: how quickly the tilt follows (lower is softer) */
  --m-persp: 1200;       /* perspective in px (smaller is a stronger 3D effect) */
  --m-tilt-card: 10;     /* tilt of the big card on card pages toward the pointer, degrees */
  --m-tilt-device: 25;   /* phone tilt, in degrees, that gives the full wallet tilt (higher is calmer) */
  --m-glow-in: .9s;      /* the green ring and label fading in */
  --m-lift-y: -26px;     /* demo: how far the winning card rises */
  --m-lift-z: 40px;      /* demo: how far it comes toward you (the others step back half that) */
  --m-lift-time: .8s;    /* demo: how long the cards take to move */
  --m-answer: 420;       /* demo: the answer settling in, ms (read by demo.js) */
  --m-thumb-tilt: -22deg;/* card directory: how far a thumbnail turns on hover */
  --m-thumb-time: .6s;
  --m-reveal: .9s;       /* sections fading up as they come into view */
  --m-reveal-y: 28px;
}
.dark { background: var(--paper); color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-text); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { text-decoration-thickness: .12em; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.3rem + 5.6vw, 4.9rem); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 680; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0 0 1em; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 43rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }
mark.ph { background: var(--ph); color: var(--ph-ink); padding: 0 .3em; border-radius: 3px; font-weight: 600; font-size: .92em; }

/* Header */
/* No backdrop blur: blurring what scrolls under a sticky bar repaints every frame on phones. */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand .mark { height: 32px; width: auto; display: block; flex: none; } /* the box hugs the wheel, so it sits flush on the gutter */
.nav { display: none; }
.nav a, .menu-panel a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: .97rem; }
.nav a:hover, .menu-panel a:hover { background: var(--sunk); }
.nav a[aria-current="page"], .menu-panel a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.icon-btn:hover { background: var(--sunk); }
.icon-btn svg { width: 20px; height: 20px; }
:root:not([data-theme="light"]) .moon, :root[data-theme="light"] .sun { display: none; }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu-panel a { padding: 12px; }
@media (min-width: 920px) { .nav { display: flex; gap: 2px; margin-right: 8px; } .menu { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 650; text-decoration: none; border: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent); color: var(--ink); background: transparent; cursor: pointer; transition: background-color .25s, border-color .25s; }
.btn:hover { background: var(--sunk); border-color: var(--ink); }
.btn.go { background: var(--go-bg); border-color: var(--go-bg); color: var(--go-ink); box-shadow: 0 10px 30px -12px var(--glow); }
.btn.go:hover { background: var(--go-hover); border-color: var(--go-hover); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.top .btn.sm { display: none; }
@media (min-width: 420px) { .top .btn.sm { display: inline-flex; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Sections */
main { display: block; }
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.tint { background: var(--bg-band); }
@media (min-width: 800px) { .sec { padding: 92px 0; } }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 36rem; }
.sec h2 + p, .sec h2 + .lede { margin-top: 16px; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } .split.even { grid-template-columns: 1fr 1fr; } }
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.page-head { padding: 28px 0 40px; }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); line-height: 1.02; max-width: 18ch; }
.page-head .lede { margin-top: 18px; }
.answer { font-size: 1.15rem; line-height: 1.55; max-width: 40rem; color: var(--ink); margin-top: 18px; }
.prose { max-width: 43rem; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.8rem); margin: 2em 0 .5em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose table { margin: 1em 0 1.4em; }

/* Hero */
.hero { padding: 36px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; position: relative; }
.hero h1 { max-width: 9.5ch; }
.hero .lede { margin-top: 20px; }
@media (min-width: 980px) { .hero { padding: 72px 0 96px; } .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; } }
.wheel-bg { position: absolute; width: 760px; max-width: none; right: -260px; top: -180px; opacity: .07; pointer-events: none; transition: transform 1.1s var(--ease); }
.wheel-bg .lit { opacity: 1; }
@media (max-width: 979px) { .wheel-bg { width: 420px; right: -170px; top: -120px; } }

/* Hero stage (home page). The still layout below IS the finished picture: it is what shows without JS and with
   reduced motion. Everything that moves sits under .motion (set by theme.js) further down.
   Back to front by depth (translateZ), not z-index: .halo (green light) > side cards > .phone > the winning card.
   Each layer animates one thing: .rig = pointer tilt (motion.js), .slot = scroll spread and drift, .face = arriving.
   Every size follows --pw, the phone's width, so the picture scales as one piece. */
.stage-hero { background: radial-gradient(58% 40% at 50% 74%, rgba(255, 255, 255, .07), transparent 70%), #000; padding: 28px 0 0; overflow: clip; position: relative; text-align: center; }
.stage-hero h1 { font-size: clamp(2.3rem, 1rem + 5.6vw, 4.5rem); }
.stage-hero h1 .glow { display: block; padding-bottom: .1em; background: linear-gradient(94deg, #6dffb8 8%, #2fe3b4 52%, #35c3dc 96%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(41, 217, 160, .32)); }
.stage-hero .lede { margin: 12px auto 0; max-width: 48rem; font-size: clamp(1.05rem, 1rem + .2vw, 1.15rem); }
.stage-hero .badges { justify-content: center; }
.stage-hero .lede { text-wrap: balance; }

.stage { --pw: clamp(206px, min(27vw, 34vh), 312px); --cw: calc(var(--pw) * .58); --R: calc(var(--pw) * 1.02); position: relative; height: calc(var(--pw) * 1.86); margin-top: 18px; text-align: left;
  perspective: 2200px; perspective-origin: 50% 40%; }
@media (min-width: 700px) { .stage { --cw: calc(var(--pw) * .6); --R: calc(var(--pw) * 1.5); } }
@media (min-width: 1100px) { .stage { --cw: calc(var(--pw) * .62); --R: calc(var(--pw) * 1.85); } }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--m-rig-x) * 1deg)) rotateY(calc(var(--m-rig-y) * 1deg)); will-change: transform; }
.rig > * { position: absolute; }
.halo { left: 50%; width: calc(var(--pw) * 3); margin-left: calc(var(--pw) * -1.5); top: 4%; height: 88%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03) 58%, transparent); transform: translateZ(-120px); }

.phone { left: 50%; top: 0; width: var(--pw); margin-left: calc(var(--pw) / -2); aspect-ratio: 9 / 18.6; padding: calc(var(--pw) * .028); border-radius: 15.5% / 7.5%; container-type: inline-size;
  background: linear-gradient(150deg, #8a8a92 0%, #202024 16%, #070708 52%, #161619 82%, #6a6a72 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px #000, 3px 4px 0 #0e0e10, 0 60px 90px -30px rgba(0, 0, 0, .95), 0 0 90px -30px rgba(255, 255, 255, .2); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 13cqw; }

/* From 720px: text on the left, the phone and its cards on the right, filling the first screen. */
@media (min-width: 720px) {
  .stage-hero { text-align: left; padding: 0; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: center; min-height: min(780px, calc(100vh - 61px)); }
  .stage-hero h1 { font-size: clamp(2.5rem, .9rem + 4.1vw, 4.7rem); }
  .stage-hero .lede { margin-left: 0; max-width: 28rem; }
  .stage-hero .badges { justify-content: flex-start; }
  .stage-hero .stage { --pw: clamp(180px, min(19vw, 38vh), 280px); --cw: calc(var(--pw) * .5); --R: calc(var(--pw) * 1.05); height: calc(var(--pw) * 2.2); margin-top: 0; }
  .stage-hero .phone { top: calc(var(--pw) * .065); }
}
/* The orbit: popular cards revolve around the phone, passing behind and in front of it. .spin turns the whole ring;
   .turn turns each card back by the same angle, so its face stays towards you; .tilt gives each card its lean. */
.orbit { left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-17deg) rotateZ(-5deg); }
.spin, .sat, .turn, .tilt { transform-style: preserve-3d; }
.sat { position: absolute; left: calc(var(--cw) / -2); top: calc(var(--cw) * -.315); width: var(--cw); --ex: 1px; transform: rotateY(var(--a)) translateZ(var(--R)); }
.turn { transform: rotateY(calc(var(--a) * -1)); }
.tilt { position: relative; transform: rotateX(12deg) rotateY(-12deg) rotateZ(-2deg); }

.orbit.o2 { top: 58%; transform: rotateX(-12deg) rotateZ(7deg); }   /* the outer ring: wider, a little lower, tilted the other way */
.o2 .sat { transform: rotateY(var(--a)) translateZ(calc(var(--R) * 1.25)) scale(.84); }

/* The cards: thickness (stacked edge shadows), a lit bevel, fine grain, the contactless mark and a passing shine. */
.real { --ex: 1px; padding: 8% 8% 7%; border-radius: 5.6% / 8.9%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), var(--pat), linear-gradient(135deg, color-mix(in srgb, var(--c1) 84%, #fff) 0%, var(--c1) 22%, var(--c2) 78%, color-mix(in srgb, var(--c2) 70%, #000) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 2px 1px -1px rgba(255, 255, 255, .6), inset 0 -2px 2px -1px rgba(0, 0, 0, .55),
    var(--ex) 1px 0 color-mix(in srgb, var(--c1) 55%, #fff), calc(var(--ex) * 2) 2px 0 color-mix(in srgb, var(--c2) 70%, #000), calc(var(--ex) * 3) 3px 0 color-mix(in srgb, var(--c2) 52%, #000), calc(var(--ex) * 4) 4px 0 color-mix(in srgb, var(--c1) 30%, #000),
    0 26px 34px -16px rgba(0, 0, 0, .85), 0 70px 90px -30px rgba(0, 0, 0, .8); }
.real b { font-size: 6.6cqw; text-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 -1px 0 rgba(255, 255, 255, .12); }
.real i, .real em { font-size: 4.5cqw; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
.real i::after { content: ""; position: absolute; left: 25%; top: 35%; width: 7.5%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-opacity='.75' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 9c1.6 1.8 1.6 4.2 0 6M9.5 6.5c3 3.3 3 7.7 0 11M14 4c4.4 4.8 4.4 11.2 0 16'/%3E%3C/svg%3E") center / contain no-repeat; }
.real::after { inset: -10% -60%; background: linear-gradient(106deg, transparent 38%, rgba(255, 255, 255, .06) 44%, rgba(255, 255, 255, .22) 49%, rgba(255, 255, 255, .04) 54%, transparent 60%), radial-gradient(48% 70% at 68% 8%, rgba(255, 255, 255, .18), transparent 70%); }

.real b::before { content: "••••  ••••  ••••  ••••"; display: block; margin-bottom: 3.6cqw; font: 600 5cqw/1 var(--sans); letter-spacing: .1em; opacity: .8; }   /* the embossed number, as dots */

/* Motion: the phone arrives, the cards appear one after another and revolve around it, a light circles the winner. */
@keyframes arrive { from { opacity: 0; translate: 0 60px; } }
@keyframes shine { 0%, 20% { transform: translateX(-38%); } 75%, 100% { transform: translateX(38%); } }
@keyframes revolve { to { transform: rotateY(360deg); } }
@keyframes unrevolve { from { transform: rotateY(calc(var(--a) * -1)); } to { transform: rotateY(calc(var(--a) * -1 - 360deg)); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes halo-in { from { opacity: 0; } }
.motion .stage .phone { animation: arrive var(--m-deal) var(--ease) var(--m-start) both; }
.motion .stage .spin { animation: revolve var(--m-orbit) linear infinite; }
.motion .stage .o2 .spin, .motion .stage .o2 .turn { animation-direction: reverse; animation-duration: calc(var(--m-orbit) * 1.4); }
.motion .stage .turn { animation: unrevolve var(--m-orbit) linear infinite; }
.motion .stage .tilt { animation: fade-in 1.1s var(--ease) both; animation-delay: calc(var(--m-start) + .3s + var(--i) * var(--m-stagger)); }
.motion .stage .real::after, .motion .finale .real::after { animation: shine 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.9s); }
.motion .stage .halo { animation: halo-in 1.6s var(--ease) both; animation-delay: calc(var(--m-start) + var(--m-deal) * .4); }

/* Sections fade up once as they come into view. Hidden only after motion.js has started (never without JS). */
[data-reveal] { transition: opacity var(--m-reveal) var(--ease), transform var(--m-reveal) var(--ease); }
.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(var(--m-reveal-y)); }

/* The demo section under the hero */
.try { position: relative; overflow: clip; }
.try .wrap { position: relative; }   /* keeps the copy above the watermark wheel */
.try .wheel-bg { top: -120px; }

/* The demo: the app's own job, done on the page */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); position: relative; }
@media (min-width: 600px) { .demo { padding: 28px; } }
.ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 1.15rem; font-weight: 600; }
.ask label { display: inline-flex; align-items: center; gap: 8px; }
.field { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 650; }
.field:hover { border-color: var(--muted); }
input.field.amt { width: 6.2em; font-variant-numeric: tabular-nums; }
select.field { padding-right: 8px; max-width: 100%; }
.rupee { display: inline-flex; align-items: center; gap: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .95rem; }
.chip:hover { background: var(--sunk); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* The demo's wallet: the cards to choose from, then the chosen ones in a row; the winning card lifts toward you. */
.wallet-h { margin: 22px 0 0; font-weight: 650; }
.wallet-h span { margin-left: 8px; font-weight: 400; font-size: .88rem; color: var(--muted); }
.chips.wallet { margin-top: 10px; }
.pickcard { display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; opacity: .62; }
.pickcard .face { width: 34px; padding: 0; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.pickcard .face::before { display: none; }
.pickcard[aria-pressed="true"] { opacity: 1; background: var(--sunk); color: var(--ink); border-color: var(--green); }
.fan { display: flex; justify-content: center; margin: 34px 0 6px; padding: 26px 9% 0; perspective: calc(var(--m-persp) * .75px); }
.fan .lift { flex: 0 1 40%; min-width: 0; margin: 0 -5%; transform: rotate(var(--r, 0deg)); transition: transform var(--m-lift-time) var(--ease), opacity var(--m-lift-time) var(--ease); }
.fan .lift[hidden] { display: none; }
.fan .lift:nth-child(3n + 1) { --r: -6deg; } .fan .lift:nth-child(3n) { --r: 6deg; }
.fan .lift.win { transform: translate3d(0, var(--m-lift-y), var(--m-lift-z)) rotate(0deg); z-index: 3; }
.fan.has-win .lift:not(.win) { transform: translate3d(0, 4px, calc(var(--m-lift-z) * -.9)) rotate(var(--r, 0deg)); opacity: .6; }
.fan .lift.zero { opacity: .45; }
/* The green "use this one" ring in the demo. Only its opacity changes. */
.fan .lift { position: relative; }
.lift::after { content: ""; position: absolute; inset: -5px; border-radius: 9% / 14%; box-shadow: 0 0 0 2px var(--green), 0 0 34px 2px var(--glow), 0 0 80px 10px var(--glow); opacity: 0; transition: opacity var(--m-glow-in) var(--ease); pointer-events: none; }
.lift.win::after { opacity: 1; }
.says { font-family: var(--serif); font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2rem); line-height: 1.2; letter-spacing: -.01em; margin: 22px 0 0; padding-left: 16px; border-left: 4px solid var(--green); }
.says strong { font-weight: 600; }
.why { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: .98rem; }
.why ul { margin: 6px 0 0; }
.others { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.others li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.others span:last-child { text-align: right; color: var(--muted); }
.fine { font-size: .84rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

/* Card face (colours are illustrative, not the bank's artwork) */
/* A generic card: colours, pattern (lines / swoosh / waves) and chip colour come from the card data. No bank artwork. */
.face { --c1: #223; --c2: #445; --fi: #fff; --ac: rgba(255, 255, 255, .5); --pat: linear-gradient(transparent, transparent); aspect-ratio: 1.586 / 1; border-radius: 6.5% / 10%; background: var(--pat), linear-gradient(135deg, var(--c1), var(--c2)); color: var(--fi); padding: 9% 9% 8%; display: grid; grid-template-rows: auto 1fr auto; container-type: inline-size; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 3px rgba(0, 0, 0, .25), 0 18px 32px -16px rgba(0, 0, 0, .75); position: relative; overflow: hidden; }
.face[data-pat="lines"] { --pat: repeating-linear-gradient(115deg, transparent 0 6%, color-mix(in srgb, var(--ac) 16%, transparent) 6% 6.5%); }
.face[data-pat="swoosh"] { --pat: radial-gradient(130% 115% at 0% 135%, transparent 57%, color-mix(in srgb, var(--ac) 42%, transparent) 57.5%, transparent 68%); }
.face[data-pat="waves"] { --pat: repeating-radial-gradient(circle at 112% 125%, transparent 0 5%, color-mix(in srgb, var(--ac) 18%, transparent) 5% 5.6%); }
.face::before { content: ""; position: absolute; left: 9%; top: 33%; width: 12.5%; aspect-ratio: 1.3; border-radius: 18%;
  background: linear-gradient(90deg, transparent 31%, rgba(60, 40, 0, .3) 31% 34%, transparent 34% 66%, rgba(60, 40, 0, .3) 66% 69%, transparent 69%), linear-gradient(0deg, transparent 46%, rgba(60, 40, 0, .3) 46% 54%, transparent 54%), linear-gradient(135deg, #f4e1a6, #b99446 55%, #ead08a);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); pointer-events: none; }
.face[data-chip="silver"]::before { background: linear-gradient(90deg, transparent 31%, rgba(0, 0, 0, .22) 31% 34%, transparent 34% 66%, rgba(0, 0, 0, .22) 66% 69%, transparent 69%), linear-gradient(0deg, transparent 46%, rgba(0, 0, 0, .22) 46% 54%, transparent 54%), linear-gradient(135deg, #f1f3f5, #9aa1a8 55%, #dde1e5); }
.face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .10) 45%, transparent 60%), radial-gradient(120% 90% at 100% 0, rgba(255, 255, 255, .2), transparent 55%); pointer-events: none; }
.face b { font: 650 clamp(.6rem, 6.4cqw, 1.1rem)/1.15 var(--display); letter-spacing: -.01em; align-self: end; overflow-wrap: anywhere; }
.face i, .face em { font-style: normal; font-size: clamp(.5rem, 4.4cqw, .8rem); opacity: .85; line-height: 1.2; }
.face em { justify-self: end; font-weight: 650; opacity: 1; }

/* Source tiers */
.tier { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.tier::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.tier.bank { color: var(--green-text); }
.tier.check { color: var(--amber-text); }
.tier.check::before { background: var(--amber); border-radius: 2px; transform: rotate(45deg); }
.tier.none { color: var(--muted); }
.tier.none::before { background: transparent; border: 1.5px dashed var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 14px 16px; list-style: none; background: var(--sunk); border-radius: 10px; font-size: .92rem; }
.legend li { display: flex; gap: 8px; align-items: baseline; }

/* Fact tables */
.facts { border-top: 2px solid var(--rule); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.facts th { font-weight: 600; width: 32%; color: var(--muted); font-size: .95rem; }
.facts td.v { font-weight: 600; }
.facts td.v small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.facts td.s { width: 26%; font-size: .88rem; }
.facts td.s a { display: block; margin-top: 2px; overflow-wrap: anywhere; }
.facts .gap td, .facts .gap th { color: var(--muted); font-weight: 400; }
.facts details { margin-top: 6px; font-weight: 400; font-size: .88rem; color: var(--muted); }
.facts summary { cursor: pointer; }
.facts blockquote { margin: 6px 0 0; padding-left: 10px; border-left: 2px solid var(--line); }
@media (max-width: 640px) {
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: 100% !important; }
  .facts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .facts tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .facts th, .facts td { border: 0; padding: 2px 0; }
}
.scroll-x { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }   /* relative: hidden labels inside stay inside */
.plain { border-top: 2px solid var(--rule); font-size: .96rem; }
.plain th, .plain td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain thead th { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Directory */
.tools { display: grid; gap: 10px; margin: 0 0 20px; }
@media (min-width: 720px) { .tools { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
.tools .field { width: 100%; background: var(--surface); }
.count { font-size: .95rem; color: var(--muted); margin: 0 0 14px; min-height: 1.6em; }
.dir { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--rule); }
.dir li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
.dir li[hidden] { display: none; }
.dir .face { width: 76px; padding: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 8px 16px -10px rgba(0, 0, 0, .8); }
/* Directory thumbnails lean back in 3D on hover (CSS only, no listeners) */
@media (hover: hover) {
  .motion .dir .face { transition: transform var(--m-thumb-time) var(--ease); }
  .motion .dir li:hover .face, .motion .dir li:focus-within .face { transform: perspective(420px) rotateY(var(--m-thumb-tilt)) rotateX(calc(var(--m-thumb-tilt) * -.45)) scale(1.08); }
}
.dir a.name { font-weight: 650; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.dir a.name::after { content: ""; position: absolute; inset: 0; }
.dir a.name:hover { text-decoration: underline; }
.dir .meta { font-size: .9rem; color: var(--muted); display: block; }
.dir .kf { display: none; }
@media (min-width: 860px) {
  .dir li { grid-template-columns: 76px minmax(0, 5fr) minmax(0, 6fr); }
  .dir .kf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: .9rem; margin: 0; }
  .dir .kf dt { color: var(--muted); font-size: .8rem; } .dir .kf dd { margin: 0; font-weight: 600; }
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.pills a:hover { background: var(--sunk); }

/* Card page */
.card-head { display: grid; gap: 24px; padding: 24px 0 36px; }
.card-head .face { width: min(100%, 340px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 80px -30px var(--glow); }
.card-head h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); line-height: 1.04; max-width: 20ch; }
@media (min-width: 800px) { .card-head { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; } }
.kv { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .96rem; }
.block { margin-top: 56px; }
.block > h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: 16px; }
.howto { display: grid; gap: 24px; }
@media (min-width: 800px) { .howto { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }
.howto h4 { font-size: .88rem; color: var(--muted); font-weight: 600; margin: 12px 0 4px; }
.howto ul { margin: 0; }
.src { font-size: .82rem; white-space: nowrap; }
.srcs { columns: 1; font-size: .9rem; overflow-wrap: anywhere; }
@media (min-width: 800px) { .srcs { columns: 2; column-gap: 48px; } }
.srcs li { break-inside: avoid; margin-bottom: 6px; }
.note { background: var(--sunk); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.note.warn { background: var(--amber-soft); color: var(--amber-text); }
.note.warn a { color: inherit; }

/* Compare */
.cmp-pick { display: grid; gap: 12px; }
@media (min-width: 700px) { .cmp-pick { grid-template-columns: 1fr 1fr; gap: 24px; } }
.cmp-pick .field { width: 100%; background: var(--surface); }
.cmp-pick label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.cmp { margin-top: 28px; }
.cmp th[scope="col"] { font-size: 1rem; color: var(--ink); width: 34%; }
.cmp th[scope="row"] { width: 22%; }
.cmp td { font-weight: 600; }
.cmp td .tier { display: flex; font-weight: 600; margin-top: 4px; }
.cmp td.none { color: var(--muted); font-weight: 400; }
.cmp .face { width: 120px; margin-bottom: 10px; }
@media (max-width: 640px) { .cmp .face { width: 84px; } .cmp th[scope="row"] { width: 26%; font-size: .82rem; } .cmp td, .cmp th { padding-right: 8px; font-size: .9rem; } }

/* Calculator */
.calc { display: grid; gap: 28px; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.calc fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.calc legend { font: 650 1.15rem var(--display); padding: 0; margin-bottom: 10px; }
.checks { display: grid; gap: 4px; max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: var(--surface); }
.checks label { display: flex; gap: 10px; align-items: center; padding: 8px; min-height: 44px; border-radius: 6px; cursor: pointer; }
.checks label:hover { background: var(--sunk); }
.checks input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.spend { display: grid; grid-template-columns: minmax(0, 1fr) 8.2em; gap: 8px 12px; align-items: center; }
.spend .field { width: 100%; background: var(--surface); text-align: right; font-variant-numeric: tabular-nums; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; position: sticky; top: 80px; align-self: start; }
.result .says { margin-top: 0; }
.bars { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.bars li { display: grid; gap: 4px; font-size: .95rem; }
.bars .row { display: flex; justify-content: space-between; gap: 10px; }
.bars .bar { height: 10px; border-radius: 5px; background: var(--sunk); overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--muted); border-radius: 5px; width: 0; transition: width .5s var(--ease); }
.bars li.best .bar i { background: var(--green); }

/* Lists with meaning */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--rule); }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s); font: 700 2rem/1 var(--display); letter-spacing: -.03em; color: var(--green-text); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); grid-column: 2; }
.steps h3 { grid-column: 2; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--rule); }
.rules li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 800px) { .rules li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; } }
.rules h3 { font-size: 1.25rem; }
.rules p { margin: 0; color: var(--muted); }
.tracks { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 800px) { .tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.tracks h3 { padding-top: 14px; border-top: 2px solid var(--rule); margin-bottom: 8px; }
.tracks p { color: var(--muted); margin: 0; }
.plan { display: grid; gap: 0; border-top: 2px solid var(--rule); margin-top: 28px; }
.plan div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
@media (min-width: 800px) { .plan { grid-template-columns: repeat(3, 1fr); } .plan div { padding: 18px 28px 18px 0; border-bottom: 0; } .plan div + div { border-left: 1px solid var(--line); padding-left: 28px; } }
.plan p { margin: 0; color: var(--muted); }
.searchbar { display: flex; gap: 8px; margin-top: 22px; max-width: 34rem; }
.searchbar .field { flex: 1; min-width: 0; background: var(--surface); font-weight: 400; }

/* FAQ */
.faq { border-top: 2px solid var(--rule); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 34px 18px 0; font: 650 1.12rem/1.3 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 40rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Blog */
.posts { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--rule); max-width: 46rem; }
.posts li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.posts a { font: 650 1.4rem/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.posts a:hover { text-decoration: underline; }
.posts p { margin: 8px 0 0; color: var(--muted); }
.byline { color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* Closing band and footer */
.close { background: var(--bg-close); padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .close { padding: 112px 0; } }
.close h2 { max-width: 16ch; }
.close p { color: var(--muted); max-width: 34rem; margin-top: 14px; }
.foot { padding: 48px 0 40px; font-size: .94rem; border-top: 1px solid var(--line); }
.foot .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
@media (min-width: 800px) { .foot .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot h2 { font: 650 .95rem var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding: 5px 0; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .about { grid-column: 1 / -1; color: var(--muted); max-width: 26rem; }
@media (min-width: 800px) { .foot .about { grid-column: auto; } }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: grid; gap: 8px; }
.link-btn { background: none; border: 0; padding: 5px 0; color: var(--muted); cursor: pointer; text-align: left; font-size: inherit; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }

/* Cookie notice (only when analytics is switched on in site.config.js) */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px; max-width: 34rem; margin-left: auto; }
.consent p { margin: 0 0 12px; font-size: .95rem; }
.consent .actions { margin-top: 0; }
.consent[hidden] { display: none; }

/* Landing pages under /go/ */
.go-top .wrap { min-height: 60px; display: flex; align-items: center; justify-content: space-between; }
.draft { background: var(--amber-soft); color: var(--amber-text); padding: 10px 0; font-size: .92rem; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print { .top, .foot, .close, .consent, .actions, .stage { display: none; } :root, .dark { --paper: #fff; --surface: #fff; --ink: #000; --muted: #333; --line: #ccc; --rule: #000; --green-text: #00704a; --bg-hero: none; --bg-band: none; } body { background: #fff; } }

/* Store badges: the official App Store and Google Play artwork (src/assets/img/badge-*), unchanged. Google's file has
   empty space round the badge, so it is drawn larger and pulled in to sit level with Apple's. Links: site.config.js → stores. */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .25s var(--ease); }
.badge:hover { transform: translateY(-3px); }
.badge img { display: block; height: 52px; width: auto; max-width: none; }
.badge.gp img { height: 77px; margin: -12.5px; }
.foot a.brand { display: inline-flex; }
.foot .social { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }

/* Drawn scenes inside the tour's phone. Sizes are in cqw: shares of the phone's width. */
.scene { container-type: inline-size; background: #000; overflow: hidden; }
.sc-h { position: absolute; left: 7cqw; top: 9cqw; font: 700 10cqw/1 var(--display); letter-spacing: -.03em; }
/* Points: cards rising out of a leather wallet, one after another, then tucking back in. */
.wal { position: absolute; left: 7cqw; right: 7cqw; bottom: 14cqw; height: 60cqw; }
.wal-back { position: absolute; left: 2cqw; right: 2cqw; top: -7cqw; bottom: 0; border-radius: 8cqw; background: linear-gradient(180deg, #6e2209, #3d1104); }
.wc { position: absolute; left: 6cqw; right: 6cqw; bottom: 5cqw; transform: translateY(calc(-34cqw - var(--n) * 25cqw)) rotate(calc((var(--n) - 1.5) * 3deg)); }
.wal-front { position: absolute; inset: 0; border-radius: 8cqw; background: linear-gradient(160deg, #f26a2e, #cf3f14 55%, #a52b0b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -8cqw 12cqw rgba(0, 0, 0, .25), 0 -5cqw 9cqw -4cqw rgba(0, 0, 0, .7); }
.wal-front::before { content: ""; position: absolute; inset: 3.4cqw; border-radius: 5.5cqw; border: .6cqw dashed rgba(255, 226, 190, .7); }
.wal-front i { position: absolute; left: 50%; top: 30%; width: 13cqw; height: 13cqw; margin-left: -6.5cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffc27a, #c9661a 70%); box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .45), inset 0 0 0 1.6cqw rgba(160, 70, 10, .55); }
@keyframes tuck { from, 14% { transform: translateY(0) rotate(0deg); } 62%, to { transform: translateY(calc(-34cqw - var(--n) * 25cqw)) rotate(calc((var(--n) - 1.5) * 3deg)); } }
.motion .wc { animation: tuck 5.2s var(--ease) infinite alternate; animation-delay: calc(var(--n) * .22s); }
/* The locked screen: a blurred screen behind a lock. */
.lock-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2cqw) brightness(.5); transform: scale(1.08); }
.lock { position: absolute; left: 50%; top: 50%; width: 30cqw; height: 30cqw; margin: -15cqw 0 0 -15cqw; border-radius: 50%; display: grid; place-items: center; color: #6dffb8; background: rgba(16, 16, 18, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 16cqw rgba(79, 233, 168, .45); }
.lock svg { width: 14cqw; height: 14cqw; }
@keyframes pulse { to { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 26cqw 4cqw rgba(79, 233, 168, .6); } }
.motion .lock { animation: pulse 1.8s ease-in-out infinite alternate; }
.step.locked .badges { margin-top: 28px; }
/* Screens drift a little while you read, so the phone never looks frozen. */
@keyframes screen-drift { to { transform: scale(1.06) translateY(-1.6%); } }
.motion .tour-view .device > img.on { animation: screen-drift 9s ease-in-out 1.2s infinite alternate; }

/* The last band: three cards that lean towards the pointer, the invitation, the store badges. */
.finale { text-align: center; padding: 96px 0 92px; overflow: clip; }   /* the fanned cards may reach past a phone screen edge */
.finale h2 { max-width: none; font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.2rem); }
.finale p { margin: 14px auto 0; }
.finale .badges { justify-content: center; }
.finale-cards { display: flex; justify-content: center; margin: 0 auto 46px; text-align: left; }
.finale-cards span { width: clamp(140px, 22vw, 250px); margin: 0 -20px; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)); transition: transform .5s var(--ease); }
.finale-cards span:nth-child(1) { --r: -10deg; --y: 14px; } .finale-cards span:nth-child(3) { --r: 10deg; --y: 14px; }
.finale-cards span:hover { transform: rotate(0deg) translateY(-18px) scale(1.07); z-index: 2; }

/* The app tour. One column with a screen under each step; with tour.js on a wider screen, one phone stays in view,
   turns to the next screen as you scroll, and two highlights float beside it. */
.glow { background: linear-gradient(94deg, #6dffb8 8%, #2fe3b4 52%, #35c3dc 96%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tour { background: #000; padding: 40px 0 0; overflow: clip; }
.tour-title { text-align: center; font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.2rem); }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.tour-view { display: none; }
.step { padding: 48px 0; scroll-margin-top: 70px; display: grid; gap: 30px; }
.step-tab { margin: 0 0 14px; color: var(--green-text); font-weight: 700; font-size: 1.05rem; }
.pro { margin-left: 8px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(242, 192, 99, .55); color: var(--amber-text); font-size: .76rem; vertical-align: 1px; }
.step h3 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.step-text > p:not(.step-tab) { margin: 16px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 30rem; }
.hi { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hi li, .float { padding: 9px 15px 9px 12px; border-radius: 999px; background: rgba(22, 22, 25, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 16px 34px -14px #000; font-weight: 650; font-size: .95rem; white-space: nowrap; }
.hi li::before, .float::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: #4fe9a8; box-shadow: 0 0 12px 2px rgba(79, 233, 168, .7); vertical-align: 1px; }
.device { position: relative; width: min(300px, 82vw); aspect-ratio: 643 / 1393; margin: 0 auto; padding: 8px; border-radius: 46px; background: linear-gradient(150deg, #8a8a92 0%, #202024 16%, #070708 52%, #161619 82%, #6a6a72 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 50px 80px -34px #000, 0 0 90px -34px rgba(255, 255, 255, .22); overflow: hidden; }
.device > * { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 38px; background: #000; }
.step-shot { perspective: 1200px; }
.motion .reveal-ready .step-shot:not(.in) { opacity: 0; transform: none; }
.motion .step-shot .device { transition: transform 1.1s var(--ease); }
.motion .reveal-ready .step-shot:not(.in) .device { transform: rotateY(-26deg) rotateX(8deg) translateY(50px) scale(.92); }
.tour-note { text-align: center; padding-top: 10px; padding-bottom: 26px; }
.tour-tabs { position: sticky; bottom: 14px; z-index: 15; display: flex; gap: 4px; width: max-content; max-width: calc(100% - 24px); margin: 0 auto; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(18, 18, 20, .96); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 18px 40px -16px #000; }
.tour-tabs a { flex: none; padding: 10px 15px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; transition: color .25s, background-color .25s; }
.tour-tabs a:hover { color: var(--ink); }
.tour-tabs a[aria-current] { background: var(--go-bg); color: var(--go-ink); }
@media (min-width: 720px) {
  .tour.live .tour-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .tour.live .step { min-height: 84vh; align-content: center; padding: 0; }
  .tour.live .step-shot, .tour.live .hi { display: none; }
  .tour.live .tour-view { display: grid; place-items: center; position: sticky; top: 60px; height: calc(100vh - 60px); padding-bottom: 56px; perspective: 1400px; }
  .view-in { position: relative; transform-style: preserve-3d; }
  .tour.live .tour-view .device { width: auto; height: min(720px, calc(100vh - 168px)); }
  .float { position: absolute; z-index: 2; opacity: 0; }
  .float:empty { display: none; }
  .float.a { right: 76%; top: 18%; }
  .float.b { right: -16%; bottom: 22%; }
  .float.in { opacity: 1; }
  .motion .float.in { animation: fly .9s var(--ease) both, bob 5s ease-in-out .9s infinite alternate; }
  .motion .float.b.in { animation-delay: .18s, 1.1s; }
  .motion .tour.live .step-text { transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .motion .tour.live .step:not(.on) .step-text { opacity: .22; transform: translateX(-18px); }
  .motion .tour-view .device > * { opacity: 0; transform: translateX(60px) rotateY(-38deg) scale(.9); transition: opacity .5s var(--ease), transform .85s var(--ease); }
  .motion .tour-view .device > *.past { transform: translateX(-60px) rotateY(38deg) scale(.9); }
  .motion .tour-view .device > *.on { opacity: 1; transform: none; }
  :root:not(.motion) .tour-view .device > *:not(.on) { visibility: hidden; }
}
@keyframes fly { from { opacity: 0; transform: translateY(26px) scale(.86); } }
@keyframes bob { to { translate: 0 -9px; } }

/* After the tour: the size of the card list in three numbers, a moving wall of cards, then the search and links. */
.wall { background: #000; padding: 84px 0 90px; text-align: center; overflow: clip; }
.wall h2 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.2rem); }
.wall .lede { margin: 14px auto 0; }
.nums { list-style: none; margin: 36px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; color: var(--muted); }
.nums b { display: block; font: 750 clamp(3rem, 1.8rem + 5vw, 5.4rem)/1 var(--display); letter-spacing: -.045em; color: var(--ink); }
.belt { display: grid; gap: 22px; margin: 60px 0 30px; transform: perspective(1300px) rotateX(24deg) rotateZ(-3deg) scale(1.1); transform-origin: 50% 30%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.belt-row { display: flex; gap: 18px; width: max-content; }
.belt-row .face { width: clamp(150px, 17vw, 224px); flex: none; text-align: left; padding: 14px 15px 12px; }   /* fixed padding: a % would be of the whole moving row */
.motion .belt-row { animation: belt 70s linear infinite; }
.motion .belt-row.rev { animation-direction: reverse; }
@keyframes belt { to { transform: translateX(calc(-50% - 9px)); } }
.after .faq { margin-top: 24px; }

/* The Privacy Notice and Terms of Use: the app's own text, in this site's type. */
.legal .summary { margin: 0 0 30px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.legal .summary ul { margin: 10px 0 0; }
.legal .table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.legal table { font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal [id] { scroll-margin-top: 80px; }
.legal .toc { columns: 2; column-gap: 32px; font-size: .95rem; }
@media (max-width: 640px) { .legal .toc { columns: 1; } }

/* Small calculators reuse the demo panel */
.tool .field { background: var(--paper); font-weight: 600; }
.tool .says { margin-top: 18px; }
code { font-size: .9em; background: var(--sunk); padding: 1px 5px; border-radius: 4px; }

/* Grid children may shrink below their content width (stops sideways overflow on phones) */
.hero .wrap, .split, .calc, .card-head, .cmp-pick, .tools { grid-template-columns: minmax(0, 1fr); }
.hero .wrap > *, .split > *, .calc > *, .card-head > * { min-width: 0; }
.ask label { min-width: 0; max-width: 100%; }
.ask select.field { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
@media (min-width: 800px) { .card-head { grid-template-columns: 340px minmax(0, 1fr); } }
@media (min-width: 700px) { .cmp-pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 720px) { .tools { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }

.facts summary { padding: 6px 0; }
