/* Plate Debt landing page. Same palette, rounded heavy type, plates and grill
   glow as the iOS app. The invite, privacy, terms and support pages keep using
   styles.css; this file only styles the home page. */

:root {
  --ember: #ff6b35;
  --ember-deep: #c9420f;
  --flame: #ffbf33;
  --charcoal: #211f21;
  --plate: #faf7f0;
  --rim: #e0d9cc;
  --paid: #33c773;
  --debt: #e8454a;

  --ocean: #298fdb;
  --steam: #d94d40;
  --conveyor: #f2738c;
  --classic: #fa9e2e;

  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.78);
  --ink-3: rgba(255, 255, 255, 0.62);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);

  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --gutter: 20px;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  background: #120f11;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  line-height: 1.45;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 10px;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--flame);
  color: var(--charcoal);
  font-weight: 900;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* MARK: Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease-out), background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: scale(0.94); transition-duration: 0.12s; }

.btn-store {
  color: #fff;
  background: #000;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.28), 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 0 24px 0 20px;
}
.btn-store .apple { width: 24px; height: 28px; fill: currentColor; stroke: none; }
.btn-store small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  opacity: 0.85;
  line-height: 1;
}
.btn-store span { display: block; text-align: left; line-height: 1.1; font-size: 20px; }

.btn-ember {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, #e1521d, var(--ember-deep));
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.4);
}
.btn-ember::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.btn-ghost {
  color: var(--plate);
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(250, 247, 240, 0.32);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px rgba(250, 247, 240, 0.6); }

/* MARK: Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 15, 17, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: auto;
}
.nav-brand img:first-child { width: 40px; height: 40px; }
.nav-brand img:last-child { height: 34px; width: auto; }
.nav-links { display: none; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { color: #fff; background: var(--glass-2); }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
@media (max-width: 380px) {
  .nav-brand img:last-child { display: none; }
}

/* MARK: Sections */

.section { position: relative; padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.kicker {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--flame);
}
.title {
  margin-top: 10px;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.title .hot { color: var(--ember); }
.lede {
  margin-top: 14px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--ink-2);
}

/* MARK: Hero */

.hero {
  position: relative;
  padding: 40px 0 96px;
  background:
    radial-gradient(900px 500px at 75% 10%, rgba(255, 107, 53, 0.16), transparent 70%),
    linear-gradient(180deg, var(--charcoal) 0%, #1a171a 60%, #120f11 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-flames {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  z-index: -1;
  pointer-events: none;
}
.hero-flames canvas, .cta-flames canvas, .mock-flames canvas { width: 100%; height: 100%; display: block; }
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy { text-align: center; }
.hero-wordmark { width: min(200px, 56%); height: auto; margin: 0 auto 4px; }
.hero h1 {
  font-size: clamp(38px, 8vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1px;
}
.hero h1 .hot {
  color: var(--ember);
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.45);
}
.hero .lede { max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--paid); }

@media (min-width: 960px) {
  .hero { padding: 64px 0 120px; }
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-copy { text-align: left; }
  .hero-wordmark { width: 240px; margin: 0 0 6px -8px; }
  .hero .lede { margin-left: 0; }
  .hero-actions, .hero-meta { justify-content: flex-start; }
}

/* MARK: Phone mock */

