/* Yumlate landing (fas 5c v3) — components on top of Tailwind CDN utilities.
   Brand tokens mirror lib/core/constants/app_colors.dart. */

:root {
  --navy: #0a192f;
  --deep: #132f4c;
  --surface: #112240;
  --coral: #ff5f3d;
  --text: #ccd6f6;
  --muted: #8b9bb4;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body.landing {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--text);
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(255, 95, 61, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 12%, rgba(80, 140, 200, 0.12), transparent 50%),
    linear-gradient(165deg, #0a192f 0%, #132f4c 48%, #0a192f 100%);
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  body.landing {
    background-attachment: fixed;
  }
}

::selection {
  background: rgba(255, 95, 61, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Nav ---------- */

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Always-visible EN · SV control (header quick pick, incl. mobile). */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.45rem 0.15rem;
}

.lang-switch-current {
  color: #fff;
}

.lang-switch-sep {
  color: var(--muted);
  font-weight: 600;
}

.lang-switch-link {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch-link:hover,
.lang-switch-link:focus-visible {
  color: var(--coral);
}

#mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  /* Solid, not translucent: nesting a backdrop-filter inside the header's
     own backdrop-filter makes the panel sample the wrong backdrop. */
  background: #0b1b31;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(2, 8, 20, 0.45);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}

#mobile-panel[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

#mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(2, 8, 20, 0.6);
  border: 0;
}

/* ---------- Buttons ---------- */

.btn-primary,
.btn-secondary {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-primary {
  box-shadow: 0 10px 24px rgba(255, 95, 61, 0.28);
}

/* ---------- Eyebrow + section rhythm ---------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.group:hover .arrow,
a:hover > .arrow {
  transform: translateX(3px);
}

/* ---------- Motion ---------- */

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-in {
  animation: heroIn 0.7s ease-out both;
}

.hero-in-1 {
  animation: heroIn 0.7s ease-out 0.08s both;
}

.hero-in-2 {
  animation: heroIn 0.7s ease-out 0.16s both;
}

.hero-in-3 {
  animation: heroIn 0.7s ease-out 0.24s both;
}

.hero-in-visual {
  animation: heroIn 0.9s ease-out 0.2s both;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.82);
  }
}

.pulse-dot {
  animation: pulseDot 1.6s ease-in-out infinite;
}

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

/* ---------- Store badges ---------- */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 10px;
}

.badge img {
  height: 52px;
  width: auto;
  display: block;
}

/* Google's asset ships with transparent padding baked in, so it needs a
   larger box to read as the same size as Apple's. */
.badge img[src*="google-play"] {
  height: 70px;
  margin: -9px 0;
}

.badge[aria-disabled="true"] {
  opacity: 0.62;
  filter: grayscale(0.15);
  cursor: default;
}

a.badge {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

a.badge:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Inline "Premium" marker inside a display-font heading. */
.tag-premium {
  vertical-align: middle;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(255, 95, 61, 0.14);
  border: 1px solid rgba(255, 95, 61, 0.4);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

/* ---------- Waitlist form ---------- */

.field {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field::placeholder {
  color: var(--muted);
}

.field:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255, 255, 255, 0.09);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status[data-state="error"] {
  color: #ff9d86;
}

.form-status[data-state="ok"] {
  color: #7ee2b8;
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--coral);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding-bottom: 1.15rem;
  color: var(--text);
  opacity: 0.85;
  line-height: 1.65;
  max-width: 62ch;
}

/* ---------- Phone mockup shell ----------
   The screen is a query container and `.ui` inside it sets the type scale,
   so 1em = 10 logical device px on a 390px-wide phone. The font-size must
   live on a descendant: container units in a container's own declarations
   resolve against its ancestor, not itself. Swapping the contents for
   <img src="screenshot.png"> needs no layout change. */

.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 20rem;
  margin: 0;
}

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 19.5;
  padding: 0.6rem;
  border-radius: 2.6rem;
  background: linear-gradient(160deg, #26374f 0%, #0d1c33 45%, #223550 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 60px rgba(2, 8, 20, 0.55),
    0 8px 20px rgba(2, 8, 20, 0.4);
}

