/* Visa Case Status home page.
   Dark sections are night and paper ink; light sections are paper and ink. Amber means "changed". */
:root {
  --night: #0B0A08; --night-2: #131210; --night-3: #1B1915; --line-d: #27241F; --line-d2: #38332B;
  --on: #EFE8DA; --on-2: #B5AD9E; --on-3: #8A8275;
  --paper: #F4EEE2; --paper-2: #EBE3D3; --paper-3: #E0D6C3; --line-p: #D6CBB6;
  --ink: #1B1915; --ink-2: #4A443A; --ink-3: #6B6457;
  --lamp: #FFB547; --lamp-2: #FFCB7A; --lamp-deep: #9A5B00;
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.3, 1.35, .4, 1);
  --gutter: 28px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--on); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dark { background: var(--night); color: var(--on); }
.light { background: var(--paper); color: var(--ink); color-scheme: light; }

/* ---------- Type ---------- */
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp); }
.kicker b { font-weight: 500; color: var(--on-3); }
.light .kicker { color: var(--lamp-deep); }
.light .kicker b { color: var(--ink-3); }
.kicker::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .35; }
.title { margin: 0; font: 340 clamp(2.4rem, 5.4vw, 4.6rem)/1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.035em; text-wrap: balance; }
.title em { font-style: italic; font-weight: 300; color: var(--lamp); }
.light .title em { color: var(--lamp-deep); }
.lede { max-width: 640px; margin: 22px 0 0; font-size: 19px; line-height: 1.6; color: var(--on-2); text-wrap: pretty; }
.light .lede { color: var(--ink-2); }
.sec { padding: 140px 0; position: relative; overflow-x: clip; }
@media (max-width: 760px) { .sec { padding: 96px 0; } .lede { font-size: 17px; } }
.sec-head { margin-bottom: 64px; }
@media (max-width: 760px) { .sec-head { margin-bottom: 44px; } }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Ring mark ---------- */
.mark { --s1: currentColor; --s2: currentColor; --s3: var(--lamp); --s4: color-mix(in srgb, currentColor 28%, transparent); fill: none; stroke-width: 3.4; stroke-linecap: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 16.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lamp { background: var(--lamp); color: #1E1505; box-shadow: 0 14px 34px -14px rgba(255, 181, 71, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-lamp:hover { background: var(--lamp-2); transform: translateY(-1px); }
.btn-lamp:active { transform: translateY(0) scale(.98); }
.btn-line { height: 40px; padding: 0 16px; font-size: 14.5px; font-weight: 500; background: transparent; color: var(--on); border: 1px solid var(--line-d2); }
.btn-line:hover { border-color: var(--on-3); background: rgba(255, 255, 255, .04); }
.linkish { padding: 0; border: 0; background: none; cursor: pointer; color: var(--lamp); text-decoration: underline; text-decoration-color: rgba(255, 181, 71, .4); text-underline-offset: 3px; }
.linkish:hover { text-decoration-color: var(--lamp); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 10, 8, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-d); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on); margin-right: auto; }
.brand .mark { width: 24px; height: 24px; }
.brand span { font: 500 20px/1 var(--serif); font-variation-settings: "opsz" 40; letter-spacing: -.015em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--on-2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--on); }
/* Over paper sections the bar turns paper too */
.nav.light-under.solid { background: rgba(244, 238, 226, .86); border-color: var(--line-p); }
.nav.light-under .brand, .nav.light-under .nav-links a:hover { color: var(--ink); }
.nav.light-under .nav-links a { color: var(--ink-2); }
.nav.light-under .btn-line { color: var(--ink); border-color: var(--line-p); }
.nav.light-under .brand .mark { --s4: rgba(27, 25, 21, .25); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 108px 0 92px; overflow: hidden;
  background: radial-gradient(52% 58% at 74% 46%, rgba(255, 181, 71, .075), transparent 70%), radial-gradient(120% 80% at 50% -10%, #17140F 0%, var(--night) 60%); }
.hero > .wrap { width: 100%; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-2); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 0 rgba(255, 181, 71, .6); animation: ping 2.2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(255, 181, 71, 0); } }
.display { margin: 0; font: 330 clamp(3.6rem, 8.6vw, 8.4rem)/.9 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.045em; }
.display .l2 { display: block; font-style: italic; font-weight: 300; color: var(--lamp); padding-left: .04em; }
.hero .lede { font-size: 20px; margin-top: 28px; max-width: 540px; }
.hero .lede strong { color: var(--on); font-weight: 500; }
@media (max-width: 980px) {
  .hero { padding: 96px 0 84px; justify-content: flex-start; background: radial-gradient(80% 40% at 50% 22%, rgba(255, 181, 71, .08), transparent 70%), var(--night); }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { margin-top: 56px; }
  .hero .lede { font-size: 17.5px; }
}