.phone-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 620;
  padding: 12px;
  border-radius: 52px;
  background: linear-gradient(160deg, #3a3539, #19161a);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(255, 107, 53, 0.25);
  transform: rotate(-2deg);
  transition: transform 0.6s var(--spring);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.screen {
  position: relative;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--charcoal), #1b181b 70%, #000);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.screen-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.mock-flames { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: -1; opacity: 0.6; pointer-events: none; }
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 14px 6px;
  font-size: 12px;
  font-weight: 900;
}
.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--glass-2);
}
.mock-pill .icon { width: 13px; height: 13px; stroke-width: 3; }
.gauge {
  position: relative;
  width: 172px;
  height: 172px;
  margin: 6px auto 0;
  flex: none;
}
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge-arc { transition: stroke-dasharray 0.7s var(--spring), stroke 0.3s, opacity 0.2s; }
.gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(33, 31, 33, 0.6);
}
.gauge-label { font-size: 9px; font-weight: 800; letter-spacing: 0.5px; }
.gauge-amount {
  font-size: 27px;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.gauge.paid .gauge-amount { color: var(--paid); }
.gauge-pct { font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stamp {
  position: absolute;
  left: 50%;
  bottom: 6px;
  padding: 2px 10px;
  border: 4px solid var(--paid);
  border-radius: 8px;
  color: var(--paid);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.1;
  opacity: 0;
  transform: translateX(-50%) rotate(-14deg) scale(2.4);
  pointer-events: none;
}
.gauge.paid .stamp {
  opacity: 0.92;
  transform: translateX(-50%) rotate(-14deg) scale(1);
  transition: transform 0.5s var(--spring), opacity 0.25s;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px 10px 4px;
  text-align: center;
}
.mock-stats b { display: block; font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mock-stats span { font-size: 9px; color: var(--ink-3); }
.mock-chips { display: flex; gap: 6px; padding: 6px 12px; overflow: hidden; }
.mock-chips span {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: var(--glass-2);
}
.mock-chips span:first-child { background: var(--plate); color: var(--charcoal); }
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 6px 12px 12px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 2px;
  border: none;
  border-radius: 14px;
  background: var(--glass-2);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--spring), background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.tile:hover { background: rgba(255, 255, 255, 0.16); }
.tile:active { transform: scale(0.9); transition-duration: 0.1s; }
.tile-plate {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ember);
  background: var(--plate);
  box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 6px var(--rim);
}
.tile-plate .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.tile.bump .tile-plate { animation: bump 0.45s var(--spring); }
@keyframes bump {
  0% { transform: scale(0.72) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}
.tile-name { font-size: 10px; font-weight: 800; line-height: 1.15; min-height: 2.3em; text-align: center; }
.tile-price { font-size: 9px; font-weight: 700; opacity: 0.7; font-variant-numeric: tabular-nums; }
.tile-count {
  position: absolute;
  top: 3px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  background: var(--ember);
  color: #fff;
  transform: scale(0);
  transition: transform 0.35s var(--spring);
}
.tile-count.on { transform: scale(1); }
.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  pointer-events: none;
  animation: spark 0.55s var(--ease-out) forwards;
}
@keyframes spark {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(0.5); opacity: 0; }
}
.confetti {
  position: absolute;
  left: 50%;
  top: 30%;
  border-radius: 50%;
  background: var(--plate);
  box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 5px var(--rim);
  pointer-events: none;
  z-index: 4;
  animation: confetti 1.5s ease-out forwards;
}
@keyframes confetti {
  from { transform: translate(-50%, 0) rotate(0); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), var(--dy)) rotate(var(--rot)); opacity: 0; }
}
.phone-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-3);
}
.phone-caption button {
  border: none;
  background: var(--glass-2);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

/* MARK: Steps */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
  position: relative;
  padding: 24px 20px;
  border-radius: 26px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.45s var(--spring), background 0.3s;
}
.step:hover { transform: translateY(-6px) rotate(-1deg); background: rgba(255, 255, 255, 0.09); }
.step-plate {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 900;
  color: var(--charcoal);
  background: var(--plate);
  box-shadow: inset 0 0 0 6px var(--plate), inset 0 0 0 10px var(--rim), 0 8px 18px rgba(0, 0, 0, 0.35);
}
.step:last-child .step-plate { color: var(--paid); }
.step h3 { font-size: 20px; font-weight: 900; }
.step p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.step .paid-word {
  display: inline-block;
  padding: 0 6px;
  border: 2.5px solid var(--paid);
  border-radius: 6px;
  color: var(--paid);
  letter-spacing: 1.5px;
  transform: rotate(-8deg);
  font-size: 13px;
}

/* MARK: Restaurant types */

