/* Anychef site styles - rebuilt 2026-10-26 to match the app (Theme.swift) and
   the Black House App Store set. Rules carried over from the app:
   - black fills ONLY on buttons and selected chips; cards, banners and bands
     are white on the grey gradient (black-reserved-for-buttons)
   - no brand red anywhere; colour comes from the food and the tag tints
   - HK Grotesk Bold for marketing headlines (the ASL face), the system font
     (SF Pro on Apple devices) for everything else, like the app UI
   Hashed into /assets/ by build.py - never served from /static/. */

@font-face { font-family: "HK Grotesk"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/static/fonts/hkgrotesk-700.woff2") format("woff2"); }
@font-face { font-family: "HK Grotesk"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("/static/fonts/hkgrotesk-800.woff2") format("woff2"); }

:root {
  /* ack.* tokens */
  --bg: #EDEEF1;
  --bg-top: #F6F7F9;
  --bg-bottom: #E3E5EA;
  --asl-top: #FEFEFE;           /* the App Store frames' own gradient */
  --asl-bottom: #C6C5D2;
  --surface: #FFFFFF;
  --sunken: #E7E9EE;
  --ink: #0B0B0D;
  --ink-soft: #585B62;
  --ink-faint: #9498A0;
  --hairline: #DDDFE5;
  --brand: #1C1C1F;
  --brand-deep: #000000;
  --herb: #1FA463;

  --radius: 22px;               /* Metric.cardRadius */
  --radius-sm: 16px;            /* Metric.controlRadius */
  --radius-chip: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .07);          /* ackCardShadow */
  --shadow-pop: 0 22px 50px rgba(28, 26, 48, .16);  /* ASL pop-outs */
  --maxw: 1160px;
  --display: "HK Grotesk", "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg) linear-gradient(180deg, var(--bg-top) 0, var(--bg) 1100px) no-repeat;
  color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- nav */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 247, 249, .8);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid rgba(11, 11, 13, .06);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.lockup img { height: 30px; width: auto; }
