/* Frizzi website: royal black and gold, the same family as the apps
   (packages/design_system/lib/src/tokens/entangle_colors.dart, dark mode). */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #0b0a08;
  --sidebar: #0e0c09;
  --surface: #15130f;
  --surface-2: #1d1a15;
  --surface-3: #2a261f;
  --border: rgba(201, 164, 92, 0.14);
  --border-strong: rgba(201, 164, 92, 0.28);
  --ink: #f7f3ea;
  --ink-2: #cfc8ba;
  --muted: #a39b8c;
  --gold: #d9b25f;
  --gold-text: #e8c77a;
  --gold-light: #f6e3a8;
  --gold-deep: #b8893a;
  --on-gold: #1a1408;
  --gold-soft: rgba(217, 178, 95, 0.13);
  --positive: #5fd39a;
  --negative: #ff8a7a;
  --gold-gradient: linear-gradient(180deg, #f6e3a8 0%, #d9b25f 55%, #b8893a 100%);
  --button-gradient: linear-gradient(180deg, #ecca7e 0%, #d9b25f 50%, #c49a48 100%);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

[hidden] {
  display: none !important;
}

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

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

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.display em,
.title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.lead {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 40rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.98rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
  white-space: nowrap;
}
.btn-gold {
  background: var(--button-gradient);
  color: var(--on-gold);
  box-shadow: 0 8px 28px -10px rgba(217, 178, 95, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover {
  color: var(--on-gold);
  transform: translateY(-1px);
  box-shadow: 0 12px 34px -10px rgba(217, 178, 95, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold-soft);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9rem;
}
.btn .arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.center .actions {
  justify-content: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 8, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 6px 0;
}
.brand img {
  height: 30px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.site-nav a[aria-current="page"] {
  color: var(--gold-text);
}
.header-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg {
  margin: auto;
}

@media (max-width: 959px) {
  .menu-toggle {
    display: grid;
  }
  .site-nav {
    display: none;
  }
  .header-actions .btn-ghost {
    display: none;
  }
  .header-actions {
    margin-left: 4px;
  }
  .site-header.open .site-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 20px;
    background: rgba(11, 10, 8, 0.97);
    border-bottom: 1px solid var(--border);
  }
  .site-header.open .site-nav a {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .site-nav .nav-login {
    display: block;
  }
  /* Without JavaScript the menu button can't work: show the links in a row. */
  .no-js .menu-toggle {
    display: none;
  }
  .no-js .header-row {
    flex-wrap: wrap;
  }
  .no-js .site-nav {
    display: flex;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    margin: 0 0 8px;
  }
}
@media (min-width: 960px) {
  .site-nav .nav-login {
    display: none;
  }
}
@media (max-width: 380px) {
  .brand img {
    height: 26px;
  }
  .header-actions .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 11vw, 120px) 0;
  position: relative;
}
.section-tight {
  padding: clamp(40px, 7vw, 72px) 0;
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(32px, 6vw, 56px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
}
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 9vw, 104px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 120%;
  background:
    radial-gradient(ellipse 50% 45% at 22% 18%, rgba(217, 178, 95, 0.2), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 30%, rgba(184, 137, 58, 0.12), transparent 70%);
  pointer-events: none;
}
.hero > .shell {
  position: relative;
}
.hero-grid {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1.02fr 1fr;
  }
}
.hero .lead {
  margin-bottom: 30px;
}
.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-note strong {
  color: var(--ink-2);
  font-weight: 600;
}
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 9vw, 96px) 0 clamp(36px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 140%;
  background: radial-gradient(ellipse 45% 50% at 20% 20%, rgba(217, 178, 95, 0.16), transparent 70%);
  pointer-events: none;
}
.page-hero > .shell {
  position: relative;
}

/* ---------- Facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  padding: 22px 22px 20px;
  background: var(--surface);
}
.fact b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--gold-text);
}
.fact span {
  color: var(--ink-2);
  font-size: 0.93rem;
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 16px;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.card {
  position: relative;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 0.97rem;
  margin: 0;
}
.card p + p {
  margin-top: 0.7em;
}
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
a.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-text);
  font-size: 0.9rem;
  font-weight: 600;
}
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  color: var(--gold-text);
}
.icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- Spotlight rows ---------- */

.spot {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .spot {
    grid-template-columns: 1fr 1fr;
  }
  .spot.flip > :first-child {
    order: 2;
  }
}
.spot + .spot {
  margin-top: clamp(72px, 11vw, 128px);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23E8C77A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 1px solid var(--border-strong);
}
.ticks li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Tags ---------- */

.tag {
  display: inline-block;
  vertical-align: 0.12em;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--gold-text);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-pro {
  background: var(--gold-soft);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-2);
  font-size: 0.85rem;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

/* ---------- Mock device frames (illustrations, sample data only) ---------- */

.mock-stage {
  position: relative;
  padding: 0 0 36px;
}
.frame {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(160deg, #2b2720, #121009 60%);
  border: 1px solid rgba(217, 178, 95, 0.22);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 80px -40px rgba(217, 178, 95, 0.25);
}
.screen {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ground);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink);
}
.frame-tablet .screen {
  aspect-ratio: 16 / 10.4;
}
.frame-phone {
  width: min(250px, 62%);
  border-radius: 34px;
  padding: 8px;
}
.frame-phone .screen {
  aspect-ratio: 9 / 19;
  border-radius: 27px;
}
.mock-stage .frame-tablet {
  width: 84%;
}
.mock-stage .frame-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(200px, 31%);
}
.mock-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
.mock-stage .mock-caption {
  text-align: left;
  max-width: 55%;
}

