/* Fonts are self-hosted (no requests to Google). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url(fonts/bricolage-grotesque-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url(fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }
/* Nexvio — light studio look. Violet accent used sparingly; the hero's running log is the one bold moment. */
:root {
  --bg: #fbfafd;
  --surface: #ffffff;
  --surface-2: #f4f1fb;
  --line: #e5e0ef;
  --fg: #19152a;
  --muted: #605a72;
  --accent: #6a46f5;
  --accent-strong: #5633e0;
  --accent-ink: #ffffff;
  --ok: #1a9a60;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.2vw, 4.4rem);
  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
img { max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--bg);
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 500 0.78rem/1.4 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: var(--step--1); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang a { font: 500 0.78rem/1 var(--font-mono); letter-spacing: 0.06em; color: var(--muted); text-decoration: none; border-radius: 999px; padding: 7px 11px; }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.menu-btn { display: none; font: 500 var(--step--1) var(--font-body); color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line); }
.mobile-menu nav { display: grid; padding-block: 8px 18px; }
.mobile-menu a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu a:last-child { border-bottom: 0; color: var(--accent); }
@media (max-width: 900px) {
  .nav-links, .nav .btn-primary { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--step--1)/1 var(--font-body); text-decoration: none;
  padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.nav .btn { padding: 10px 16px; }

/* Home hero */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 620px; height: 620px; right: -140px; top: -120px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding-block: 80px 88px;
}
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 800; margin-top: 18px; }
.hero h1 .accent { color: var(--accent); }
.lead { margin-top: 22px; font-size: var(--step-1); color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding-block: 40px 44px; gap: 32px; } }

/* Running log */
.log {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 70px -34px color-mix(in srgb, var(--accent) 40%, transparent), 0 2px 6px rgba(25, 21, 42, .04);
  font-family: var(--font-mono); font-size: 0.8rem;
}
.log-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.log-title { font-weight: 500; }
.log-tag { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.log-list { list-style: none; margin: 0; padding: 10px 0; }
.log-row { display: grid; grid-template-columns: auto 18px 1fr; gap: 12px; align-items: start; padding: 11px 18px; transition: opacity .35s, background .35s; }
.log-row > span:last-child { min-width: 0; }
.log-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.log-state { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--line); }
.log-row .detail { display: block; color: var(--muted); margin-top: 2px; }
.log-row.done .log-state { background: var(--ok); border-color: var(--ok); }
.log-row.active { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.log-row.active .log-state { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.log-row.pending { opacity: .5; }
.log-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); }
.log-foot strong { color: var(--fg); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .log-row.active .log-state { animation: none; border-top-color: var(--accent); } }

/* Sub-page hero */
.page-hero { display: grid; gap: 16px; align-content: start; }
.hero.sub .hero-grid { padding-block: 40px 56px; align-items: start; }
.hero.sub .log { margin-top: 40px; }
@media (max-width: 900px) { .hero.sub .log { margin-top: 0; } .hero.sub .hero-grid { padding-block: 28px 40px; } }
.crumbs { font-size: var(--step--1); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); font-weight: 800; }
.page-hero .lead { margin-top: 4px; }
.page-hero .hero-cta { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.chips li { font: 400 0.74rem/1 var(--font-mono); color: var(--muted); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 10px; }

/* Sections */
.band { border-top: 1px solid var(--line); }
.band.tint { background: var(--surface-2); }
.section-inner { padding-block: clamp(36px, 5vw, 64px); display: grid; gap: clamp(24px, 3.5vw, 36px); }
.section-head { display: grid; gap: 14px; max-width: 40em; }
.section-head h2 { font-size: var(--step-3); font-weight: 700; }
.section-head p { color: var(--muted); font-size: var(--step-1); }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--surface); padding: 32px 30px; display: grid; gap: 14px; align-content: start; text-decoration: none; transition: background .25s; }
.service:hover { background: var(--surface-2); }
.service-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); }
.service-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: var(--step-2); font-weight: 700; }
.service p { color: var(--muted); max-width: 34em; }
.service .more { font-weight: 600; font-size: var(--step--1); color: var(--accent); }
.service:hover .more { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service { padding: 24px 20px; } }

.tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tasks li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.tasks h3 { font-size: var(--step-1); font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.tasks h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateY(-2px); }
.tasks p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tasks { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--accent); }
.steps .num { font: 500 0.8rem/1 var(--font-mono); color: var(--accent); letter-spacing: 0.08em; }
.steps h3 { font-size: var(--step-1); font-weight: 700; }
.steps p { color: var(--muted); font-size: var(--step--1); }
.steps .dur { font: 400 0.74rem/1.3 var(--font-mono); color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.case .industry { font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.case h3 { font-size: var(--step-1); font-weight: 700; }
.case p { color: var(--muted); font-size: var(--step--1); }
.case .result { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--step--1); }
.case .result b { font-family: var(--font-display); font-size: var(--step-1); }
.case .result span { color: var(--muted); }
.note { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

.faq { display: grid; border-top: 1px solid var(--line); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 44em; }

.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.others a { display: grid; gap: 6px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s; }
.others a:hover { border-color: var(--accent); }
.others b { font-family: var(--font-display); font-size: var(--step-1); }
.others span { color: var(--accent); font-size: var(--step--1); font-weight: 600; }
@media (max-width: 760px) { .others { grid-template-columns: 1fr; } }

.cta-band { background: var(--fg); color: var(--bg); }
.cta-band .section-inner { grid-template-columns: 1fr auto; align-items: center; gap: 20px 48px; padding-block: clamp(36px, 5vw, 56px); }
.cta-band h2 { font-size: var(--step-3); font-weight: 700; }
.cta-band p { margin-top: 12px; color: color-mix(in srgb, var(--bg) 72%, var(--fg)); max-width: 36em; }
.cta-band .btn-primary { padding: 15px 22px; }
@media (max-width: 760px) { .cta-band .section-inner { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; padding-block: 64px 88px; }
.contact > * { min-width: 0; }
.contact-info { display: grid; gap: 18px; }
.contact-info h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); font-weight: 800; }
.contact-info .lead { margin-top: 0; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mail code { font: 500 var(--step-0) var(--font-mono); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; user-select: all; overflow-wrap: anywhere; }
.copy { font: 500 0.78rem var(--font-mono); background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--muted); }
.next { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.next li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.next .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 0.75rem var(--font-mono); background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); }
.next b { display: block; }
.next p { color: var(--muted); font-size: var(--step--1); }
.next-h { font: 600 var(--step--1) var(--font-body); margin-top: 10px; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; box-shadow: 0 20px 50px -36px color-mix(in srgb, var(--accent) 45%, transparent); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } form { padding: 22px 18px; } }
label { font-size: var(--step--1); font-weight: 500; }
input, select, textarea { font: 400 var(--step-0) var(--font-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.form-status { font-size: var(--step--1); color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; padding-block: 48px 64px; } }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--surface); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; font-size: var(--step--1); }
.foot > * { min-width: 0; }
.foot p { color: var(--muted); margin-top: 12px; max-width: 26em; }
.foot h2 { font: 600 var(--step--1) var(--font-body); margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--fg); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.foot-base div { display: flex; gap: 18px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* Language chooser (root) */
.chooser { min-height: 70vh; display: grid; place-content: center; gap: 24px; text-align: center; padding-block: 48px; }
.chooser .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Mini dashboard example */
.kpi-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.kpi-tile { background: var(--surface); padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.kpi-tile span { color: var(--muted); font-size: 0.7rem; }
.kpi-tile b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kpi-tile small { color: var(--muted); font-size: 0.68rem; }
.kpi-chart { padding: 16px 18px 12px 46px; }
.kpi-label { color: var(--muted); font-size: 0.7rem; margin: 0 0 14px -28px; }
.bars { position: relative; height: 120px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line); }
.bars .gl { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.bars .gl i { position: absolute; right: calc(100% + 8px); top: -0.6em; font-style: normal; font-size: 0.65rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { flex: 1; position: relative; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--accent) 28%, var(--surface)); }
.bar.now { background: var(--accent); }
.bar-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.68rem; margin-top: 6px; }
@media (max-width: 420px) { .kpi-tile b { font-size: 1.05rem; } .kpi-tile { padding: 12px; } }

