/* Clinic by Kahloon, shared site chrome.
   Tokens, brand wordmark, header/nav, buttons and footer for every marketing page.
   Linked by /index.html, /contact/, /signin/ and /signup/. Edit here, not per page.
   /assets is cached for a year, so bump the ?v= query when this file changes. */

:root {
    --red: #0c7fa0;
    --red-dark: #095e78;
    --red-soft: #eef7fa;
    --ink: #171717;
    --ink-soft: #404040;
    --ink-muted: #525252;
    --ink-faint: #737373;
    --ink-light: #A3A3A3;
    --line: #E5E5E5;
    --line-subtle: #F0F0F0;
    --canvas: #FFFFFF;
    --bg-soft: #FAFAFA;
    --surface: #FAFAFA;
    --bg-band: #F7F7F7;
    --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --maxw: 1600px;
    --pad-x: 40px;
  }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-mark { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.025em; display: inline-flex; align-items: baseline; }
.brand-mark .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: 3px; transform: translateY(-2px); }
.brand-sub { font-size: 13px; font-weight: 500; line-height: 1; color: var(--ink-faint); margin-top: 0; }
.brand-sub b { color: var(--red); font-weight: 600; }
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.88); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.nav > .brand { justify-self: start; }
.nav-links { justify-self: center; display: flex; align-items: center; gap: 32px; font-size: 15px; color: var(--ink-muted); }
.nav-links a.link { color: var(--ink-muted); font-weight: 500; transition: color .15s; }
.nav-links a.link:hover { color: var(--ink); }
.nav-cta { justify-self: end; display: flex; gap: 12px; align-items: center; }
.nav-signin { font-size: 15px; color: var(--ink-muted); padding: 8px 14px; }
.nav-signin:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-size: 15px; font-weight: 600; padding: 12px 22px; border-radius: var(--radius); cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .05s; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-lg { font-size: 16px; padding: 15px 30px; }
.btn-arrow::after { content: '\2192'; margin-left: 2px; transition: transform .15s; }
.btn-arrow:hover::after { transform: translateX(3px); }
footer { background: var(--red); color: #fff; padding: 36px 0 28px; }
footer .brand-mark { color: #fff; }
footer .brand-mark .dot { background: #fff; }
footer .brand-sub { color: rgba(255,255,255,0.8); }
footer .brand-sub b { color: #fff; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: stretch; }
.foot-brand-col { display: flex; flex-direction: column; min-height: 100%; }
.foot-copyright { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.55; margin-top: auto; padding-top: 22px; white-space: nowrap; }
.foot-links { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.foot-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.95); margin-bottom: 4px; line-height: 1.45; }
.foot-col a:hover { color: #fff; }
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; height: auto; padding: 12px 0; row-gap: 8px; }
  .nav-links { grid-column: 1 / -1; justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; font-size: 14px; }
  .foot-copyright { margin-top: 22px; padding-top: 0; white-space: normal; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .nav-signin { display: none; }
}

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-open { display: none; }
.menu-open .nav-toggle .i-close { display: block; }
.nav-links .nav-links-signin { display: none; }
@media (max-width: 860px) {
  :root { --pad-x: 20px; }
  .nav { grid-template-columns: 1fr auto; height: 64px; padding: 0 var(--pad-x); row-gap: 0; }
  .nav > .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-signin { display: none; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 14px; }
  .menu-open .nav > .nav-links { display: flex; flex-direction: column; align-items: stretch; justify-self: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0,0,0,0.08); padding: 6px var(--pad-x) 14px; font-size: 16px; }
  .menu-open .nav > .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
  .menu-open .nav > .nav-links a:last-child { border-bottom: 0; }
  .menu-open .nav-links .nav-links-signin { display: block; }
}
