/* ============================================================
   Mise — the restaurant operating system
   "Candlelight service": dark ink lit sparingly by warm brass —
   matched to the Mise app's design system.
   Fraunces (display serif) + Inter (UI sans).
   ============================================================ */

:root {
  --ink:        #e9edf3;   /* primary text (light on dark) */
  --ink-2:      #c3ccd8;   /* secondary text */
  --ink-deep:   #080b10;   /* deepest surface: dark bands, footer, buttons on brass */
  --paper:      #0e1218;   /* page background (ink-900) */
  --paper-2:    #131926;   /* alternate section background */
  --card:       #171e2a;   /* card / panel surface */
  --muted:      #8b96a8;   /* muted text */
  --line:       rgba(139,150,168,.16);  /* hairlines */
  --saffron:    #e8b34b;   /* brass — key actions & indicators */
  --saffron-2:  #f0c265;   /* lighter brass — text accents / links on dark */
  --brand-hi:   #f2c76b;   /* brightest brass — hover */
  --terracotta: #ef7365;
  --sage:       #52cd92;
  --ok:         #52cd92;
  --warn:       #e8b34b;

  --radius:     14px;
  --radius-sm:  10px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.26);
  --shadow-md:  0 18px 50px rgba(0,0,0,.5);
  --container:  1140px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* -------- reset-ish -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--saffron); color: var(--ink-deep); padding: 10px 16px; border-radius: 8px; z-index: 1000;
}