/* Web design example: browser + phone mockup with switchable colour options */
.design-ex { --demo: #6a46f5; --demo-soft: #efeafe; }
.design-ex[data-v="2"] { --demo: #0f7f74; --demo-soft: #e2f3f1; }
.design-ex[data-v="3"] { --demo: #cf5a22; --demo-soft: #fbece3; }
.mock { position: relative; padding: 18px 18px 26px; background: var(--surface-2); }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-right: 64px; }
.bbar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.bbar span { margin-left: 8px; flex: 1; min-width: 0; font-size: 0.62rem; color: var(--muted); background: var(--bg); border-radius: 5px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msite { font-family: var(--font-body); padding: 12px 14px 14px; display: grid; gap: 12px; }
.mnav { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.66rem; }
.mnav b { color: var(--demo); font-family: var(--font-display); transition: color .5s; }
.mnav div { display: flex; gap: 10px; color: var(--muted); }
.mhero { background: var(--demo-soft); border-radius: 8px; padding: 14px; display: grid; gap: 6px; justify-items: start; transition: background .5s; }
.mh { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.15; color: var(--fg); }
.ml { display: block; height: 5px; width: 85%; border-radius: 3px; background: color-mix(in srgb, var(--fg) 14%, transparent); }
.ml.short { width: 60%; }
.mbtn { margin-top: 4px; font-size: 0.62rem; font-weight: 600; color: #fff; background: var(--demo); border-radius: 5px; padding: 5px 9px; transition: background .5s; }
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mcards div { height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 7px; }
.mcards i { display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--demo); opacity: .85; transition: background .5s; }
.phone { position: absolute; right: 14px; bottom: 12px; width: 104px; background: var(--fg); border-radius: 16px; padding: 5px; box-shadow: 0 14px 30px -14px rgba(25, 21, 42, .45); }
.psite { background: var(--surface); border-radius: 12px; padding: 8px 7px; display: grid; gap: 6px; font-family: var(--font-body); }
.psite .mhero { padding: 8px; gap: 4px; }
.psite .mh { font-size: 0.62rem; }
.psite .mbtn { font-size: 0.5rem; padding: 3px 6px; }
.pnav { display: flex; justify-content: space-between; align-items: center; font-size: 0.5rem; }
.pnav b { color: var(--demo); font-family: var(--font-display); transition: color .5s; }
.pnav i { width: 10px; height: 2px; background: var(--muted); box-shadow: 0 3px 0 var(--muted), 0 -3px 0 var(--muted); }
.pcard { height: 16px; border: 1px solid var(--line); border-radius: 4px; }
.variants { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); }
.variants div { display: flex; gap: 8px; }
.sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.sw1 { background: #6a46f5; } .sw2 { background: #0f7f74; } .sw3 { background: #cf5a22; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--fg); }
@media (prefers-reduced-motion: reduce) { .mnav b, .mhero, .mbtn, .mcards i, .pnav b { transition: none; } }
@media (max-width: 480px) { .browser { margin-right: 48px; } .phone { width: 92px; } .browser .mh, .browser .ml { max-width: 66%; } }

/* Legal pages */
.legal { max-width: 760px; padding-block: 48px 72px; }
.legal h1 { font-size: var(--step-3); font-weight: 800; margin-bottom: 20px; }
.legal h2 { font-size: var(--step-1); font-weight: 700; margin: 28px 0 8px; letter-spacing: -0.01em; }
.legal p { color: var(--muted); margin-bottom: 10px; max-width: 62ch; }
.legal p strong { color: var(--fg); }
.legal .stand { font: 400 0.8rem var(--font-mono); }
mark.ph { background: #fff1b8; color: #6b4e00; border-radius: 4px; padding: 0 4px; }
.foot-base a { text-decoration: none; color: var(--muted); }
.foot-base a:hover { color: var(--fg); }

/* Booking (Google Calendar appointment schedule, loaded on click) */
.booking { gap: 24px; }
.booking-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 220px; display: grid; }
.booking-frame iframe { width: 100%; height: 640px; border: 0; display: block; }
.booking-gate { display: grid; gap: 18px; align-content: center; justify-items: start; padding: 28px; max-width: 46em; }
.booking-gate p { color: var(--muted); font-size: var(--step--1); }
.booking-gate a:not(.btn) { color: var(--accent); }
@media (max-width: 560px) { .booking-frame iframe { height: 760px; } .booking-gate { padding: 22px 18px; } }
