/* ClockLap site chrome, shared by every marketing page: colour tokens, the floating nav, pills and the footer.
   Pages built in the new style also load site.css; the legal, help and status pages load only this. */

:root {
  --bg: #FFFFFF;
  --bg-2: #F4F4F2;          /* quiet panel on white */
  --fg: #0B0B0C;
  --fg-2: #47474D;          /* body text on white */
  --fg-3: #7A7A82;          /* small print */
  --line: #E6E6E3;
  --black: #000000;         /* bands, nav, cards: black in both themes */
  --card: #0E0E10;          /* black card on white */
  --card-2: #141416;        /* card on a black band */
  --card-line: #232327;
  --on-black: #FFFFFF;
  --on-black-2: #A6A6AD;
  --on-black-3: #6E6E76;
  --accent: #B8975A;        /* champagne, the only colour */
  --accent-hi: #D5B983;     /* champagne for text on black */
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --font: "Geist", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --curve: clamp(28px, 5.5vw, 88px);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
/* Dark: a soft charcoal page, so the black bands, their curves and the black cards still read as they do on white. */
:root[data-theme="dark"] {
  --bg: #17171A; --bg-2: #202024; --fg: #F3F3F4; --fg-2: #BDBDC4; --fg-3: #8A8A92; --line: #2E2E33;
  --card: #0B0B0D; --card-2: #141416; --card-edge: #2A2A2F; --accent: #C4A468; --accent-soft: color-mix(in srgb, var(--accent) 20%, transparent);
  color-scheme: dark;
}
:root.theme-anim, :root.theme-anim body, :root.theme-anim .band, :root.theme-anim .card, :root.theme-anim .itile, :root.theme-anim .panel, :root.theme-anim .soft {
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
@media (prefers-reduced-motion: reduce) { :root.theme-anim * { transition: none !important; } }

.nav, .menu, .foot { font-family: var(--font); -webkit-font-smoothing: antialiased; }
.nav *, .menu *, .foot * { box-sizing: border-box; }
.foot p { margin: 0; }
.foot li { display: block; padding: 0; border: 0; font-size: inherit; }
.foot h4 { margin: 0; font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- pills */
.pill { --h: 54px; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 7px 0 24px; border-radius: 999px; border: 0; font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.pill:active { transform: scale(.98); }
.pill .arr { width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.pill .arr svg { width: 15px; height: 15px; }
.pill:hover .arr { transform: rotate(-45deg); }
.pill.no-arr { padding: 0 24px; }
.pill-dark { background: var(--fg); color: var(--bg); }
.pill-dark .arr { background: var(--bg); color: var(--fg); }
.pill-light { background: #fff; color: #000; }
.pill-light .arr { background: #000; color: #fff; }
.pill-line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.pill-line:hover { box-shadow: inset 0 0 0 1px var(--fg-3); }
.pill-line .arr { background: var(--bg-2); color: var(--fg); }
.band .pill-line { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.band .pill-line:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.band .pill-line .arr { background: rgb(255 255 255 / .1); color: #fff; }
.pill-sm { --h: 42px; font-size: 14.5px; padding-left: 18px; gap: 10px; }
.pill-sm.no-arr { padding: 0 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
/* ---------------------------------------------------------------- nav */
.nav { position: fixed; z-index: 50; top: max(12px, env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); height: 60px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 20px; border-radius: 999px; background: rgb(0 0 0 / .92); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 12px 32px -14px rgb(0 0 0 / .5); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: width .5s var(--ease), box-shadow .3s; }
.nav .logo { margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 500 19px/1 var(--font); letter-spacing: -0.02em; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; overflow: hidden; max-width: 560px; opacity: 1; transition: max-width .5s var(--ease), opacity .3s; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: rgb(255 255 255 / .74); text-decoration: none; font-size: 14.5px; white-space: nowrap; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / .08); }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav .signin { color: rgb(255 255 255 / .8); text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav .signin:hover { color: #fff; }
.nav .pill { --h: 44px; font-size: 14.5px; padding-left: 18px; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: rgb(255 255 255 / .74); display: inline-grid; place-items: center; cursor: pointer; flex: none; transition: background .15s, color .15s; }
.icon-btn:hover { background: rgb(255 255 255 / .08); color: #fff; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-btn { display: none; }
/* Scrolled: just the logo and the buttons, like a compact pill. */
.nav.compact { width: min(560px, calc(100% - 24px)); }
.nav.compact .nav-links { max-width: 0; opacity: 0; pointer-events: none; }
.menu { position: fixed; z-index: 49; top: calc(max(12px, env(safe-area-inset-top, 0px)) + 68px); left: 12px; right: 12px; padding: 10px; border-radius: 26px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 20px 40px -16px rgb(0 0 0 / .6); display: grid; gap: 2px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu a { color: #fff; text-decoration: none; padding: 14px 16px; border-radius: 16px; font-size: 18px; }
.menu a:hover { background: rgb(255 255 255 / .07); }
@media (max-width: 1060px) { .nav-links { position: static; transform: none; margin-right: auto; } .nav .logo { margin-right: 6px; } }
@media (max-width: 900px) {
  .nav-links, .nav .signin { display: none; }
  .nav .logo { margin-right: auto; }
  .menu-btn { display: inline-grid; }
  .nav.compact { width: min(1180px, calc(100% - 24px)); }
}
@media (max-width: 420px) { .nav { padding-left: 14px; gap: 2px; } .nav .pill { padding-left: 14px; font-size: 14px; } .nav .pill .arr { display: none; } .nav .pill { padding-right: 14px; } }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--black); color: var(--on-black-2); padding: clamp(56px, 7vw, 96px) 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.foot h4 { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-black-3); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--on-black-2); text-decoration: none; transition: color .15s; }
.foot a:hover { color: #fff; }
.foot .about { max-width: 34ch; margin-top: 18px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #1E1E21; font-size: 13px; color: var(--on-black-3); }
.foot-base p { max-width: 82ch; }
.foot-word { font-size: clamp(64px, 17vw, 248px); line-height: .8; letter-spacing: -0.06em; color: #121214; margin-top: 48px; user-select: none; white-space: nowrap; overflow: hidden; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }

