/* Ironbite Instagram landing page v1 - mobile-first */
/* Self-hosted fonts (Google Fonts, SIL Open Font License), latin subset */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/landing/fonts/barlow-condensed-700.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: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/landing/fonts/barlow-condensed-800.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: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/landing/fonts/dm-sans-400.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: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/landing/fonts/dm-sans-400.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: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/landing/fonts/dm-sans-400.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; }
:root {
  --lime: #acd032;
  --teal: #00594f;
  --teal-deep: #003f38;
  --ink: #14362f;
  --paper: #fff;
  --mist: #f3f7ee;
  --muted: #50655e;
  --line: #dce5df;
  --radius: 20px;
  --gutter: 20px;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, .btn:focus-visible { outline: 3px solid #ff7a1a; outline-offset: 4px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }

.skip { position: fixed; top: -100px; left: 16px; z-index: 50; background: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.skip:focus { top: 12px; }

/* Type */
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .94; letter-spacing: -.01em; color: var(--teal); }
h1 { font-size: clamp(46px, 13vw, 84px); font-weight: 800; }
h2 { font-size: clamp(42px, 11vw, 64px); font-weight: 800; }
.h2-small { font-size: clamp(34px, 9vw, 52px); }
h3 { font-size: 22px; font-weight: 700; text-transform: none; font-family: var(--body); letter-spacing: 0; line-height: 1.3; color: var(--ink); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink); }
.note { font-size: 13px; color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.small a { text-decoration: underline; text-underline-offset: 3px; }
.hl { display: inline-block; background: var(--lime); color: var(--teal); padding: 0 .12em; transform: rotate(-1.5deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 24px; border-radius: 16px;
  font-weight: 700; font-size: 17px; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(0,89,79,.7); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { min-height: 44px; padding: 10px 18px; border: 2px solid var(--teal); color: var(--teal); background: transparent; font-size: 15px; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-icon { flex-shrink: 0; }

/* Header */
.site-header { display: flex; align-items: center; gap: 12px; padding-block: 10px 4px; }
.brand img { width: 52px; height: 52px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lime); color: var(--teal);
  font-size: 13px; font-weight: 700; line-height: 1;
  padding: 8px 12px 8px 10px; border-radius: 999px; white-space: nowrap;
}
.header-cta { display: none; margin-left: auto; }

/* Hero: copy, ribbon, image (this order on mobile so the ribbon sits above the fold) */
.hero { padding-block: 10px 0; }
.hero-copy, .hero-cta { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.hero-copy .lead { margin: 12px 0 0; max-width: 36ch; font-size: 16px; }
.hero-cta { margin-top: 14px; }
.hero-cta .btn-primary { width: 100%; }
.hero-cta .note { margin-top: 10px; text-align: center; }

.partners { margin-top: 26px; }
.partners-lead { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ribbon {
  overflow: hidden;
  background: var(--lime); color: var(--teal);
  padding: 12px 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .03em; line-height: 1;
}
.ribbon-track { display: flex; align-items: center; width: max-content; white-space: nowrap; animation: ribbon-scroll 24s linear infinite; }
.gym { padding: 0 1.1em; position: relative; }
.gym + .gym::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--teal); opacity: .5; }
@keyframes ribbon-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-media { position: relative; margin: 14px auto 0; width: min(1120px, 100% - var(--gutter) * 2); }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 55%; border-radius: var(--radius); background: var(--mist); }
.stamp {
  position: absolute; top: -10px; right: -8px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--lime); color: var(--teal);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); text-transform: uppercase; font-size: 8.5px; line-height: 1.05; font-weight: 700;
  transform: rotate(8deg); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); border: 2px solid #fff;
}
.stamp span { display: block; }
.stamp b { display: block; font-size: 11px; font-weight: 800; }

/* Trust strip */
.star { color: #e8a600; }
.note strong { color: var(--ink); }
.trust { padding-block: 28px 0; }
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: stretch; }
.trust-list li { position: relative; background: var(--mist); border-radius: 16px; padding: 30px 6px 14px; text-align: center; }
.trust-list strong { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--teal); letter-spacing: -.01em; white-space: nowrap; }
.trust-list strong .star { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); font-size: 16px; line-height: 1; }
.trust-list span { display: block; margin-top: 7px; font-size: 12px; line-height: 1.3; color: var(--muted); min-height: 2.6em; }
.trust-partners { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* Social proof */
.proof { padding-block: 36px 8px; }
.reviews { display: grid; gap: 14px; margin-top: 18px; }
.review { background: var(--mist); border-radius: var(--radius); padding: 16px 18px 14px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: #dde5d8; }
.review cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.2; }
.stars { color: #e8a600; font-size: 13px; letter-spacing: 2px; margin-top: 2px; }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.review footer { margin-top: 10px; font-size: 12px; color: var(--muted); }
.proof .small { margin-top: 14px; }

/* Menu section posters */
.food { padding-block: 40px 8px; }
.tiles {
  display: flex; gap: 12px; margin-top: 22px;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter);
}
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: 0 0 72%; max-width: 320px; scroll-snap-align: start; }
.tile img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--mist); box-shadow: 0 10px 24px -16px rgba(20,54,47,.4); }
.food .small { margin-top: 12px; }
.tag {
  display: inline-block; vertical-align: middle; margin-left: .35em;
  background: var(--teal); color: var(--lime); font: 700 10px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 999px; position: relative; top: -2px;
}

