/* Showvee — the app's own brand: clapper indigo, clapper yellow, white; Outfit for headings, the system font for text.
   Light by default, dark when the device asks for it. Five files, each small enough for the host's file editor;
   layout.php loads site.css (tokens, base, header, footer, buttons), site-parts.css, site-home.css, site-guides.css
   and site-forms.css in that order. */
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("fonts/outfit-600.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #fbfaf7; --paper-2: #f3f0e8; --card: #fff;
  --ink: #17132c; --ink-2: #48445f; --ink-3: #625e7a;
  --line: #e5e0d4; --line-2: #cfc8b8;
  --indigo: #3a0ca3; --indigo-2: #2c0985; --link: #3a0ca3; --link-hover: #5b2fd6;
  --yellow: #ffd23f; --yellow-2: #e9b800; --on-yellow: #1d1240;
  --night: #150c38; --night-2: #1f1450; --on-night: #f3f0ff; --on-night-2: #c9c1ec;
  --ok: #10703f; --ok-bg: #e5f3ea; --warn: #7d5200; --warn-bg: #fff3d1; --bad: #ad2318; --bad-bg: #fbe8e5; --info-bg: #ece8fb;
  --mark: rgba(255, 210, 63, .55);
  --shadow: 0 1px 2px rgba(23, 19, 44, .06), 0 8px 24px -12px rgba(23, 19, 44, .18);
  --shadow-lg: 0 30px 60px -28px rgba(20, 8, 70, .55);
  --r: 14px; --r-sm: 9px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", var(--font);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f0c1e; --paper-2: #16122b; --card: #1b1634;
    --ink: #f2f0fa; --ink-2: #c3bed8; --ink-3: #a19cbb;
    --line: #2b2548; --line-2: #3d3566;
    --link: #c2b2ff; --link-hover: #e0d7ff;
    --night: #0a0717; --night-2: #151030;
    --ok: #6fd9a0; --ok-bg: #0f2a1d; --warn: #ffd27a; --warn-bg: #2e2309; --bad: #ff9a8c; --bad-bg: #36130f; --info-bg: #221b44;
    --mark: rgba(255, 210, 63, .28);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.62 var(--font); -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
main { flex: 1; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--yellow-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.6vw + 1rem, 3.6rem); line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.4vw + .9rem, 2.35rem); margin-top: 1.7em; }
h3 { font-size: 1.22rem; margin-top: 1.5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .35em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code, .mono { font-family: var(--mono); font-size: .9em; }
code { background: var(--paper-2); border: 1px solid var(--line); padding: .05em .35em; border-radius: 5px; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
strong, b { font-weight: 650; }
small, .small { font-size: .875rem; }
.lead { font-size: clamp(1.08rem, .5vw + 1rem, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.mx-auto { margin-left: auto; margin-right: auto; }
.justify-center { justify-content: center; }
.mt-0 { margin-top: 0 !important; } .mt { margin-top: 20px !important; } .mt-lg { margin-top: 44px !important; } .mb-0 { margin-bottom: 0 !important; }
.text-warn { color: var(--warn); } .text-ok { color: var(--ok); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; z-index: 30; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px;
  background: var(--yellow); color: var(--on-yellow); border-radius: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* Layout */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.section { padding: 48px 0 64px; }
.section-sm { padding: 8px 0 56px; }
@media (min-width: 900px) { .section { padding: 72px 0 88px; } }
.alt-bg { background: var(--paper-2); border-block: 1px solid var(--line); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none;
  font: 600 1.42rem/1 var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .logo { display: block; flex: none; }
.nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav .btn { margin-left: 8px; color: var(--on-yellow); }
.nav .btn:hover { background: #ffdc66; color: var(--on-yellow); }
.nav .btn[aria-current="page"] { border-radius: 8px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.head-cta { margin-left: auto; }
.menu { position: static; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px;
  border: 1px solid var(--line-2); border-radius: 9px; font-weight: 600; font-size: .95rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--paper-2); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .35); padding: 8px 20px 18px; display: grid; }
.menu-panel a { color: var(--ink); text-decoration: none; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 550; }
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); padding-left: 12px; }
@media (max-width: 399px) {
  .brand { font-size: 1.25rem; }
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu, .btn.head-cta { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px;
  border-radius: 10px; border: 1.5px solid var(--yellow-2); background: var(--yellow); color: var(--on-yellow);
  font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); transition: background .15s, transform .15s; }
.btn:hover { background: #ffdc66; color: var(--on-yellow); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.secondary:hover { background: var(--paper-2); border-color: var(--ink-3); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--link); box-shadow: none; padding-inline: 10px; }
.btn.ghost:hover { background: var(--paper-2); }
.btn.danger { background: transparent; color: var(--bad); border-color: currentColor; box-shadow: none; }
.btn.danger:hover { background: var(--bad-bg); }
.btn.small { min-height: 38px; padding: 7px 14px; font-size: .92rem; border-radius: 8px; }
.btn.big { min-height: 54px; padding: 14px 26px; font-size: 1.06rem; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }
.on-dark .btn.secondary, .hero .btn.secondary { color: #fff; border-color: rgba(255, 255, 255, .45); }
.on-dark .btn.secondary:hover, .hero .btn.secondary:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row form { margin: 0; }
@media (max-width: 519px) { .btn-row.stack { flex-direction: column; align-items: stretch; } }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-2); padding: 52px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid .about { grid-column: 1 / -1; max-width: 22em; }
.footer-grid .about p { margin: 14px 0 0; }
.footer-col h2 { font: 600 .95rem/1 var(--display); color: #fff; letter-spacing: 0; margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 9px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-grid .about { grid-column: auto; } }
.fineprint { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: var(--on-night-2); }
.fineprint p { max-width: 62em; }
.clap-strip { height: 10px; background: var(--yellow) repeating-linear-gradient(-62deg, transparent 0 120px, var(--indigo) 120px 128px); }