/* Till mock */
.m-till {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  height: 100%;
}
.m-pane {
  padding: 4.2% 4%;
  min-width: 0;
}
.m-pane + .m-pane {
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.m-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4%;
}
.m-h {
  font-family: var(--serif);
  font-size: clamp(13px, 2.2vw, 20px);
  line-height: 1;
}
.m-h em {
  font-style: italic;
  color: var(--gold-text);
}
.m-search {
  flex: 1;
  max-width: 50%;
  height: clamp(16px, 2.6vw, 26px);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.m-chips {
  display: flex;
  gap: 4px;
  margin-bottom: 4%;
  overflow: hidden;
}
.m-chip {
  flex: none;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-size: clamp(7px, 1.05vw, 11px);
  white-space: nowrap;
}
.m-chip.on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
}
.m-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(4px, 0.8vw, 8px);
}
.m-tile {
  padding: 9% 8% 8%;
  border-radius: clamp(6px, 1vw, 12px);
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 0;
}
.m-tile.on {
  border-color: rgba(217, 178, 95, 0.55);
  background: linear-gradient(180deg, rgba(217, 178, 95, 0.16), var(--surface));
}
.m-tile i {
  display: block;
  width: 34%;
  aspect-ratio: 1;
  margin-bottom: 14%;
  border-radius: 30%;
  background: linear-gradient(140deg, rgba(246, 227, 168, 0.5), rgba(184, 137, 58, 0.25));
}
.m-tile b,
.m-line b {
  display: block;
  font-size: clamp(7px, 1.1vw, 11.5px);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-tile span,
.m-line span {
  display: block;
  color: var(--muted);
  font-size: clamp(6.5px, 0.95vw, 10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-bill-title {
  font-size: clamp(8px, 1.2vw, 12px);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6%;
}
.m-line {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 5% 0;
  border-bottom: 1px solid var(--border);
}
.m-line > div {
  min-width: 0;
}
.m-line em {
  font-style: normal;
  font-size: clamp(7px, 1.1vw, 11.5px);
  font-feature-settings: "tnum";
}
.m-hint {
  margin: 6% 0;
  padding: 5% 6%;
  border-radius: clamp(6px, 0.9vw, 10px);
  border: 1px dashed rgba(217, 178, 95, 0.5);
  background: var(--gold-soft);
  color: var(--gold-light);
  font-size: clamp(6.5px, 1vw, 10.5px);
}
.m-total {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: clamp(8px, 1.2vw, 12px);
  color: var(--ink-2);
}
.m-total strong {
  font-family: var(--serif);
  font-size: clamp(14px, 2.4vw, 24px);
  color: var(--ink);
  font-weight: 400;
}
.m-pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 5%;
}
.m-pay span {
  padding: 0.5em 0;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: clamp(6.5px, 1vw, 10.5px);
  color: var(--ink-2);
}
.m-pay span.on {
  border-color: var(--gold);
  color: var(--gold-text);
}
.m-charge {
  margin-top: 5%;
  padding: 0.7em;
  border-radius: 999px;
  background: var(--button-gradient);
  color: var(--on-gold);
  text-align: center;
  font-weight: 700;
  font-size: clamp(7.5px, 1.15vw, 12px);
}

/* Phone (customer app) mock */
.m-phone {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16% 7% 6%;
  background: radial-gradient(ellipse 90% 40% at 30% 0%, rgba(217, 178, 95, 0.22), transparent 70%), var(--ground);
  font-size: clamp(7px, 1.1vw, 11px);
}
.m-loc {
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 6%;
}
.m-loc small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.m-searchbar {
  padding: 0.75em 1em;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  margin-bottom: 7%;
}
.m-tabs {
  display: flex;
  gap: 8%;
  color: var(--muted);
  font-size: 0.82em;
  letter-spacing: 0.06em;
  margin-bottom: 7%;
}
.m-tabs b {
  color: var(--gold-text);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}
.m-banner {
  padding: 9% 8%;
  border-radius: 12px;
  background: linear-gradient(140deg, #d9b25f 0%, #8a6420 55%, #2a1e0c 100%);
  color: var(--on-gold);
  margin-bottom: 7%;
}
.m-banner b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8em;
  line-height: 1;
}
.m-banner span {
  font-size: 0.85em;
  opacity: 0.85;
}
.m-salon {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 6%;
}
.m-photo {
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(circle at 70% 30%, rgba(246, 227, 168, 0.35), transparent 40%),
    linear-gradient(135deg, #3a3226, #1a1611);
  position: relative;
}
.m-photo span {
  position: absolute;
  left: 6%;
  bottom: 8%;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  background: rgba(11, 10, 8, 0.8);
  color: var(--gold-text);
  font-size: 0.8em;
}
.m-salon div:last-child {
  padding: 5% 6%;
}
.m-salon b {
  display: block;
  font-weight: 600;
}
.m-salon small {
  color: var(--muted);
  font-size: 0.85em;
}
.m-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 4% 0;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.m-nav i {
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface-3);
}
.m-nav i.on {
  background: var(--gold);
}

/* Small UI cards inside spotlights */
.ui-card {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
}
.ui-stack {
  display: grid;
  gap: 14px;
}
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.ui-row:last-child {
  border-bottom: 0;
}
.ui-row span {
  color: var(--muted);
}
.ui-row b {
  font-weight: 600;
  font-feature-settings: "tnum";
}
.ui-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ui-big {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}
.ui-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.ui-slots span {
  padding: 9px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-2);
  font-feature-settings: "tnum";
}
.ui-slots span.on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
}
.ui-slots span.off {
  opacity: 0.35;
  text-decoration: line-through;
}
.ui-token {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ui-token .ui-big {
  color: var(--gold-text);
  font-size: 3.2rem;
}
.ui-qr {
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 14px;
  padding: 8px;
  background: var(--ink);
}
.ui-qr svg {
  width: 100%;
  height: 100%;
}
.ui-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.ui-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--button-gradient);
}
.ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin-top: 16px;
}
.ui-chart i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(217, 178, 95, 0.9), rgba(184, 137, 58, 0.25));
}
.ui-chart i.prev {
  background: var(--surface-3);
}
.ui-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- Feature page ---------- */