.phone-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.55rem;
  border-radius: 999px;
  background: #05101f;
}

.phone-screen {
  container-type: inline-size;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2.1rem;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  flex-direction: column;
}

.phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-glow {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255, 95, 61, 0.22), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

/* ---------- In-screen app UI ---------- */

.ui {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--navy);
  color: var(--text);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: calc(100cqw / 39);
  line-height: 1.3;
}

.ui-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2em 1.8em 0.4em;
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
}

.ui-status span:last-child {
  letter-spacing: 0.1em;
}

.ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8em 1.6em;
}

.ui-appbar {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 0.6em 1.6em 1em;
}

.ui-appbar-title {
  color: #fff;
  font-size: 1.8em;
  font-weight: 600;
}

.ui-appbar-sub {
  color: rgba(204, 214, 246, 0.7);
  font-size: 1.2em;
}

.ui-icons {
  display: flex;
  align-items: center;
  gap: 1em;
}

.ui-icon {
  width: 2.2em;
  height: 2.2em;
  color: var(--coral);
}

.ui-icon-w {
  color: #fff;
}

.ui-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Home */

.ui-home-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.4em;
}

.ui-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  padding: 1.2em 1.8em;
  border-radius: 2em;
  background: linear-gradient(150deg, #1b3357 0%, #112240 55%, #0c1a30 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 0.8em 1.6em rgba(2, 8, 20, 0.5);
}

.ui-plate svg {
  width: 4em;
  height: 4em;
}

