/* ChequeMate landing: four screens, four colours, one king. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Samsung Sharp Sans", "SamsungOne", "Samsung Sans", system-ui, Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-r: "Outfit", "Samsung Sharp Sans", "SamsungOne", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --gold: #FFD36B; --gold-2: #F2A93B; --coral: #FF5E62; --pink: #FF2D55;
  --s1a: #2B1F7A; --s1b: #120C33;
  --s2: #FFF3E2; --s2-ink: #2A1A05; --s2-acc: #FF7A1A;
  --s3: #E2F7EE; --s3-ink: #0B3B2E; --s3-acc: #0FA37F;
  --s4: #F1EFFA; --s4-ink: #1D1B2E; --s4-acc: #5B4CF0;
  --good: #12A150; --warn: #E08600; --crit: #E5383B;
  --nav-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.5 var(--font); color: var(--s4-ink); background: var(--s1b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; z-index: 60; background: #fff; color: #000; padding: 8px 12px; border-radius: 10px; }
.step { display: inline-block; font: 700 12px var(--font); letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }

/* ---------- top navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav-h); display: flex; align-items: center; gap: 22px; padding: 0 max(20px, calc((100% - 1240px) / 2));
  background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0, 0, 0, .06); color: #1D1B2E; transition: background .35s, color .35s, border-color .35s; }
.nav.dark { background: rgba(18, 12, 51, .45); color: #fff; border-color: rgba(255, 255, 255, .08); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px var(--font); letter-spacing: -.02em; text-decoration: none; }
.appicon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #FFB347, #FF2D55); box-shadow: 0 4px 12px rgba(255, 45, 85, .35); }
.appicon svg { width: 26px; height: 26px; stroke: none; }
.nav nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav nav a { padding: 8px 12px; border-radius: 999px; font: 600 14px var(--font); text-decoration: none; opacity: .75; transition: opacity .2s, background .2s; }
.nav nav a:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav nav a.on { opacity: 1; background: rgba(127, 127, 127, .16); }
.nav .sep { width: 1px; height: 20px; background: currentColor; opacity: .2; margin: 0 8px; }
.nav .pill { margin-left: auto; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, #FFB347, #FF2D55); color: #fff; font: 700 14px var(--font); text-decoration: none; box-shadow: 0 6px 16px -6px rgba(255, 45, 85, .7); transition: transform .15s; white-space: nowrap; }
.nav .pill:hover { transform: translateY(-1px); } .nav .pill:active { transform: scale(.97); }
.burger { display: none; margin-left: 8px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(127, 127, 127, .14); color: inherit; cursor: pointer; place-items: center; align-content: center; gap: 5px; padding: 0 10px; }
.burger span { display: block; height: 2px; width: 20px; background: currentColor; border-radius: 2px; }

/* ---------- sections ---------- */
.sec { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 88px; }
.sec + .sec { margin-top: -44px; border-radius: 44px 44px 0 0; box-shadow: 0 -12px 40px -20px rgba(0, 0, 0, .35); }
.sec-in { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.s1 { background: radial-gradient(120% 90% at 75% 30%, var(--s1a) 0%, var(--s1b) 70%); color: #fff; overflow: hidden; }
.s2 { background: var(--s2); color: var(--s2-ink); z-index: 1; }
.s3 { background: var(--s3); color: var(--s3-ink); z-index: 2; }
.s4 { background: var(--s4); color: var(--s4-ink); z-index: 3; align-items: flex-start; }
.foot { position: relative; z-index: 4; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px max(24px, calc((100% - 1240px) / 2)) 36px; background: #120C33; color: #B9B3E6; font-size: 13px; }
.foot a { color: #fff; }

/* ---------- 1 · hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: center; }
.hero h1 { display: grid; font: 800 clamp(64px, 10vw, 148px)/.88 var(--font); letter-spacing: -.055em; }
.hero h1 span:first-child { color: #fff; }
.hero h1 span:last-child { background: linear-gradient(100deg, var(--gold) 0%, #FFB347 45%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.tag { margin: 22px 0 10px; font: 700 clamp(20px, 2.1vw, 28px)/1.25 var(--font); color: var(--gold); letter-spacing: -.01em; }
.sub { margin: 0 0 30px; max-width: 30em; font-size: 18px; color: #C9C3F2; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: #fff; color: #120C33; font: 700 17px var(--font); text-decoration: none; box-shadow: 0 14px 30px -12px rgba(255, 211, 107, .6); transition: transform .2s; }
.cta:hover { transform: translateY(-2px); } .cta svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) { .cta svg { animation: nudgeDown 1.8s ease-in-out infinite; } }
@keyframes nudgeDown { 50% { transform: translateY(4px); } }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 211, 107, .35), rgba(255, 45, 85, .08) 55%, transparent 70%); filter: blur(10px); }
.king-slot { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 1; transform: translate(-50%, -46%); }
.fan { position: absolute; left: 50%; top: 60%; width: 0; height: 0; --spread: 0; }
@media (prefers-reduced-motion: no-preference) { .fan { animation: sway 7s ease-in-out infinite; } }
@keyframes sway { 50% { rotate: 2deg; } }
.note { position: absolute; left: -78px; top: -42px; width: 156px; height: 84px; border-radius: 10px; transform-origin: 50% 50%;
  transform: rotate(calc(var(--a) * var(--spread))) translateY(calc(var(--r) * -1 * var(--spread))) scale(calc(.55 + .45 * var(--spread)));
  opacity: var(--spread); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); transition: transform .9s cubic-bezier(.2, 1.3, .3, 1) var(--d), opacity .5s var(--d); font-family: var(--font); overflow: hidden; }
.fan.live .note { transition: none; }
.cheque { background: linear-gradient(135deg, #F2FBF7, #D9F1E8); color: #24564A; border: 1px solid #BFE5D6; padding: 8px 10px; }
.cheque .bk { font: 800 8.5px var(--font); letter-spacing: .08em; text-transform: uppercase; } .cheque .no { position: absolute; right: 10px; top: 8px; font: 600 8px var(--font); opacity: .7; }
.cheque .pay { margin-top: 10px; font: 600 7.5px var(--font); text-transform: uppercase; opacity: .75; border-bottom: 1px solid #9CCFBE; padding-bottom: 2px; width: 62%; }
.cheque .amt { position: absolute; right: 10px; top: 28px; padding: 2px 6px; border: 1px solid #9CCFBE; border-radius: 4px; font: 800 10px var(--font); background: #fff; }
.cheque .sig { position: absolute; right: 10px; bottom: 14px; width: 54px; height: 10px; border-bottom: 1px solid #9CCFBE; }
.cheque .sig::before { content: ""; position: absolute; left: 4px; bottom: 2px; width: 40px; height: 8px; border-radius: 50%; border-top: 1.5px solid #24564A; transform: rotate(-8deg); }
.cheque .micr { position: absolute; left: 10px; bottom: 5px; font: 600 7px ui-monospace, Menlo, monospace; letter-spacing: .12em; opacity: .7; }
.bill { color: #fff; padding: 7px 10px; display: grid; }
.bill::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 6px; }
.bill .cur { font: 800 9px var(--font); letter-spacing: .14em; } .bill .val { position: absolute; right: 12px; bottom: 6px; font: 800 26px/1 var(--font); letter-spacing: -.03em; }
.bill .seal { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.bill .seal svg { width: 18px; height: 18px; fill: rgba(255, 255, 255, .85); stroke: none; }
.bill.usd { background: linear-gradient(135deg, #7FB77E, #3E7B4F); } .bill.c20 { background: linear-gradient(135deg, #6FCB9F, #23855B); }
.bill.c50 { background: linear-gradient(135deg, #FF8A7A, #C83B3B); } .bill.c100 { background: linear-gradient(135deg, #E8C08B, #A86B2C); } .bill.c10 { background: linear-gradient(135deg, #B79CF2, #6C47C9); }
.scroll-cue { position: absolute; left: 50%; bottom: 66px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue span { animation: wheel 1.6s ease-in-out infinite; } }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* the flying king + dock */
.king-fly { position: fixed; left: 0; top: 0; z-index: 35; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.kf-in { position: absolute; inset: 0; }
.kf-in canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.king-dock { position: fixed; right: 24px; bottom: 24px; z-index: 34; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: radial-gradient(circle at 50% 35%, #fff, #FFF1D6); box-shadow: 0 12px 30px -8px rgba(255, 45, 85, .55), inset 0 0 0 3px #fff;
  opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.2, 1.4, .3, 1); }
.king-dock.on { opacity: 1; transform: scale(1); pointer-events: auto; }
.king-dock .ring { position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(from 0deg, #FFB347, #FF2D55, #FFB347); -webkit-mask: radial-gradient(circle, transparent 37px, #000 38px); mask: radial-gradient(circle, transparent 37px, #000 38px); }
@media (prefers-reduced-motion: no-preference) { .king-dock .ring { animation: spin 6s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.king-dock .nudge { position: absolute; right: 86px; top: 50%; transform: translateY(-50%) scale(.8); white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: #1D1B2E; color: #fff; font: 700 13px var(--font); opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.king-dock.say .nudge { opacity: 1; transform: translateY(-50%) scale(1); }

/* ---------- 2 · account ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.acct { display: grid; gap: 16px; padding: 40px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px -30px rgba(120, 60, 0, .35); }
.acct label { font: 800 clamp(30px, 3.4vw, 44px)/1.05 var(--font); letter-spacing: -.03em; }
.acct input { width: 100%; height: 84px; padding: 0 24px; border-radius: 22px; border: 2px solid #F3DEC2; background: #FFFBF5; color: var(--s2-ink); font: 700 40px var(--font); letter-spacing: .04em; outline: none; transition: border-color .2s, box-shadow .2s; }
.acct input::placeholder { color: #D9C2A3; font-weight: 600; letter-spacing: 0; }
.acct input:focus { border-color: var(--s2-acc); box-shadow: 0 0 0 5px rgba(255, 122, 26, .18); }
.acct input[aria-invalid="true"] { border-color: var(--crit); }
.acct .row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; border-radius: 18px; border: 0; cursor: pointer; font: 700 17px var(--font); transition: transform .15s, box-shadow .2s, background .2s, filter .2s; }
.btn:active { transform: scale(.97); } .btn svg { width: 22px; height: 22px; }
.s2 .btn.solid { flex: 1; background: var(--s2-acc); color: #fff; box-shadow: 0 12px 24px -12px rgba(255, 122, 26, .8); } .s2 .btn.solid:hover { filter: brightness(1.05); }
.s2 .btn.ghost { background: #FFEBD2; color: var(--s2-ink); } .s2 .btn.ghost:hover { background: #FFE0BC; }
.btn.spin svg { animation: dice .5s cubic-bezier(.2, .8, .2, 1); } @keyframes dice { to { transform: rotate(360deg) scale(1.1); } }
.msg { margin: 0; min-height: 24px; font-size: 15px; font-weight: 600; } .msg.ok { color: var(--good); } .msg.err { color: var(--crit); }
.msg.wait::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -1px; animation: spin .7s linear infinite; }
.explain h2 { font: 800 clamp(32px, 3.8vw, 52px)/1.06 var(--font); }
.explain > p { margin: 18px 0 10px; font-size: 19px; opacity: .8; }
.gets { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.gets li { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.gets li::before { content: ""; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--s2-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.fine { font-size: 15px; opacity: .7; margin: 0; }

/* ---------- 3 · score ---------- */
.score-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.score-grid h2 { font: 800 clamp(34px, 4.2vw, 58px)/1.04 var(--font); }
.score-grid .fine { margin-top: 16px; font-size: 17px; }
.score-grid .a { display: grid; justify-items: center; }
.s3 .btn.solid { background: var(--s3-acc); color: #fff; box-shadow: 0 16px 30px -14px rgba(15, 163, 127, .9); }
.s3 .btn.solid:hover { filter: brightness(1.06); }
.btn.big { height: 76px; padding: 0 34px; border-radius: 24px; font-size: 20px; }
@media (prefers-reduced-motion: no-preference) { #calcBtn:not(.moved) { animation: breathe 2.6s ease-in-out infinite; } }
@keyframes breathe { 50% { box-shadow: 0 0 0 14px rgba(15, 163, 127, .12), 0 16px 30px -14px rgba(15, 163, 127, .9); } }
.btn-left { margin-top: 26px; }
.btn.shake { animation: shake .45s !important; } @keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.metrics { width: 100%; padding: 30px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 59, 46, .35); display: grid; gap: 18px; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.m-top { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
.ring-big { position: relative; width: 150px; height: 150px; }
.ring-big svg { width: 100%; height: 100%; } .ring-big .bg { stroke: #DDF1E9; stroke-width: 14; } .ring-big .fg { stroke: url(#rg); stroke-width: 14; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .8, .2, 1); }
.ring-big b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 800 36px/1 var(--font); letter-spacing: -.03em; }
.ring-big b small { display: block; font-size: 12px; font-weight: 600; opacity: .6; letter-spacing: 0; margin-top: 4px; }
.m-top h3 { font: 800 24px/1.15 var(--font); } .m-top p { margin: 6px 0 0; font-size: 15px; opacity: .75; }
.parts { display: grid; gap: 10px; }
.part { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #F3FBF8; }
.part svg.mini { width: 36px; height: 36px; } .part .bg { stroke: #D5EEE4; stroke-width: 5; } .part .fg { stroke: var(--c); stroke-width: 5; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1) var(--d); }
.part .nm { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; } .part .val { font: 800 17px var(--font); } .part .val small { font-size: 12px; opacity: .55; }
.info { width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; cursor: help; display: inline-grid; place-items: center; font: 800 12px/1 Georgia, serif; font-style: italic; background: rgba(0, 0, 0, .08); color: inherit; flex: none; }
.info:hover, .info:focus-visible { background: #1D1B2E; color: #fff; }
.refline { padding: 14px 16px; border-radius: 16px; background: #0B3B2E; color: #E2F7EE; font-size: 15px; } .refline b { color: #fff; }
.askai { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(135deg, #FFB347, #FF2D55); color: #fff; font: 700 15px var(--font); box-shadow: 0 10px 20px -10px rgba(255, 45, 85, .8); transition: transform .15s; }
.askai:hover { transform: translateY(-1px); } .askai svg { width: 18px; height: 18px; }

/* ---------- 4 · dashboard ---------- */
.dash { display: grid; gap: 22px; }
.dash-h h2 { font: 800 clamp(34px, 4vw, 54px)/1.05 var(--font); } .dash-h p { margin: 10px 0 0; font-size: 18px; opacity: .75; }
.dash-empty { padding: 40px; border-radius: 28px; background: #fff; font-size: 18px; text-align: center; } .dash-empty a { color: var(--s4-acc); font-weight: 700; }
#dashBody { display: grid; gap: 22px; }
.card { background: #fff; border-radius: 26px; padding: 24px; box-shadow: 0 20px 40px -28px rgba(29, 27, 46, .4); }
.card h3 { font: 800 21px/1.2 var(--font); display: flex; align-items: center; gap: 8px; }
.card .why { margin: 4px 0 14px; font-size: 14px; opacity: .65; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 16px 30px -24px rgba(29, 27, 46, .5); display: grid; gap: 4px; align-content: start; transition: transform .2s; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
.tile:hover { transform: translateY(-3px); }
.tile .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 65%, #fff), var(--c)); margin-bottom: 4px; }
.tile .ic svg { width: 19px; height: 19px; }
.tile .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; opacity: .75; } .tile .v { font: 800 26px var(--font); letter-spacing: -.02em; } .tile .s { font-size: 12.5px; opacity: .6; line-height: 1.35; }
.whatif { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
.ctrls { display: grid; gap: 16px; align-content: start; }
.ctl label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: 15px; } .ctl output { font: 800 16px var(--font); color: var(--s4-acc); white-space: nowrap; }
.ctl .hint { display: block; font-size: 12.5px; opacity: .6; margin-top: 2px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; margin: 12px 0 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--s4-acc) var(--p, 0%), #E3E0F3 var(--p, 0%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25), 0 0 0 4px var(--s4-acc); transition: transform .15s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--s4-acc); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; border-radius: 999px; border: 1.5px solid #DAD5F3; background: #fff; font: 600 13px var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; color: inherit; }
.chip:hover { border-color: var(--s4-acc); } .chip[aria-pressed="true"] { background: var(--s4-acc); border-color: var(--s4-acc); color: #fff; }
.result { display: grid; gap: 10px; align-content: start; }
.res-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .res-big b { font: 800 64px/1 var(--font); letter-spacing: -.04em; } .res-big span { font-size: 18px; font-weight: 600; opacity: .7; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: 700 13px var(--font); }
.badge.good { background: #DDF6E7; color: #0B7A3B; } .badge.warn { background: #FFF0D6; color: #A65F00; } .badge.crit { background: #FFE1E1; color: #B42326; }
.blocks { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 18px; }
.blocks i { border-radius: 4px; background: #E7E4F5; position: relative; overflow: hidden; }
.blocks i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--f) * 100%); background: var(--bc); border-radius: inherit; transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--d); }
.blocks.go i::after { transform: scaleY(1); }
.blocks-scale { display: flex; justify-content: space-between; font-size: 11.5px; opacity: .55; }
.chart-box { position: relative; height: 240px; } .chart-box.tall { height: 260px; }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.flips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flip { perspective: 1200px; height: 210px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.flip .fi { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .flip:hover .fi { transform: rotateY(180deg); } }
.flip:focus-visible .fi, .flip[aria-pressed="true"] .fi { transform: rotateY(180deg); }
.flip .fr, .flip .bk { position: absolute; inset: 0; border-radius: 24px; padding: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; gap: 6px; }
.flip .fr { background: linear-gradient(150deg, color-mix(in srgb, var(--c) 18%, #fff), #fff 60%); box-shadow: 0 18px 34px -24px rgba(29, 27, 46, .5); }
.flip .fr .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: auto; } .flip .fr .ic svg { width: 24px; height: 24px; }
.flip .fr b { font: 800 19px/1.2 var(--font); } .flip .fr small { font-size: 12.5px; opacity: .6; display: flex; align-items: center; gap: 6px; }
.flip .bk { transform: rotateY(180deg); background: var(--c); color: #fff; box-shadow: 0 18px 34px -20px var(--c); }
.flip .bk .big { font: 800 32px/1.05 var(--font); letter-spacing: -.02em; margin-top: auto; } .flip .bk p { margin: 0; font-size: 13.5px; opacity: .92; line-height: 1.4; } .flip .bk .lbl { font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.deep { display: flex; flex-wrap: wrap; gap: 10px; }
.deep a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 16px; background: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 12px 24px -20px rgba(29, 27, 46, .6); transition: transform .2s; }
.deep a:hover { transform: translateY(-2px); } .deep a span { opacity: .5; }

/* ---------- chat + tooltip ---------- */
.chat { position: fixed; right: 24px; bottom: 112px; z-index: 45; width: min(380px, calc(100vw - 32px)); max-height: min(560px, 70vh); display: flex; flex-direction: column; border-radius: 24px; background: #fff; color: #1D1B2E; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45); overflow: hidden; animation: rise .35s cubic-bezier(.2, .8, .2, 1); }
.chat[hidden] { display: none; }
.chat header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: linear-gradient(135deg, #FFB347, #FF2D55); color: #fff; }
.chat header button { border: 0; background: rgba(255, 255, 255, .25); color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.msgs { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.bub { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; } .bub.me { justify-self: end; background: #5B4CF0; color: #fff; border-bottom-right-radius: 6px; } .bub.ai { background: #F1EFFA; border-bottom-left-radius: 6px; }
.bub.ai.typing { color: #8C88A8; }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; } .sugg button { border: 1.5px solid #E3E0F3; background: #fff; border-radius: 999px; padding: 6px 10px; font: 600 12.5px var(--font); cursor: pointer; color: #1D1B2E; }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #EEE; } .chat input { flex: 1; height: 42px; border: 0; border-radius: 21px; background: #F4F3F8; padding: 0 16px; font: 15px var(--font); outline: none; }
.chat form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #5B4CF0; color: #fff; font: 800 18px var(--font); cursor: pointer; }
.tip { position: fixed; z-index: 60; max-width: 260px; padding: 10px 12px; border-radius: 12px; background: #1D1B2E; color: #fff; font-size: 13px; line-height: 1.45; pointer-events: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.tip b { display: block; margin-bottom: 2px; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); } .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .note, .flip .fi, .tile, .metrics { transition: none !important; animation: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .flips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nav nav a[data-app] { display: none; } .nav .sep { display: none; } }
@media (max-width: 900px) {
  .hero, .split, .score-grid, .whatif, .charts { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 0; } .hero-art { max-width: 440px; width: 100%; } .split, .score-grid { gap: 32px; }
  .nav nav { display: none; position: absolute; top: var(--nav-h); left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 20px; background: #fff; color: #1D1B2E; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .3); margin: 0; }
  .nav nav.open { display: flex; } .nav nav a[data-app] { display: block; } .burger { display: grid; } .nav .pill { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 560px) {
  .sec { padding-top: calc(var(--nav-h) + 24px); } .acct { padding: 24px; } .acct input { height: 70px; font-size: 32px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flips { grid-template-columns: minmax(0, 1fr); } .m-top { grid-template-columns: 110px 1fr; } .ring-big { width: 110px; height: 110px; } .ring-big b { font-size: 28px; }
  .res-big b { font-size: 50px; } .metrics { padding: 20px; } .brand { font-size: 17px; } .king-dock { right: 16px; bottom: 16px; width: 66px; height: 66px; } .chat { right: 16px; bottom: 96px; }
  .nav { gap: 10px; } .nav .pill { display: none; }
}

/* centred nav */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav .brand { justify-self: start; } .nav nav { margin: 0; justify-self: center; } .nav-r { justify-self: end; display: flex; align-items: center; gap: 8px; } .nav .pill { margin-left: 0; }
@media (max-width: 900px) { .nav { grid-template-columns: 1fr auto; } }
/* phone previews (screen 2) */
.devices { position: relative; height: 470px; margin-top: 18px; }
.phone { position: absolute; width: 214px; height: 440px; padding: 9px; background: #1D1D1F; box-shadow: 0 30px 60px -24px rgba(80, 40, 0, .5), inset 0 0 0 2px #3A3A3C; }
.phone .screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #F2F2F7; color: #1D1D1F; }
.phone.ios { left: 4%; top: 0; border-radius: 40px; transform: rotate(-4deg); z-index: 2; } .phone.ios .screen { border-radius: 32px; }
.phone.galaxy { left: 44%; top: 22px; border-radius: 30px; transform: rotate(5deg); background: #23252B; } .phone.galaxy .screen { border-radius: 23px; background: #F6F7FB; }
@media (prefers-reduced-motion: no-preference) { .phone.ios { animation: bob 6s ease-in-out infinite; } .phone.galaxy { animation: bob2 7s ease-in-out infinite; } }
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-10px); } } @keyframes bob2 { 50% { transform: rotate(5deg) translateY(8px); } }
.sbar { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 18px; font: 600 11px var(--font); }
.island { width: 70px; height: 20px; border-radius: 10px; background: #000; } .hole { width: 10px; height: 10px; border-radius: 5px; background: #000; }
.sig { display: flex; align-items: flex-end; gap: 2px; } .sig i { width: 2.5px; background: currentColor; border-radius: 1px; } .sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 8px; } .sig b { width: 17px; height: 9px; border-radius: 3px; border: 1.5px solid currentColor; margin-left: 3px; }
.large { margin: 4px 13px 8px; font: 800 22px var(--font); letter-spacing: -.03em; }
.wallet { position: relative; margin: 0 10px; height: 104px; border-radius: 15px; padding: 11px; color: #fff; background: linear-gradient(135deg, #FFB347 0%, #FF5E62 55%, #D63A8A 100%); display: grid; align-content: start; }
.wallet small { font-size: 9px; opacity: .9; } .wallet b { font: 800 21px var(--font); } .wallet span { position: absolute; left: 11px; bottom: 10px; font-size: 8.5px; opacity: .9; }
.wallet em { position: absolute; right: 11px; bottom: 8px; font: 400 8.5px var(--font); font-style: normal; text-align: right; } .wallet em strong { font: 800 15px var(--font); }
.pchip { display: inline-flex; align-items: center; gap: 5px; margin: 10px 10px 0; padding: 5px 10px; border-radius: 999px; background: #fff; font: 600 10px var(--font); box-shadow: 0 0 0 2px #5B4CF0; } .pchip .dot { width: 7px; height: 7px; border-radius: 4px; background: #FF2D55; }
.res { margin: 8px 10px 0; padding: 10px 12px; border-radius: 13px; background: #fff; display: grid; gap: 2px; }
.res small { font: 600 10px var(--font); color: #6E6E73; } .res b { font: 800 28px/1 var(--font); letter-spacing: -.02em; } .res b span { font: 500 11px var(--font); color: #6E6E73; }
.res .bad { justify-self: start; margin-top: 3px; font: 600 9px var(--font); color: #D70015; background: rgba(255, 59, 48, .12); padding: 2px 7px; border-radius: 999px; }
.strip { position: relative; height: 7px; margin-top: 8px; border-radius: 4px; background: #E5E5EA; } .strip i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #FF8A80, #FF3B30); } .strip u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #1D1D1F; }
.okline { display: flex; align-items: center; gap: 6px; margin: 8px 10px; padding: 7px 10px; border-radius: 10px; background: #fff; font: 600 9.5px var(--font); color: #248A3D; } .okline span { width: 7px; height: 7px; border-radius: 4px; background: #34C759; }
.oneui-top { height: 118px; display: grid; align-content: end; padding: 0 16px 14px; } .oneui-top p { margin: 0; font: 400 28px var(--font); } .oneui-top small { font-size: 10px; color: #6E6E73; }
.gcard { margin: 0 8px 8px; padding: 11px 13px; border-radius: 22px; background: #fff; display: grid; gap: 2px; }
.gcard small { font: 600 9.5px var(--font); color: #3E7BFA; } .gcard b { font: 800 21px var(--font); } .gcard span { font-size: 9.5px; color: #6E6E73; }
.gcard .bar { height: 5px; border-radius: 3px; background: #E8EBF3; margin-top: 6px; } .gcard .bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: #3E7BFA; }
.gcard .row { display: grid; grid-template-columns: 20px 1fr auto; gap: 6px; align-items: center; padding: 5px 0; font: 500 10px var(--font); border-top: 1px solid #EEF0F5; } .gcard .row:first-of-type { border-top: 0; }
.gcard .row .ic { width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; font: 700 10px var(--font); } .gcard .row em { font-style: normal; font-weight: 700; font-size: 9.5px; }
.tag-float { position: absolute; left: 26%; bottom: 0; z-index: 3; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--s2-ink); font: 700 12px var(--font); transform: rotate(-2deg); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); }
@media (max-width: 560px) { .devices { height: 400px; } .phone { width: 180px; height: 370px; } .phone.galaxy { left: auto; right: 0; } .phone.ios { left: 0; } .wallet { height: 92px; } .oneui-top { height: 90px; } }

/* native phone type: rounded figures for the big numbers */
.ring-big b, .res-big b, .tile .v, .part .val, .flip .bk .big, .acct input, .wallet b, .res b, .gcard b { font-family: var(--font-r); }

/* step 2: locked preview before the score is calculated */
.teaser { position: relative; width: 100%; padding: 28px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 59, 46, .35); display: grid; gap: 16px; overflow: hidden; }
.teaser[hidden] { display: none; }
.teaser .t-top { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; }
.t-ring { position: relative; width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(#2BD9A0 0 62%, #DDF1E9 62% 100%); filter: blur(5px); opacity: .55; }
.t-ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.t-lock { position: absolute; left: 28px; top: 28px; width: 130px; height: 130px; display: grid; place-items: center; }
.t-lock span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #0B3B2E; color: #fff; box-shadow: 0 10px 20px -8px rgba(11, 59, 46, .6); }
.t-lock svg { width: 26px; height: 26px; }
.teaser h3 { font: 800 22px/1.2 var(--font); } .teaser .t-top p { margin: 6px 0 0; font-size: 15px; opacity: .7; }
.t-parts { display: grid; gap: 8px; }
.t-part { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #F3FBF8; font-weight: 700; font-size: 14.5px; }
.t-part span:first-child { display: flex; align-items: center; gap: 6px; }
.t-bar { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #DDF1E9 0%, #C6EBDD 40%, #DDF1E9 80%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .t-bar { animation: shimmer 1.8s linear infinite; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.teaser-cta { display: grid; justify-items: center; gap: 8px; padding-top: 6px; }
.teaser-cta small { font-size: 13px; opacity: .6; }
.teaser .btn.big { width: 100%; }
/* step 1: keep the form level with the copy */
.split { align-items: start; } .s2 .acct { margin-top: 12px; }
.acct-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.acct-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #FFF3E2; font: 600 13px var(--font); }
.acct-facts i { width: 8px; height: 8px; border-radius: 50%; background: var(--s2-acc); }
@media (max-width: 560px) { .teaser { padding: 20px; } .teaser .t-top { grid-template-columns: 96px 1fr; } .t-ring, .t-lock { width: 96px; height: 96px; } .t-lock { left: 20px; top: 20px; } .t-part { grid-template-columns: 1fr 70px; } }
.metrics[hidden] { display: none; }

/* native "AI" type: rounded San Francisco on Apple devices, Samsung Sharp Sans on Galaxy */
:root { --font-h: "Outfit", "Samsung Sharp Sans", "SamsungOne", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif; }
.hero h1, .tag, .explain h2, .acct label, .score-grid h2, .dash-h h2, .card h3, .teaser h3, .m-top h3, .flip .fr b, .brand, .cta, .btn, .nav nav a, .nav .pill, .chat header b, .step { font-family: var(--font-h); }
.hero h1 { font-weight: 800; letter-spacing: -.045em; }
.hero h1 { font-weight: 900; }

/* ===== wordmark: crisp geometric type ===== */
.hero h1 { font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.hero h1 span:last-child { padding-bottom: .08em; }

/* ===== step 1: the account box is a cheque ===== */
.acct { position: relative; padding: 30px 34px 24px 46px; border-radius: 18px; gap: 14px; overflow: hidden; border: 1.5px solid #EBCFA3;
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF4E2 100%); box-shadow: 0 30px 60px -30px rgba(150, 70, 0, .45), 0 2px 0 #fff inset; }
.acct::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at 120% -20%, transparent 0 9px, rgba(255, 122, 26, .07) 9px 10px), repeating-radial-gradient(circle at -20% 120%, transparent 0 9px, rgba(255, 179, 71, .1) 9px 10px); }
.acct > * { position: relative; }
.ck-edge { position: absolute !important; left: 0; top: 0; bottom: 0; width: 22px; background: radial-gradient(circle at 11px 11px, #FFF3E2 5px, transparent 5.5px) 0 0 / 22px 22px repeat-y, linear-gradient(90deg, #FFE5C2, #FFF1DC); border-right: 2px dashed #EBCFA3; }
.ck-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ck-bank { display: inline-flex; align-items: center; gap: 8px; font: 800 13px var(--font-h); letter-spacing: .1em; text-transform: uppercase; color: #B4540A; }
.ck-bank svg { width: 22px; height: 22px; padding: 3px; border-radius: 7px; background: linear-gradient(135deg, #FFB347, #FF2D55); color: #fff; box-sizing: content-box; }
.ck-no { font: 700 12px var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: #B4540A; opacity: .75; }
.acct label { font: 800 clamp(30px, 3.2vw, 42px)/1.05 var(--font-h); letter-spacing: -.03em; }
.ck-field { position: relative; display: flex; align-items: center; margin-top: 8px; border: 2px solid #2A1A05; border-radius: 12px; background: #FFFEFB; transition: box-shadow .2s, border-color .2s; }
.ck-field:focus-within { border-color: var(--s2-acc); box-shadow: 0 0 0 5px rgba(255, 122, 26, .2); }
.ck-tag { position: absolute; left: 14px; top: -11px; padding: 0 8px; background: #FFF9EE; font: 800 11px var(--font-h); letter-spacing: .16em; color: #2A1A05; }
.acct .ck-field input { flex: 1; min-width: 0; height: 78px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; font: 800 40px var(--font-h); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: #2A1A05; }
.acct .ck-field input::placeholder { color: #D9BE97; font-weight: 600; letter-spacing: .02em; font-size: 28px; }
.acct .ck-field input:focus { box-shadow: none; }
.ck-ok { width: 34px; height: 34px; margin-right: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--good); color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.2, 1.5, .3, 1); flex: none; }
.ck-ok svg { width: 18px; height: 18px; stroke-width: 3; }
.ck-field.filled .ck-ok { transform: scale(1); }
.ck-field:has(input[aria-invalid="true"]) { border-color: var(--crit); }
.s2 .acct .btn { border-radius: 14px; }
.s2 .acct .btn.ghost { background: transparent; border: 2px dashed #E3A867; color: #8A3F00; } .s2 .acct .btn.ghost:hover { background: #FFEBD2; }
.ck-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed #EBCFA3; }
.ck-micr { font: 600 15px ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .22em; color: #8A6A3A; opacity: .8; white-space: nowrap; overflow: hidden; }
.ck-sig { position: relative; width: 120px; height: 26px; border-bottom: 1.5px solid #8A6A3A; flex: none; opacity: .8; }
.ck-sig::before { content: ""; position: absolute; left: 8px; bottom: 5px; width: 92px; height: 16px; border-radius: 50%; border-top: 2.5px solid #2A1A05; transform: rotate(-7deg); }
.ck-sig::after { content: "Signed, Mate"; position: absolute; left: 0; top: 30px; font: 600 10px var(--font); letter-spacing: .1em; text-transform: uppercase; color: #8A6A3A; white-space: nowrap; }
.ck-foot { padding-bottom: 14px; }
.s2 .acct-facts span { background: #FFEFD6; }
@media (max-width: 560px) { .acct { padding: 22px 18px 18px 34px; } .ck-edge { width: 16px; } .acct .ck-field input { height: 64px; font-size: 30px; } .ck-micr { font-size: 12px; letter-spacing: .14em; } .ck-sig { width: 90px; } .ck-no { display: none; } }

/* ===== footer: team Datasparks ===== */
footer.ds-foot { position: relative; display: block; overflow: hidden; padding: 0 0 28px; margin-top: -44px; border-radius: 44px 44px 0 0; z-index: 4;
  background: radial-gradient(110% 120% at 50% 0%, #2B1F7A 0%, #170F4A 45%, #0B0722 100%); color: #C9C3F2; }
.ds-checker { height: 16px; opacity: .22; margin-top: 30px; background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 32px 32px; }
@media (prefers-reduced-motion: no-preference) { .ds-checker { animation: dscheck 6s linear infinite; } }
@keyframes dscheck { to { background-position: 64px 0; } }
.ds-sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ds-sparks i { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); box-shadow: 0 0 10px 2px var(--c); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .ds-sparks i { animation: dsrise var(--t) ease-in var(--d) infinite; } }
@keyframes dsrise { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(var(--dx), -340px) scale(1.3); opacity: 0; } }
.ds-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 44px 24px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.ds-brand { display: flex; align-items: center; gap: 18px; }
.ds-logo { position: relative; width: 84px; height: 84px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 24px; filter: drop-shadow(0 10px 24px rgba(255, 94, 98, .55)); transition: transform .25s cubic-bezier(.2, 1.4, .3, 1); }
.ds-logo:hover { transform: scale(1.08) rotate(-4deg); } .ds-logo:active { transform: scale(.94); }
.ds-logo svg { width: 100%; height: 100%; stroke: none; overflow: visible; }
.ds-logo .star, .ds-logo .orb { transform-origin: 32px 32px; }
@media (prefers-reduced-motion: no-preference) { .ds-logo .star { animation: dsstar 2.6s ease-in-out infinite; } .ds-logo .orb { animation: dsorb 7s linear infinite; } .ds-logo .bars { animation: dsbars 2.6s ease-in-out infinite; transform-origin: 32px 50px; } }
@keyframes dsstar { 0%, 100% { transform: scale(1) rotate(-8deg); } 50% { transform: scale(1.16) rotate(10deg); } }
@keyframes dsorb { to { transform: rotate(360deg); } } @keyframes dsbars { 50% { transform: scaleY(1.25); } }
.ds-txt small { display: block; font: 600 14px var(--font); letter-spacing: .04em; color: #A39CDD; }
.ds-name { display: block; font: 800 clamp(40px, 5.4vw, 66px)/1 var(--font-h); letter-spacing: -.04em; white-space: nowrap; }
.ds-name > span > span { display: inline-block; transition: transform .25s cubic-bezier(.2, 1.6, .3, 1); color: #fff; }
.ds-name .w2 > span { color: #FFD36B; }
.ds-name > span > span:hover { transform: translateY(-10px) rotate(-7deg) scale(1.12); }
@media (prefers-reduced-motion: no-preference) { .ds-name > span > span { animation: dsglint 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * 110ms); } }
@keyframes dsglint { 0%, 70%, 100% { transform: none; filter: none; } 80% { transform: translateY(-7px); filter: drop-shadow(0 0 14px #FFD36B) brightness(1.25); } 90% { transform: none; } }
.ds-line { margin: 0; font: 700 clamp(17px, 1.6vw, 21px)/1.3 var(--font-h); color: #E6E1FF; justify-self: center; text-align: center; max-width: 18em; }
.ds-top { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 14px var(--font-h); text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, transform .2s; white-space: nowrap; }
.ds-top:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); } .ds-top svg { width: 18px; height: 18px; }
.ds-fine { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 14px 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: #8F88C9; text-align: center; }
.ds-fine a { color: #fff; }
.dsburst { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; pointer-events: none; z-index: 5; }
@media (max-width: 900px) { .ds-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .ds-brand { flex-direction: column; gap: 12px; } }
@media (max-width: 560px) { .ds-logo { width: 72px; height: 72px; } .ds-foot { padding-bottom: 96px; } .ds-name { font-size: 44px; } }

.ds-heart { width: 15px; height: 15px; vertical-align: -2px; margin: 0 2px; }
@media (prefers-reduced-motion: no-preference) { .ds-heart { animation: dsbeat 1.3s ease-in-out infinite; } }
@keyframes dsbeat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 40% { transform: scale(1); } 55% { transform: scale(1.18); } }

/* polish */
footer.ds-foot { padding-bottom: 28px; }
@media (max-width: 560px) {
  footer.ds-foot { padding-bottom: 104px; } .ck-sig::before { width: 66px; } .ck-sig { width: 84px; } .ck-foot { overflow: hidden; }
}
.s4:has(.dash-empty) { min-height: auto; padding-bottom: 150px; }

/* type pairing shared with the app: Bricolage Grotesque headings, Manrope text */
:root { --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font-h: "Bricolage Grotesque", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-r: "Bricolage Grotesque", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

