/* TauBeautyPOS marketing site
   Burgundy / brown / gold. Self-hosted fonts. No third-party requests. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --burgundy: #7b1e2e;
  --burgundy-strong: #5c1622;
  --burgundy-deep: #2a0c12;
  --burgundy-mid: #3a1218;
  --brown: #6f4526;
  --brown-strong: #4f301a;
  --gold: #b8862b;
  --gold-hi: #e2bf6a;
  --gold-pale: #f0d58c;
  --gold-ink: #6b4a0b;
  --gold-bg: #f8ecc9;
  --cream: #f6efe6;
  --card: #fffdfa;
  --ink: #2b1d17;
  --ink-2: #4a372d;
  --mute: #6d5a4e;
  --line: #e7dacb;
  --line-2: #d6c4b1;
  --idle: #7b1e2e;
  --signed-in: #23673a;
  --signed-in-bg: #e2f1e3;
  --working: #c9a227;
  --working-ink: #3d2e08;
  --ok: #47621a;
  --err: #a51d1d;
  --focus: #b8862b;
  --header-h: 4.25rem;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(43, 29, 23, 0.06), 0 10px 30px rgba(43, 29, 23, 0.08);
  --shadow-lg: 0 16px 50px rgba(42, 12, 18, 0.28);
  --max: 72rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

@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;
  }
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy-strong); text-underline-offset: 0.15em; }
a:hover { color: var(--burgundy); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--burgundy-strong);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3, .display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.85rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); margin: 0 0 0.55em; }
h3 { font-size: 1.35rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.75rem;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(246, 239, 230, 0.92);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(226, 191, 106, 0.35);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand img, .brand svg { width: 2.25rem; height: 2.25rem; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-name span { color: var(--gold-ink); }

#nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
#nav-toggle svg { width: 1.35rem; height: 1.35rem; }
#nav-toggle .icon-close { display: none; }
#nav-toggle[aria-expanded="true"] .icon-open { display: none; }
#nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem 1.15rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0;
}
.site-nav a:hover { color: var(--burgundy); }
.site-nav .btn { margin-left: 0.15rem; }

/* Mobile drawer */
@media (max-width: 879px) {
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow);
    gap: 0.15rem;
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav a { padding: 0.8rem 0.6rem; min-height: 2.75rem; display: flex; align-items: center; }
  .site-nav .nav-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
  .site-nav .btn { margin: 0; width: 100%; text-align: center; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 880px) {
  #nav-toggle { display: none; }
  .site-nav { display: flex; }
  .site-nav .nav-actions { display: flex; align-items: center; gap: 0.55rem; margin-left: 0.5rem; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn-primary {
  background: var(--burgundy-strong);
  color: #fff;
  border-color: var(--burgundy-strong);
}
.btn-primary:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn-ghost {
  background: transparent;
  color: var(--burgundy-strong);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: #fff; color: var(--burgundy); border-color: var(--gold); }
.btn-gold {
  background: transparent;
  color: var(--gold-pale);
  border-color: var(--gold-hi);
}
.btn-gold:hover { background: rgba(226, 191, 106, 0.12); color: #fff; }
.btn-on-dark {
  background: #fff;
  color: var(--burgundy-strong);
  border-color: #fff;
}
.btn-on-dark:hover { background: var(--gold-bg); color: var(--burgundy-deep); border-color: var(--gold-bg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

/* ----- Hero ----- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 80% 20%, rgba(184, 134, 43, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 10% 90%, rgba(123, 30, 46, 0.6), transparent 50%),
    linear-gradient(165deg, #3a1218 0%, var(--burgundy-deep) 55%, #1c080c 100%);
  color: #f7f1e8;
  overflow: hidden;
  padding: 3rem 0 3.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 191, 106, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 191, 106, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  gap: 2.5rem;
}
.hero .eyebrow { color: var(--gold-hi); }
.hero h1 { color: #fffdf8; margin-bottom: 0.45em; }
.hero .lede { color: #eadcc8; font-size: 1.15rem; }
.hero-note { margin-top: 1rem; color: #cbb9a6; font-size: 0.92rem; }
.hero-note a { color: var(--gold-pale); }

@media (min-width: 900px) {
  .hero { padding: 4.25rem 0 5rem; }
  .hero .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 3rem;
  }
}

/* Product mock */
.mock {
  background: linear-gradient(180deg, #4a1a22, #2a0c12);
  border: 1px solid rgba(226, 191, 106, 0.45);
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(240, 213, 140, 0.12);
  overflow: hidden;
  color: var(--ink);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  background: #1a070b;
  border-bottom: 1px solid rgba(226, 191, 106, 0.25);
  color: #e8d7c0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.mock-dots { display: flex; gap: 0.3rem; margin-right: 0.4rem; }
.mock-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6a3a42; display: block;
}
.mock-body { display: grid; grid-template-columns: 9.2rem 1fr; min-height: 18rem; background: var(--cream); }
.mock-rail {
  background: #3a1218;
  padding: 0.7rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.mock-rail p {
  color: var(--gold-pale);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0.2rem 0.2rem;
}
.tile {
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.25;
}
.tile b { display: block; font-weight: 650; }
.tile span { display: block; font-size: 0.7rem; opacity: 0.92; font-weight: 500; }
.tile.idle { background: var(--idle); }
.tile.in { background: var(--signed-in); }
.tile.work { background: var(--working); color: var(--working-ink); }
.mock-main { padding: 0.85rem 0.9rem; }
.mock-main h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 0.6rem;
}
.appt {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--burgundy);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}
.appt strong { display: block; }
.appt em { font-style: normal; color: var(--mute); font-size: 0.75rem; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--mute);
}
.legend i {
  display: inline-block;
  width: 0.7rem; height: 0.7rem;
  border-radius: 3px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}
.legend .l-idle { background: var(--idle); }
.legend .l-in { background: var(--signed-in); }
.legend .l-work { background: var(--working); }

/* ----- Sections ----- */
section { padding: 4rem 0; }
#features, #pricing, #faq, #contact, section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.8rem);
}
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.band-dark {
  background: var(--burgundy-deep);
  color: #f7f1e8;
}
.band-dark h2, .band-dark h3 { color: #fffdf8; }
.band-dark .eyebrow { color: var(--gold-hi); }
.band-dark .lede { color: #eadcc8; }
.band-sand { background: #f0e4d6; }
.band-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.feat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .feat-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.feat-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--gold-bg);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}
.feat-icon svg { width: 1.25rem; height: 1.25rem; }
.feat h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}
.feat p { color: var(--ink-2); font-size: 0.98rem; }

/* ----- Pricing ----- */
.price-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .price-grid { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow), 0 0 0 1px var(--gold-hi);
  background: linear-gradient(180deg, #fffdf6 0%, var(--card) 40%);
}
.price-card .tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-bg);
  color: var(--gold-ink);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}
.price-card h3 { font-size: 1.6rem; margin-bottom: 0.15em; }
.price-amt {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--burgundy-strong);
  margin: 0.3rem 0 0.2rem;
}
.price-amt small {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--mute);
  margin-left: 0.15rem;
}
.price-card .blurb { color: var(--ink-2); margin-bottom: 1rem; flex: 1; }
.price-card ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.price-card li {
  padding: 0.32rem 0 0.32rem 1.3rem;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.35rem;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.footnote {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--mute);
}
.footnote a { color: var(--brown-strong); }