.ui-wordmark {
  font-size: 2.45em;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ui-wordmark .yum { color: var(--coral); }
.ui-wordmark .late { color: #fff; }

.ui-snap {
  position: relative;
  width: 17em;
  height: 17em;
  border-radius: 4.3em;
  background: linear-gradient(135deg, #ff8a6a 0%, #ff5f3d 52%, #e04528 100%);
  border: 0.12em solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1em 2.2em rgba(255, 95, 61, 0.45),
    0 -0.1em 0 rgba(255, 255, 255, 0.35) inset,
    0 0.4em 0.8em rgba(2, 8, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ui-snap::before {
  content: "";
  position: absolute;
  inset: 0 0 72% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
}

.ui-snap svg {
  position: relative;
  width: 9.4em;
  height: 9.4em;
  color: #fff;
}

.ui-invite {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin: 0 2.4em 2em;
  padding: 1.2em 1.4em;
  border: 0.1em solid rgba(139, 155, 180, 0.22);
  border-radius: 2em;
}

.ui-invite-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4em;
  height: 4em;
  border-radius: 1.4em;
  background: var(--surface);
  flex-shrink: 0;
}

.ui-invite-box svg {
  width: 2.2em;
  height: 2.2em;
  color: var(--coral);
}

.ui-invite-title {
  flex: 1;
  font-size: 1.4em;
  font-weight: 500;
  color: var(--text);
}

.ui-invite-cta {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
}

/* Bottom nav */

.ui-nav {
  display: flex;
  margin: 0 2em 1.4em;
  padding: 1em 0.6em;
  border-radius: 2.8em;
  background: var(--surface);
  box-shadow: 0 0.8em 1.8em rgba(2, 8, 20, 0.5);
}

.ui-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  color: #fff;
}

.ui-nav-item svg {
  width: 2.4em;
  height: 2.4em;
}

.ui-nav-item span {
  font-size: 1.05em;
  font-weight: 600;
  white-space: nowrap;
}

.ui-nav-item[data-active="true"] {
  color: var(--coral);
}

.ui-nav-item[data-active="true"] span {
  font-weight: 700;
}

/* Sort chips */

.ui-chips {
  display: flex;
  gap: 0.8em;
  padding: 0 1.6em 1em;
}

.ui-chip {
  padding: 0.5em 1.2em;
  border-radius: 2em;
  font-size: 1.3em;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 0.08em solid rgba(139, 155, 180, 0.4);
}

.ui-chip[data-active="true"] {
  background: rgba(255, 95, 61, 0.28);
  border-color: var(--coral);
  color: #fff;
  font-weight: 600;
}

/* Dish cards */

.ui-list {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 1.6em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.ui-dish {
  padding: 1.6em;
  border-radius: 1.6em;
  background: var(--surface);
  border: 0.1em solid rgba(204, 214, 246, 0.12);
  box-shadow: 0 0.4em 1.2em rgba(2, 8, 20, 0.35);
}

.ui-dish[data-selected="true"] {
  border: 0.15em solid rgba(255, 95, 61, 0.85);
}

.ui-dish-top {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.ui-dish-name {
  flex: 1;
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1.2;
}

.ui-dish-help {
  width: 2.2em;
  height: 2.2em;
  color: var(--coral);
  flex-shrink: 0;
}

.ui-dish-prices {
  text-align: right;
  flex-shrink: 0;
}

.ui-price {
  color: var(--coral);
  font-size: 1.6em;
  font-weight: 700;
}

.ui-price-alt {
  color: rgba(204, 214, 246, 0.75);
  font-size: 1.2em;
  font-weight: 600;
}

.ui-dish-cat {
  margin-top: 0.5em;
  color: rgba(255, 95, 61, 0.85);
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ui-dish-orig {
  margin-top: 0.2em;
  color: rgba(204, 214, 246, 0.65);
  font-size: 1.3em;
  font-style: italic;
}

.ui-dish-desc {
  margin-top: 0.6em;
  color: var(--text);
  font-size: 1.4em;
  line-height: 1.35;
}

.ui-mark {
  background: rgba(255, 95, 61, 0.18);
  color: var(--coral);
  font-weight: 600;
  border-radius: 0.2em;
  padding: 0 0.15em;
}

.ui-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  margin-top: 0.9em;
}

.ui-allergen {
  padding: 0.5em 1em;
  border-radius: 2em;
  font-size: 1.2em;
  font-weight: 500;
  background: rgba(204, 214, 246, 0.08);
  border: 0.08em solid rgba(204, 214, 246, 0.28);
  color: rgba(204, 214, 246, 0.75);
}

.ui-allergen[data-match="true"] {
  background: var(--coral);
  border: 0.12em solid var(--coral);
  color: #fff;
  font-weight: 700;
}

/* Order bar / sheet */

.ui-orderbar {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 1.2em 1.6em;
  background: var(--surface);
}

.ui-orderbar svg {
  width: 2.2em;
  height: 2.2em;
  color: var(--coral);
  flex-shrink: 0;
}

.ui-orderbar-title {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
}

.ui-orderbar-sub {
  color: var(--muted);
  font-size: 1.2em;
}

.ui-cta {
  margin: 1.2em 1.6em 1.6em;
  padding: 1.4em;
  border-radius: 1.4em;
  background: var(--coral);
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0.6em 1.4em rgba(255, 95, 61, 0.3);
}

.ui-sheet {
  margin-top: auto;
  background: var(--surface);
  border-radius: 2em 2em 0 0;
  padding: 1.2em 2em 2em;
  box-shadow: 0 -1em 2.4em rgba(2, 8, 20, 0.5);
}

.ui-handle {
  width: 4em;
  height: 0.4em;
  border-radius: 0.2em;
  background: rgba(204, 214, 246, 0.35);
  margin: 0 auto 1.4em;
}

.ui-sheet-title {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
}

.ui-warn {
  margin-top: 1.2em;
  padding: 1.2em;
  border-radius: 1.2em;
  background: rgba(255, 95, 61, 0.18);
  border: 0.1em solid var(--coral);
}

.ui-warn-title {
  color: var(--coral);
  font-size: 1.3em;
  font-weight: 700;
}

.ui-warn-body {
  color: var(--text);
  font-size: 1.3em;
}

.ui-line {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-top: 1em;
  padding: 1em 1.2em;
  border-radius: 1.4em;
  background: rgba(204, 214, 246, 0.05);
}

.ui-line-name {
  flex: 1;
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
}

.ui-line-orig {
  color: rgba(204, 214, 246, 0.65);
  font-size: 1.2em;
  font-style: italic;
}

.ui-qty {
  display: flex;
  align-items: center;
  gap: 0.8em;
  flex-shrink: 0;
}

.ui-qty-btn {
  width: 3.4em;
  height: 3.4em;
  border-radius: 0.8em;
  background: rgba(204, 214, 246, 0.1);
  color: #fff;
  font-size: 1.4em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-qty-val {
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
  min-width: 1.2em;
  text-align: center;
}

.ui-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.6em;
}

.ui-total-label {
  color: #fff;
  font-size: 1.6em;
  font-weight: 600;
}

.ui-total-main {
  color: var(--coral);
  font-size: 1.8em;
  font-weight: 700;
}

.ui-total-alt {
  color: rgba(204, 214, 246, 0.75);
  font-size: 1.3em;
  font-weight: 600;
}

.ui-speak {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  margin-top: 1.4em;
  padding: 1.3em;
  border-radius: 1.4em;
  background: var(--coral);
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
}

.ui-speak svg {
  width: 1.3em;
  height: 1.3em;
}

/* Map */

.ui-map {
  position: relative;
  flex: 1;
  min-height: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(80, 140, 200, 0.16), transparent 45%),
    linear-gradient(160deg, #14263f 0%, #0d1b30 100%);
  overflow: hidden;
}

.ui-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.ui-map-grid path {
  stroke: rgba(204, 214, 246, 0.14);
  fill: none;
  stroke-width: 1.4;
}

.ui-map-grid .water {
  fill: rgba(80, 140, 200, 0.14);
  stroke: none;
}

.ui-map-grid .park {
  fill: rgba(110, 190, 150, 0.12);
  stroke: none;
}

.ui-pin {
  position: absolute;
  width: 2.6em;
  height: 2.6em;
  color: var(--coral);
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 0.3em 0.5em rgba(2, 8, 20, 0.6));
}

.ui-pin[data-dim="true"] {
  color: rgba(255, 95, 61, 0.55);
  width: 2em;
  height: 2em;
}

.ui-badge-count {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2em;
  height: 3.2em;
  border-radius: 999px;
  background: rgba(80, 140, 200, 0.9);
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  transform: translate(-50%, -50%);
  border: 0.15em solid rgba(255, 255, 255, 0.5);
}

.ui-rating {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--coral);
  font-size: 1.3em;
  font-weight: 600;
}

.ui-rating svg {
  width: 1.4em;
  height: 1.4em;
}

.ui-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  margin-top: 1em;
  padding: 1.2em;
  border-radius: 1.4em;
  border: 0.1em solid rgba(139, 155, 180, 0.45);
  color: var(--text);
  font-size: 1.5em;
  font-weight: 600;
}

.ui-outline svg {
  width: 1.2em;
  height: 1.2em;
}

.ui-note {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.8em;
  color: var(--muted);
  font-size: 1.2em;
}

/* Loading (3-step strip) */

.ui-steps {
  padding: 0 2.4em;
  display: flex;
  flex-direction: column;
  gap: 1.6em;
}

.ui-step {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.ui-step-dot {
  width: 2.2em;
  height: 2.2em;
  border-radius: 999px;
  background: var(--surface);
  border: 0.15em solid rgba(139, 155, 180, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1em;
}

.ui-step[data-state="done"] .ui-step-dot {
  background: var(--coral);
  border-color: var(--coral);
}

.ui-step[data-state="active"] .ui-step-dot {
  background: rgba(255, 95, 61, 0.25);
  border-color: var(--coral);
}

.ui-step-label {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text);
}

.ui-step[data-state="done"] .ui-step-label,
.ui-step[data-state="active"] .ui-step-label {
  color: #fff;
}

.ui-step[data-state="pending"] {
  opacity: 0.4;
}

.ui-progress {
  height: 0.4em;
  border-radius: 0.4em;
  background: var(--surface);
  margin: 0 2.4em 2.4em;
  overflow: hidden;
}

.ui-progress > div {
  height: 100%;
  width: 62%;
  border-radius: 0.4em;
  background: var(--coral);
}
