/* Helping You Click — shared site styles (main site, blog).
   Tokens and Rubik mirror the design system: https://claude.ai/artifact/WexZgYXpxNj7N9NSzbn3uL
   Light theme by default; the navy theme is the dark mode. */

@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap; src: url("/fonts/rubik-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap; src: url("/fonts/rubik-latin-400-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: "Rubik"; font-weight: 500; font-display: swap; src: url("/fonts/rubik-hebrew-500-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url("/fonts/rubik-latin-500-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: "Rubik"; font-weight: 600; font-display: swap; src: url("/fonts/rubik-hebrew-600-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 600; font-display: swap; src: url("/fonts/rubik-latin-600-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: "Rubik"; font-weight: 700; font-display: swap; src: url("/fonts/rubik-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("/fonts/rubik-latin-700-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: "Rubik"; font-weight: 800; font-display: swap; src: url("/fonts/rubik-hebrew-800-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url("/fonts/rubik-latin-800-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; }

:root {
  --brand-navy: #012f6b;
  --brand-navy-2: #0a3f86;
  --brand-orange: #fea501;
  --on-navy: #ffffff;
  --on-navy-muted: #c8d6eb;
  --accent-hover: #ffb52e;

  --surface: #ffffff;
  --surface-raised: #f3f6fb;
  --ink: #16181d;
  --ink-muted: #5c6270;
  --line: #dde3ec;
  --link: #0a3f86;
  --tagline: #0a3f86;
  --focus: #0a3f86;
  --panel: var(--brand-navy);
  --lockup-name: #012f6b;
  --lockup-desc: #0a3f86;

  --font-sans: "Rubik", "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px;
  --content-text: 42rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #012f6b;
    --surface-raised: rgba(255, 255, 255, 0.07);
    --ink: #ffffff;
    --ink-muted: #c8d6eb;
    --line: rgba(255, 255, 255, 0.18);
    --link: #fea501;
    --tagline: #fea501;
    --focus: #fea501;
    --panel: #0a3f86;
    --lockup-name: #ffffff;
    --lockup-desc: #fea501;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { background: var(--surface); }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 18px/1.7 var(--font-sans); -webkit-font-smoothing: antialiased;
}
main {
  max-width: var(--content-text); margin: 0 auto;
  padding-block: 2rem 4rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.2; font-weight: 800; margin: 0 0 1rem; }

/* header: logo tile + eyebrow brand mark, nav on the other side */
.site-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
/* horizontal lockup: circle mark, then name (800) over description (600); mark on the right in RTL */
.lockup { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.lockup img { width: 3rem; height: 3rem; display: block; flex: none; }
.lockup span { display: grid; line-height: 1.15; }
.lockup b { font-size: 1.15rem; font-weight: 800; color: var(--lockup-name); }
.lockup small { font-size: .85rem; font-weight: 600; color: var(--lockup-desc); }
.site-top nav { display: flex; gap: 1.25rem; font-size: .95rem; }
.site-top nav a { color: var(--ink-muted); text-decoration: none; }
.site-top nav a:hover { color: var(--ink); }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 1.25rem; }

/* the one navy call to action, same buttons as the contact card */
.cta { margin-top: 3.5rem; padding: 2rem 1.5rem; border-radius: var(--radius-lg);
  background: var(--panel); color: var(--on-navy); text-align: center; }
.cta p { margin: 0 0 1.25rem; color: var(--on-navy-muted); }
.cta strong { display: block; color: var(--on-navy); font-size: 1.35rem; font-weight: 800; margin-bottom: .35rem; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px;
  padding: .85rem 1.75rem; border-radius: var(--radius-md); background: var(--brand-orange); color: var(--brand-navy);
  font-weight: 800; text-decoration: none; }
.btn-primary:hover { background: var(--accent-hover); }
.cta .btn-primary:focus-visible { outline-color: var(--brand-orange); }

footer { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--ink-muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
footer a { color: inherit; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