.lockup span { font-family: var(--display); font-weight: 700; font-size: 27px; letter-spacing: -0.035em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn, .nav-links .btn:hover { color: #fff; }
.menu-button {
  display: none; width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--surface); box-shadow: var(--shadow); color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-button svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff;
  padding: 0 24px; height: 52px; border-radius: var(--radius-sm); border: 0;
  font: 600 16px/1 var(--text); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn:active { transform: scale(.98); }
.btn-small { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 13px; box-shadow: none; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .10); }
.btn svg { width: 18px; height: 18px; flex: none; }

.appstore { display: inline-block; height: 52px; width: auto; }
.appstore-big { display: inline-block; height: 60px; width: auto; }
.store-link { display: inline-block; border-radius: 12px; transition: transform .12s; }
.store-link:hover { transform: translateY(-1px); }
.fine { color: var(--ink-faint); font-size: 13.5px; font-weight: 500; }

/* ---------------------------------------------------------------- layout */
.main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--ink-faint); font-weight: 400; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.kicker a { color: inherit; }
.section { padding: 64px 0; }
.section-head { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.section-head h2 { font-family: var(--display); font-size: clamp(32px, 4.6vw, 50px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 8px; }
.section-head p { color: var(--ink-soft); font-size: 17.5px; margin-top: 12px; }

/* ---------------------------------------------------------------- home hero */
.hero { position: relative; text-align: center; padding: 64px 0 40px; isolation: isolate; }
.hero-lockup { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-lockup img { height: 58px; width: auto; }
.hero-lockup span { font-family: var(--display); font-weight: 700; font-size: 60px; letter-spacing: -0.04em; line-height: 1; }
.hero h1 { font-family: var(--display); font-size: clamp(44px, 7.2vw, 84px); line-height: .98; letter-spacing: -0.035em; max-width: 780px; margin: 0 auto; }
.hero-sub { max-width: 540px; margin: 20px auto 30px; color: var(--ink-soft); font-size: clamp(17px, 2vw, 19.5px); line-height: 1.5; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.plates { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.plate { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; filter: drop-shadow(0 18px 28px rgba(28, 26, 48, .22)); }
.plate img { width: 100%; height: 100%; border-radius: 50%; }
@media (max-width: 1180px) { .plates .p-in { display: none; } }
@media (max-width: 900px) {
  .plates { position: static; display: flex; justify-content: center; gap: 10px; margin: 0 0 24px; }
  .plates .plate { position: static; --s: 74px !important; display: none; }
  .plates .p-m { display: block; }
  .hero { padding-top: 30px; }
  .hero-lockup { display: none; }
}

/* ---------------------------------------------------------------- ASL cards */
/* Each card is an App Store frame with its headline set live: the gradient is
   the frames' own (#FEFEFE -> #C6C5D2, linear, uniform across x), the card has
   the frames' aspect, and the cut image (y 470 -> 2868 of 2868) sits flush at
   the bottom - so the card reads exactly like the screenshot in the listing. */
.asl-card {
  position: relative; container-type: inline-size; display: block;
  aspect-ratio: 1320 / 2868; border-radius: 26px; overflow: hidden;
  /* sampled off the frames - their gradient eases in, so a two-stop linear
     one leaves a seam where the image starts (16.39%) */
  background: linear-gradient(180deg, #FEFEFE 0%, #FEFEFE 2.09%, #FDFDFE 4.19%, #FCFCFD 6.28%, #FBFBFD 8.37%,
    #FBFBFC 10.46%, #FAFAFB 12.56%, #F9F9FB 14.65%, #F8F8FA 16.39%, #F6F6F7 20.93%, #F0F0F3 31.39%,
    #E9E9ED 41.86%, #E1E1E8 52.32%, #DADAE2 62.78%, #D3D3DC 73.25%, #CDCDD7 83.71%, #C6C5D2 100%);
  box-shadow: 0 10px 34px rgba(28, 26, 48, .10);
}
.asl-card .asl-h {
  position: absolute; left: 5%; right: 5%; top: 5.1%;
  font-family: var(--display); font-weight: 700; text-align: center;
  font-size: 10.6cqw; line-height: .98; letter-spacing: -0.018em; color: #0B0B0D;
}
.asl-card img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 660 / 1199; }
.asl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.asl-rail, .asl-grid.rail-m {
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.asl-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 280px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px; margin: 0 -20px;
}
.asl-rail::-webkit-scrollbar, .asl-grid::-webkit-scrollbar { display: none; }
.asl-rail .asl-card { scroll-snap-align: center; }
@media (max-width: 900px) {
  .asl-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(68vw, 280px); gap: 14px;
              overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px; margin: 0 -20px; scrollbar-width: none; }
  .asl-grid .asl-card { scroll-snap-align: center; }
}
.rail-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; height: 8px; }
.rail-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(11, 11, 13, .18); transition: background .2s, width .2s; }
.rail-dots i.on { background: var(--ink); width: 20px; }
@media (min-width: 901px) { .asl-grid + .rail-dots { display: none; } }

/* ---------------------------------------------------------------- app-UI recreations */
/* "This week's menu" - the meal-plan result card from the app, real catalog data */
.menu-card { background: var(--surface); border-radius: 30px; box-shadow: var(--shadow-pop); padding: 22px 18px 18px; max-width: 420px; width: 100%; text-align: left; }
.menu-card .kicker { font-size: 11px; }
.menu-card h3 { font-size: 25px; letter-spacing: -0.028em; margin-top: 4px; }
.menu-card .sub { color: var(--ink-faint); font-size: 13.5px; margin-top: 2px; font-weight: 500; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 12px; }
.stat-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-tile { background: var(--surface); border-radius: 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); padding: 12px 6px 10px; text-align: center; }
.stat-tile .ic { display: block; height: 24px; font-size: 21px; line-height: 24px; }
.stat-tile .ic svg { width: 19px; height: 19px; display: inline-block; vertical-align: middle; }
.stat-tile b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; line-height: 1.1; }
.stat-tile b small { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-left: 1px; }
.stat-tile span { display: block; font-size: 11.5px; color: var(--ink-faint); font-weight: 500; margin-top: 2px; }
.menu-list { background: var(--bg-top); border-radius: 20px; padding: 2px 12px; }
.menu-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.menu-row:last-child { border-bottom: 0; }
.menu-row img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px rgba(0, 0, 0, .16); }
.menu-row .day { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.menu-row strong { display: block; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.menu-row .m { font-size: 12.5px; color: var(--ink-faint); font-weight: 500; }
.menu-row svg { width: 18px; height: 18px; color: var(--ink-faint); }
.menu-card .btn { margin-top: 14px; width: 100%; height: 50px; font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-copy h2 { font-family: var(--display); font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -0.032em; margin: 8px 0 16px; }
.split-copy p { color: var(--ink-soft); font-size: 18px; max-width: 470px; }
.split-copy ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.split-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; font-weight: 500; }
.split-copy li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--herb); }
.split-visual { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .split-copy { text-align: center; }
  .split-copy p { margin: 0 auto; }
  .split-copy ul { justify-items: start; max-width: 400px; margin-left: auto; margin-right: auto; }
  .split-copy li { text-align: left; }
}