/* -------- buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.btn--solid  { background: var(--saffron); color: var(--ink-deep); }
.btn--solid:hover  { background: var(--brand-hi); box-shadow: 0 0 0 3px rgba(232,179,75,.22); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong, rgba(139,150,168,.4)); }
.btn--outline:hover { background: rgba(255,255,255,.06); color: var(--ink); border-color: var(--saffron); }
.btn--ghost { background: transparent; color: var(--ink-2); padding-inline: .5rem; }
.btn--ghost:hover { color: var(--saffron-2); }
.btn--lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* -------- nav -------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,15,21,.78);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand__mark { color: var(--saffron); flex: none; }
.brand__word { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav__links a { font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav__links a:hover { color: var(--saffron-2); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.mobile-menu { display: none; flex-direction: column; gap: .25rem; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mobile-menu a { padding: .6rem 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; margin-top: .5rem; }

/* -------- eyebrow / section scaffolding -------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700;
  color: var(--saffron-2); margin-bottom: .9rem;
}
.eyebrow--light { color: var(--saffron); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section__head { margin-bottom: 3rem; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.section__lede { color: var(--muted); font-size: 1.12rem; margin-top: 1rem; max-width: 62ch; }
.center .section__lede { margin-inline: auto; }
.section__lede--light { color: rgba(250,246,239,.72); }
.section--muted { background: var(--paper-2); }

/* -------- hero -------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background:
  radial-gradient(1200px 500px at 82% -10%, rgba(209,133,47,.14), transparent 60%),
  radial-gradient(900px 500px at 0% 10%, rgba(91,107,82,.10), transparent 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.5vw, 4.6rem); letter-spacing: -.02em; }
.hero__lede { color: var(--ink-2); font-size: 1.2rem; margin-top: 1.4rem; max-width: 34ch; }
.hero__lede em { font-style: italic; }
.hero__cta { display: flex; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }
.hero__note { margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }

/* hero panel — live ticket mock */
.hero__panel { display: flex; justify-content: center; }
.ticket {
  width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden;
  font-size: .95rem;
}
.ticket__head { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--red { background: #e06a54; } .dot--amber { background: #e2a944; } .dot--green { background: #63a06a; }
.ticket__title { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 600; }
.ticket__row { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.1rem; border-bottom: 1px solid var(--paper-2); }
.ticket__row--alert { background: rgba(184,73,47,.06); }
.mono { font-variant-numeric: tabular-nums; font-weight: 600; }
.tag { font-size: .72rem; font-weight: 700; padding: .18rem .5rem; border-radius: 999px; }
.tag--ok { background: rgba(76,122,82,.14); color: var(--ok); }
.tag--warn { background: rgba(184,73,47,.14); color: var(--warn); }
.ticket__foot { padding: .9rem 1.1rem; font-size: .82rem; color: var(--muted); background: var(--paper); }

/* -------- strip / replaces -------- */
.strip { border-block: 1px solid var(--line); padding: 2rem 0; background: var(--paper); }
.strip__label { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: 1.1rem; }
.strip__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.2rem; }
.strip__logos li { font-family: var(--font-serif); font-size: 1.15rem; color: #b3a894; font-weight: 500; position: relative; }
.strip__logos li::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: #c9bda6; transform: rotate(-8deg); }

/* -------- problem -------- */
.problem .section__lede { font-size: 1.22rem; color: var(--ink-2); }

/* -------- grids / cards -------- */
.grid { display: grid; gap: 1.25rem; }
.grid--modules { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(232,179,75,.4); }
.card__icon { font-size: 1.7rem; line-height: 1; margin-bottom: .9rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__replaces { margin-top: .9rem; font-size: .8rem; color: #a99c86; font-weight: 600; letter-spacing: .01em; }

/* -------- svg module icons -------- */
.card__icon svg { width: 30px; height: 30px; color: var(--saffron-2); }

/* -------- split layout (POS + Guest Center) -------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__visual { order: -1; }
.split__copy .section__lede { margin-bottom: 1.5rem; }
.split__cta { display: flex; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.ticks { display: flex; flex-direction: column; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-2); font-size: 1rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--saffron);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* -------- POS section + terminal mockup -------- */
.pos { background: var(--paper-2); }
.pos-term {
  max-width: 460px; margin-inline: auto; width: 100%;
  background: #201d19; border-radius: 18px; padding: 10px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,.2);
}
.pos-term__bar { display: flex; justify-content: space-between; align-items: center; color: #efe7d9; font-size: .9rem; font-weight: 600; padding: .6rem .8rem; }
.pos-term__chk { color: #b3a894; font-weight: 500; }
.pos-term__body { background: var(--card); border-radius: 12px; overflow: hidden; }
.pos-term__lines { padding: .4rem .2rem; }
.pos-line { display: flex; justify-content: space-between; padding: .6rem .9rem; font-size: .95rem; border-bottom: 1px solid var(--paper-2); }
.pos-line:last-child { border-bottom: 0; }
.pos-line--mod { color: var(--muted); font-size: .82rem; padding-top: 0; padding-bottom: .5rem; border-bottom: 0; }
.pos-term__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; background: var(--paper); }
.pos-term__pad button {
  padding: .8rem .4rem; border: 1px solid var(--line); background: var(--card); border-radius: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: .82rem; color: var(--ink-2); cursor: default;
}
.pos-term__pad button.is-active { background: var(--saffron); border-color: var(--saffron); color: #201d19; }
.pos-term__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .9rem .5rem; color: #efe7d9; }
.pos-term__foot > div { display: flex; flex-direction: column; font-size: .8rem; color: #b3a894; }
.pos-term__foot .mono { color: #efe7d9; font-size: 1.25rem; }
.pos-term__send { background: var(--sage); color: #fff; border: 0; border-radius: 10px; padding: .85rem 1.1rem; font-family: var(--font-sans); font-weight: 700; font-size: .92rem; cursor: default; }

/* -------- Guest Center booking card mockup -------- */
.book-card { max-width: 430px; margin-inline: auto; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.5rem; }
.book-card__head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.book-card__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.book-card__meta { color: var(--muted); font-size: .9rem; margin: .3rem 0 1.1rem; }
.pill { font-size: .72rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; white-space: nowrap; }
.pill--mise { background: rgba(76,122,82,.14); color: var(--ok); }
.pill--ext { background: var(--paper-2); color: var(--muted); }
.book-card__controls { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1rem; }
.seg { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; display: flex; flex-direction: column; gap: .1rem; }
.seg span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.seg strong { font-size: .98rem; }
.book-card__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.1rem; }
.book-card__slots button { padding: .6rem 0; border: 1px solid var(--line); background: var(--card); border-radius: 8px; font-family: var(--font-sans); font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: default; }
.book-card__slots button.is-active { background: var(--saffron); border-color: var(--saffron); color: var(--ink-deep); }
.book-card__go { width: 100%; background: var(--saffron); color: var(--ink-deep); border: 0; border-radius: 999px; padding: .85rem; font-family: var(--font-sans); font-weight: 700; font-size: .95rem; cursor: default; }
.book-card__alt { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--ink-2); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__visual, .split__visual { order: 0; }
}

/* -------- how it works (dark) -------- */
.section--dark { background: var(--ink-deep); color: var(--ink);
  background-image: radial-gradient(900px 400px at 80% -10%, rgba(232,179,75,.07), transparent 60%); }
.section--dark .section__title { color: var(--ink); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: flow; }
.flow__step {
  position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
}
.flow__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--saffron); color: var(--ink-deep); font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem;
}
.flow__step h3 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--ink); }
.flow__step p { color: rgba(250,246,239,.72); font-size: .95rem; }
.flow__step strong { color: var(--ink); }
.flow__foot { margin-top: 2rem; text-align: center; color: rgba(250,246,239,.7); font-size: 1rem; }
.flow__foot strong { color: var(--saffron); }
.mono { font-family: var(--font-sans); }
.section--dark .mono, .flow__step .mono { background: rgba(255,255,255,.10); padding: .05rem .4rem; border-radius: 5px; }

/* -------- band (booking) -------- */
.band { background:
  linear-gradient(120deg, rgba(209,133,47,.10), rgba(184,73,47,.08));
  border-block: 1px solid var(--line); }

/* -------- pricing -------- */
.grid--pricing { grid-template-columns: repeat(4, 1fr); align-items: start; }
.price {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .35rem;
}
.price--featured { border-color: var(--saffron); box-shadow: 0 16px 44px rgba(209,133,47,.20); }
.price__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--saffron); color: var(--ink-deep); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap;
}
.price__name { font-size: 1.5rem; }
.price__amount { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; line-height: 1; margin: .4rem 0 .2rem; }
.price__amount--custom { font-size: 2.1rem; }
.price__currency { font-size: 1.3rem; vertical-align: super; margin-right: 2px; }
.price__period { font-family: var(--font-sans); font-size: .82rem; font-weight: 500; color: var(--muted); margin-left: .25rem; }
.price__for { color: var(--saffron-2); font-weight: 600; font-size: .92rem; margin-bottom: .8rem; }
.price__list { display: flex; flex-direction: column; gap: .55rem; margin: .4rem 0 1.4rem; }
.price__list li { position: relative; padding-left: 1.5rem; font-size: .93rem; color: var(--ink-2); }
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.price .btn { margin-top: auto; }

/* -------- faq -------- */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem; box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--saffron-2); font-weight: 400; transition: transform .2s ease; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 1.2rem; margin-top: -.3rem; }

