:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f1f1f2;
  --text: #18181b;
  --muted: #5b5b63;
  --line: rgb(24 24 27 / .09);
  --accent: #ff8a1f;
  --accent-text: #d35400;   /* orange that keeps 3:1+ on the light background */
  --on-accent: #1c0d02;
  --glass: rgb(255 255 255 / .62);
  --glass-line: rgb(255 255 255 / .7);
  --shadow: 0 24px 60px -24px rgb(120 60 10 / .28);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Hebrew", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #17171a;
    --surface-2: #1f1f23;
    --text: #f4f4f5;
    --muted: #a3a3ad;
    --line: rgb(255 255 255 / .08);
    --accent-text: #ff9a3d;
    --glass: rgb(30 30 34 / .55);
    --glass-line: rgb(255 255 255 / .12);
    --shadow: 0 24px 70px -24px rgb(0 0 0 / .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Language: every string exists twice; the root's data-lang picks one. */
html[data-lang="he"] [lang="en"]:not(html) { display: none !important; }
html[data-lang="en"] [lang="he"]:not(html) { display: none !important; }

/* ---------- Nav (web approximation of Liquid Glass, not Apple's material) ---------- */
.nav {
  position: fixed; top: 12px; inset-inline: 0; z-index: 20;
  display: flex; justify-content: center; padding: 0 12px;
}
.nav-inner {
  width: 100%; max-width: 1180px; height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 10px 0 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 10px 30px -12px rgb(0 0 0 / .25);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  font: 600 14px/1 var(--font); color: var(--text); text-decoration: none;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  transition: background .2s, transform .15s;
}
.chip:hover { background: var(--surface-2); }
.chip:active { transform: scale(.97); }
.chip i { font-size: 17px; }
@media (prefers-reduced-transparency: reduce) {
  .nav-inner { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font: 700 18px/1 var(--font); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .25s, background .2s;
}
.btn i { font-size: 22px; }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 14px 30px -12px rgb(255 120 20 / .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 18px 36px -12px rgb(255 120 20 / .8); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ghost:active { transform: scale(.98); }
.btn:focus-visible, .chip:focus-visible, summary:focus-visible, .sound:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding: 104px 0 56px; position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 30% 40%, rgb(255 138 31 / .22), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
h1 {
  margin: 0 0 18px; font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
  font-size: clamp(40px, 5vw, 64px);
}
h1 .accent { color: var(--accent-text); display: block; }
.lead { margin: 0 0 30px; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 30ch; }
html[data-lang="en"] .lead { max-width: 34ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.screen {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #111; box-shadow: var(--shadow); border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.screen video, .screen > img { width: 100%; height: 100%; object-fit: cover; }
.video-controls { position: absolute; inset-inline-end: 14px; bottom: 14px; display: flex; gap: 8px; }
.sound {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  color: #fff; font-size: 20px; cursor: pointer;
  background: rgb(20 20 22 / .45); border: 1px solid rgb(255 255 255 / .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .15s;
}
.sound:active { transform: scale(.94); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
@media (min-width: 960px) { section { padding: 112px 0; } }
h2 { margin: 0 0 14px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.body { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0; }

/* Hebrew showcase: split, image bleeds toward the edge */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 7fr 5fr; gap: 64px; } }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #1b1b1e; }
.shot img { width: 100%; height: auto; }

/* Bento */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .c-key { grid-column: span 4; } .c-aim { grid-column: span 2; } .c-third { grid-column: span 2; } }
.cell {
  border-radius: var(--radius); padding: 28px; background: var(--surface);
  border: 1px solid var(--line); position: relative; overflow: hidden; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.cell h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.015em; }
.cell p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }
.cell .ico { font-size: 30px; color: var(--accent-text); margin-bottom: auto; }
.c-key {
  background: linear-gradient(140deg, #ff9b3d 0%, #ff7a12 55%, #e85d00 100%);
  border: 0; color: var(--on-accent); min-height: 260px;
}
.c-key p { color: rgb(28 13 2 / .78); }
.keys { display: flex; gap: 10px; margin-bottom: auto; direction: ltr; }
.key {
  min-width: 64px; height: 64px; padding: 0 20px; border-radius: 16px;
  display: grid; place-items: center; font: 600 26px/1 var(--font); color: #2a1404;
  background: rgb(255 255 255 / .55); border: 1px solid rgb(255 255 255 / .7);
  box-shadow: inset 0 -3px 0 rgb(140 60 0 / .25), 0 8px 18px -8px rgb(120 50 0 / .5);
}
.key.wide { min-width: 170px; font-size: 20px; }
.c-aim { background: var(--surface-2); }
.c-aim .icon-app { width: 56px; height: 56px; border-radius: 14px; margin-bottom: auto; box-shadow: 0 10px 24px -10px rgb(255 120 20 / .6); }

/* Install: numbered by layout, not by labels */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 36px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.step { padding: 24px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .step { padding-top: 28px; } }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; margin-bottom: 16px;
  background: rgb(255 138 31 / .15); color: var(--accent-text); font-weight: 800;
}
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }
.req {
  margin-top: 30px; display: flex; gap: 12px; align-items: flex-start;
  padding: 18px 20px; border-radius: 16px; background: var(--surface-2); color: var(--muted); font-size: 16px;
}
.req i { font-size: 22px; color: var(--accent-text); flex: none; margin-top: 1px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; direction: ltr; unicode-bidi: isolate; }

/* Pro waitlist */
.pro {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end;
  padding: 36px 28px; border-radius: var(--radius);
  background: radial-gradient(120% 140% at 100% 0%, rgb(255 138 31 / .22), transparent 60%), var(--surface);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .pro { grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 48px; } }
.pro h2 { margin-bottom: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px;
  font-size: 19px; font-weight: 650;
}
summary::-webkit-details-marker { display: none; }
summary i { font-size: 20px; transition: transform .3s cubic-bezier(.16,1,.3,1); color: var(--muted); flex: none; }
details[open] summary i { transform: rotate(45deg); }
details p { margin: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* Closing CTA */
.closing { text-align: center; }
.closing h2 { max-width: 16ch; margin: 0 auto 28px; }
.closing .ctas { justify-content: center; }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Toast */
.toast {
  position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--text); color: var(--bg); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .4);
  transition: opacity .3s, transform .4s cubic-bezier(.16,1,.3,1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Motion: entrance for the hero, reveal on scroll for the rest. */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 520px) {
  .nav-inner { height: 52px; }
  .chip.gh span { display: none; }
  .btn { width: 100%; }
  .hero { padding-top: 92px; }
  .cell { padding: 22px; min-height: 180px; }
  .key { min-width: 54px; height: 54px; font-size: 22px; }
  .key.wide { min-width: 140px; font-size: 18px; }
}

/* ---------- Utilities (no inline styles, so the CSP can forbid them) ---------- */
[data-d="1"] { --i: 1; }
[data-d="2"] { --i: 2; }
section.pt0 { padding-top: 0; }
section[data-pt="24"] { padding-top: 24px; }
figure.shot { margin: 0; }
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 40;
  padding: 10px 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Footer ---------- */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.foot-note { flex-basis: 100%; font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Simple pages (policies, account) ---------- */
.page { padding: 120px 0 64px; min-height: 70dvh; }
.page .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--text); font-size: 17px; line-height: 1.7; }
.doc ul { padding-inline-start: 22px; margin: 8px 0 16px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent-text); }
.doc .callout {
  padding: 16px 18px; border-radius: 16px; background: var(--surface-2); margin: 20px 0; font-size: 16px;
}
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 650; }
.todo { background: #ffe58a; color: #3d2b00; padding: 0 4px; border-radius: 4px; }

/* ---------- Forms (account pages) ---------- */
.card {
  max-width: 460px; margin: 0 auto; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.card h1 { font-size: 32px; margin: 0 0 6px; letter-spacing: -.02em; }
.card .sub { color: var(--muted); margin: 0 0 24px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 650; font-size: 15px; }
.field input {
  height: 52px; padding: 0 16px; border-radius: 14px; font: 500 17px/1 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid rgb(127 127 127 / .45); outline: none; width: 100%;
}
.field input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 138 31 / .35); }
.field input[aria-invalid="true"] { border-color: #e5484d; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-text); }
.form-msg { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; }
.form-msg.error { color: #e5484d; }
.form-msg.ok { color: var(--accent-text); font-weight: 650; }
.card .btn { width: 100%; margin-top: 8px; }
.card-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; }
.card-foot a { color: var(--accent-text); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 20px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.btn-danger { background: transparent; color: #e5484d; border: 1px solid rgb(229 72 77 / .5); }
.stack { display: grid; gap: 10px; }
[hidden] { display: none !important; }

/* Pro section call to action */
.pro-cta { display: grid; gap: 10px; justify-items: start; }
.pro-cta .btn { min-width: 240px; }
@media (max-width: 520px) { .pro-cta { justify-items: stretch; } }
.pw-row { display: flex; gap: 8px; }
.pw-row input { flex: 1; min-width: 0; }
.pw-toggle { height: 52px; width: 52px; justify-content: center; padding: 0; flex: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-text); cursor: pointer; text-decoration: underline; }
.card .btn-ghost { width: 100%; }
@media (max-width: 520px) {
  #langBtn span { display: none; }
  #langBtn { width: 38px; padding: 0; justify-content: center; }
}

/* ---------- Pricing ---------- */
.pricing-head { display: grid; gap: 14px; }
.soon {
  display: inline-flex; gap: 10px; align-items: center; justify-self: start; margin: 4px 0 0;
  padding: 10px 16px; border-radius: 999px; background: rgb(255 138 31 / .12);
  color: var(--accent-text); font-size: 15px; font-weight: 600;
}
.soon i { font-size: 18px; flex: none; }
.plans { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px 28px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.plan h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.plan .price { margin: 6px 0 0; font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-inline-start: 6px; }
.plan .tagline { margin: 6px 0 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li i { color: var(--accent-text); font-size: 20px; flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; width: 100%; }
.p-pro {
  border-color: rgb(255 138 31 / .55);
  background: radial-gradient(120% 90% at 100% 0%, rgb(255 138 31 / .16), transparent 60%), var(--surface);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute; top: 26px; inset-inline-end: 24px;
  padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--accent); color: var(--on-accent);
}
.plan-notes { margin-top: 22px; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.plan-notes p { margin: 0; max-width: 90ch; }
.byok { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); }
.byok i { font-size: 20px; color: var(--accent-text); flex: none; margin-top: 1px; }
.p-dev { grid-column: 1 / -1; display: grid; gap: 18px; }
.p-dev .dev-side ul { margin-bottom: 20px; }
.p-dev .badge { background: var(--surface-2); color: var(--text); }
@media (min-width: 900px) {
  .p-dev { grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; padding: 34px 36px; }
  .p-dev .dev-side ul { border-top: 0; padding-top: 0; }
}
.buy { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.buy h2 { font-size: 22px; margin: 0 0 14px; letter-spacing: -.01em; }
.buy-options { display: grid; gap: 10px; margin-bottom: 12px; }
.buy-options .btn { width: 100%; }
#cancelSub { margin-top: 14px; width: 100%; }

/* ---------- Signed-in avatar in the nav ---------- */
.avatar-chip { width: 38px; padding: 0; justify-content: center; border-color: transparent; }
.avatar {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(140deg, #ff9b3d, #e85d00); color: #1c0d02; font: 800 15px/1 var(--font);
}
.avatar.lg { width: 64px; height: 64px; font-size: 28px; box-shadow: var(--shadow); }

/* ---------- Account dashboard ---------- */
.dash-page .wrap { max-width: 1040px; }
.dash-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.dash-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 0; letter-spacing: -.02em; }
.dash-email { margin: 2px 0 0; color: var(--muted); text-align: start; }
.plan-badge {
  margin-inline-start: auto; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 15px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.plan-badge[data-plan="pro"], .plan-badge[data-plan="max"] { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.dash-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
@media (min-width: 820px) { .dash-grid { grid-template-columns: 1fr 1fr; } .tile.wide { grid-column: 1 / -1; } }
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.tile h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--muted); margin: 0; letter-spacing: 0; }
.tile h2 i { font-size: 19px; color: var(--accent-text); }
.tile-big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.tile-sub { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.55; }
.tile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.tile-actions .btn { height: 46px; font-size: 16px; padding: 0 20px; }
.tile-steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 15px; }
.tile .kv { margin: 0; }
.tile .check { margin: 4px 0; }
.meter { display: grid; gap: 6px; }
.meter-row { display: flex; justify-content: space-between; font-size: 15px; }
.meter-row b { font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); border-radius: inherit; background: var(--accent); transition: width .6s cubic-bezier(.16,1,.3,1); }
.bar.full span { background: #e5484d; }
.buy-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 820px) { .buy-grid { grid-template-columns: repeat(3, 1fr); } }
.buy-option {
  display: grid; gap: 4px; text-align: start; padding: 18px; border-radius: 18px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); color: var(--text); font: inherit;
  transition: border-color .2s, transform .15s;
}
.buy-option:hover { border-color: var(--accent); }
.buy-option:active { transform: scale(.98); }
.buy-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.buy-option[disabled] { opacity: .6; cursor: progress; }
.buy-option b { font-size: 20px; }
.buy-price { font-weight: 700; color: var(--accent-text); }
.buy-desc { color: var(--muted); font-size: 14px; }
.danger { margin-top: 22px; padding: 16px 20px; border-radius: 16px; border: 1px solid rgb(229 72 77 / .3); }
.danger summary { cursor: pointer; color: #e5484d; font-weight: 650; }
.danger .btn { margin-top: 12px; }
@media (max-width: 520px) {
  .dash-head { flex-wrap: wrap; }
  .plan-badge { margin-inline-start: 0; }
  .tile-actions .btn { flex: 1 1 auto; }
}
.warn { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgb(229 72 77 / .1); color: var(--text); font-size: 15px; line-height: 1.5; }
.warn i { color: #e5484d; font-size: 20px; flex: none; margin-top: 1px; }
.tile-sub a { color: var(--accent-text); }
