/*
 * Fizikora — plain-CSS port of the Tailwind v4 design handoff (cosmic dark theme, electric blue/orange).
 * No build step. No inline styles are used anywhere in the views (strict CSP), and fonts are self-hosted.
 * Colour tokens mirror the :root values of the original design/styles.css; the optional `.dark`
 * palette from the prototype is intentionally NOT used.
 */

/* ---- Fonts (self-hosted; Orbitron only ships a Latin subset, Inter covers Turkish) ----------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Orbitron"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/orbitron-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Design tokens --------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --radius: 0.875rem;
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --background: oklch(0.14 0.04 275);
  --foreground: oklch(0.96 0.01 260);
  --card: oklch(0.19 0.05 275 / 70%);
  --popover: oklch(0.19 0.05 275);
  --primary: oklch(0.72 0.19 45);
  --primary-foreground: oklch(0.14 0.04 275);
  --secondary: oklch(0.62 0.2 255);
  --muted: oklch(0.23 0.05 275);
  --muted-foreground: oklch(0.72 0.04 260);
  --accent: oklch(0.7 0.17 240);
  --destructive: oklch(0.65 0.22 25);
  --success: oklch(0.78 0.16 155);
  --border: oklch(0.7 0.12 255 / 22%);
  --input: oklch(0.7 0.12 255 / 30%);
  --ring: oklch(0.72 0.19 45);

  --gradient-flare: linear-gradient(90deg, var(--secondary), var(--primary));
  --shadow-glow-orange: 0 0 30px -6px color-mix(in oklab, var(--primary) 70%, transparent);
  --shadow-glow-blue: 0 0 40px -10px color-mix(in oklab, var(--secondary) 70%, transparent);

  --font-display: "Orbitron", "Inter", ui-sans-serif, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 5.5rem; } /* room for the sticky header */

body {
  margin: 0;
  font: 16px/1.6 var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, color-mix(in oklab, var(--secondary) 25%, transparent), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 60%),
    radial-gradient(1px 1px at 20% 30%, var(--foreground), transparent),
    radial-gradient(1px 1px at 70% 60%, var(--foreground), transparent),
    radial-gradient(1px 1px at 40% 80%, var(--foreground), transparent);
  background-size: auto, auto, 300px 300px, 400px 400px, 250px 250px;
  background-attachment: fixed;
  min-height: 100vh;
}