/* Receipt slot: 13 cells over a transparent input, so typing, paste and mobile keyboards all work. */
.slot { margin-top: 40px; max-width: 580px; }
.slot-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-3); }
.slot-top label { color: var(--on-2); }
.slot-field { --cs: clamp(19px, calc((100vw - 2 * var(--gutter) - 44px) / 14.6), 33px); position: relative; padding: 16px 20px 14px; border: 1px solid var(--line-d2); border-radius: 18px; background: rgba(255, 255, 255, .025); cursor: text; transition: border-color .25s, box-shadow .25s, background .25s; }
.slot-field:hover { border-color: #4A443A; }
.slot-field:focus-within { border-color: rgba(255, 181, 71, .6); box-shadow: 0 0 0 6px rgba(255, 181, 71, .08); background: rgba(255, 181, 71, .025); }
.slot.ok .slot-field { border-color: rgba(255, 181, 71, .75); }
.slot.shake .slot-field { animation: shake .42s var(--ease); }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.cells { display: flex; font: 500 var(--cs)/1 var(--mono); perspective: 600px; }
.cell { position: relative; width: .92em; height: 1.46em; margin-left: .12em; display: grid; place-items: center; transition: margin-left .4s var(--ease); }
.cell:first-child { margin-left: 0; }
.cell::after { content: ""; position: absolute; left: .08em; right: .08em; bottom: 0; height: 2px; border-radius: 2px; background: var(--line-d2); transition: background .25s; }
.cell.gs { margin-left: .5em; }
.cells.ioe .cell.gs:not(.g1) { margin-left: .12em; }
.cell .ch { display: block; color: var(--on); transform-origin: 50% 60%; }
.cell.ghost .ch { color: rgba(239, 232, 218, .14); }
.cell.in .ch { animation: flip .34s var(--ease); }
.cells.still .cell.in .ch { animation: none; }
.cell.in::after { background: var(--on-3); }
.slot.ok .cell::after { background: var(--lamp); }
@keyframes flip { from { transform: translateY(-.35em) rotateX(75deg); opacity: 0; } to { transform: none; opacity: 1; } }
.slot-field:focus-within .cell.cur::after { background: var(--lamp); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { background: transparent; } }
.slot-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; font-size: 16px; cursor: text; }
.decode { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; margin-top: 14px; }
.dc { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-d); font-size: 13.5px; color: var(--on-2); animation: chip .5s var(--spring) both; animation-delay: var(--d, 0ms); }
.dc b { padding: 3px 7px; border-radius: 999px; background: rgba(255, 181, 71, .14); color: var(--lamp-2); font: 500 12px/1 var(--mono); letter-spacing: .04em; }
@keyframes chip { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.slot-msg { min-height: 0; margin: 0; font-size: 14px; color: var(--lamp-2); }
.slot-msg:empty { display: none; }
.slot-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.slot-row .help { margin: 0; font-size: 14px; color: var(--on-3); }
.slot.go .btn-lamp { animation: go .6s var(--ease); }
@keyframes go { 40% { transform: scale(.96); } 100% { transform: scale(1.02); } }
@media (max-width: 520px) { .slot-row .btn { width: 100%; } }

/* Hero art: the ring is drawn on the canvas; this box only positions it and the text inside. */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.ring-box { position: relative; width: min(100%, 540px); aspect-ratio: 1; }
@media (max-width: 980px) { .ring-box { width: min(78vw, 360px); } }
.rc { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 22%; }
.rc > * { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rc.swap > * { opacity: 0; transform: translateY(6px); }
.rc-k { margin: 0 0 10px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-3); }
.rc-t { margin: 0; font: 360 clamp(22px, 2.5vw, 32px)/1.08 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.02em; text-wrap: balance; }
.rc-t.mono { font: 500 clamp(18px, 2vw, 25px)/1.2 var(--mono); letter-spacing: .02em; }
.rc-s { margin: 12px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--lamp); }
@media (max-width: 980px) { .rc-k { font-size: 10px; margin-bottom: 6px; } .rc-s { font-size: 10.5px; margin-top: 8px; } }