.subnav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(11, 10, 8, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.subnav ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar {
  display: none;
}
.subnav a {
  display: block;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.subnav a:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.fgroup {
  display: grid;
  gap: 28px;
  padding: clamp(56px, 9vw, 96px) 0;
  border-bottom: 1px solid var(--border);
}
.fgroup:last-of-type {
  border-bottom: 0;
}
@media (min-width: 960px) {
  .fgroup {
    grid-template-columns: 0.85fr 1.4fr;
    gap: 56px;
  }
  .fgroup-head {
    position: sticky;
    top: 150px;
    align-self: start;
  }
}
.fgroup-head .icon {
  width: 52px;
  height: 52px;
}
.fgroup-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 2.7rem);
  letter-spacing: -0.01em;
}
.fgroup-head p {
  color: var(--ink-2);
}
.flist {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.fitem {
  padding: 20px 20px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.fitem h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.fitem p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 22px;
}
.legend .tag {
  margin: 0 6px 0 0;
}

/* ---------- Platforms ---------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.platform svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--gold-text);
}
.platform b {
  display: block;
  font-weight: 600;
}
.platform span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Store badges (coming soon) ---------- */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}
.badge svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--gold-text);
}
.badge small {
  display: block;
  color: var(--gold-text);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge b {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
}
.center .badges {
  justify-content: center;
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.plan.featured {
  border-color: rgba(217, 178, 95, 0.55);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(217, 178, 95, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px -40px rgba(217, 178, 95, 0.45);
}
.plan h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 4px;
}
.plan .for {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 4px;
}
.price b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-text);
  font-feature-settings: "lnum";
}
.price span {
  color: var(--ink-2);
  font-size: 0.92rem;
}
.price-year {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.plan .ticks {
  margin: 0 0 24px;
  font-size: 0.94rem;
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}
.ribbon {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
  color: var(--ink-2);
}
.compare tbody th {
  font-weight: 400;
}
.compare thead th {
  color: var(--gold-text);
  font-weight: 600;
  background: var(--surface-2);
}
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare .yes {
  color: var(--gold-text);
  font-weight: 700;
}
.compare .no {
  color: var(--muted);
  opacity: 0.5;
}

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

.faq {
  display: grid;
  gap: 10px;
  max-width: 50rem;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-text);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details > div {
  padding: 0 20px 18px;
  color: var(--ink-2);
}
.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 72px) clamp(22px, 5vw, 64px);
  border-radius: 28px;
  border: 1px solid rgba(217, 178, 95, 0.35);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(217, 178, 95, 0.24), transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(184, 137, 58, 0.16), transparent 60%),
    var(--surface);
}
.cta .title {
  max-width: 34rem;
}

