/* Naidu Circle: shared site chrome: tokens, nav, mobile sheet, buttons, footer.
   Class-scoped only, so it can sit on top of the Tailwind legal pages without restyling their content. */

:root {
  --saffron: #ff6b35;
  --saffron-hi: #ff8a57;
  --saffron-deep: #e4521d;
  --ember: #c2410c;
  --cream: #fff8f1;
  --sand: #f7efe6;
  --paper: #fffdfa;
  --ink: #1f0e07;
  --ink-2: #4b3a31;
  --ink-3: #7a685d;
  --line: rgba(31, 14, 7, 0.10);
  --line-light: rgba(255, 248, 241, 0.16);

  --font: 'Google Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 28px;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px 0 22px;
  border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, box-shadow 0.35s var(--ease-out), color 0.25s;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn .two { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn .two small { font-size: 11.5px; font-weight: 400; opacity: 0.72; letter-spacing: 0.01em; }
.btn .two b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px -10px rgba(31,14,7,0.55); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(31,14,7,0.6); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(31,14,7,0.22); cursor: default; }
.btn-ghost .two small { opacity: 0.6; }
.btn-ghost.on-dark { color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-light); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }


.nav, .sheet, .footer { font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── Footer ── */
.footer { background: var(--ink); color: rgba(255,248,241,0.6); font-size: 15px; }
.footer .container { padding-top: 80px; padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--cream); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-top p { max-width: 36ch; }
.footer h4 { color: var(--cream); font-size: 14px; font-weight: 500; margin-bottom: 18px; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--cream); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

@media (max-width: 980px) {

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .btn { height: 56px; }
}


/* ── Nav: a floating island, dark on every section, slimming as you scroll ── */
.nav {
  position: fixed; z-index: 50; left: 50%; translate: -50% 0;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  width: min(calc(100% - 24px), 1040px);
  border-radius: 999px; color: var(--cream);
  background: rgba(24, 11, 5, 0.84);
  backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(20px);
  box-shadow: 0 0 0 1px rgba(255, 248, 241, 0.08) inset, 0 18px 40px -18px rgba(31, 14, 7, 0.55);
  transition: width 0.6s var(--ease-out), background-color 0.4s, border-radius 0.5s var(--ease-out);
}
.nav.scrolled { width: min(calc(100% - 24px), 880px); background: rgba(24, 11, 5, 0.9); }
.nav .container { max-width: none; height: 60px; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--cream); white-space: nowrap; }
.nav-brand img { width: 30px; height: 30px; transition: transform 0.8s var(--ease-out); }
/* Brand first: the name is the strongest thing in the bar, with the maker underneath */
.nav-brand { font-size: 21px; gap: 11px; }
.nav-brand img { width: 36px; height: 36px; }
.nb-text { display: flex; flex-direction: column; line-height: 1.08; }
.nb-text b { font-weight: 600; }
.nb-text small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; color: rgba(255, 248, 241, 0.62); }
.nav-brand:hover img { transform: rotate(60deg); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--cream); }
.nav-links a:not(.btn) { opacity: 0.74; transition: opacity 0.2s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav .btn-ink { background: var(--cream); color: var(--ink); box-shadow: none; height: 44px; }
.nav .btn-ink:hover { transform: none; background: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--cream); position: relative; transition: transform 0.35s var(--ease-out), background-color 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.sheet { display: none; }

@media (max-width: 980px) {
  .nav, .nav.scrolled { width: calc(100% - 24px); }
  .nav .container { padding: 0 6px 0 18px; height: 58px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  /* the menu drops out of the island like it is expanding */
  .sheet {
    display: grid; position: fixed; z-index: 49; left: 12px; right: 12px;
    top: calc(env(safe-area-inset-top, 0px) + 78px);
    padding: 10px 22px 22px; border-radius: 28px; color: var(--cream);
    background: rgba(24, 11, 5, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px -24px rgba(31, 14, 7, 0.6);
    transform-origin: 50% 0; transform: scale(0.94) translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform 0.45s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  .sheet a:not(.btn) { display: block; padding: 15px 0; font-size: 19px; font-weight: 500; color: var(--cream); border-bottom: 1px solid rgba(255, 248, 241, 0.1); }
  .sheet .btn { margin-top: 18px; justify-content: center; background: var(--cream); color: var(--ink); }
  .nav.open + .sheet { transform: none; opacity: 1; visibility: visible; }
}