/* Lock-screen style alert */
.toast { --tx: 0px; display: flex; gap: 12px; align-items: flex-start; width: min(360px, 92%); padding: 13px 15px 14px; border-radius: 22px; background: rgba(36, 33, 28, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); color: var(--on); text-align: left; }
.toast .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(160deg, #26231E, #151310); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.toast .ic .mark { width: 22px; height: 22px; color: var(--on); --s3: var(--on); --s4: var(--lamp); }
.toast .tx { min-width: 0; flex: 1; }
.toast .hd { display: flex; justify-content: space-between; font: 500 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--on-3); margin-bottom: 3px; }
.toast .hd span:last-child { text-transform: none; letter-spacing: 0; }
.toast b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.toast p { margin: 1px 0 0; font-size: 14px; line-height: 1.35; color: var(--on-2); }
.hero-art .toast { position: relative; margin-top: -54px; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s var(--ease), transform .6s var(--spring); }
.hero-art .toast.show { opacity: 1; transform: none; }
@media (max-width: 980px) { .hero-art .toast { position: absolute; bottom: -6px; margin: 0; } }

/* Moving-now ticker along the bottom of the hero */
.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; border-top: 1px solid var(--line-d); background: rgba(11, 10, 8, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ticker .wrap { display: flex; align-items: center; gap: 18px; height: 52px; font: 500 12.5px/1 var(--mono); color: var(--on-3); white-space: nowrap; }
.ticker .lv { display: inline-flex; align-items: center; gap: 8px; color: var(--lamp); letter-spacing: .1em; text-transform: uppercase; }
.ticker .lv i { width: 6px; height: 6px; border-radius: 50%; background: var(--lamp); animation: ping 2.2s ease-out infinite; }
.ticker .tk { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--on-2); transition: opacity .35s, transform .35s var(--ease); }
.ticker .tk.out { opacity: 0; transform: translateY(-6px); }
.ticker .ct b { color: var(--on); font-weight: 500; }
@media (max-width: 760px) { .ticker .ct { display: none; } .ticker .wrap { gap: 12px; font-size: 11.5px; } }

