/* landing.css — standalone stylesheet for freshie.app landing page and guides index */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.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;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:        #191410;
  --color-surface:   #1B1713;
  --color-border:    #2e2720;
  --color-text:      #f0ebe4;
  --color-muted:     #8a7f74;
  --color-muted-accent:  #BAAA97;
  --color-accent:    #FF6A00;
  --color-accent-lt: #B84A20;
  --radius:          10px;
  --max-w:           1100px;
  --spacing-xs:      0.5rem;
  --spacing-sm:      0.75rem;
  --spacing-md:      1rem;
  --spacing-lg:      1.5rem;
  --spacing-xl:      2.5rem;
  --spacing-2xl:     4rem;
}

html { font-size: 16px; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ---------- Layout ---------- */

.l-container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--spacing-lg);
}

/* ---------- Site header ---------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--spacing-md);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.site-brand .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.site-brand .wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.site-header-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
}

.site-header-link:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #000000;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--color-accent-lt); }

/* ---------- Hero ---------- */

.hero {
  padding-block: var(--spacing-2xl);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-copy { max-width: 540px; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.hero-h1 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: clamp(4rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.hero-h1-accent {
  position: relative;
  display: inline-block;
}

.hero-brush {
  width: clamp(120px, 40vw, 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.75rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: var(--spacing-xl);
  max-width: 420px;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-visual img { max-width: 300px; width: 100%; }

/* ---------- PWA banner ---------- */

.pwa-banner {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--spacing-md);
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

.pwa-banner a {
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pwa-banner a:hover { color: var(--color-text); }

/* ---------- Section headings ---------- */

.section {
  padding-block: var(--spacing-2xl);
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.section-heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
}

/* ---------- Features grid ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--spacing-md);
  color: var(--color-accent);
}

.feature-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.step {
  position: relative;
  padding-top: var(--spacing-md);
}

.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-muted-accent);
  margin-bottom: var(--spacing-xs);
}

.step-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ---------- Guide cards ---------- */

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  text-decoration: none;
  transition: border-color 0.15s;
}

.guide-card:hover { border-color: var(--color-accent); }

.guide-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.guide-card-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex: 1;
}

.guide-card-cta {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: var(--spacing-xs);
}

.guides-all-link {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guides-all-link:hover { color: var(--color-text); }

/* ---------- Trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--spacing-md);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding-block: var(--spacing-2xl);
  text-align: center;
}

.final-cta-heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
}

/* ---------- Landing footer ---------- */

.landing-footer {
  border-top: 1px solid var(--color-border);
}

.landing-footer-inner {
  padding-block: var(--spacing-xl);
  font-size: 0.75rem;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.landing-footer .footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.landing-footer-brand img {
  border-radius: 6px;
}

.landing-footer-wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.landing-footer .footer-copyright {
  color: var(--color-muted);
}

.landing-footer .guide-social {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.landing-footer .guide-social a {
  color: var(--color-muted);
  line-height: 0;
  text-decoration: none;
}

/* ---------- Guides index hero ---------- */

.guides-hero {
  padding-block: var(--spacing-2xl) var(--spacing-xl);
}

.guides-hero-h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--spacing-md);
}

.guides-hero-desc {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 560px;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  .hero {
    padding-block: var(--spacing-xl);
  }

  .hero-inner {
    grid-template-columns: 1fr auto;
    column-gap: var(--spacing-md);
  }

  .hero-h1 {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .hero-visual img {
    max-width: 130px;
  }

  .site-footer-meta:last-child {
    flex-direction: column;
    align-items: flex-start;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
