:root {
  /* Palette inspired by the logo:
   * - Challah gold: #F2C14E
   * - Deep cocoa: #4E342E
   * - Cream: #FFF8E7
   * - Accent blue: #3BA7D6
   */
  --brand: #F2C14E;
  --brand-ink: #2b210d;
  --accent: #3BA7D6;
  --bg: #FFF8E7;
  --ink: #2b2926;
  --ink-muted: #5c5c5c;
  --surface: #ffffff;
  --surface-alt: #FFF1CE;
  --card: #ffffff;
  --border: #e4d7b7;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

.container { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.site-header .container { width: min(1100px, 100% - 1.25rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 0; top: 0; background: var(--brand); color: var(--brand-ink); padding: .5rem .75rem; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--surface), transparent 20%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .65rem 0; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; }
.brand-name { font-weight: 800; letter-spacing: .2px; }

.menu-toggle { display: none; background: transparent; border: 0; padding: .25rem; margin-left: auto; }
.menu-toggle .menu-bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

.nav { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); padding: .4rem .6rem; border-radius: .5rem; }
.nav a:hover { background: var(--surface-alt); }
.nav .cta { background: var(--brand); color: var(--brand-ink); font-weight: 700; border: 1px solid color-mix(in srgb, var(--brand), black 8%); }

.hero { padding: 4rem 0 2.25rem; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 12%, white), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1.6fr; gap: 2.25rem; align-items: center; }
.hero-media img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 12px 36px rgba(0,0,0,.08); background: #fff; }
.hero-copy h1 { font-size: clamp(2rem, 2.8vw + 1rem, 3.2rem); margin: 0 0 .6rem; letter-spacing: -0.02em; }
.lede { color: var(--ink-muted); font-size: 1.125rem; }
.actions { display: flex; gap: .75rem; margin-top: 1rem; }

.button { display: inline-block; padding: .72rem 1.05rem; border-radius: .8rem; border: 1px solid var(--border); text-decoration: none; color: inherit; font-weight: 650; letter-spacing: .1px; }
.button.primary { background: var(--brand); color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand), black 8%); }
.button.primary:hover { transform: translateY(-1px); filter: brightness(0.99); box-shadow: 0 6px 14px rgba(0,0,0,.06); }
.button.ghost:hover { border-color: color-mix(in srgb, var(--accent), black 10%); background: color-mix(in srgb, var(--accent) 10%, white); }
.button.ghost { background: transparent; }

.section { padding: 3rem 0; }
.section.alt { background: var(--surface-alt); }

.platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.pill { padding: .4rem .7rem; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: inherit; background: var(--surface); }
.pill[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; box-shadow: 0 6px 16px rgba(0,0,0,.04); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; }
.tile { background: var(--card); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; }

.bullets { list-style: disc; padding-left: 1.2rem; color: var(--ink-muted); }

.subscribe { display: flex; gap: .5rem; }
.subscribe input { padding: .7rem .9rem; border-radius: .6rem; border: 1px solid var(--border); width: min(380px, 100%); }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; }
.footer-links { display: flex; gap: .75rem; }
.small { color: var(--ink-muted); font-size: .9rem; }

@media (max-width: 900px) {
  /* Mobile-first header */
  .menu-toggle { display: inline-block; }
  #primary-nav { position: absolute; inset-inline: 0; top: 58px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 4px 16px rgba(0,0,0,.04); }
  #primary-nav .nav { flex-direction: column; padding: .5rem; }
  #primary-nav .nav a { padding: .8rem 1rem; }
  #primary-nav[data-open="false"] { display: none; }
  #primary-nav[data-open="true"] { display: block; }

  .hero { padding-top: 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-copy h1 { font-size: clamp(1.6rem, 6vw + .5rem, 2.2rem); }
  .lede { font-size: 1rem; }
  .actions { gap: .6rem; }

  .cards { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Accessibility helpers */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