/* ---------- 01 Story: a sticky phone beside four steps ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
.phone-col { grid-column: 2; grid-row: 1; position: sticky; top: calc(50svh - 320px); align-self: start; height: 640px; display: flex; justify-content: center; }
.phone-col::before { content: ""; position: absolute; inset: -10% -20%; background: radial-gradient(closest-side, rgba(255, 181, 71, .2), transparent 70%); opacity: 0; transition: opacity 1s; pointer-events: none; }
.phone-col.glow::before { opacity: 1; }
.steps { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; }
.step { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: .28; transition: opacity .6s var(--ease); }
.step.on { opacity: 1; }
.step:first-child { min-height: 70svh; justify-content: flex-start; padding-top: 12svh; }
.step-n { margin: 0 0 16px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lamp); }
.step h3 { margin: 0; font: 360 clamp(1.9rem, 3.1vw, 2.7rem)/1.06 var(--serif); font-variation-settings: "opsz" 96; letter-spacing: -.025em; text-wrap: balance; }
.step p:last-child { margin: 18px 0 0; font-size: 18px; color: var(--on-2); text-wrap: pretty; }
.pm { display: none; }
@media (max-width: 899px) {
  .story-grid { display: block; }
  .phone-col { display: none; }
  .pm { display: block; width: 210px; height: 434px; margin: 0 auto 30px; }
  .pm .phone { transform: scale(.7); transform-origin: top left; }
  .step, .step:first-child { min-height: 0; padding: 0 0 80px; opacity: 1; }
  .step:last-child { padding-bottom: 0; }
  .step p:last-child { font-size: 16.5px; }
}

/* Phone shell */
.phone { --pw: 300px; --ph: 620px; position: relative; width: var(--pw); height: var(--ph); flex: none; padding: 10px; border-radius: 52px; background: linear-gradient(150deg, #34302A, #161411 46%, #24211C); box-shadow: inset 0 0 0 1.5px #474037, 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px #000; }
.phone.buzz { animation: buzz .55s linear; }
@keyframes buzz { 10%, 50%, 90% { transform: translateX(-2px) rotate(-.4deg); } 30%, 70% { transform: translateX(2px) rotate(.4deg); } }
@media (max-width: 899px) { .phone.buzz { animation-name: buzz-s; } @keyframes buzz-s { 0%, 100% { transform: scale(.7); } 10%, 50%, 90% { transform: scale(.7) translateX(-3px) rotate(-.4deg); } 30%, 70% { transform: scale(.7) translateX(3px) rotate(.4deg); } } }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #000; isolation: isolate; }
.island { position: absolute; z-index: 9; top: 11px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 20px; background: #000; }
.scr { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.scr.on { opacity: 1; transform: none; }
.sb { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 26px 0 30px; font: 600 13.5px/1 var(--sans); }
.sb i { width: 44px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, currentColor 70%, transparent 70%); opacity: .85; }

/* App screens (paper) */
.app { background: var(--paper); color: var(--ink); font-size: 13px; line-height: 1.4; }
.app-top { display: flex; align-items: center; gap: 8px; padding: 10px 18px 14px; }
.app-top .mark { width: 18px; height: 18px; color: var(--ink); --s3: var(--ink); --s4: var(--paper-3); }
.app-top b { font: 500 22px/1 var(--serif); letter-spacing: -.02em; margin-right: auto; }
.app-top .av { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-3); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.ccard { margin: 0 14px 10px; padding: 13px 14px; border-radius: 16px; background: #FBF8F1; box-shadow: 0 0 0 1px var(--line-p); }
.ccard.new { box-shadow: 0 0 0 1.5px var(--lamp), 0 10px 24px -14px rgba(154, 91, 0, .5); }
.scr.on .ccard.new { animation: drop .7s var(--spring) .25s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.cc-h { display: flex; justify-content: space-between; gap: 10px; }
.cc-h b { display: block; font: 500 16px/1.2 var(--serif); letter-spacing: -.01em; }
.cc-h small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.cc-h .mark { width: 22px; height: 22px; flex: none; color: var(--ink); --s4: var(--paper-3); }
.cc-s { margin: 10px 0 7px; font-weight: 600; font-size: 13px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strip i { height: 4px; border-radius: 3px; background: var(--paper-3); }
.strip i.on { background: var(--ink); }
.strip i.lit { background: var(--lamp); }
.cc-m { margin: 8px 0 0; font: 500 10.5px/1 var(--mono); color: var(--ink-3); }
.addbtn { margin: 6px 14px; height: 42px; border-radius: 14px; border: 1.5px dashed var(--line-p); display: grid; place-items: center; font-weight: 600; font-size: 12.5px; color: var(--ink-2); }

/* Case page screens */
.cp-top { display: flex; align-items: center; gap: 6px; padding: 6px 16px 10px; font-weight: 600; font-size: 14px; }
.cp-top span { font-size: 22px; line-height: 1; color: var(--ink-3); margin-top: -3px; }
.cp-st { display: flex; gap: 12px; align-items: center; margin: 0 14px 12px; padding: 14px; border-radius: 16px; background: #FBF8F1; box-shadow: 0 0 0 1px var(--line-p); }
.cp-st .mark { width: 40px; height: 40px; flex: none; color: var(--ink); --s4: var(--paper-3); stroke-width: 3; }
.cp-st small { display: block; font: 500 9.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cp-st b { display: block; margin-top: 3px; font: 500 16.5px/1.15 var(--serif); letter-spacing: -.015em; }
.pill { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 99px; background: rgba(255, 181, 71, .25); color: #7A4700; font: 600 10px/1.2 var(--sans); }
.mini { margin: 0 14px 10px; padding: 12px 14px 13px; border-radius: 16px; background: #FBF8F1; box-shadow: 0 0 0 1px var(--line-p); }
.mini-k { margin: 0 0 10px; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mini-big { margin: 8px 0 0; font-size: 12px; color: var(--ink-2); }
.mini-big b { font: 500 17px/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.dline { position: relative; height: 22px; }
.dline .tr { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 3px; background: var(--paper-3); }
.dline .fl { position: absolute; left: 0; top: 9px; height: 4px; border-radius: 3px; background: var(--lamp); width: 4%; transition: width 1.4s var(--ease) .3s; }
.dline .nw { position: absolute; top: 2px; width: 2px; height: 18px; background: #7A4700; left: 4%; transition: left 1.4s var(--ease) .3s; }
.dline .yu { position: absolute; top: 4px; left: 74%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #FBF8F1; box-shadow: 0 0 0 2.5px var(--lamp-deep); }
.scr.on .dline .fl { width: 46%; }
.scr.on .dline .nw { left: 46%; }
.dl-row { display: flex; justify-content: space-between; margin-top: 4px; font: 500 9.5px/1 var(--mono); color: var(--ink-3); }
.fc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; align-items: end; height: 70px; }
.fc div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.fc em { font: 500 9px/1 var(--mono); font-style: normal; color: var(--ink-3); margin-bottom: 3px; opacity: 0; transition: opacity .4s; transition-delay: calc(var(--i) * 70ms + .5s); }
.fc b { width: 100%; height: 0; border-radius: 4px 4px 2px 2px; background: var(--paper-3); transition: height .8s var(--spring); transition-delay: calc(var(--i) * 70ms + .3s); }
.fc .pk b { background: var(--lamp); }
.fc .pk em { color: var(--lamp-deep); font-weight: 600; }
.fc span { margin-top: 4px; font: 500 8.5px/1 var(--mono); color: var(--ink-3); }
.scr.on .fc b { height: var(--h); }
.scr.on .fc em { opacity: 1; }
.cp-sec { margin: 0 14px 10px; padding: 12px 14px; border-radius: 16px; background: #FBF8F1; box-shadow: 0 0 0 1px var(--line-p); }
.cp-sec h4 { margin: 0 0 4px; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cp-sec p { margin: 0; font-size: 12.5px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 0 0 8px 16px; font-size: 11.5px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.tl li::after { content: ""; position: absolute; left: 3px; top: 13px; bottom: -1px; width: 1px; background: var(--line-p); }
.tl li:last-child::after { display: none; }
.tl li:first-child::before { background: var(--lamp); box-shadow: 0 0 0 3px rgba(255, 181, 71, .3); }
.tl time { font: 500 10px/1.5 var(--mono); color: var(--ink-3); white-space: nowrap; }

.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 24px 26px; background: rgba(244, 238, 226, .92); border-top: 1px solid var(--line-p); font: 600 10.5px/1 var(--sans); color: var(--ink-3); }
.tabbar span::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 5px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .55; }
.tabbar .on { color: var(--ink); }
.tabbar .on::before { background: var(--ink); opacity: 1; box-shadow: none; border-radius: 50%; }

/* Lock screen */
.lock { background: radial-gradient(120% 70% at 50% 110%, #3A2A12 0%, #120F0B 55%, #0A0908 100%); color: #F6F0E4; text-align: center; }
.lock-date { margin: 34px 0 0; font: 500 15px/1 var(--sans); opacity: .85; }
.lock-time { margin: 2px 0 0; font: 300 84px/1 var(--sans); letter-spacing: -.04em; }
.lock .toast { position: absolute; left: 12px; right: 12px; top: 190px; width: auto; transform: translateY(-30px) scale(.94); opacity: 0; transition: transform .7s var(--spring) .45s, opacity .4s .45s; background: rgba(46, 42, 36, .72); }
.lock.on .toast { transform: none; opacity: 1; }
.lock-glow { position: absolute; inset: auto 0 0; height: 55%; background: radial-gradient(70% 60% at 50% 100%, rgba(255, 181, 71, .32), transparent 70%); opacity: 0; transition: opacity 1.4s .5s; }
.lock.on .lock-glow { opacity: 1; }
.lock-foot { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; }
.lock-foot i { width: 120px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .7); }

/* ---------- 02 The line ---------- */
.lapse { position: relative; padding: 30px 32px 26px; border-radius: 28px; background: linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid var(--line-d); }
.lapse-head { display: flex; align-items: flex-end; gap: 44px; flex-wrap: wrap; margin-bottom: 18px; }
.ro small { display: block; margin-bottom: 8px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-3); }
.ro b { display: block; font: 360 clamp(24px, 2.6vw, 34px)/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ro.you b { transition: color .4s; }
.ro.you.done b { color: var(--lamp); }
.lapse-head .btn-line { margin-left: auto; }
#lp { width: 100%; height: auto; overflow: visible; }
#lp .bg { fill: rgba(239, 232, 218, .055); }
#lp .fill { fill: url(#lp-amber); }
#lp .me-bg { fill: rgba(255, 181, 71, .07); }
#lp .fill.me { fill: url(#lp-me); }
#lp .me-line { fill: none; stroke: var(--lamp); stroke-width: 1.5; stroke-dasharray: 4 4; }
#lp .wk { font: 500 12px var(--mono); fill: var(--on-3); }
#lp .wk.me { fill: var(--lamp); }
#lp .cnt { font: 500 11.5px var(--mono); fill: var(--on-3); }
#lp .front line { stroke: var(--lamp); stroke-width: 1.5; stroke-dasharray: 3 4; }
#lp .front rect { fill: var(--lamp); }
#lp .front text { font: 600 12px var(--sans); fill: #1E1505; }
#lp.narrow .wk { font-size: 15px; }
#lp.narrow .cnt { font-size: 14px; }
#lp.narrow .front text { font-size: 14px; }
#lp .burst { fill: none; stroke: var(--lamp); stroke-width: 2; opacity: 0; }
.lapse-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; font: 500 12px/1.4 var(--mono); color: var(--on-3); }
.lapse .toast { position: absolute; right: 28px; top: 24px; opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .45s var(--ease), transform .6s var(--spring); pointer-events: none; }
.lapse .toast.show { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .lapse { padding: 22px 16px 18px; border-radius: 22px; margin: 0 calc(-1 * var(--gutter) + 8px); }
  .lapse-head { gap: 20px 28px; }
  .lapse-head .btn-line { margin-left: 0; }
  .lapse { padding-bottom: 104px; }
  .lapse .toast { left: 12px; right: 12px; width: auto; top: auto; bottom: 14px; }
}

/* ---------- 03 Statuses ---------- */
.st-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
@media (max-width: 980px) { .st-grid { grid-template-columns: 1fr; gap: 36px; } }
.st-ring { position: sticky; top: 110px; width: min(100%, 470px); aspect-ratio: 1; margin: 0 auto; }
@media (max-width: 980px) { .st-ring { position: relative; top: 0; width: min(82vw, 380px); } }
#st-svg { width: 100%; height: 100%; overflow: visible; }
#st-svg .arc { fill: none; stroke-linecap: round; stroke-width: 34; stroke: var(--paper-3); transition: stroke .6s var(--ease); }
#st-svg .arc.past { stroke: var(--ink); }
#st-svg .arc.now { stroke: var(--lamp); }
#st-svg .glow { fill: none; stroke: var(--lamp); stroke-linecap: round; stroke-width: 60; opacity: 0; transition: opacity .6s; }
#st-svg .glow.now { opacity: .45; }
#st-svg .lbl { font: 500 13px var(--mono); letter-spacing: .08em; fill: var(--ink-3); text-transform: uppercase; transition: fill .4s; }
#st-svg .lbl.now { fill: var(--lamp-deep); }
.st-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.st-center small { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.st-center b { display: block; margin-top: 8px; font: 360 clamp(30px, 3.6vw, 44px)/1 var(--serif); font-variation-settings: "opsz" 96; letter-spacing: -.03em; }
.st-q { position: relative; display: block; margin-bottom: 16px; }
.st-card { margin-bottom: 30px; }
.st-q input { width: 100%; height: 56px; padding: 0 18px 0 48px; border-radius: 16px; border: 1px solid var(--line-p); background: #FBF8F1; color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.st-q input::placeholder { color: var(--ink-3); }
.st-q input:focus { outline: none; border-color: var(--lamp-deep); box-shadow: 0 0 0 5px rgba(255, 181, 71, .22); }
.st-q svg { position: absolute; left: 17px; top: 19px; width: 18px; height: 18px; color: var(--ink-3); }
.st-groups { display: grid; gap: 16px; margin-bottom: 26px; }
.st-g h3 { margin: 0 0 9px; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.st-g div { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-p); background: transparent; color: var(--ink-2); font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.st-card { padding: 28px 30px; border-radius: 22px; background: #FBF8F1; box-shadow: 0 0 0 1px var(--line-p), 0 30px 60px -40px rgba(60, 40, 10, .35); }
.st-card > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.st-card.swap > * { opacity: 0; transform: translateY(5px); }
.st-card h3 { margin: 0 0 18px; font: 380 clamp(24px, 2.4vw, 30px)/1.12 var(--serif); letter-spacing: -.02em; }
.st-card dl { margin: 0; display: grid; gap: 14px; }
.st-card dt { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.st-card dd { margin: 6px 0 0; font-size: 17px; color: var(--ink); }
.st-card .note { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 04 Forms and promises ---------- */
.forms-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--line-d); }
.forms-list li { display: flex; align-items: baseline; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line-d); transition: background .25s; }
.forms-list li:hover { background: rgba(255, 181, 71, .04); }
.forms-list b { flex: none; width: 66px; font: 500 15px/1 var(--mono); color: var(--lamp); }
.forms-list span { font-size: 15.5px; color: var(--on-2); }
.forms-more { margin: 22px 0 0; color: var(--on-3); font-size: 15px; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 110px; border-radius: 24px; overflow: hidden; background: var(--line-d); border: 1px solid var(--line-d); }
.promises > div { padding: 30px 26px 32px; background: var(--night); }
.promises b { display: block; font: 330 clamp(40px, 4.4vw, 60px)/1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.04em; color: var(--lamp); }
.promises p { margin: 14px 0 0; font-size: 15.5px; color: var(--on-2); }
.promises p strong { color: var(--on); font-weight: 500; }
@media (max-width: 980px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* ---------- 05 FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }
.faq details { border-bottom: 1px solid var(--line-p); }
.faq details:first-child { border-top: 1px solid var(--line-p); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; font: 400 clamp(19px, 1.7vw, 22px)/1.3 var(--serif); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-p); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10.5px; height: 1.5px; background: var(--ink-2); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: -6px 0 22px; max-width: 640px; color: var(--ink-2); font-size: 16.5px; }
.faq details a { color: var(--lamp-deep); }

/* ---------- Final ---------- */
.final { text-align: center; overflow: hidden; background: radial-gradient(50% 50% at 50% 38%, rgba(255, 181, 71, .1), transparent 70%), var(--night); }
.final-ring { width: 120px; height: 120px; margin: 0 auto 40px; color: var(--on); --s3: var(--on); --s4: var(--lamp); stroke-width: 2.6; }
.final-ring path { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 1s var(--ease); }
.final-ring path:nth-child(2) { transition-delay: .25s; } .final-ring path:nth-child(3) { transition-delay: .5s; } .final-ring path:nth-child(4) { transition-delay: .75s; }
.final.in .final-ring path { stroke-dashoffset: 0; }
.final .title { max-width: 900px; margin: 0 auto; }
.final .lede { margin: 22px auto 0; text-wrap: balance; }
.final .slot { margin: 44px auto 0; text-align: left; }
.final .slot-row { justify-content: center; }
.stores { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-3); }
.stores span { padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-d); }

/* ---------- Footer ---------- */
.foot { padding: 46px 0 60px; border-top: 1px solid var(--line-d); color: var(--on-3); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.foot p { margin: 0; max-width: 620px; }
.foot .brand { margin: 0 0 14px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; color: var(--on-2); }
.foot nav a:hover { color: var(--on); }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Preview label: sample numbers until the real case data is loaded */
.sample { position: fixed; z-index: 40; right: 16px; bottom: 16px; transition: opacity .3s, transform .3s var(--ease); padding: 7px 11px; border-radius: 999px; background: rgba(27, 25, 21, .9); border: 1px solid var(--line-d2); font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--on-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sample i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--lamp); vertical-align: 1px; }
@media (max-width: 640px) { .sample { display: none; } }
.sample.away { opacity: 0; transform: translateY(8px); pointer-events: none; }
