/* Google Fonts — fallback when local font files can't be loaded (e.g. file:// protocol) */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800;12..96,900&family=Figtree:wght@400;500;600;700&display=swap");

/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --orange:       #FF7200;
  --orange-pale:  #FFF0E6;
  --dark:         #1B1C1A;
  --dark-2:       #252622;
  --bg:           #F7F5F2;
  --surface:      #FFFFFF;
  --surface-2:    #F3EFEA;
  --text:         #1B1C1A;
  --muted:        #6B6560;
  --faint:        #9CA3AF;
  --border:       #EDE9E4;

  --shadow-sm:    0 2px 8px rgba(27,28,26,0.06);
  --shadow-md:    0 6px 24px rgba(27,28,26,0.09);
  --shadow-lg:    0 16px 56px rgba(27,28,26,0.12);

  --r-sm:   12px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-xl:   36px;
  --r-pill: 999px;

  --nav-h:  72px;
  --wrap:   1120px;
  --gap:    24px;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/Figtree.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

/* ─── Layout helpers ─────────────────────────────────────────────── */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* ─── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247,245,242,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}
.brand-name {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.brand-name .dot { color: var(--orange); }
.brand-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: none;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 150ms ease;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }

/* Nav CTA */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--dark);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 150ms ease, transform 150ms ease;
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-dark small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.btn-dark strong { display: block; font-size: 0.92rem; }

/* ─── Sections ───────────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}
.section--white  { background: var(--surface); }
.section--dark   { background: var(--dark); color: #fff; }
.section--orange { background: var(--orange); color: #fff; }
.section--hooke  { background: #1B1C1A; color: #fff; }

/* ─── Typography ─────────────────────────────────────────────────── */
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section--dark  .kicker { color: rgba(255,255,255,0.6); }
.section--orange .kicker { color: rgba(255,255,255,0.7); }
.section--hooke .kicker { color: rgba(255,255,255,0.72); }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.h-display {
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.045em;
}
.h-display span { color: var(--orange); }

.h-section {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.h-card {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.body-lg {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}
.section--dark  .body-lg { color: rgba(255,255,255,0.68); }
.section--orange .body-lg { color: rgba(255,255,255,0.88); }
.section--hooke .body-lg { color: rgba(255,255,255,0.88); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,114,0,0.2);
  background: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero-eyebrow strong { color: var(--orange); }

.hero-title {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  background: var(--dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(27,28,26,0.22);
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn-store:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(27,28,26,0.28);
}
.btn-store-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.btn-store-copy { display: flex; flex-direction: column; line-height: 1.15; }
.btn-store-copy small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.btn-store-copy strong { font-size: 1rem; }

.note {
  font-size: 0.82rem;
  color: var(--faint);
}

/* Hero visual card */
.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid rgba(255,114,0,0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 28px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mascot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-mascot-wrap img {
  width: min(72%, 280px);
  filter: drop-shadow(0 16px 32px rgba(255,114,0,0.22));
}

/* ─── Problem section ────────────────────────────────────────────── */
.two-col {
  display: grid;
  gap: var(--gap);
}

.card {
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.card--accent {
  border-color: rgba(255,114,0,0.18);
  background: linear-gradient(160deg, #FFF7EF 0%, #FFFFFF 60%);
}

.card p { color: var(--muted); line-height: 1.7; }

/* ─── Steps ──────────────────────────────────────────────────────── */
.steps {
  display: grid;
  gap: var(--gap);
  margin-top: 48px;
}
.step-card {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: linear-gradient(160deg, #FFF7EF, #FFE5CC);
  border: 1px solid rgba(255,114,0,0.2);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.step-card p { font-size: 0.95rem; color: var(--muted); margin-top: 8px; }

/* ─── Dark / why section ─────────────────────────────────────────── */
.why-inner {
  max-width: 720px;
}
.section--dark .h-section { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.68); }
.pull-quote {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--orange);
}

/* ─── Benefits ───────────────────────────────────────────────────── */
.benefits {
  display: grid;
  gap: var(--gap);
  margin-top: 48px;
}
.benefit-card {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.benefit-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.benefit-card h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.benefit-card p { font-size: 0.92rem; color: var(--muted); }

/* ─── Hooke section ──────────────────────────────────────────────── */
.hooke-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hooke-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 24px;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}
.hooke-visual img {
  width: min(70%, 280px);
  filter: drop-shadow(0 24px 40px rgba(120,40,0,0.32));
}
.section--orange .h-section { color: #fff; }
.section--orange p { color: rgba(255,255,255,0.88); }
.section--hooke .h-section { color: #fff; }
.section--hooke p { color: rgba(255,255,255,0.88); }

/* ─── CTA panel ──────────────────────────────────────────────────── */
.cta-panel {
  padding: 48px 32px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid rgba(255,114,0,0.12);
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-panel .h-section { margin-bottom: 0; }
.cta-panel p { color: var(--muted); max-width: 420px; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 48px;
}
.footer-inner {
  display: grid;
  gap: 28px;
}
.footer .brand-name { color: rgba(255,255,255,0.9); }
.footer .brand-tag  { color: rgba(255,255,255,0.45); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 150ms ease;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ─── Legal pages ────────────────────────────────────────────────── */
.legal-wrap {
  max-width: 740px;
  padding: 56px 0 96px;
}
.legal-header {
  margin-bottom: 40px;
}
.legal-header .kicker {
  color: var(--orange);
}
.legal-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.legal-date {
  font-size: 0.88rem;
  color: var(--faint);
}

.legal-body {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.legal-lead {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-body h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 36px 0 12px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-body ul {
  margin: 0 0 18px 20px;
  list-style: disc;
}
.legal-body li {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-contact {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.legal-contact p { color: var(--muted); margin-bottom: 4px; }
.legal-contact p:last-child { margin-bottom: 0; }

/* ─── Scroll animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 540ms ease, transform 540ms ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .steps    { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .wrap { width: min(100% - 64px, var(--wrap)); }

  .nav-links { display: flex; }

  .hero { padding: 80px 0 100px; }

  .hero-layout  { grid-template-columns: 1fr 1fr; gap: 48px; }
  .two-col      { grid-template-columns: 1fr 1fr; }
  .hooke-layout { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .section { padding: 96px 0; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
}