/* ---------- Prose (legal pages) ---------- */

.prose {
  max-width: 46rem;
  color: var(--ink-2);
}
.prose h2 {
  margin-top: 2.2em;
  color: var(--ink);
  font-size: 1.35rem;
}
.prose h3 {
  margin-top: 1.6em;
  color: var(--ink);
  font-size: 1.08rem;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose strong {
  color: var(--ink);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0 0 1.2em;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface-2);
  color: var(--ink);
}
.prose .table-wrap {
  margin-bottom: 1.2em;
}
.prose .table-wrap table {
  margin: 0;
  min-width: 520px;
}
.notice {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 181, 68, 0.5);
  background: rgba(245, 181, 68, 0.08);
  color: #f5d08a;
  font-size: 0.95rem;
}
.notice strong {
  color: #ffe0a3;
}
.toc {
  margin: 0 0 32px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.toc ol {
  margin: 0;
  columns: 2 15rem;
  column-gap: 2rem;
}
.toc li {
  margin-bottom: 4px;
}

/* ---------- Contact ---------- */

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-card .btn {
  align-self: flex-start;
  margin-top: 14px;
}

/* ---------- App-link landing ---------- */

.landing {
  min-height: calc(100vh - 68px - 220px);
  display: grid;
  place-items: center;
  padding: 64px 0;
  text-align: center;
}
.landing .icon-big {
  width: 88px;
  height: 88px;
  margin: 0 auto 26px;
  border-radius: 24px;
  box-shadow: 0 20px 50px -20px rgba(217, 178, 95, 0.5);
}
.landing .lead {
  margin: 0 auto 28px;
}
.landing .actions {
  justify-content: center;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 30rem;
  text-align: left;
  display: grid;
  gap: 10px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-2);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  color: var(--gold-text);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--sidebar);
  padding: 56px 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  gap: 32px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
}
.footer-brand {
  grid-column: 1 / -1;
  max-width: 24rem;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: auto;
  }
}
.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--muted);
}
.site-footer h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer ul a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer ul a:hover {
  color: var(--gold-text);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll (only when JS runs and motion is OK) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

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

@media print {
  .site-header,
  .site-footer,
  .subnav {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .prose,
  .prose strong,
  .prose h2,
  .prose h3 {
    color: #000;
  }
}

/* ---------- Small helpers (no inline styles, so a strict CSP works) ---------- */

.mt-s {
  margin-top: 14px;
}
.mt-l {
  margin-top: 28px;
}
.pt-0 {
  padding-top: 0;
}
.center-x {
  margin-left: auto;
  margin-right: auto;
}
.w-68 {
  width: 68%;
}
.ui-chart i:nth-child(1) { height: 40%; }
.ui-chart i:nth-child(2) { height: 52%; }
.ui-chart i:nth-child(3) { height: 48%; }
.ui-chart i:nth-child(4) { height: 44%; }
.ui-chart i:nth-child(5) { height: 55%; }
.ui-chart i:nth-child(6) { height: 70%; }
.ui-chart i:nth-child(7) { height: 60%; }
.ui-chart i:nth-child(8) { height: 66%; }
.ui-chart i:nth-child(9) { height: 72%; }
.ui-chart i:nth-child(10) { height: 88%; }
.ui-chart i:nth-child(11) { height: 80%; }
.ui-chart i:nth-child(12) { height: 96%; }
.h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

/* Phones: feature cards sit icon-beside-text, so the list stays short. */
@media (max-width: 560px) {
  a.card,
  .grid-3 > .card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 2px 14px;
    padding: 18px 18px 18px 16px;
  }
  a.card > .icon,
  .grid-3 > .card > .icon {
    grid-row: span 3;
    width: 42px;
    height: 42px;
    margin: 2px 0 0;
  }
  a.card > :not(.icon),
  .grid-3 > .card > :not(.icon) {
    grid-column: 2;
  }
  a.card .more {
    margin-top: 6px;
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