img, iframe { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.875rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
a:hover { color: var(--foreground); }
code { background: var(--muted); padding: .1em .4em; border-radius: 6px; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { margin: .4em 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ring); outline-offset: 2px;
}

/* ---- Utilities from the design -------------------------------------------------------------- */
.text-flare { background-image: var(--gradient-flare); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.glow-orange { box-shadow: var(--shadow-glow-orange); }
.glow-blue { box-shadow: var(--shadow-glow-blue); }
.flare-line { height: 2px; background-image: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent); border: 0; margin: 0 auto; max-width: 36rem; }
.muted { color: var(--muted-foreground); }
.center { text-align: center; }

/* ---- Layout ---------------------------------------------------------------------------------- */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 48rem; }
.narrow-sm { max-width: 42rem; }
.section { padding: 4rem 0; }
.section-alt { border-block: 1px solid var(--border); background: color-mix(in oklab, var(--muted) 30%, transparent); }
.lead { font-size: 1.125rem; color: var(--muted-foreground); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--primary-foreground); padding: .5rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2, .grid-3 { gap: 1.5rem; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Section heading block: kicker + title + optional sub */
.section-title { text-align: center; margin-bottom: 2.5rem; }
.kicker { margin: 0; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; color: var(--accent); }
.section-title h2 { margin: .5rem 0 0; }
.section-title .sub { margin: .75rem auto 0; max-width: 42rem; color: var(--muted-foreground); }

/* Inner-page header */
.page-head { text-align: center; padding: 3.5rem 0 1rem; }
.page-head h1 { margin: .5rem 0 .4em; }
.page-head p { color: var(--muted-foreground); margin: 0 auto; max-width: 42rem; }
.page-head + .section { padding-top: 2.5rem; }

/* ---- Header / nav ---------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--background) 70%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: .75rem; gap: .5rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; letter-spacing: .2em; color: var(--foreground); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--foreground); }
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 50%; box-shadow: var(--shadow-glow-blue); }
.wordmark .o { color: var(--primary); }

.nav-toggle { border: 1px solid var(--border); background: transparent; color: var(--foreground); border-radius: 6px; padding: .5rem .75rem; font: inherit; line-height: 1; cursor: pointer; }
.nav-toggle:hover { background: var(--muted); }
.site-nav { display: none; width: 100%; flex-direction: column; gap: .25rem; border-top: 1px solid var(--border); padding: .75rem 0 .25rem; }
.site-nav.open { display: flex; }
.site-nav a { color: var(--foreground); text-decoration: none; padding: .5rem; border-radius: 6px; }
.site-nav a:hover { background: var(--muted); }
.site-nav a.active { color: var(--primary); }
.site-nav .nav-cta { margin-top: .5rem; text-align: center; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; width: auto; flex-direction: row; align-items: center; gap: 1.1rem; border: 0; padding: 0; font-size: .875rem; }
  .site-nav a { color: var(--muted-foreground); padding: .25rem 0; background: none; }
  .site-nav a:hover { color: var(--foreground); background: none; }
  .site-nav a.active { color: var(--foreground); }
  .site-nav .nav-cta { margin: 0 0 0 .5rem; padding: .6rem 1.25rem; font-size: 1rem; }
}

/* The call-to-action keeps its button look in every state; declared after the generic nav-link rules
   (which set colours/backgrounds on `.site-nav a`) so it always wins, on phones and on desktop. */
.site-nav a.nav-cta,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible { background: var(--primary); color: var(--primary-foreground); }
.site-nav a.nav-cta:hover { filter: brightness(1.1); }

/* ---- Buttons --------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; text-align: center; text-decoration: none; padding: .75rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: filter .15s, background .15s; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow-orange); }
.btn-primary:hover { color: var(--primary-foreground); filter: brightness(1.1); }
.btn-secondary { background: color-mix(in oklab, var(--secondary) 10%, transparent); border-color: color-mix(in oklab, var(--secondary) 60%, transparent); color: var(--foreground); }
.btn-secondary:hover { background: color-mix(in oklab, var(--secondary) 25%, transparent); }
.btn-whatsapp { background: color-mix(in oklab, var(--accent) 10%, transparent); border-color: color-mix(in oklab, var(--accent) 60%, transparent); color: var(--foreground); }
.btn-whatsapp:hover { background: color-mix(in oklab, var(--accent) 20%, transparent); }
.btn-danger { background: var(--destructive); color: #fff; }
.btn-small { padding: .35rem .9rem; font-size: .875rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.center .btn-row, .cta-band .btn-row, .hero .btn-row { justify-content: center; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---- Hero ------------------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; }
/* The source image is 1920px wide. Never stretch it past that (stretching is what makes it look soft);
   on wider screens it stays centred and its edges fade into the starfield background. */
.hero-banner { display: block; width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }
@media (min-width: 768px) { .hero-banner { height: 18rem; object-fit: cover; } }
@media (min-width: 1921px) {
  .hero-banner { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}
.hero-body { max-width: 56rem; margin: 0 auto; padding: 3.5rem 1rem; text-align: center; }
@media (min-width: 768px) { .hero-body { padding-block: 5rem; } }
.hero-kicker { display: inline-block; margin: 0 0 1rem; padding: .25rem 1rem; border: 1px solid color-mix(in oklab, var(--secondary) 50%, transparent); border-radius: 999px; background: color-mix(in oklab, var(--secondary) 10%, transparent); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.hero h1 { font-size: clamp(1.875rem, 6vw, 3rem); font-weight: 700; margin: 0; }
.hero .lead { max-width: 42rem; margin: 1.25rem auto 0; }
.hero .btn-row { margin-top: 2rem; }
.hero .flare-line { margin-top: 3.5rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: .75rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .stat-value { font-size: 1.5rem; } .stat-label { font-size: .875rem; } }

/* ---- Cards ----------------------------------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.5rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-top: 0; }
.card.hover:hover { border-color: color-mix(in oklab, var(--secondary) 60%, transparent); box-shadow: var(--shadow-glow-blue); }
.card.highlight { border-color: color-mix(in oklab, var(--primary) 70%, transparent); box-shadow: var(--shadow-glow-orange); }

.path-tag { font-family: var(--font-display); font-size: 2.25rem; font-weight: 900; line-height: 1.1; }
.path-tag.tyt { color: var(--accent); }
.path-tag.ayt { color: var(--primary); }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--muted-foreground); }
.topic-grid li { display: flex; gap: .5rem; }
.topic-grid li::before { content: "◆"; color: var(--accent); }
.path-ayt .topic-grid li::before { color: var(--primary); }

.topic-list { list-style: none; padding: 0; margin: 0 0 1.5rem; columns: 1; }
@media (min-width: 700px) { .topic-list { columns: 2; column-gap: 2rem; } }
.topic-list li { margin-bottom: .5rem; break-inside: avoid; color: var(--muted-foreground); }
.topic-list li::before { content: "◆ "; color: var(--accent); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.25em; }
.checklist li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; color: var(--muted-foreground); }
.checklist li strong { color: var(--foreground); }
.checklist li::before { content: "✦"; position: absolute; left: 0; color: var(--primary); }
.checklist.ticks li::before { content: "✓"; }

.step-number { display: block; font-family: var(--font-display); font-size: 1.875rem; font-weight: 900; line-height: 1.2; margin-bottom: .5rem; }

/* ---- About ----------------------------------------------------------------------------------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1.4fr; } }
.mascot { position: relative; width: 16rem; aspect-ratio: 1; margin: 0 auto; border: 2px solid color-mix(in oklab, var(--primary) 60%, transparent); border-radius: 50%; background: var(--muted); box-shadow: var(--shadow-glow-orange); }
@media (min-width: 768px) { .mascot { width: 20rem; } }
.mascot img { position: absolute; inset: .75rem; width: calc(100% - 1.5rem); height: calc(100% - 1.5rem); border-radius: 50%; object-fit: cover; }

/* ---- Pricing --------------------------------------------------------------------------------- */
.badge { display: inline-block; margin-bottom: .75rem; padding: .25rem .75rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: .75rem; font-weight: 700; }
.price-row { display: flex; align-items: baseline; gap: .25rem; margin: .75rem 0 0; }
.price { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; margin: 0; }
.price-unit { font-size: .875rem; color: var(--muted-foreground); }
.plan-desc { color: var(--muted-foreground); font-size: .9rem; margin-top: .75rem; }
.plan-btn { margin-top: 1.5rem; width: 100%; }
.plan-btn.plain { background: transparent; border-color: var(--border); }
.plan-btn.plain:hover { background: var(--muted); }

/* ---- Video ----------------------------------------------------------------------------------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; width: 100%; height: 100%; color: var(--muted-foreground); text-align: center; padding: 1rem; }
.video-play:hover { color: var(--foreground); }
.video-play:focus-visible { outline: 2px solid var(--ring); outline-offset: -4px; }
.video-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-size: 1.3rem; padding-left: .2rem; box-shadow: var(--shadow-glow-orange); }
.video-title { font-weight: 600; }
.video-cta { margin: .9rem 0 0; }

/* ---- Forms ----------------------------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form.cols-2 { grid-template-columns: repeat(2, 1fr); } .form.cols-2 > .span-2 { grid-column: span 2; } }
.field { display: grid; gap: .375rem; align-content: start; }
.field label, legend { font-size: .875rem; font-weight: 500; }
.hint { font-size: .85rem; color: var(--muted-foreground); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; color: var(--foreground); padding: .625rem 1rem;
  border: 1px solid var(--input); border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--background) 50%, transparent);
}
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=datetime-local], select { min-height: 2.9rem; } /* selects and inputs line up in rows */
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: 0 0 0 2px color-mix(in oklab, var(--ring) 40%, transparent); }
select option { background: var(--popover); color: var(--foreground); }
textarea { min-height: 6.5rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.choice { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-xl); background: color-mix(in oklab, var(--background) 40%, transparent); }
.choice:hover { border-color: var(--primary); }
.choice:has(input:checked) { border-color: var(--primary); background: color-mix(in oklab, var(--primary) 10%, transparent); }
.choice input { margin-top: .3rem; accent-color: var(--primary); }
.choice label { font-weight: 400; font-size: 1rem; }
.opt-letter { font-family: var(--font-display); color: var(--primary); margin-right: .4rem; }
.field-error, .text-danger { color: var(--destructive); font-size: .875rem; }
.validation-summary { background: color-mix(in oklab, var(--destructive) 15%, transparent); border: 1px solid color-mix(in oklab, var(--destructive) 50%, transparent); color: var(--foreground); border-radius: var(--radius-xl); padding: .75rem 1rem; }
.validation-summary ul { margin: 0; padding-left: 1.2rem; }
.validation-summary-valid { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-2xl); }
.alert h1 { margin-top: 0; }
.alert-ok { background: color-mix(in oklab, var(--success) 12%, transparent); border: 1px solid color-mix(in oklab, var(--success) 45%, transparent); }
.alert-info { background: color-mix(in oklab, var(--accent) 12%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); margin-bottom: 1rem; }

/* Payment */
.pay-summary { margin: 0 0 1.25rem; }
.pay-summary li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.pay-summary li:last-child { border-bottom: 0; }
.pay-summary .price { font-size: 1.6rem; }

/* Free test */
.question { margin-bottom: 1rem; }
.question legend { margin-bottom: .75rem; font-size: 1.05rem; font-weight: 500; }
.solutions-title { margin: 3rem 0 1.5rem; }
.q-num { font-family: var(--font-display); color: var(--primary); margin-right: .3rem; }
.score-card { text-align: center; box-shadow: var(--shadow-glow-blue); }
.score-big { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; margin: .5rem 0; }
.result-item { border-left: 4px solid var(--border); margin-bottom: 1rem; }
.result-item.correct { border-left-color: var(--success); }
.result-item.wrong { border-left-color: var(--destructive); }
.tag { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.tag-ok { background: color-mix(in oklab, var(--success) 18%, transparent); color: var(--success); }
.tag-bad { background: color-mix(in oklab, var(--destructive) 18%, transparent); color: var(--destructive); }
.tag-neutral { background: var(--muted); color: var(--muted-foreground); }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.25rem; margin-bottom: .75rem; }
details.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 500; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--primary); font-size: 1.25rem; line-height: 1; transition: transform .15s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: .75rem 0 0; font-size: .9rem; color: var(--muted-foreground); }

