/* Shared styles for rucktera.com. Tokens match the app (see CLAUDE.md). */
:root {
  --bg: #0b0b0c;
  --bg-footer: #08080a;
  --surface: #151517;
  --surface-2: #1e1e21;
  --field: #17171a;
  --line: #2b2b2e;
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #f2f2f0;
  --text-2: #c9c9c6;
  --text-3: #a3a3a3;
  --label: #8e8e8e;
  --faint: #6f6f6f;
  --orange: #ff6a2b;
  --mint: #7ee2b8;
  --outline: rgba(255, 255, 255, 0.22);
  /* Rucktera brand green: buttons, step circles, focus rings. Never page backgrounds. */
  --green: #1a3018;
  --green-edge: rgba(242, 245, 243, 0.16);
  --off-white: #f2f5f3;
  /* The app's own font stack (Figma 18): SF Pro on Apple devices. Monospace only for real code. */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Inter", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; }
ul, ol { list-style: none; }
/* Focus: green ring on the element, off-white ring outside it so it reads on dark. */
:focus-visible { outline: 2px solid var(--off-white); outline-offset: 2px; box-shadow: 0 0 0 2px var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One calm column: 24px gutters on phones, 640px max on desktop. */
.wrap { max-width: 688px; margin: 0 auto; padding: 0 24px; }

/* Glass: translucent dark with blur. Solid fallback where backdrop-filter is missing. */
.glass { background: rgba(11, 11, 12, 0.94); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(11, 11, 12, 0.72);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
  }
}

/* Header: sticky glass bar with the logo and a Call pill */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.wordmark { display: flex; align-items: center; min-height: 44px; }
.wordmark img { width: auto; height: 24px; }
@media (min-width: 768px) {
  .wordmark img { height: 28px; }
}
.call-pill {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 22px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text);
}

/* Footer */
.site-footer { background: var(--bg-footer); border-top: 1px solid var(--hairline); }
.site-footer .wrap { padding-top: 20px; padding-bottom: 32px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; font-size: 14px; line-height: 20px; color: var(--label); }
.footer-links span { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Press feedback: a quick dip on tap. */
.btn, .call-pill, .footer-links a, summary {
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease, opacity 120ms ease;
}
.btn:active, .call-pill:active { transform: scale(0.97); }
.footer-links a:active, summary:active { opacity: 0.6; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .call-pill, .footer-links a, summary { transition: none; }
  .btn:active, .call-pill:active { transform: none; opacity: 0.75; }
}

/* Used on terms.html */
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 11px; line-height: normal;
  letter-spacing: 0.08em; color: var(--label); text-transform: uppercase;
}