/* ----- FAQ ----- */
.faq-list { max-width: 46rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1.1rem 2.2rem 1.1rem 0;
  cursor: pointer;
  position: relative;
  min-height: 2.75rem;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--burgundy);
  border-bottom: 2px solid var(--burgundy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq-q[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-a { padding: 0 0 1.15rem; color: var(--ink-2); }
.faq-a p { margin-bottom: 0.7em; }

/* ----- Contact / CTA band ----- */
.contact-card {
  background: var(--burgundy-deep);
  color: #f7f1e8;
  border-radius: var(--r-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(226, 191, 106, 0.35);
}
.contact-card h2 { color: #fffdf8; }
.contact-card p { color: #eadcc8; max-width: 34rem; margin-inline: auto; }
.contact-card a.mail {
  color: var(--gold-pale);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  display: inline-block;
  margin: 0.6rem 0 1.2rem;
}
.contact-card a.mail:hover { color: #fff; text-decoration: underline; }
.contact-card .cta-row { justify-content: center; }

/* ----- Footer ----- */
.site-footer {
  background: #1c080c;
  color: #d9cbb8;
  padding: 2.2rem 0 2rem;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--gold-pale); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

/* ----- Legal ----- */
.legal-hero {
  background: var(--burgundy-deep);
  color: #f7f1e8;
  padding: 2.5rem 0 2rem;
}
.legal-hero h1 { color: #fffdf8; margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero p { color: #cbb9a6; margin: 0.6rem 0 0; }
.legal {
  padding: 2.4rem 0 4rem;
  max-width: 46rem;
}
.legal h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.6rem;
  padding-top: 0.4rem;
}
.legal h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 650; margin: 1.3rem 0 0.4rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.25rem; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.4rem;
}
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid var(--line);
}
.legal th {
  background: #f0e4d6;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown-strong);
}
.legal .tablewrap { overflow-x: auto; }

/* ----- Sign in ----- */
.auth-card {
  max-width: 28rem;
  margin: 3rem auto 4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 2rem; }
label.f {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0.9rem 0 0.35rem;
}
input[type="text"], input[type="email"] {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus-visible { outline-offset: 1px; }
.hint { font-size: 0.88rem; color: var(--mute); margin: 0.4rem 0 0; }
.form-err { color: var(--err); font-size: 0.92rem; min-height: 1.2em; margin: 0.6rem 0; }
.auth-card .btn { width: 100%; margin-top: 0.4rem; }
.slug-prefix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.slug-prefix span {
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  background: #f0e4d6;
  color: var(--mute);
  font-size: 0.85rem;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
.slug-prefix input { border: 0; border-radius: 0; min-width: 0; }

/* ----- 404 ----- */
.notfound {
  min-height: calc(100vh - var(--header-h) - 8rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