/* CTA band */
.cta-band { border-block: 1px solid var(--border); background: color-mix(in oklab, var(--muted) 30%, transparent); padding: 4rem 0; text-align: center; }
.cta-band p { color: var(--muted-foreground); }

/* ---- Footer ---------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; color: var(--muted-foreground); font-size: .875rem; }
.site-footer .flare-line { max-width: 48rem; margin-bottom: 2rem; }
.site-footer a { color: var(--muted-foreground); text-decoration: none; }
.site-footer a:hover { color: var(--foreground); }
.site-footer .link-button { color: var(--muted-foreground); text-decoration: none; }
.site-footer .link-button:hover { color: var(--foreground); }
.footer-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; text-align: center; }
@media (min-width: 768px) { .footer-row { flex-direction: row; text-align: left; } }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; color: var(--foreground); }
.footer-brand img { width: 2rem; height: 2rem; border-radius: 50%; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; }

/* Consent banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--popover); border-top: 2px solid var(--primary); box-shadow: 0 -4px 24px rgba(0,0,0,.5); padding: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.consent p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.consent-actions { display: flex; gap: .5rem; }

/* Prose pages (privacy / terms) */
.prose h2 { margin-top: 1.8em; font-size: 1.3rem; }
.prose ul { padding-left: 1.2rem; color: var(--muted-foreground); }
.prose p { color: var(--muted-foreground); }
.prose strong { color: var(--foreground); }

