:root {
  --bg: #07080c;
  --bg-2: #0d0f15;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .1);
  --text: #f4f5f8;
  --muted: #9aa0ae;
  --brand: #7c8cff;
  --brand-2: #4de1c1;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7fb;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, .7);
    --surface-2: rgba(20, 24, 40, .06);
    --line: rgba(20, 24, 40, .1);
    --text: #12141c;
    --muted: #5d6474;
    --brand: #4f5fe8;
    --brand-2: #0fb894;
    --shadow: 0 30px 70px -25px rgba(30, 40, 90, .3);
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 18px;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; margin-top: 26px; }

/* Aurora background: soft radial gradients, no blur filter (cheap on phones) */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; opacity: .34; will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { background: radial-gradient(closest-side, #4b5bff, transparent); top: -40vmax; left: -30vmax; }
.aurora i:nth-child(2) { background: radial-gradient(closest-side, #14c9a4, transparent); bottom: -45vmax; right: -35vmax; animation-delay: -9s; opacity: .24; }
.aurora i:nth-child(3) { background: radial-gradient(closest-side, #b04bff, transparent); top: 20vh; left: 25vw; width: 60vmax; height: 60vmax; animation-delay: -17s; opacity: .14; }
@keyframes drift { to { transform: translate3d(8vw, 6vh, 0) scale(1.12); } }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .aurora i { opacity: .2; }
}

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; }
.brand-mark {
  width: 28px; height: 28px; background: var(--text);
  -webkit-mask: url(img/logo.png) center / contain no-repeat; mask: url(img/logo.png) center / contain no-repeat;
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); font-size: .95rem; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important; padding: 8px 16px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
}
@media (max-width: 520px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #06070b; box-shadow: 0 10px 30px -10px var(--brand); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero {
  overflow-x: clip; min-height: 100svh; max-width: var(--max); margin: 0 auto;
  padding: 120px var(--gutter) 60px;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 52px; }
.stats dt { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.stats dd { font-size: .85rem; color: var(--muted); max-width: 13em; }
.hero-stage { position: relative; height: min(640px, 70vh); perspective: 1400px; }
.hero-phone { position: absolute; left: 50%; top: 50%; will-change: transform; }
.hero-phone .phone { animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: 0; }
  .hero-stage { height: 420px; order: -1; margin-bottom: -20px; }
}

/* Phone frame */
.phone {
  --pw: 220px;
  width: var(--pw); aspect-ratio: var(--ar, 9 / 19.5);
  border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .035);
  background: linear-gradient(145deg, #2b2e39, #0c0d12);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14) inset, var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--pw) * .118); background: #111; }
.phone.wide { --pw: 100%; border-radius: 22px; padding: 6px; }
.phone.wide img { border-radius: 16px; }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.marquee-item img { width: 40px; height: 40px; border-radius: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter) 0; }
.section-head { max-width: 760px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 34px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: .9rem; font-weight: 500; color: var(--muted); transition: all .25s;
}
.chip:hover { color: var(--text); }
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.card {
  --accent: #7c8cff;
  position: relative; display: flex; flex-direction: column; text-align: left;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .3s, opacity .4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; transition: opacity .4s;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%),
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card.reveal { transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), border-color .3s; }
.card.reveal.done { transition: transform .5s var(--ease), border-color .3s; }
.card.hide { display: none; }
.card-stage { position: relative; height: 300px; overflow: hidden; }
.fan { position: absolute; left: 50%; top: 34px; }
.fan .phone { --pw: 168px; position: absolute; left: 0; top: 0; transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.fan .phone:nth-child(1) { z-index: 3; transform: translateX(-50%); }
.fan .phone:nth-child(2) { z-index: 2; transform: translateX(-110%) rotate(-7deg) translateY(22px); }
.fan .phone:nth-child(3) { z-index: 1; transform: translateX(10%) rotate(7deg) translateY(22px); }
.card:hover .fan .phone:nth-child(1) { transform: translateX(-50%) translateY(-10px) scale(1.03); }
.card:hover .fan .phone:nth-child(2) { transform: translateX(-128%) rotate(-11deg) translateY(14px); }
.card:hover .fan .phone:nth-child(3) { transform: translateX(28%) rotate(11deg) translateY(14px); }
.wide-cover { position: absolute; left: 8%; right: 8%; top: 44px; transition: transform .6s var(--ease); }
.card:hover .wide-cover { transform: translateY(-8px) scale(1.02); }
.card-body { padding: 4px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-icon { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); }
.card-title { font-size: 1.3rem; letter-spacing: -.02em; }
.card-kind { font-size: .82rem; color: var(--muted); }
.card-tag { margin-top: 12px; color: var(--muted); font-size: .98rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.badges { display: flex; gap: 8px; }
.badge { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.more { font-size: .9rem; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; transition: gap .25s; }
.card:hover .more { gap: 12px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.1rem; margin-top: 24px; }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.skill { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.skill h3 { font-size: 1.02rem; margin-bottom: 8px; letter-spacing: -.01em; }
.skill p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .skills { grid-template-columns: 1fr; } }

/* Contact */
.contact-card {
  text-align: center; padding: clamp(44px, 8vw, 96px) 24px; border-radius: 40px; border: 1px solid var(--line);
  background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 70%), var(--surface);
}
.contact-card p { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.footer { max-width: var(--max); margin: 90px auto 0; padding: 28px var(--gutter) 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
.footer a:hover { color: var(--text); }

/* Detail overlay */
.detail { position: fixed; inset: 0; z-index: 50; background: var(--bg); opacity: 0; transition: opacity .35s var(--ease); }
.detail.open { opacity: 1; }
.detail-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.close {
  position: fixed; top: 16px; right: max(16px, calc(var(--gutter) - 8px)); z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .25s var(--ease);
}
.close:hover { transform: rotate(90deg); }
.d-hero { position: relative; isolation: isolate; padding: 110px var(--gutter) 30px; overflow: hidden; }
.d-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 75%);
}
.d-wrap { max-width: 1000px; margin: 0 auto; }
.d-top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.d-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .6); }
.d-kind { color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.d-title { font-size: clamp(2.2rem, 6vw, 4rem); margin-top: 4px; }
.d-tag { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--muted); margin-top: 26px; max-width: 30em; }
.d-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px;
  background: var(--text); color: var(--bg); font-weight: 600; transition: transform .25s var(--ease);
}
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: .68rem; font-weight: 500; opacity: .7; line-height: 1.1; }
.store b { font-size: 1.02rem; line-height: 1.15; }
.store svg { width: 24px; height: 24px; fill: currentColor; }
.d-shots { display: flex; gap: 18px; overflow-x: auto; padding: 34px var(--gutter) 30px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.d-shots::before, .d-shots::after { content: ""; flex: 0 0 max(0px, calc((100vw - 1000px) / 2 - var(--gutter))); }
.shot { flex: none; scroll-snap-align: center; height: min(560px, 66vh); border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; background: #111; transition: transform .35s var(--ease); }
.shot:hover { transform: scale(1.015); }
.shot img { height: 100%; width: auto; }
.d-body { max-width: 1000px; margin: 0 auto; padding: 20px var(--gutter) 40px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.d-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.d-body p { color: var(--muted); font-size: 1.05rem; }
.d-body section + section { margin-top: 34px; }
.d-facts { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); align-self: start; }
.d-facts h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.d-facts p { color: var(--text); font-size: 1rem; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.d-nav { max-width: 1000px; margin: 20px auto 0; padding: 30px var(--gutter) 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.d-nav a { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: background .25s, transform .3s var(--ease); }
.d-nav a:hover { background: var(--surface-2); transform: translateY(-3px); }
.d-nav a:last-child { text-align: right; }
.d-nav small { color: var(--muted); font-size: .8rem; }
.d-nav b { font-size: 1.15rem; letter-spacing: -.02em; }
@media (max-width: 760px) { .d-body { grid-template-columns: 1fr; gap: 28px; } .shot { border-radius: 24px; } }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.detail.open .d-anim { animation: rise .75s var(--ease) both; animation-delay: calc(var(--i, 0) * .07s + .08s); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(0, 0, 0, .92); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; border-radius: 22px; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; font-size: 1.1rem; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* framework badges */
.badges { flex-wrap: wrap; }
.fw { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); white-space: nowrap; }
.d-fw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.d-fw .fw { font-size: .82rem; padding: 6px 13px; }
.store.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.note { align-self: center; font-size: .85rem; color: var(--muted); }
.brand-cover { position: absolute; inset: 0; display: grid; place-items: center; }
.brand-cover img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.card:hover .brand-cover img { transform: scale(1.06) translateY(-4px); }

.fw i { width: 1.15em; height: 1.15em; background: var(--c); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.tech-corner { position: absolute; top: 14px; right: 14px; z-index: 5; display: flex; gap: 6px; }
.tech-corner .fw { font-size: .74rem; padding: 6px 12px 6px 9px; background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
/* landscape screens rotated inside a portrait phone frame */
.phone.rot, .shot.rot { container-type: size; }
:where(.phone.rot, .shot.rot) { position: relative; }
.phone.rot img, .shot.rot img { position: absolute; left: 50%; top: 50%; width: 100cqh; height: 100cqw; max-width: none; transform: translate(-50%, -50%) rotate(90deg); }
.fw { color: color-mix(in srgb, var(--c) 62%, var(--text)); }
.fw i { background: color-mix(in srgb, var(--c) 78%, var(--text)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fw { color: var(--c); } :root:not([data-theme="light"]) .fw i { background: var(--c); } }
.shot { padding: 0; }
.more-note { margin: 34px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* Cost estimator */
.cost-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 46px); align-items: start; margin-top: 44px; }
.cost-q { display: grid; gap: 26px; }
.cost-group { border: 0; padding: 0; min-width: 0; border-radius: 18px; transition: background .5s; }
.cost-group.flash { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.cost-group legend { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: 12px; padding: 0; }
.cost-n { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--muted); }
.cost-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.cost-opt[aria-checked="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.cost-fallback { color: var(--muted); }
.cost-fallback a { color: var(--brand-2); text-decoration: underline; }

.cost-out { position: sticky; top: 96px; }
.cost-wait { padding: 34px 28px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.cost-wait-n { font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; color: var(--text); line-height: 1; margin-bottom: 10px; }
.cost-wait-n span { color: var(--muted); font-size: 1.3rem; }
.cost-card {
  padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%), var(--surface);
  box-shadow: var(--shadow); animation: pop .35s var(--ease);
}
.cost-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.cost-big { font-size: clamp(1.8rem, 4.4vw, 2.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-top: 8px; }
.cost-big span { color: var(--muted); margin: 0 .12em; }
.cost-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 7px; color: var(--muted); font-size: .95rem; }
.cost-facts b { color: var(--text); }
.cost-movers { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.cost-mover { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 11px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .92rem; transition: transform .25s var(--ease), background .25s; }
.cost-mover:hover { transform: translateX(3px); background: var(--surface); }
.cost-mover b { color: var(--brand-2); white-space: nowrap; }
.cost-hint, .cost-small { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.cost-send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cost-send .btn { padding: 12px 20px; font-size: .92rem; }
.cost-small { margin-top: 16px; }
@media (max-width: 900px) {
  .cost-wrap { grid-template-columns: 1fr; }
  .cost-out { position: static; }
}
.cost-free { width: min(100%, 420px); margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); color: var(--text); border: 1px solid var(--brand); font: inherit; font-size: .95rem; }
.cost-free::placeholder { color: var(--muted); }
.cost-note-free { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.5; }

/* Send box */
.cost-send { display: grid; gap: 10px; margin-top: 22px; }
.cost-field { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.cost-input {
  width: 100%; padding: 14px 16px; font: inherit; color: inherit;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cost-input::placeholder { color: inherit; opacity: .45; }
.cost-input:focus-visible {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 25%, transparent);
}
.cost-send .btn { justify-content: center; }
.cost-status { margin: 0; font-size: .9rem; opacity: .8; }
.cost-status.bad { color: #ffb4b4; opacity: 1; }
.cost-status a { color: inherit; text-decoration: underline; }
.cost-done { margin: 0; font-size: 1.35rem; font-weight: 650; color: var(--brand-2); }
.cost-done-sub { margin: 4px 0 0; font-size: .95rem; opacity: .75; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .cost-status.bad { color: #b11e1e; }
}