/* App section: full phones */
.app { background: var(--mist); padding-block: 44px 40px; margin-top: 32px; overflow: hidden; }
.phones {
  display: flex; gap: 20px; margin-top: 26px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding-bottom: 8px; align-items: flex-start;
}
.phones::-webkit-scrollbar { display: none; }
.phone-item { flex: 0 0 250px; scroll-snap-align: start; }
.phone {
  width: 250px; border: 8px solid #163f36; border-radius: 36px;
  background: #163f36; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(20,54,47,.5);
}
.phone img { width: 100%; border-radius: 28px; }
.phone-item h3 { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.step {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--display); font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.app .small { margin-top: 18px; }


/* Download */
.download { background: var(--teal); color: #fff; padding-block: 52px 56px; scroll-margin-top: 12px; margin-top: 32px; }
.download .eyebrow { color: var(--lime); }
.download h2 { color: #fff; }
.download .lead { color: #d8ebe3; margin: 18px 0 26px; max-width: 34ch; }
.stores { display: grid; gap: 12px; }
.store {
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 20px; min-height: 64px;
  border: 2px solid #fff; transition: transform .15s ease, border-color .15s ease;
}
.store:hover { border-color: var(--lime); transform: translateY(-1px); }
.store svg { flex-shrink: 0; color: var(--teal); }
.store small { display: block; font-size: 12px; color: var(--muted); }
.store strong { font-size: 20px; line-height: 1.1; }

/* Footer */
.site-footer { padding-block: 28px 32px; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.footer-links a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-note { margin-top: 10px; line-height: 1.5; }
.footer-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Sticky mobile bar */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(20,54,47,.08);
  transition: transform .25s ease, visibility .25s;
}
.mobile-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
.mobile-bar-text { font-size: 12px; color: var(--muted); line-height: 1.3; min-width: 0; }
.mobile-bar-text strong { display: block; font-size: 13px; color: var(--ink); }
.mobile-bar .btn { min-height: 48px; padding: 10px 20px; font-size: 15px; border-radius: 14px; flex-shrink: 0; }

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .site-header { padding-block: 20px 8px; gap: 16px; }
  .brand img { width: 64px; height: 64px; }
  .pill { font-size: 14px; padding: 9px 14px 9px 12px; }
  .header-cta { display: inline-flex; }

  .hero {
    display: grid; align-items: center; column-gap: 56px;
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 540px) minmax(0, 540px) minmax(var(--gutter), 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: ". copy media ." ". cta media ." "ribbon ribbon ribbon ribbon";
    padding-block: 40px 0;
  }
  .hero-copy { grid-area: copy; width: auto; margin: 0; align-self: end; }
  .hero-cta { grid-area: cta; width: auto; margin: 24px 0 0; align-self: start; }
  .hero-media { grid-area: media; width: auto; margin: 0; }
  .hero-copy .lead { font-size: 19px; margin-top: 22px; }
  .stamp { width: 84px; height: 84px; font-size: 13px; top: -14px; right: -12px; border-width: 3px; }
  .stamp b { font-size: 17px; }
  .partners { grid-area: ribbon; margin-top: 56px; }
  .partners-lead { font-size: 13px; margin-bottom: 12px; }
  .ribbon { font-size: 32px; padding-block: 18px; }
  .ribbon-track { animation-duration: 40s; }
  .gym { padding: 0 1.6em; }
  h1 { font-size: clamp(72px, 6.6vw, 104px); }
  h2 { font-size: clamp(52px, 5vw, 68px); }
  .h2-small { font-size: clamp(40px, 3.6vw, 52px); }
  .hero-cta .btn-primary { width: auto; min-width: 280px; padding-inline: 32px; }
  .hero-cta .note { text-align: left; margin-left: 4px; }
  .hero-media img { aspect-ratio: 16 / 11; border-radius: 28px; }

  .trust { padding-block: 48px 0; }
  .trust-list { gap: 20px; max-width: 900px; }
  .trust-list li { padding: 40px 16px 18px; border-radius: 20px; }
  .trust-list strong { font-size: 44px; }
  .trust-list strong .star { font-size: 22px; top: 12px; }
  .trust-list span { font-size: 14px; margin-top: 8px; min-height: 0; }
  .trust-list span br { display: none; }
  .proof { padding-block: 56px 16px; }
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }

  .food { padding-block: 64px 24px; }
  .tiles { gap: 20px; margin-top: 30px; width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; padding-inline: 0; scroll-padding-inline: 0; }
  .tile { flex: 0 0 265px; max-width: none; }
  .food .small { margin-top: 16px; }
  .tag { font-size: 12px; padding: 5px 9px; }

  .app { padding-block: 72px 64px; margin-top: 56px; }
  .phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; overflow: visible; margin-top: 36px; align-items: start; }
  .phone-item { flex: initial; }
  .phone { width: min(100%, 280px); margin-inline: auto; }
  .phone-item h3 { justify-content: center; margin-top: 14px; font-size: 18px; }
  .app .small { text-align: center; margin-top: 28px; }


  .download { padding-block: 88px; text-align: center; margin-top: 56px; }
  .download .lead { margin-inline: auto; }
  .stores { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 16px; }
  .store { padding: 14px 24px; }

  .site-footer { padding-block: 32px; }
  .footer-links { justify-content: center; gap: 8px 28px; }
  .footer-note { text-align: center; }
  .mobile-bar { display: none; }
}

@media (max-width: 360px) {
  h1 { font-size: 50px; }
  .ribbon { font-size: 17px; gap: 6px 10px; }
  .tile { flex-basis: 80%; }
  .pill { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ribbon-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .ribbon-track span:nth-child(n+5) { display: none; }
}