/* ---- Admin (same theme, denser) -------------------------------------------------------------- */
.admin-bar { border-bottom: 1px solid var(--border); background: var(--popover); }
.admin-bar .container { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; min-height: 56px; }
.admin-bar a { color: var(--muted-foreground); text-decoration: none; padding: .3rem .2rem; }
.admin-bar a:hover { color: var(--foreground); }
.admin-bar a.active { color: var(--foreground); box-shadow: inset 0 -2px 0 var(--primary); }
.admin-bar form { margin-left: auto; }
.admin-bar ~ main h1 { font-size: 1.5rem; margin-bottom: 1rem; } /* compact headings for the working screens */
.filters { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); }
table.data { border-collapse: collapse; width: 100%; min-width: 720px; }
table.data th, table.data td { padding: .7rem .85rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.data th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: color-mix(in oklab, var(--muted) 60%, transparent); }
table.data tr:last-child td { border-bottom: 0; }
.inline-form { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.status { display: inline-block; padding: .1rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--muted); color: var(--muted-foreground); }
.status-Pending { background: color-mix(in oklab, var(--primary) 20%, transparent); color: var(--primary); }
.status-Confirmed { background: color-mix(in oklab, var(--accent) 20%, transparent); color: var(--accent); }
.status-Completed { background: color-mix(in oklab, var(--success) 18%, transparent); color: var(--success); }
.status-Cancelled, .status-NoShow { background: color-mix(in oklab, var(--destructive) 18%, transparent); color: var(--destructive); }
.pager { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; }
.login-box { max-width: 26rem; margin: 3rem auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, details.faq summary::after { transition: none; } }