/* numbers strip */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.number { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; }
.number b { display: block; font-family: var(--display); font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.035em; line-height: 1; }
.number span { display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; line-height: 1.4; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; gap: 10px; } .number { padding: 18px 16px; } }

/* ---------------------------------------------------------------- recipe cards (app cookbook grid) */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; text-align: left; }
.card { display: block; color: var(--ink); }
.card-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--sunken); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 10px 2px 0; }
.card-body h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.28; }
.card-meta { font-size: 13px; color: var(--ink-faint); margin-top: 3px; font-weight: 500; }
.card-badge {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 4px; align-items: center;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: -0.01em;
}
.more-row { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border-radius: var(--radius-chip);
  padding: 8px 14px; font-size: 14px; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  transition: background .15s, color .15s;
}
.chip:hover { background: var(--ink); color: #fff; }
/* the app's tinted recipe tags */
.tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 9px; padding: 5px 10px; font-size: 13px; font-weight: 600; background: var(--sunken); color: var(--ink-soft); }
.tag:hover { filter: brightness(.96); }
.tag-highProtein { background: #FDE9EA; color: #D23B42; }
.tag-mealPrep { background: #ECE9FB; color: #5B4FC9; }
.tag-healthy, .tag-vegetarian, .tag-vegan, .tag-lightMeal { background: #E2F5EA; color: #1C8A52; }
.tag-quick { background: #FFF1D9; color: #A86400; }
.tag-budget { background: #E3F1FB; color: #1F6FA8; }
.tag-comfort { background: #FBEBDD; color: #A65A1E; }
.tag-spicy { background: #FDE6DE; color: #C2451C; }
.tag-lowCarb, .tag-glutenFree, .tag-dairyFree, .tag-pescatarian { background: #E4F3F4; color: #1D7E86; }

/* search field - the app's sunken "Search your recipes" well */
.search-wrap { position: relative; max-width: 620px; margin: 24px 0 8px; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none; }
.search {
  width: 100%; padding: 15px 18px 15px 44px; font: 500 16px var(--text); border: 0; border-radius: var(--radius-sm);
  background: var(--sunken); color: var(--ink); transition: background .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.search::placeholder { color: var(--ink-faint); }
.search:focus { outline: none; background: var(--surface); box-shadow: var(--shadow), 0 0 0 2px var(--ink); }
#searchResults:not(:empty) { margin: 18px 0 8px; }

/* ---------------------------------------------------------------- hubs */
.hub { padding: 40px 0 64px; }
.hub h1 { font-family: var(--display); font-size: clamp(36px, 5.4vw, 58px); line-height: 1; letter-spacing: -0.032em; }
.hub h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.hub-intro { color: var(--ink-soft); max-width: 720px; margin-top: 14px; font-size: 17.5px; }
.hub-count { color: var(--ink-faint); font-size: 14px; font-weight: 600; margin: 10px 0 24px; }
.crumbs { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: "/"; margin: 0 8px; color: #C9CCD3; }
@media (max-width: 640px) {
  /* the links stay in the DOM for crawlers; BreadcrumbList JSON-LD is separate */
  .crumbs { display: none; }
}
.chip-section { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 22px 20px; margin-top: 30px; }
.chip-section h2 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin: 20px 0 8px; }
.chip-section .chip { background: var(--bg-top); box-shadow: none; }
.chip-section .chip:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- recipe page */
.recipe { padding: 26px 0 64px; }
.recipe-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.recipe-photo-wrap { position: relative; padding-bottom: 46px; }
@media (min-width: 901px) { .recipe-photo-wrap { position: sticky; top: 86px; } }
.recipe-photo { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-pop); aspect-ratio: 1; background: var(--sunken); }
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; }
.recipe-photo::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .64)); }
.recipe-photo h1 {
  position: absolute; left: 26px; right: 26px; bottom: 72px; z-index: 1; color: #fff;
  font-size: clamp(28px, 3.8vw, 42px); line-height: 1.05; letter-spacing: -0.03em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.recipe-photo-wrap .stat-tiles { position: absolute; left: 22px; right: 22px; bottom: 0; margin: 0; z-index: 2; }
.recipe-info { padding-top: 6px; }
.summary { color: var(--ink); font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; }
.meta { color: var(--ink-faint); font-size: 14px; font-weight: 500; margin: 14px 0; }
.meta a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: #C9CCD3; text-underline-offset: 3px; }
.recipe-info .chips { margin: 14px 0 0; }
.recipe-actions { display: flex; gap: 10px; margin-top: 26px; }
.recipe-actions .btn { flex: 1; }
.recipe-actions .btn-ghost { flex: 0 0 auto; }
.recipe-code { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-faint); font-size: 13.5px; font-weight: 500; flex-wrap: wrap; }
.recipe-code code { font: 700 14px var(--mono); letter-spacing: .14em; color: var(--ink); background: var(--surface); padding: 4px 9px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.ingredients { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 18px; margin-top: 30px; }
.ingredients h2, .steps h2, .related h2 { font-size: 24px; letter-spacing: -0.025em; }
.buy-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--bg-top); border-radius: 14px; padding: 11px 14px; margin: 14px 0 6px; font-size: 14.5px; font-weight: 600; }
.buy-row span { color: var(--ink-faint); font-weight: 500; font-size: 13px; }
.ingredients ul { list-style: none; }
.ingredients li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 15.5px; line-height: 1.4; }
.ingredients li:last-child { border-bottom: none; }
.ingredients li::before { content: ""; flex: none; width: 19px; height: 19px; border-radius: 50%; border: 1.75px solid #C9CCD3; margin-top: 0; }
.mini-cta { margin-top: 16px; background: var(--bg-top); border-radius: 16px; padding: 16px; font-size: 14px; }
.mini-cta p { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.45; }
.mini-cta strong { color: var(--ink); }
.mini-cta .btn { width: 100%; height: 46px; font-size: 15px; }
.steps { margin-top: 56px; }
.steps ol { list-style: none; margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.steps li { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; scroll-margin-top: 80px; }
.step-label { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.steps p { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.42; letter-spacing: -0.012em; margin-top: 6px; }
.related { margin-top: 64px; }
.related h2 { margin-bottom: 18px; }

/* sticky mobile action bar - the app's bottom "Start cooking" bar */
.action-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
  display: none; align-items: center; gap: 10px; padding: 10px; border-radius: 24px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16); transform: translateY(150%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.action-bar.show { transform: none; }
.action-bar img { width: 44px; height: 44px; border-radius: 11px; }
.action-bar .ab-copy { flex: 1; min-width: 0; line-height: 1.2; }
.action-bar .ab-copy b { display: block; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-bar .ab-copy span { display: block; font-size: 12.5px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-bar .btn { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; }
@media (max-width: 760px) { .action-bar { display: flex; } }

/* ---------------------------------------------------------------- CTA band */
/* A white-on-gradient panel, never a black band: black is for buttons only. */
.cta-band { padding: 24px 20px 72px; }
.cta-inner {
  max-width: var(--maxw); margin: 0 auto; text-align: center; border-radius: 34px; padding: 60px 24px;
  background: linear-gradient(180deg, var(--asl-top), #DCDBE5); box-shadow: var(--shadow);
}
.app-icon { display: block; }
.cta-inner .app-icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 18px; box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.cta-inner h2 { font-family: var(--display); font-size: clamp(34px, 4.8vw, 52px); line-height: 1; letter-spacing: -0.03em; max-width: 700px; margin: 0 auto; }
.cta-inner p { max-width: 560px; margin: 14px auto 26px; color: var(--ink-soft); font-size: 17px; }
.cta-inner .fine { margin: 12px auto 0; }
.code-inline { font: 700 0.95em var(--mono); letter-spacing: .12em; background: var(--surface); padding: 2px 8px; border-radius: 7px; color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid rgba(11, 11, 13, .06); background: var(--bg-top); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 26px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; padding: 4px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-col a.store-link { display: inline-block; padding: 0; }
.footer-col a.lockup { display: inline-flex; padding: 0; }
.footer-blurb { color: var(--ink-soft); font-size: 14.5px; margin: 14px 0 18px; max-width: 300px; }
.footer .appstore { height: 44px; }
.copyright { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 30px; color: var(--ink-faint); font-size: 13px; border-top: 1px solid rgba(11, 11, 13, .06); display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- /app/ */
.app-hero { text-align: center; padding: 56px 0 34px; }
.app-hero .app-icon { width: 108px; height: 108px; border-radius: 25px; margin: 0 auto 22px; box-shadow: 0 16px 34px rgba(0, 0, 0, .22); }
.app-hero h1 { font-family: var(--display); font-size: clamp(44px, 7vw, 80px); line-height: .98; letter-spacing: -0.035em; max-width: 840px; margin: 0 auto; }
.app-sub { max-width: 600px; margin: 18px auto 28px; color: var(--ink-soft); font-size: clamp(17px, 2vw, 19px); }
.trust-row { color: var(--ink-faint); font-size: 14px; font-weight: 500; margin-top: 14px; }
.feature-rows { display: grid; gap: 22px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 64px; align-items: center; background: var(--surface); border-radius: 34px; box-shadow: var(--shadow); padding: 30px 64px 30px 30px; }
.feature-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); padding: 30px 30px 30px 64px; }
.feature-row.flip .asl-card { order: 2; }
.feature-copy .kicker { margin-bottom: 10px; }
.feature-copy h3 { font-family: var(--display); font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -0.03em; }
.feature-copy p { color: var(--ink-soft); font-size: 17.5px; margin-top: 16px; max-width: 520px; }
@media (max-width: 900px) {
  .feature-row, .feature-row.flip { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 20px; text-align: center; border-radius: 28px; }
  .feature-row .asl-card { max-width: 290px; width: 100%; margin: 0 auto; }
  .feature-row.flip .asl-card { order: 0; }
  .feature-copy p { margin-left: auto; margin-right: auto; }
}
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 30px 19px 0; font-weight: 650; font-size: 17px; letter-spacing: -0.012em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink-faint); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 20px; font-size: 16px; }

/* marquee of round plates (under the /app/ hero) */
.marquee { display: grid; gap: 14px; overflow: hidden; padding: 12px 0 10px; margin: 0 calc(50% - 50vw); width: 100vw; }
.marquee-row { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee-row.rev { animation-direction: reverse; }
.marquee-track { display: flex; gap: 16px; padding-right: 16px; }
.marquee-track img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 22px rgba(28, 26, 48, .16); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 640px) { .marquee-track img { width: 88px; height: 88px; } }

/* ---------------------------------------------------------------- blog */
.article { padding: 40px 0 64px; max-width: 760px; margin: 0 auto; }
.article h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.02; letter-spacing: -0.032em; margin: 12px 0 0; }
.article .dek { font-size: 20px; line-height: 1.45; color: var(--ink-soft); margin: 16px 0 0; letter-spacing: -0.01em; }
.article-date { color: var(--ink-faint); font-size: 14px; margin: 10px 0 24px; }
.article p { color: #2C2E33; margin: 16px 0; font-size: 17.5px; line-height: 1.72; }
.article h2 { font-family: var(--display); font-size: clamp(27px, 3.4vw, 36px); line-height: 1.08; letter-spacing: -0.028em; margin: 48px 0 10px; }
.article h3 { font-size: 20px; letter-spacing: -0.02em; margin: 28px 0 6px; }
.article strong { color: var(--ink); }
.article p a, .article li a, .article td a { text-decoration: underline; text-decoration-color: #B9BCC4; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article p a:hover, .article li a:hover { text-decoration-color: var(--ink); }
.article ul, .article ol { margin: 14px 0 14px 22px; color: #2C2E33; font-size: 17px; }
.article li { margin: 7px 0; line-height: 1.6; }
.byline { display: flex; gap: 12px; align-items: center; margin: 22px 0 26px; }
.byline img { border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.14); }
.byline strong { display: block; font-size: 15px; color: var(--ink); }
.byline span { font-size: 13.5px; color: var(--ink-faint); }
.byline time { color: inherit; }
.article-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-pop); margin: 4px 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card { display: block; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding-bottom: 16px; transition: transform .15s; }
.related-card:hover { transform: translateY(-2px); }
.related-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; margin-bottom: 12px; }
.related-card .kicker { font-size: 11px; padding: 0 16px; }
.article .related-card h3, .related-card h3 { font-size: 17px; line-height: 1.28; color: var(--ink); margin: 5px 16px 6px; letter-spacing: -0.015em; }
.related-card time { font-size: 12.5px; color: var(--ink-faint); padding: 0 16px; }
.article .related { border-top: 1px solid var(--hairline); padding-top: 32px; }
.article .related h2 { font-family: var(--text); font-size: 24px; margin: 0 0 18px; }
@media (max-width: 760px) { .related-grid { grid-template-columns: minmax(0, 1fr); } }

/* listicle items (content/articles/*.html - markup is fixed, so style it) */
.rank-item { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 18px 0; align-items: start; }
.rank-item img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.article .rank-item h3 { margin: 4px 0 6px; font-size: 19px; line-height: 1.25; }
.article .rank-item h3 a { text-decoration: none; }
.rank-item .stat-line { color: var(--ink); font-weight: 700; font-size: 14px; }
.article .rank-item p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.article .stat-chips { margin: 8px 0 2px; }
.stat-chips span { background: var(--bg-top); border-radius: 8px; padding: 3px 9px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.stat-chips span.hot { background: #FDE9EA; color: #D23B42; }
.recipe-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 650; font-size: 14.5px; color: var(--ink); }
.recipe-link:hover { text-decoration: underline; }
.promo-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(180deg, var(--asl-top), #E2E1EA); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin: 26px 0; }
.promo-card img { border-radius: 15px; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.article .promo-card h3 { margin: 0 0 4px; font-size: 18px; }
.article .promo-card p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 640px) {
  .promo-card { grid-template-columns: 52px minmax(0, 1fr); }
  .promo-card img { width: 52px; height: 52px; }
  .promo-card .btn { grid-column: 1 / -1; width: 100%; }
  .rank-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .article .rank-item h3 { font-size: 17px; }
}
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--hairline); }
.data-table th { background: var(--bg-top); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.data-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px 6px; }
.callout { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 20px 18px 24px; margin: 22px 0; position: relative; }
.callout::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ink); }
.post-list { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; align-items: center; transition: transform .15s; }
.post-card:hover { transform: translateY(-2px); }
.post-card img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.post-card h2 { font-size: 18px; line-height: 1.25; letter-spacing: -0.018em; color: var(--ink); margin: 4px 0 0; }
.post-card p { color: var(--ink-soft); font-size: 14px; margin: 6px 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .kicker { font-size: 10.5px; }
.post-card .article-date { margin: 0; font-size: 12.5px; }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--surface); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; margin-top: 30px; transition: transform .15s; }
.post-feature:hover { transform: translateY(-2px); }
.post-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.post-feature div { padding: 34px; align-self: center; }
.post-feature h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.04; letter-spacing: -0.028em; margin: 8px 0 12px; }
.post-feature p { color: var(--ink-soft); font-size: 16.5px; }
.post-feature time { display: block; color: var(--ink-faint); font-size: 13.5px; margin-top: 14px; }
@media (max-width: 860px) {
  .post-list { grid-template-columns: minmax(0, 1fr); }
  .post-feature { grid-template-columns: minmax(0, 1fr); }
  .post-feature div { padding: 22px 22px 26px; }
}
@media (max-width: 640px) { .post-card { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; } .post-card h2 { font-size: 16.5px; } .post-card p { display: none; } }

/* ---------------------------------------------------------------- policy pages */
.policy { margin: 26px auto 0; max-width: 760px; text-align: left; line-height: 1.7; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 42px 40px; }
.policy h2 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -0.02em; }
.policy h2.app-title { font-family: var(--display); font-size: 34px; margin-top: 0; margin-bottom: 4px; }
.policy p, .policy li { color: var(--ink-soft); }
.policy ul { margin: 10px 0 10px 22px; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy strong { color: var(--ink); }
.policy hr { margin: 40px 0; border: none; border-top: 1px solid var(--hairline); }
@media (max-width: 640px) { .policy { padding: 28px 22px; border-radius: 22px; } }

/* ---------------------------------------------------------------- save dialog */
.save-modal {
  margin: auto; border: none; border-radius: 30px; padding: 26px 24px 24px; max-width: 440px; width: calc(100% - 28px);
  max-height: calc(100vh - 28px); overflow-y: auto; position: fixed; inset: 0;
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.save-modal[open] { animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.save-modal::backdrop { background: rgba(11, 11, 13, .46); }
.save-close { position: absolute; top: 14px; right: 14px; }
.save-close button { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--sunken); font-size: 20px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.save-modal h2 { font-size: 22px; letter-spacing: -0.025em; padding-right: 40px; }
.save-card { position: relative; margin-top: 16px; border-radius: 20px; overflow: hidden; }
.save-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.save-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6)); }
.save-card h3 { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 19px; letter-spacing: -0.02em; }
.save-steps { list-style: none; margin: 18px 0 0; display: grid; gap: 14px; }
.save-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.save-num { width: 28px; height: 28px; border-radius: 50%; background: var(--sunken); color: var(--ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.save-steps strong { font-size: 15.5px; line-height: 1.35; display: block; }
.save-steps p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }
.save-code { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.save-code code { font: 700 20px var(--mono); letter-spacing: .18em; background: var(--bg-top); border-radius: 12px; padding: 7px 14px; }
.save-code button { cursor: pointer; font-family: inherit; }
.save-actions { display: flex; justify-content: center; margin-top: 20px; }
.save-actions .appstore { height: 52px; margin: 0; }

/* ---------------------------------------------------------------- 404 */
.not-found { text-align: center; padding: 90px 0 70px; }
.not-found h1 { font-family: var(--display); font-size: clamp(44px, 7vw, 72px); letter-spacing: -0.035em; line-height: 1; }
.not-found p { color: var(--ink-soft); font-size: 18px; margin: 14px 0 28px; }

/* ---------------------------------------------------------------- /go/ (TikTok ad landing) */
/* One column, phone-first, one action. No nav links, no footer menus: every
   tap that isn't the App Store is a leak. Desktop gets the same column. */
body.go { background: var(--bg) linear-gradient(180deg, var(--asl-top) 0, #E6E6EE 1000px, var(--bg) 1700px) no-repeat; }
.go-top { display: flex; justify-content: center; padding: 18px 0 0; }
.go-top .lockup img { height: 27px; }
.go-top .lockup span { font-size: 24px; }
.go-main { max-width: 520px; margin: 0 auto; padding: 0 20px 120px; }
.go-hero { text-align: center; padding: 28px 0 6px; }
.go-hero .kicker { margin-bottom: 10px; }
.go-hero h1 { font-family: var(--display); font-size: clamp(46px, 13vw, 66px); line-height: .96; letter-spacing: -0.036em; }
.go-sub { color: var(--ink-soft); font-size: 18px; line-height: 1.45; margin: 16px auto 22px; max-width: 420px; }
.go-cta { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.go-cta .btn { width: 100%; max-width: 400px; height: 60px; font-size: 18px; border-radius: 18px; }
.go-cta .btn svg { width: 22px; height: 22px; }
.go-proof { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; color: var(--ink-faint); font-size: 13.5px; font-weight: 600; }
.go-proof span + span::before { content: "·"; margin-right: 8px; }
.go-android { display: none; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; text-align: left; font-size: 15px; color: var(--ink-soft); margin-top: 6px; width: 100%; }
.go-android b { color: var(--ink); }
html.is-android .go-android { display: block; }
.go-rail-wrap { margin: 30px -20px 0; }
.go-rail-wrap .asl-rail { grid-auto-columns: min(64vw, 248px); padding: 6px 20px 14px; margin: 0; }
.go-section { margin-top: 50px; }
.go-section > h2 { font-family: var(--display); font-size: clamp(34px, 9.4vw, 46px); line-height: 1; letter-spacing: -0.03em; text-align: center; }
.go-section > p { color: var(--ink-soft); text-align: center; font-size: 17px; margin: 10px auto 22px; max-width: 420px; }
.go-section .menu-card { margin: 0 auto; }
.go-points { display: grid; gap: 12px; }
.go-point { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 16px; }
.go-point .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--bg-top); display: grid; place-items: center; font-size: 26px; }
.go-point b { display: block; font-size: 17px; letter-spacing: -0.015em; }
.go-point span { display: block; color: var(--ink-soft); font-size: 14.5px; line-height: 1.4; margin-top: 2px; }
.go-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.go-numbers div { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 8px; text-align: center; }
.go-numbers b { display: block; font-family: var(--display); font-size: 28px; letter-spacing: -0.035em; line-height: 1; }
.go-numbers span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.3; }
.go-final { text-align: center; margin-top: 56px; }
.go-final .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.go-final h2 { font-family: var(--display); font-size: clamp(38px, 10.4vw, 50px); line-height: 1; letter-spacing: -0.032em; margin-bottom: 22px; }
.go-foot { text-align: center; color: var(--ink-faint); font-size: 12.5px; margin-top: 40px; }
.go-foot a { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; margin: 0 6px; }
.go .faq summary { font-size: 16px; padding: 16px 28px 16px 0; }
.go .faq details { padding: 0 18px; border-radius: 16px; }
.go .faq details p { font-size: 15px; }
/* the App Store's own "app row": icon, name, subtitle, GET */
.get-bar {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  width: min(496px, calc(100% - 24px)); transform: translate(-50%, 160%);
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 24px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .18); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.get-bar.show { transform: translate(-50%, 0); }
.get-bar img { width: 48px; height: 48px; border-radius: 12px; }
.get-bar .gb-copy { flex: 1; min-width: 0; line-height: 1.2; }
.get-bar .gb-copy b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.get-bar .gb-copy span { display: block; font-size: 13px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.get-bar .btn { height: 42px; padding: 0 22px; border-radius: 999px; font-size: 15.5px; font-weight: 800; letter-spacing: .02em; }
html.is-android .get-bar { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .recipe-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps { margin-top: 40px; }
  .steps ol { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 48px 0; }
}
@media (max-width: 640px) {
  .main { padding: 0 16px; }
  .nav-inner { padding: 8px 16px; height: 58px; }
  .lockup span { font-size: 24px; }
  .lockup img { height: 27px; }
  .recipe { padding-top: 10px; }
  .recipe-photo { border-radius: 26px; }
  .recipe-photo h1 { left: 20px; right: 20px; bottom: 66px; font-size: 30px; }
  .recipe-photo-wrap .stat-tiles { left: 8px; right: 8px; gap: 6px; }
  .stat-tile { padding: 10px 3px 9px; border-radius: 16px; }
  .stat-tile b { font-size: 19px; }
  .stat-tile span { font-size: 10.5px; }
  .summary { font-size: 17.5px; }
  .recipe-actions { flex-direction: column; }
  .recipe-actions .btn { flex: none; width: 100%; }
  .steps li { padding: 18px; }
  .steps p { font-size: 17px; }
  .article, .hub { padding-top: 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .card-body h3 { font-size: 15px; }
  .card-img { border-radius: 18px; }
  .nav-links {
    display: none; position: absolute; right: 12px; top: 62px; width: min(280px, calc(100vw - 24px));
    background: var(--surface); border-radius: 22px; padding: 12px; flex-direction: column; align-items: stretch; gap: 2px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--ink); }
  .nav-links a:hover { background: var(--bg-top); }
  .nav-links .btn { margin-top: 6px; height: 48px; }
  .nav-links .btn:hover { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
  .nav-links.open { display: flex; }
  .menu-button { display: inline-flex; }
  .cta-band { padding: 8px 12px 64px; }
  .cta-inner { border-radius: 28px; padding: 44px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 36px; }
  .footer-inner .footer-col:first-child { grid-column: 1 / -1; }
  body.has-action-bar .copyright { padding-bottom: 100px; }
  .save-modal { padding: 22px 18px 20px; }
}

/* --- Ad slots -------------------------------------------------------------
   Height is RESERVED before the ad arrives so a late ad causes no layout
   shift (CLS). The label keeps ads distinguishable from editorial. */
.ad-slot { margin: 32px 0; min-height: 280px; display: block; content-visibility: auto; contain-intrinsic-size: auto 280px; }
.ad-slot::before { content: "Advertisement"; display: block; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.ad-slot .adsbygoogle { display: block; min-height: 250px; }
@media (max-width: 640px) { .ad-slot { min-height: 300px; contain-intrinsic-size: auto 300px; } }
