/* Tooling/Microsite sample site — a plain, neutral presentation for the engine's tests. */
:root {
  --bg: #FFFFFF;
  --ink: #2E1A33;
  --body: #3D2E42;
  --muted: #5E4F63;
  --accent: #A3155A;
  --accent-ink: #8E1250;
  --tint: #FBF1F6;
  --line: #E8DCE3;
  --dark: #2E1A33;
  --on-dark: #FFFFFF;
  --on-dark-muted: #E3D6E8;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: .4em 0 .3em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--dark); color: var(--on-dark); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo img { width: 120px; height: auto; }
.brand__divider { width: 1px; height: 28px; background: var(--line); }
.brand__product { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.menu-toggle .icon { width: 20px; height: 20px; }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.primary-nav a { color: var(--ink); text-decoration: none; padding: 10px 2px; display: inline-block; }
.primary-nav a[aria-current="page"] { color: var(--accent-ink); font-weight: 700; }
.nav-cta a { background: var(--accent); color: #FFFFFF; padding: 10px 16px; border-radius: 8px; }
.nav-cta a[aria-current="page"] { color: #FFFFFF; }
.nav-social, .footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; }

@media (max-width: 820px) {
  .js .menu-toggle { display: inline-flex; }
  .js .primary-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 12px; }
  .js .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand__logo img { width: 96px; }
  .brand__divider { display: none; }
}

.hero { background: var(--dark); color: var(--on-dark); padding: 56px 0; }
.hero h1, .hero .eyebrow { color: var(--on-dark); }
.hero .lead { color: var(--on-dark-muted); font-size: 1.15rem; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 5fr 7fr; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin: 0 0 .6em; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 2px solid currentColor; color: inherit; text-decoration: none; font-weight: 600; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.band { padding: 56px 0; }
.band--tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.point .icon { width: 28px; height: 28px; color: var(--accent-ink); }
.shot, .phone { margin: 0; }
.shot__frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); background: var(--bg); }
.phone__frame { max-width: 270px; margin-inline: auto; border: 10px solid var(--dark); border-radius: 28px; overflow: hidden; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 40px; }
.phones figcaption { text-align: center; }
.prose { max-width: 72ch; }
.hero figcaption { color: var(--on-dark-muted); }

.page-head { background: var(--tint); padding: 40px 0 32px; }
.breadcrumb { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 8px; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.lead { font-size: 1.1rem; }
.toc { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

.shelf { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.edition { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.edition__amount { font-size: 2rem; font-weight: 700; color: var(--ink); }
.edition__term { color: var(--muted); }
.included { padding-left: 1.2em; }
.note { color: var(--muted); }
.pending { color: var(--muted); }
.pending__label { font-weight: 600; color: var(--ink); }
.site-footer .pending, .site-footer .pending__label { color: var(--on-dark-muted); }

.statement { font-size: 1.05rem; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; min-width: 0; font-size: .95rem; }
caption { text-align: left; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; }

.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: var(--on-dark); }
.site-footer h2 { color: var(--on-dark); font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer__legal { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 32px; padding-top: 16px; font-size: .9rem; }
.footer-social__label { margin-bottom: 4px; }

/* Salon Booking OS by OsDot™ — Light is the default for every visitor, whatever the device's setting (the owner,
   2026-10-16); Dark only through the visitor's own toggle (assets/js/site.js sets html[data-theme="dark"] and remembers it) */
:root[data-theme="dark"] {
  --bg: #1A1220;
  --ink: #F6EEF8;
  --body: #E6DAEA;
  --muted: #CDBFD3;
  --accent: #E0679E;
  --accent-ink: #F29BC3;
  --tint: #261A2D;
  --line: #3E2F46;
  --dark: #120C16;
  --on-dark: #FFFFFF;
  --on-dark-muted: #E3D6E8;
  color-scheme: dark;
}
:root[data-theme="dark"] .btn--primary, :root[data-theme="dark"] .nav-cta a, :root[data-theme="dark"] .nav-cta a[aria-current="page"] { color: #1A1220; }
:root[data-theme="dark"] .brand__logo { background: #FFFFFF; border-radius: 8px; padding: 4px 8px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }

/* The home page's hero, after the Academy microsite: accent words, a text link, three device frames of real captures */
.hero .accent { color: #F29BC3; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn .icon { width: 20px; height: 20px; margin-left: 6px; }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #FFFFFF; }
.btn--outline { border-color: var(--accent); color: var(--accent-ink); }
.hero__more { margin-top: 22px; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.textlink:hover { text-decoration: underline; }
.textlink .icon { width: 18px; height: 18px; }
.hero .textlink { color: #F29BC3; }
.devices { position: relative; width: 100%; aspect-ratio: 1 / .86; margin: 0; }
.device { position: absolute; margin: 0; }
.device img { width: 100%; height: auto; display: block; }
.device--laptop { right: 0; top: 0; width: 80%; }
.device--laptop .device__screen { background: #151515; border-radius: 14px 14px 0 0; padding: 2.1% 2.1% 2.6%; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.device--laptop .device__screen img { border-radius: 3px; }
.device--laptop .device__base { height: 0; padding-top: 3.4%; margin: 0 -6.5%; background: linear-gradient(#d9dbde, #a9adb3); border-radius: 0 0 14px 14px / 0 0 60% 60%; position: relative; }
.device--laptop .device__base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 35%; background: #8e9298; border-radius: 0 0 8px 8px; }
.device--tablet { left: 0; bottom: 2.5%; width: 58%; z-index: 2; }
.device--tablet .device__screen { background: #121212; border-radius: 22px; padding: 3.2%; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.device--tablet .device__screen img { border-radius: 6px; }
.device--phone { right: 3%; bottom: 0; width: 19.5%; z-index: 3; }
.device--phone .device__screen { background: #121212; border-radius: 26px; padding: 5.5% 5%; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.device--phone .device__screen img { border-radius: 14px; }
.devices__caption { margin-top: 18px; font-size: .88rem; color: var(--on-dark-muted); max-width: 62ch; }
@media (max-width: 640px) {
  .devices { aspect-ratio: 1 / .8; }
  .device--laptop { display: none; }
  .device--tablet { width: 84%; top: 0; bottom: auto; }
  .device--phone { width: 27%; right: 0; }
}
.capstrip { background: var(--bg); border-bottom: 1px solid var(--line); }
.capstrip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.capstrip li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.capstrip .icon { width: 22px; height: 22px; color: var(--accent-ink); flex: 0 0 auto; }
@media (max-width: 1000px) { .capstrip ul { justify-content: flex-start; } .capstrip li { width: calc(50% - 14px); } }
@media (max-width: 560px) { .capstrip li { width: 100%; } }

/* Section chapters, story navigation, grids, cards (the Academy microsite's structure, in Salon's colours) */
/* The home page's in-page navigation in the Academy microsite's form (the owner, 2026-10-17): a numbered list of the
   salon's day beside a small appointment-book graphic; numbered cells, 44 px rows, Light and Dark */
.storynav { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 0 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
@media (min-width: 900px) { .storynav { grid-template-columns: 170px 1fr; align-items: center; gap: 28px; } }
.storynav__aside { display: flex; align-items: center; gap: 14px; color: var(--accent-ink); }
@media (min-width: 900px) { .storynav__aside { flex-direction: column; text-align: center; } }
.storynav__graphic { width: 64px; height: 64px; flex: 0 0 auto; }
@media (min-width: 900px) { .storynav__graphic { width: 112px; height: 112px; } }
.storynav__slot { fill: var(--accent); }
.storynav__slot--soft { fill: var(--accent); opacity: .35; }
.storynav__caption { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.storynav ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 20px; }
.storynav a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; }
.storynav a:hover .storynav__title { text-decoration: underline; }
.storynav__cell { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 34px; border: 2px solid var(--accent); border-radius: 8px; background: var(--bg); color: var(--accent-ink); font: 700 .95rem/1 ui-monospace, Consolas, "Segoe UI", monospace; font-variant-numeric: tabular-nums; }
.storynav__cell--end { background: var(--accent); color: #FFFFFF; }
:root[data-theme="dark"] .storynav__cell--end { color: #1A1220; }
.storynav__title { font-size: 15px; }
@media (max-width: 560px) { .storynav { padding: 16px; } .storynav ol { grid-template-columns: 1fr; } }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--bg); }
.card h3 { margin-top: 0; }
.band--dark { background: var(--dark); color: var(--on-dark-muted); }
.band--dark h2, .band--dark h3 { color: var(--on-dark); }
.band--dark .eyebrow { color: #F29BC3; }
.split--flip > :first-child { order: 2; }
@media (max-width: 899px) { .split--flip > :first-child { order: 0; } }
.duo { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.login-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 12px 0 16px; }
.login-card dt { font-weight: 600; color: var(--ink); }
.login-card dd { margin: 0; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.checksum { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; overflow-wrap: anywhere; }
.price-card .edition__amount { display: block; }

/* No layout shift when the script adds the Light / Dark toggle: its place in the header is reserved from the first paint */
.site-header__inner { position: relative; padding-right: 56px; }
.theme-toggle { position: absolute; right: 0; top: 12px; min-width: 44px; padding: 0; }
.theme-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the laptop frame's base reaches past the frame; the hero never scrolls sideways */
.hero { overflow-x: clip; }
.band--dark figcaption, .band--dark .note { color: var(--on-dark-muted); }
.grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid--pairs { grid-template-columns: 1fr; } }
