/* The OsDot product microsite template (Tooling/Microsite 0.2.0, PG-41): the structure every OsDot product microsite
   shares. A product changes the colour and font tokens in the two blocks below (Light, then Dark) — design and colours are
   its own — and keeps the rest. Light is the default for every visitor; Dark only through the visitor's toggle
   (html[data-theme="dark"], set before the first paint and remembered in that browser). The QA reads the Light block's
   six-digit colours for its contrast pairs and checks the same pairs in the Dark block. */
:root {
  --bg: #FFFFFF;
  --ink: #1B1F27;
  --body: #2B3039;
  --muted: #4A5161;
  --accent: #E8623A;
  --accent-ink: #2F5E9E;
  --on-accent: #1B1F27;
  --tint: #FDF3EE;
  --line: #E1E5EC;
  --dark: #1B1F27;
  --on-dark: #FFFFFF;
  --on-dark-muted: #DCE1EA;
  --hero-accent: #F9A78B;
  --radius: 16px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --font-display: 'Montserrat', 'Inter', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #14181F;
  --ink: #EEF1F6;
  --body: #DCE1EA;
  --muted: #B4BCC9;
  --accent: #F47A55;
  --accent-ink: #F9A78B;
  --on-accent: #1B1F27;
  --tint: #1C212A;
  --line: #2E3542;
  --dark: #0F1217;
  --on-dark: #FFFFFF;
  --on-dark-muted: #DCE1EA;
  --hero-accent: #F9A78B;
  color-scheme: dark;
}

/* ---- base */
*, *::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; }
.lead { font-size: 1.1rem; }
.prose { max-width: 72ch; }
.note { color: var(--muted); }
.statement { font-size: 1.05rem; }
.icon { width: 20px; height: 20px; }

/* ---- header: the OsDot logo, the product name, the menu, the Editions button, OsDot's profiles, the Light / Dark toggle */
.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; position: relative; padding-right: 56px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo img { width: 120px; height: auto; }
:root[data-theme="dark"] .brand__logo { background: #FFFFFF; border-radius: 8px; padding: 4px 8px; }
.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; }
.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, .nav-cta a[aria-current="page"] { background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; }
.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: 1099px) and (min-width: 900px) { .nav-social { display: none; } }
/* the toggle's place is reserved from the first paint (no shift when the script shows it) */
.theme-toggle { position: absolute; right: 0; top: 12px; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 899px) {
  .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; }
}

/* ---- buttons and text links */
.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 .icon { width: 20px; height: 20px; margin-left: 6px; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--outline { border-color: var(--accent); color: var(--accent-ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 18px 0 0; }
.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; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin: 0 0 .6em; }

/* ---- the hero: eyebrow, accent headline, lead, two buttons, "See how … ↓", three device frames of real captures */
.hero { background: var(--dark); color: var(--on-dark); padding: 56px 0; overflow-x: clip; }
.hero h1, .hero .eyebrow { color: var(--on-dark); }
.hero .accent, .hero .textlink { color: var(--hero-accent); }
.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__more { margin-top: 22px; }
.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; }
}

/* ---- the strip of five highlights */
.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%; } }

/* ---- the numbered in-page navigation: 00 … NN, ✓ */
.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__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, .storynav a[aria-current="step"] .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, .storynav a[aria-current="step"] .storynav__cell { background: var(--accent); color: var(--on-accent); }
.storynav__title { font-size: 15px; }
@media (max-width: 560px) { .storynav { padding: 16px; } .storynav ol { grid-template-columns: 1fr; } }