/* -------- cta -------- */
.cta { background: var(--ink-deep); color: var(--ink);
  background-image: radial-gradient(800px 400px at 50% -20%, rgba(232,179,75,.10), transparent 60%); }
.cta__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.cta__form { margin-top: 2.2rem; max-width: 620px; margin-inline: auto; }
.cta__row { display: flex; gap: .75rem; margin-bottom: .75rem; }
.cta__form input {
  flex: 1; min-width: 0; padding: .9rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: var(--ink); font-family: var(--font-sans); font-size: 1rem;
}
.cta__form input::placeholder { color: rgba(250,246,239,.5); }
.cta__form input:focus-visible { outline: none; border-color: var(--saffron); background: rgba(255,255,255,.1); }
.cta__form .btn--solid { background: var(--saffron); color: var(--ink-deep); border-color: var(--saffron); }
.cta__form .btn--solid:hover { background: #e0973f; }
.cta__disclaimer { margin-top: 1rem; font-size: .82rem; color: rgba(250,246,239,.55); }

/* -------- footer -------- */
.footer { background: var(--ink-deep); color: var(--ink-2); padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: var(--ink); }
.footer .brand__mark { color: var(--saffron); }
.footer__tag { font-family: var(--font-serif); font-style: italic; color: rgba(250,246,239,.6); margin-top: .8rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__cols h4 { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(250,246,239,.5); margin-bottom: .9rem; font-weight: 700; }
.footer__cols a { display: block; padding: .3rem 0; color: rgba(250,246,239,.8); font-size: .95rem; }
.footer__cols a:hover { color: var(--saffron); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(250,246,239,.55); flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--saffron); }

/* -------- sign-in / auth page -------- */
.auth-body { background: var(--paper); }
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth__brand { background: var(--ink-deep); color: var(--ink); padding: clamp(2rem,4vw,3.5rem); display: flex; flex-direction: column; gap: 2rem;
  background-image: radial-gradient(700px 500px at 20% 0%, rgba(232,179,75,.08), transparent 60%); }
.auth__brand .brand { color: var(--ink); }
.auth__brand .brand__mark { color: var(--saffron); }
.auth__brandcopy { margin-top: auto; }
.auth__brandcopy h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.auth__brandcopy p { color: rgba(250,246,239,.72); font-size: 1.05rem; max-width: 42ch; margin-bottom: 1.5rem; }
.ticks--light li { color: rgba(250,246,239,.85); }
.ticks--light li::before { background: var(--saffron); }
.auth__brandfoot { color: rgba(250,246,239,.55); font-size: .9rem; }
.auth__brandfoot a { color: rgba(250,246,239,.8); }
.auth__brandfoot a:hover { color: var(--saffron); }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem,4vw,3rem); }
.auth__card { width: 100%; max-width: 400px; }
.demo-cta { background: linear-gradient(120deg, rgba(209,133,47,.10), rgba(184,73,47,.07)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.demo-cta__eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; color: var(--saffron-2); margin-bottom: .5rem; }
.demo-cta h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.demo-cta__sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.auth__divider { text-align: center; position: relative; margin: 1.5rem 0; }
.auth__divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.auth__divider span { position: relative; background: var(--paper); padding: 0 .9rem; color: var(--muted); font-size: .82rem; }
.auth__form label { display: block; font-size: .82rem; font-weight: 600; margin: .9rem 0 .35rem; }
.auth__form label .muted { color: var(--muted); font-weight: 400; }
.auth__form input { width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font-sans); font-size: 1rem; background: var(--card); }
.auth__form input:focus { outline: none; border-color: var(--saffron); }
.auth__row { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.2rem; font-size: .88rem; }
.checkbox { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); }
.auth__link { color: var(--saffron-2); font-weight: 600; }
.auth__note { margin-top: 1rem; font-size: .88rem; color: var(--saffron-2); background: rgba(209,133,47,.08); border: 1px solid rgba(209,133,47,.25); border-radius: 10px; padding: .8rem .9rem; display: none; }
.auth__note.is-show { display: block; }
.auth__switch { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.auth__switch a { color: var(--saffron-2); font-weight: 600; }
@media (max-width: 820px) {
  .auth { grid-template-columns: 1fr; }
  .auth__brand { min-height: auto; }
  .auth__brandcopy { margin-top: 1rem; }
}

/* -------- reveal animation -------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--modules { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .grid--pricing { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .hero__lede { max-width: none; }
}

@media (max-width: 720px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu[data-open] { display: flex; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .grid--modules, .flow, .grid--pricing { grid-template-columns: 1fr; }
  .cta__row { flex-direction: column; }
  .footer__cols { grid-template-columns: 1fr; }
  .price--featured { order: -1; }
}

/* -------- brand mark (app icon) -------- */
.brand__mark-img { width: 30px; height: 30px; border-radius: 7px; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.footer .brand__mark-img { width: 26px; height: 26px; }

/* -------- multi-venue / portfolio mock -------- */
.portfolio { max-width: 440px; margin-inline: auto; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; font-size: .95rem; }
.portfolio__head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.portfolio__row { display: grid; grid-template-columns: 1.6fr 1fr .8fr .8fr; gap: .5rem; align-items: center; padding: .7rem 1.1rem; border-bottom: 1px solid var(--paper-2); }
.portfolio__row--h { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding-block: .5rem; }
.portfolio__row--h span:not(:first-child), .portfolio__row span:not(:first-child) { text-align: right; }
.portfolio__row--alert { background: rgba(239,115,101,.06); }
.portfolio .mono.ok { color: var(--ok); }
.portfolio .mono.warn { color: var(--terracotta); }
.portfolio__foot { padding: .85rem 1.1rem; font-size: .82rem; color: var(--saffron-2); background: var(--paper); }

/* -------- real product screenshots ("See it in action") -------- */
.shotframe { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--card); }
.shotframe__bar { display: flex; align-items: center; gap: 7px; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.shotframe__bar .d { width: 10px; height: 10px; border-radius: 50%; }
.shotframe__bar .d--r { background: #e06a54; } .shotframe__bar .d--a { background: #e2a944; } .shotframe__bar .d--g { background: #63a06a; }
.shotframe__bar .t { margin-left: .5rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.shotframe img { display: block; width: 100%; height: auto; }
.shot { display: flex; flex-direction: column; }
.shot__cap { color: var(--muted); font-size: .95rem; margin-top: .9rem; }
.shot__cap strong { color: var(--ink); font-weight: 600; }
.shot--feature { max-width: 940px; margin: 0 auto 2.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }

/* -------- module card 'learn more' link -------- */
.card__more { color: var(--saffron-2); font-weight: 600; font-size: .88rem; margin-top: .8rem; display: inline-block; }
.card__more:hover { color: var(--brand-hi); }
