/* holdthebun.com. The colors come from src/theme/tokens.ts when the site is built. */
:root {
  --sky-middle: #CBE2F5;
  --text-main: #141311;
  --text-body: #2B2925;
  --text-secondary: #454C59;
  --surface: rgba(255,255,255,0.4);
  --ink: #0F3270;
  --glass-fill: rgba(255,255,255,0.38);
  --glass-rim: rgba(255,255,255,0.85);
  --hero-glass: 0 10px 28px rgba(31,72,140,0.20);
  --lift: 0 2px 8px rgba(23,22,28,0.10);
  --good: #0A5C36;
  --good-bg: #E3F6EA;
  --carbs: #D23C7A;
  --fat: #C98A0B;
  --protein: #4F63E6;
}

@font-face { font-family: 'Archivo Expanded'; src: url('/fonts/ArchivoExpanded-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Archivo Expanded'; src: url('/fonts/ArchivoExpanded-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Archivo Expanded'; src: url('/fonts/ArchivoExpanded-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky-middle);
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
/* The painted sky stays put while the page moves over it. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('/sky.jpg') center 18% / cover no-repeat;
}

h1, h2, h3 { margin: 0; color: var(--text-main); font-family: 'Archivo Expanded', sans-serif; }
h1 { font-size: clamp(48px, 9vw, 92px); line-height: 1.09; font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.09; font-weight: 900; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 800; }
em { font-weight: 500; font-style: italic; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: var(--lift); }
.brand span { font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 17px; color: var(--text-main); }
.bar-link { font-weight: 600; font-size: 16px; color: var(--text-main); text-decoration: none; padding: 10px 4px; }
.bar-link:hover { text-decoration: underline; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 20px 72px; }
.bun { width: min(380px, 74vw); height: auto; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 18px 28px rgba(31, 72, 140, 0.22)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero h1 { margin-top: 18px; }
.lead { margin-top: 20px; max-width: 30em; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.4; color: var(--text-body); }
.soon {
  margin-top: 28px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-main);
}

/* Clear glass: the same look as the app's cards and buttons. */
.soon, .pick, .card {
  background: var(--glass-fill);
  border: 1px solid var(--glass-rim);
  box-shadow: var(--hero-glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}

.picks { padding: 20px 0 64px; text-align: center; }
.picks h2, .sub, .note { padding-inline: 20px; }
.sub { margin: 14px auto 0; max-width: 32em; font-size: 19px; }
.note { font-size: 14px; color: var(--text-secondary); }

.deck {
  --card: min(350px, calc(100vw - 72px));
  display: flex;
  gap: 14px;
  margin-top: 30px;
  padding: 26px calc(50% - var(--card) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  text-align: left;
}
.deck::-webkit-scrollbar { display: none; }
.pick {
  position: relative;
  flex: 0 0 var(--card);
  scroll-snap-align: center;
  padding: 24px 22px;
  border-radius: 34px;
  cursor: pointer;
  will-change: transform;
}
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.pick h3 { margin-top: 6px; font-size: 24px; }
.net { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; color: var(--text-secondary); font-size: 18px; font-weight: 600; }
.net b { font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 70px; line-height: 1.09; color: var(--text-main); }
.score { margin-top: 10px; }
.score span { display: inline-block; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--good); background: var(--good-bg); }
.estimate { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.macros { display: flex; gap: 4px; height: 12px; margin-top: 16px; }
.macros i { display: block; border-radius: 999px; }
.macros .c { background: var(--carbs); } .macros .f { background: var(--fat); } .macros .p { background: var(--protein); }
.keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--text-body); }
.keys .c::before, .keys .f::before, .keys .p::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.keys .c::before { background: var(--carbs); } .keys .f::before { background: var(--fat); } .keys .p::before { background: var(--protein); }
.order { margin-top: 14px; padding: 13px 15px; border-radius: 18px; background: var(--surface); font-size: 15px; color: var(--text-main); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px 64px;
}
.card { padding: 26px 24px; border-radius: 24px; }
.card p { margin-top: 10px; font-size: 16px; color: var(--text-body); }

.foot { max-width: 760px; margin: 0 auto; padding: 0 20px 44px; text-align: center; font-size: 14px; color: var(--text-secondary); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 18px; }
.foot nav a { padding: 8px 2px; font-weight: 600; color: var(--text-main); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.copy { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  .bun { animation: none; }
}