.types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
@media (max-width: 520px) { .types { grid-template-columns: 1fr 1fr; } }
.type {
  --accent: var(--ember);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 50%, transparent);
  transition: transform 0.4s var(--spring), box-shadow 0.3s;
}
.type:hover { transform: translateY(-5px) scale(1.02) rotate(-1deg); box-shadow: inset 0 0 0 1.5px var(--accent), 0 16px 34px color-mix(in srgb, var(--accent) 25%, transparent); }
.type .tile-plate { width: 58px; height: 58px; color: var(--accent); box-shadow: inset 0 0 0 6px var(--plate), inset 0 0 0 9px var(--rim); }
.type .tile-plate .icon { width: 24px; height: 24px; stroke-width: 2.8; }
.type h3 { font-size: 18px; font-weight: 900; line-height: 1.15; }
.type p { font-size: 14px; color: var(--ink-2); }
.type .limit {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink-2);
}
@media (max-width: 520px) {
  .type { padding: 14px; }
  .type p { font-size: 13px; }
}

/* MARK: Features */

.features {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative;
  padding: 24px;
  border-radius: 26px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--spring), background 0.3s;
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--charcoal);
  background: var(--flame);
  box-shadow: 0 8px 20px rgba(255, 191, 51, 0.3);
}
.feature-icon.ember { background: var(--ember); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3); }
.feature-icon.paid { background: var(--paid); box-shadow: 0 8px 20px rgba(51, 199, 115, 0.3); }
.feature-icon.ocean { background: #5fb0ef; box-shadow: 0 8px 20px rgba(41, 143, 219, 0.3); }
.feature h3 { font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--charcoal);
  background: var(--flame);
}
.badge-premium .icon { width: 12px; height: 12px; stroke-width: 3; }

