/* Foglift website. Palette and type from the app's Golden Hour design system (quit_weed/lib/design_system). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #f2e8d5;
  --raised: #fbf4e6;
  --sunken: #eadfc9;
  --ink: #2b241c;
  --muted: #7a6e5c;
  --hairline: #ddcfb6;
  --terracotta: #c25a34;
  --terracotta-press: #a6471f;
  --teal: #2c7a70;
  --gold: #c2841b;
  --coral: #c73e27;
  --clay: #9a3e58;
  --tint-teal: #dcebe6;
  --tint-gold: #f7e9c8;
  --tint-coral: #fbe0d8;
  --tint-clay: #f3dee4;
  --shadow: 0 1px 2px rgba(43, 36, 28, 0.06), 0 12px 32px rgba(43, 36, 28, 0.1);
  --radius: 20px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #1a1713;
    --raised: #241f19;
    --sunken: #110e0a;
    --ink: #f2e8d5;
    --muted: #a99b85;
    --hairline: #38312a;
    --terracotta: #d86a42;
    --terracotta-press: #c25a34;
    --teal: #4fa69a;
    --gold: #e0a02c;
    --coral: #ef6a52;
    --clay: #d57895;
    --tint-teal: #16302c;
    --tint-gold: #2e2514;
    --tint-coral: #33201a;
    --tint-clay: #31202a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-press); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
section { padding: 72px 0; }
.section-h { text-align: center; max-width: 760px; margin: 0 auto 48px; }

/* Buttons and links */
.btn {
  display: inline-block; background: var(--terracotta); color: #fff8ee; text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 999px;
}
.btn:hover { background: var(--terracotta-press); color: #fff8ee; }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--hairline); }
.btn-ghost:hover { background: var(--raised); color: var(--ink); }
.more { font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.25rem var(--display); }
.logo img { border-radius: 8px; }
.logo:hover { color: var(--ink); }
nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-link:hover { color: var(--terracotta); }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--terracotta); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.hero-cta p { margin: 0; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.sun {
  position: absolute; width: 120%; aspect-ratio: 1; top: 8%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--terracotta) 32%, transparent) 0 30%, transparent 62%);
  pointer-events: none;
}

/* Phone frame */
.phone {
  position: relative; width: 100%; max-width: 300px; border-radius: 40px; padding: 10px;
  background: #1c1813; box-shadow: var(--shadow);
}
.phone img { border-radius: 31px; width: 100%; }
.phone-small { max-width: 240px; border-radius: 32px; padding: 8px; }
.phone-small img { border-radius: 25px; }

/* Why */
.why { background: var(--raised); border-block: 1px solid var(--hairline); }
.why p { font-size: 1.15rem; }

/* Features */
.feature {
  display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center;
  padding: 48px; border-radius: 28px; margin-bottom: 28px;
}
.feature.flip { grid-template-columns: 300px 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.feature p { font-size: 1.1rem; max-width: 32em; }
.tint-teal { background: var(--tint-teal); } .tint-teal h3, .tint-teal .more { color: var(--teal); }
.tint-gold { background: var(--tint-gold); } .tint-gold h3, .tint-gold .more { color: var(--gold); }
.tint-coral { background: var(--tint-coral); } .tint-coral h3, .tint-coral .more { color: var(--coral); }
.tint-clay { background: var(--tint-clay); } .tint-clay h3, .tint-clay .more { color: var(--clay); }

/* More screens */
.more-screens { background: var(--raised); border-block: 1px solid var(--hairline); }
.screens-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.screens-row figure { margin: 0; }
.screens-row .phone { max-width: 230px; margin: 0 auto; border-radius: 32px; padding: 8px; }
.screens-row .phone img { border-radius: 25px; }
.screens-row figcaption { text-align: center; margin-top: 16px; font-weight: 600; font-size: 0.95rem; }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-list li { background: var(--raised); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--terracotta); color: #fff8ee; font: 800 1.1rem var(--display); margin-bottom: 16px;
}
.step-list p { margin: 0; color: var(--muted); }

/* Maker */
.maker { background: var(--ink); color: var(--canvas); }
.maker h2 { color: var(--canvas); }
.maker p { font-size: 1.15rem; opacity: 0.9; }
@media (prefers-color-scheme: dark) { .maker { background: var(--raised); color: var(--ink); } .maker h2 { color: var(--ink); } }

/* Guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.guide-card {
  display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--sunken); }
.guide-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.guide-card h2, .guide-card h3 { font-size: 1.25rem; }
.guide-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.guide-card .more { color: var(--terracotta); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.8rem var(--display); color: var(--terracotta);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item h3 { margin: 0; font-size: 1.15rem; }
.faq-body { padding-bottom: 22px; }
.faq-body p { color: var(--muted); margin-bottom: 0.6em; }

/* Final CTA */
.final-cta { background: var(--tint-coral); }
.cta-icon { margin: 0 auto 20px; border-radius: 22px; box-shadow: var(--shadow); }
.final-cta p { font-size: 1.15rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 40px; }
.footer-grid .logo { margin-bottom: 12px; }
.footer-h { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.site-footer li a:hover { color: var(--terracotta); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline); }

/* Article */
.article-main { padding-top: 32px; }
.article { max-width: 800px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }
.feature-figure { margin: 12px 0 36px; }
.feature-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--sunken); }
.credit { font-size: 0.8rem; color: var(--muted); margin-top: 8px; text-align: right; }
.credit a { color: var(--muted); }
.prose { font-size: 1.1rem; }
.prose section { padding: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; list-style: revert; }
.prose li { margin-bottom: 0.5em; }
.prose .answer { font-size: 1.2rem; }
.howto { background: var(--raised); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 4px 28px 12px; margin: 28px 0; }
.howto h2 { font-size: 1.35rem; margin-top: 1.2em; }
.shot { margin: 32px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shot figcaption { text-align: center; color: var(--muted); font-size: 0.95rem; max-width: 30em; }
.cta-callout {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
  background: var(--tint-coral); border-radius: var(--radius); padding: 22px 24px; margin: 32px 0;
}
.cta-callout > img { border-radius: 15px; }
.cta-callout p { margin: 0; font-size: 0.98rem; color: var(--muted); }
.cta-callout .cta-title { font: 700 1.15rem/1.3 var(--display); color: var(--ink); margin-bottom: 4px; }
.guide-faq .qa h3 { font-size: 1.15rem; margin-top: 1.2em; }
.related { padding-top: 64px; }
.back-home { margin-top: 32px; }
.index-main { padding-top: 32px; padding-bottom: 72px; }
.index-main .lede { margin-bottom: 40px; }
.notfound { padding: 96px 20px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual .phone { max-width: 260px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .feature.flip .feature-copy { order: 0; }
  .feature .phone { max-width: 240px; margin: 0 auto; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .nav-link { display: none; }
  .nav-link[href="/guides/"] { display: inline; }
  nav { gap: 14px; }
  .lede { font-size: 1.08rem; }
  .screens-row { gap: 16px; }
  .screens-row figcaption { font-size: 0.85rem; }
  .cta-callout { grid-template-columns: 48px 1fr; padding: 20px; }
  .cta-callout > img { width: 48px; height: 48px; border-radius: 12px; }
  .cta-callout .store-badge { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .howto { padding: 4px 20px 8px; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-card { transition: none; }
}