/* ---- bands, splits, grids, cards, pictures */
.band { padding: 56px 0; }
.band--tint { background: var(--tint); }
.band--dark { background: var(--dark); color: var(--on-dark-muted); }
.band--dark h2, .band--dark h3 { color: var(--on-dark); }
.band--dark .eyebrow, .band--dark .textlink { color: var(--hero-accent); }
.band--dark figcaption, .band--dark .note { color: var(--on-dark-muted); }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--flip > :first-child { order: 2; }
@media (max-width: 899px) { .split--flip > :first-child { order: 0; } }
.grid { display: grid; gap: 24px; margin-top: 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)); }
.grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid--pairs { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--bg); color: var(--body); }
.band--dark .card h3 { color: var(--ink); }
.card h3 { margin-top: 0; }
.card h3 a { color: var(--ink); }
.card__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--tint); color: var(--accent-ink); margin-bottom: 8px; }
.included, .ticks { padding-left: 1.2em; }
.ticks { list-style: none; padding-left: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.steps { padding-left: 1.4em; }
.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 #121212; 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; }
.duo { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---- subpages: breadcrumb, eyebrow, h1, lead, the on-page list */
.page-head { background: var(--tint); padding: 40px 0 32px; }
.breadcrumb { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.toc { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- the demo page: logins, the app's facts */
.login-card dl, .facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 12px 0 16px; }
.login-card dt, .facts dt { font-weight: 600; color: var(--ink); }
.login-card dd, .facts dd { margin: 0; overflow-wrap: anywhere; }
.checksum { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; overflow-wrap: anywhere; }
.pending { color: var(--muted); }
.pending__label { font-weight: 600; color: var(--ink); }

/* ---- editions, the comparison table, the FAQ */
.shelf { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.edition { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.edition__amount { font-size: 2rem; font-weight: 700; color: var(--ink); }
.edition__term { color: var(--muted); }
.price-card .edition__amount { display: block; }
.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; }

/* ---- footer: the reversed logo, the presentation, "Follow OsDot", the three columns, the legal line */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 48px 0 24px; }
.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 .pending, .site-footer .pending__label { color: var(--on-dark-muted); }
.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; }

/* ---- Handyman Booking OS: its own type and a simple cinematic touch (CSS only, Standard 07 §15): the hero and the bands
   rise in once, the devices drift slowly; nothing moves under reduced motion, and no JavaScript is needed for any of it. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
h1, h2, h3, .brand__product { font-family: var(--font-display); letter-spacing: -0.012em; }
h1, h2 { font-weight: 700; }
h3 { font-weight: 600; }
b, strong { font-weight: 600; }
.hero { background: radial-gradient(1100px 520px at 88% -8%, rgb(244 122 85 / .22), transparent 62%), var(--dark); }
.band--dark { background: radial-gradient(900px 420px at 8% 0%, rgb(47 94 158 / .28), transparent 60%), var(--dark); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes hm-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes hm-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  .hero h1, .hero .lead, .hero .buttons, .hero .btn-row, .hero .hero__more { animation: hm-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .lead { animation-delay: .08s; }
  .hero .hero__more { animation-delay: .16s; }
  .device--phone { animation: hm-drift 9s ease-in-out 1s infinite; }
  .capstrip, .storynav { animation: hm-rise .7s cubic-bezier(.2, .7, .2, 1) .1s both; }
}

/* ---- Handyman Booking OS: round 1 of the look (the long product name in the header, the pictures beside the text) */
.site-header__inner { padding-right: 56px; }
.brand { flex: 0 1 auto; }
@media (min-width: 1100px) {
  .site-header .container { width: min(1380px, 100% - 32px); }
  .site-header__inner { flex-wrap: nowrap; }
  .primary-nav, .primary-nav ul { gap: 14px; }
  .nav-social { gap: 2px; }
  .nav-social .social-link { width: 38px; height: 38px; }
  .brand__product { font-size: 1rem; }
}
@media (max-width: 420px) {
  .brand { flex: 1 1 0; }
  .brand__product { white-space: normal; font-size: .92rem; line-height: 1.2; }
  .brand__logo img { width: 80px; }
}
.hero h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; }
  .split--flip { grid-template-columns: 6fr 5fr; }
  .duo { grid-template-columns: minmax(0, 1fr) minmax(130px, 29%); align-items: end; }
}
.capstrip li { font-size: 14.5px; }
.container:not(.split) > .phones { max-width: 980px; margin-inline: auto; }
code { overflow-wrap: anywhere; }
@media (max-width: 420px) { .brand__logo { flex: 0 0 auto; } .brand__logo img { width: 72px; } .brand__product { font-size: .86rem; } }