/* Mini visuals inside feature cards */
.mini { margin-top: 18px; }
.mini-board { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: var(--glass-2);
  font-size: 13px;
  font-weight: 900;
}
.mini-chip.me { box-shadow: inset 0 0 0 2px var(--ember); }
.mini-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 0 3px var(--plate), 0 0 0 5px var(--rim);
}
.mini-chip em { font-style: normal; color: var(--paid); }
.mini-code { display: flex; gap: 5px; }
.mini-code span {
  width: 34px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--charcoal);
  background: var(--plate);
}
.mini-cards { display: flex; gap: 8px; }
.mini-card {
  flex: 1;
  min-height: 92px;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  transition: transform 0.4s var(--spring);
}
.mini-card b { font-size: 18px; font-weight: 900; }
.feature:hover .mini-card:nth-child(1) { transform: rotate(-4deg) translateY(-4px); }
.feature:hover .mini-card:nth-child(3) { transform: rotate(4deg) translateY(-4px); }
.mini-badges { display: flex; gap: 10px; }
.medal {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  box-shadow: inset 0 0 0 3px rgba(250, 247, 240, 0.9), 0 6px 14px rgba(255, 107, 53, 0.35);
}
.medal.locked { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.35); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18); }
.medal .icon { width: 20px; height: 20px; }
.mini-activity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mini-ring { width: 40px; height: 40px; flex: none; }
.mini-activity b { display: block; font-size: 15px; font-weight: 900; }
.mini-activity span { font-size: 12px; color: var(--ink-3); }
.mini-scan {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--glass-2);
  font-size: 13px;
  font-weight: 800;
}
.mini-scan + .mini-scan { margin-top: 6px; }
.mini-scan .icon { width: 16px; height: 16px; color: var(--flame); }
.mini-scan span:last-child { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* MARK: Pricing */

.plans {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1.08fr; align-items: stretch; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  border-radius: 30px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan.premium {
  background: linear-gradient(170deg, rgba(255, 107, 53, 0.22), rgba(255, 191, 51, 0.06) 60%, rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 2px rgba(255, 191, 51, 0.55), 0 24px 60px rgba(255, 107, 53, 0.18);
}
.plan h3 { font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.plan h3 .icon { color: var(--flame); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 44px; font-weight: 900; line-height: 1; }
.price span { font-size: 15px; color: var(--ink-2); }
.price-alt { font-size: 15px; color: var(--ink-2); }
.price-alt strong { color: var(--flame); font-weight: 900; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks .icon { width: 20px; height: 20px; color: var(--paid); margin-top: 1px; stroke-width: 3; }
.checks li.muted { color: var(--ink-3); }
.checks li.muted .icon { color: var(--ink-3); }
.plan .btn { margin-top: auto; align-self: stretch; }
.packs {
  max-width: 960px;
  margin: 18px auto 0;
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-radius: 26px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 720px) { .packs { grid-template-columns: 1.3fr 1fr 1fr; align-items: center; } }
.packs h3 { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.packs h3 .icon { color: var(--flame); }
.packs p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--charcoal);
  background: var(--plate);
  transition: transform 0.4s var(--spring);
}
.pack:hover { transform: translateY(-3px) rotate(-1deg); }
.pack b { font-size: 18px; font-weight: 900; }
.pack span { font-size: 18px; font-weight: 900; color: var(--ember-deep); }
.fineprint {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

/* MARK: FAQ */

.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border-radius: 22px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.2s;
}
.faq details[open] { background: rgba(255, 255, 255, 0.08); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  border-radius: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { margin-left: auto; transition: transform 0.4s var(--spring); color: var(--flame); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 20px 20px; font-size: 16px; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--flame); }

/* MARK: Help */

.help {
  display: grid;
  gap: 20px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 26px;
  border-radius: 30px;
  color: var(--charcoal);
  background: var(--plate);
  box-shadow: inset 0 0 0 6px var(--plate), inset 0 0 0 10px var(--rim), 0 24px 60px rgba(0, 0, 0, 0.4);
}
@media (min-width: 820px) { .help { grid-template-columns: auto 1fr auto; padding: 34px 40px; } }
.help-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ember-deep);
}
.help-icon .icon { width: 34px; height: 34px; }
.help h2 { font-size: 28px; font-weight: 900; line-height: 1.1; }
.help p { margin-top: 6px; font-size: 16px; color: rgba(33, 31, 33, 0.78); }
.help p a { color: var(--ember-deep); font-weight: 900; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.help .btn-ghost { color: var(--charcoal); box-shadow: inset 0 0 0 2px rgba(33, 31, 33, 0.3); }
.help .btn-ghost:hover { box-shadow: inset 0 0 0 2px rgba(33, 31, 33, 0.6); }

/* MARK: Final CTA */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0 120px;
  text-align: center;
}
.cta-flames { position: absolute; left: 0; right: 0; bottom: 0; height: 75%; z-index: -1; pointer-events: none; }
.cta img { width: 140px; height: 140px; margin: 0 auto 18px; filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.5)); }
.cta .hero-actions { justify-content: center; }

/* MARK: Footer */

.footer {
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #0d0b0c;
}
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); }
.footer-brand img { width: 36px; height: 36px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer nav a { font-size: 15px; font-weight: 800; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.footer nav a:hover { color: var(--flame); }

/* MARK: Scroll reveal (springy) */

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--spring);
  transition-delay: var(--delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Static glow used instead of animated flames when motion is reduced. */
.glow-fallback { background: linear-gradient(0deg, rgba(255, 107, 53, 0.45), transparent); width: 100%; height: 100%; }

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

/* MARK: Legal pages (/privacy, /terms) */

.legal-hero {
  position: relative;
  padding: 56px 0 40px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255, 107, 53, 0.16), transparent 70%),
    linear-gradient(180deg, var(--charcoal), #120f11);
}
.legal-hero .hero-flames { height: 70%; opacity: 0.45; }
.legal-hero img { width: 88px; height: 88px; margin: 0 auto 14px; filter: drop-shadow(0 0 24px rgba(255, 107, 53, 0.45)); }
.legal-hero .updated { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
.legal-layout {
  display: grid;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 72px;
}
@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 240px 1fr; align-items: start; gap: 40px; }
}
.toc {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 960px) { .toc { position: sticky; top: 84px; } }
.toc h2 { font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--flame); margin-bottom: 10px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: block;
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.toc a:hover { color: #fff; background: var(--glass-2); }
@media (max-width: 959px) {
  .toc ol { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc a { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--glass-2); font-size: 13px; }
}
.legal-doc {
  padding: 28px 24px;
  border-radius: 28px;
  color: var(--charcoal);
  background: var(--plate);
  box-shadow: inset 0 0 0 6px var(--plate), inset 0 0 0 10px var(--rim), 0 24px 60px rgba(0, 0, 0, 0.4);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  min-width: 0;
}
@media (min-width: 720px) { .legal-doc { padding: 40px 48px; } }
.legal-doc h2 {
  scroll-margin-top: 12px;
  margin: 34px 0 10px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--charcoal);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px var(--plate), 0 0 0 5px var(--rim);
  vertical-align: 2px;
}
.legal-doc p, .legal-doc ul { margin: 0 0 12px; color: rgba(33, 31, 33, 0.82); }
.legal-doc ul { list-style: disc; padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc li::marker { color: var(--ember-deep); }
.legal-doc strong { color: var(--charcoal); font-weight: 900; }
.legal-doc a { color: var(--ember-deep); font-weight: 800; overflow-wrap: anywhere; }

/* MARK: Guides (/guides) */

.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 800; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--flame); }
.legal-hero .lede { max-width: 640px; margin: 12px auto 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.legal-doc h3 { margin: 22px 0 8px; font-size: 18.5px; font-weight: 900; line-height: 1.25; color: var(--charcoal); }
.legal-doc ol { list-style: decimal; padding-left: 22px; margin: 0 0 12px; color: rgba(33, 31, 33, 0.82); }
.legal-doc ol li::marker { color: var(--ember-deep); font-weight: 900; }
.table-scroll { margin: 4px 0 16px; overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--rim); }
.value-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.value-table caption { caption-side: bottom; padding: 8px 12px; text-align: left; font-size: 13px; color: #5c595a; }
.value-table th, .value-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--rim); vertical-align: top; }
.value-table thead th { font-size: 12.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: #a3370b; background: #f3eee3; }
.value-table td.num, .value-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.value-table tbody tr:last-child td { border-bottom: 0; }
.callout { margin: 6px 0 18px; padding: 16px 18px; border-radius: 18px; background: #fff3e8; box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.35); }
.callout p:last-child { margin-bottom: 0; }
.callout .label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: #a3370b; }
.app-cta { display: grid; gap: 14px; align-items: center; margin: 28px 0 8px; padding: 20px; border-radius: 22px; color: var(--ink); background: linear-gradient(135deg, #2b2629, var(--charcoal)); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.app-cta img { width: 56px; height: 56px; }
.app-cta p { margin: 0; color: var(--ink-2); }
.app-cta strong { color: var(--ink); }
.legal-doc .app-cta a.btn { color: #fff; text-decoration: none; justify-self: start; white-space: nowrap; }
@media (min-width: 640px) { .app-cta { grid-template-columns: 56px 1fr auto; } }
.guide-meta { margin-top: 26px; padding-top: 14px; border-top: 2px dashed var(--rim); font-size: 14px; color: #5c595a; }
.guide-grid { display: grid; gap: 16px; padding-top: 8px; padding-bottom: 72px; }
@media (min-width: 720px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
.guide-card { display: block; padding: 22px; border-radius: 24px; text-decoration: none; color: var(--charcoal); background: var(--plate); box-shadow: inset 0 0 0 5px var(--plate), inset 0 0 0 8px var(--rim); transition: transform 0.3s var(--spring); }
.guide-card:hover { transform: translateY(-4px); }
.guide-card .tag { font-size: 12.5px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: #a3370b; }
.guide-card h2 { margin: 6px 0 8px; font-size: 21px; font-weight: 900; line-height: 1.25; }
.guide-card p { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.5; color: rgba(33, 31, 33, 0.78); }
.related { margin-top: 22px; }

/* Guide hero badge: a plate with the cuisine icon and rising steam. */
.guide-badge { position: relative; width: 96px; height: 96px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--plate); box-shadow: inset 0 0 0 6px var(--plate), inset 0 0 0 9px var(--rim), 0 0 40px rgba(255, 107, 53, 0.45); animation: badge-bob 4s ease-in-out infinite; }
.guide-badge .icon { width: 42px; height: 42px; color: var(--ember-deep); stroke-width: 2.2; }
.guide-badge .steam { position: absolute; bottom: 82%; width: 8px; height: 30px; border-radius: 8px; background: linear-gradient(0deg, rgba(255, 255, 255, 0.55), transparent); filter: blur(2px); opacity: 0; animation: steam 2.6s ease-out infinite; }
.guide-badge .steam:nth-child(1) { left: 30%; }
.guide-badge .steam:nth-child(2) { left: 47%; animation-delay: 0.8s; }
.guide-badge .steam:nth-child(3) { left: 63%; animation-delay: 1.6s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px) scaleY(0.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px) scaleY(1.2) translateX(4px); } }
@keyframes badge-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }

/* Break-even plate run. Static markup is the finished meal; guides.js replays it. */
.breakeven { position: relative; margin: 10px 0 22px; padding: 20px; border-radius: 24px; color: var(--ink); background: radial-gradient(420px 200px at 20% 0%, rgba(255, 107, 53, 0.22), transparent 70%), linear-gradient(180deg, #2a2528, var(--charcoal)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); overflow: hidden; }
.be-head { position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.be-gauge { --p: 1; --ring: var(--ember); position: relative; flex: none; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring) calc(var(--p) * 360deg), rgba(255, 255, 255, 0.1) 0); }
.paid .be-gauge { --ring: var(--paid); }
.be-face { width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--charcoal); background: var(--plate); box-shadow: inset 0 0 0 5px var(--rim); }
.be-face small { font-size: 10.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(33, 31, 33, 0.55); }
.be-face strong { font-size: 21px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--debt); }
.paid .be-face strong { color: #1f9d57; }
.be-stamp { position: absolute; left: 58px; top: 100px; padding: 1px 9px; border: 4px solid var(--paid); border-radius: 10px; font-size: 22px; font-weight: 900; letter-spacing: 3px; color: var(--paid); background: rgba(33, 31, 33, 0.6); transform: rotate(-14deg); opacity: 0; pointer-events: none; }
.paid .be-stamp { opacity: 1; animation: stamp-slam 0.5s var(--spring); }
@keyframes stamp-slam { 0% { opacity: 0; transform: rotate(-14deg) scale(2.4); } 60% { opacity: 1; transform: rotate(-14deg) scale(0.92); } 100% { transform: rotate(-14deg) scale(1); } }
.be-copy { flex: 1 1 200px; min-width: 0; }
.be-copy .be-title { display: block; font-size: 18px; font-weight: 900; color: var(--ink); }
.be-copy p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.legal-doc .be-copy p { color: var(--ink-2); }
.be-plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.legal-doc .be-plates { padding: 0; list-style: none; }
.be-plates li { margin: 0; text-align: center; transition: opacity 0.35s, transform 0.55s var(--spring); }
.be-dish-plate { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--plate); box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 6px var(--rim), 0 6px 14px rgba(0, 0, 0, 0.35); font-size: 14px; font-weight: 900; color: var(--ember-deep); font-variant-numeric: tabular-nums; }
.be-plates .be-dish { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.25; color: var(--ink-2); }
.be-plates li.over .be-dish-plate { box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 6px var(--paid), 0 6px 14px rgba(0, 0, 0, 0.35); color: #1f9d57; }
.armed .be-plates li:not(.on) { opacity: 0; transform: translateY(-46px) scale(0.5) rotate(-20deg); }
.be-replay { margin-top: 16px; padding: 8px 16px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 900; color: var(--ink); background: var(--glass-2); cursor: pointer; }
.be-replay:hover { background: rgba(255, 255, 255, 0.18); }
.running .be-replay { visibility: hidden; }
.breakeven figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
@media (min-width: 720px) { .breakeven { padding: 26px 28px; } }

/* Dish value bars. */
.value-bars { margin: 8px 0 20px; padding: 18px 18px 14px; border-radius: 20px; background: #f3eee3; box-shadow: inset 0 0 0 2px var(--rim); }
.value-bars figcaption { margin-bottom: 12px; font-size: 13px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: #a3370b; }
.legal-doc .value-bars ul { list-style: none; padding: 0; margin: 0; }
.value-bars li { display: grid; grid-template-columns: minmax(0, 11em) 1fr auto; align-items: center; gap: 10px; margin: 0 0 8px; }
.vb-name { font-size: 14px; font-weight: 800; line-height: 1.2; color: var(--charcoal); }
.vb-track { height: 14px; border-radius: 999px; background: rgba(33, 31, 33, 0.08); overflow: hidden; }
.vb-fill { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--flame), var(--ember)); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 150ms); }
.value-bars li.low .vb-fill { background: linear-gradient(90deg, #c9c2b4, #a59d8e); }
.value-bars.in .vb-fill, .no-js .vb-fill { transform: none; }
.vb-val { font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--charcoal); }
@media (max-width: 520px) { .value-bars li { grid-template-columns: 1fr auto; } .vb-track { grid-column: 1 / -1; grid-row: 2; } }

/* Hub card icons. */
.guide-card .gc-icon { width: 54px; height: 54px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; background: #fff3e8; box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.35); transition: transform 0.4s var(--spring); }
.guide-card .gc-icon .icon { width: 26px; height: 26px; color: var(--ember-deep); }
.guide-card:hover .gc-icon { transform: rotate(-10deg) scale(1.1); }

/* Break-even calculator. */
.be-calc { margin: 10px 0 22px; padding: 20px; border-radius: 24px; color: var(--ink); background: radial-gradient(420px 200px at 85% 0%, rgba(255, 191, 51, 0.18), transparent 70%), linear-gradient(180deg, #2a2528, var(--charcoal)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
.calc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.calc-kicker { font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--flame); }
.calc-total { font-size: 15px; color: var(--ink-2); }
.calc-total strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (min-width: 900px) { .calc-form { grid-template-columns: 1.2fr 0.8fr 0.8fr 1.6fr; } }
.calc-form label { min-width: 0; display: grid; gap: 6px; font-size: 13px; font-weight: 900; color: var(--ink-2); }
.calc-input { display: flex; align-items: center; gap: 4px; padding: 0 12px; height: 46px; border-radius: 14px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; font-weight: 900; color: var(--ink-3); }
.calc-input:focus-within { box-shadow: inset 0 0 0 2px var(--ember); }
.calc-input input, .calc-input select { flex: 1; width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.calc-input select option { color: var(--charcoal); }
.calc-out { display: grid; gap: 14px; }
.calc-row { padding: 14px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.calc-num { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.calc-num strong { min-width: 2.2ch; font-size: 34px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-num span { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.calc-num b { color: var(--ink); }
.prem .calc-num strong { color: var(--paid); }
.fill .calc-num strong { color: var(--debt); }
.calc-dots { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.calc-dots .d { width: 18px; height: 18px; border-radius: 50%; background: var(--plate); box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 5px var(--rim); animation: dot-pop 0.45s var(--spring) both; animation-delay: calc(var(--i, 0) * 25ms); }
.prem .calc-dots .d { box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 5px var(--paid); }
.fill .calc-dots .d { box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 5px var(--debt); }
.calc-dots em { font-style: normal; font-size: 13px; font-weight: 900; color: var(--ink-2); }
@keyframes dot-pop { from { opacity: 0; transform: translateY(-10px) scale(0.3); } }
.be-calc figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

.legal-doc .guide-note { margin-top: 18px; font-size: 13.5px; color: #5c595a; }
