/* supply-run.com: the Supply Run app's palette (coral, orange, mint on warm cream). */
:root {
  --coral: #ee5a4c;
  --coral-600: #d9473b;
  --coral-50: #fdecea;
  --orange: #ff9f43;
  --orange-50: #fff3e6;
  --mint: #4cc3ad;
  --mint-700: #23866f;
  --mint-50: #e3f6f1;
  --cream: #fff7ec;
  --ink: #2b1d17;
  --text: #3d302a;
  --muted: #7a6c64;
  --bg: #fffbf6;
  --surface: #ffffff;
  --border: #efe4d8;
  --border-strong: #e2d3c4;
  --gold: #f2a93b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43, 29, 23, .06), 0 6px 20px rgba(43, 29, 23, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; }
a { color: var(--coral-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; font-weight: 700; color: var(--coral-600); margin-bottom: .6em; }
.lede { font-size: 18px; color: var(--text); max-width: 680px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer;
  background: var(--coral); color: #fff; font: inherit; font-weight: 700; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; box-shadow: 0 4px 14px rgba(238, 90, 76, .28); white-space: nowrap;
}
.btn:hover { background: var(--coral-600); }
.btn-sm { padding: 8px 15px; font-size: 14px; box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips-left { margin-top: 0; }
.chip {
  display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border-strong); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
}
.chip:hover { border-color: var(--coral); color: var(--coral-600); }

/* header and footer */
.top { background: rgba(255, 251, 246, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.nav a.on, .nav a:not(.btn):hover { color: var(--coral-600); background: var(--coral-50); }
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .nav a.on { display: inline; }
}
.foot { margin-top: 64px; background: var(--cream); border-top: 1px solid var(--border); padding: 40px 0 24px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.foot-grid a:not(.brand) { display: block; color: var(--text); text-decoration: none; padding: 3px 0; }
.foot-grid a:not(.brand):hover { color: var(--coral-600); }
.disclosure { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* hero */
.hero { background: linear-gradient(135deg, var(--orange-50), var(--coral-50)); padding: 56px 0 48px; border-bottom: 1px solid var(--border); }
.hero-small { padding: 36px 0 32px; }
.hero-christmas { background: radial-gradient(circle at 85% 20%, rgba(76, 195, 173, .22), transparent 45%), linear-gradient(135deg, var(--orange-50), var(--coral-50)); }
.hero-thanksgiving { background: radial-gradient(circle at 85% 20%, rgba(255, 159, 67, .28), transparent 45%), linear-gradient(135deg, var(--cream), var(--orange-50)); }
.hero-inner h1 { max-width: 820px; }
.center.hero-inner h1 { margin-left: auto; margin-right: auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.tip { display: inline-block; background: rgba(255, 255, 255, .7); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: 14.5px; margin: 0; }
.finder { display: flex; gap: 8px; max-width: 720px; background: var(--surface); padding: 7px; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.finder input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16.5px; padding: 8px 14px; background: transparent; color: var(--ink); }
@media (max-width: 560px) {
  .finder { flex-direction: column; border-radius: 20px; }
  .finder .btn { width: 100%; }
}

/* sections */
.block { margin-top: 48px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.row-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.notice { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }

/* seasonal hub cards */
.hub-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.hub-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--text);
  border-radius: 24px; padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); min-height: 220px; }
.hub-christmas { background: linear-gradient(140deg, var(--mint-50), #fff 70%); }
.hub-thanksgiving { background: linear-gradient(140deg, var(--orange-50), #fff 70%); }
.hub-card h3 { font-size: 30px; font-weight: 800; margin-bottom: .3em; }
.countdown { font-weight: 700; font-size: 13.5px; color: var(--mint-700); margin-bottom: .5em; }
.hub-thanksgiving .countdown { color: #b2610f; }
.go { font-weight: 700; color: var(--coral-600); }
.hub-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hub-thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; border: 1px solid var(--border); }
@media (max-width: 420px) { .hub-card { grid-template-columns: 1fr; } }

/* guide tiles */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 45%), 1fr)); gap: 14px; }
.guide-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; transition: transform .15s, box-shadow .15s; }
.guide-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--cream); overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.tile-three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; aspect-ratio: 3 / 1.2; }
.tile-three img { padding: 4px; }
.guide-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .guide-grid.four { grid-template-columns: repeat(2, 1fr); } }
.tile-name { font-weight: 700; padding: 6px 4px 0; line-height: 1.3; }
.tile-count { font-size: 13px; padding: 0 4px 4px; }

/* idea cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.card-img img, .card-img .noimg { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.noimg { color: var(--coral); background: var(--coral-50); width: 100%; height: 100%; display: grid; place-items: center; border-radius: 12px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.card-title { font-size: 15px; font-weight: 700; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--coral-600); }
.reason { font-size: 14px; color: var(--mint-700); margin: 0; }
.rating { font-size: 13.5px; margin: 0; display: flex; align-items: center; gap: 6px; }
.stars { --pct: calc(var(--r) / 5 * 100%); display: inline-block; font-size: 14px; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(90deg, var(--gold) var(--pct), var(--border-strong) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "★★★★★"; }
.price { font-weight: 800; color: var(--ink); margin: 0; font-size: 15px; }
.price .muted { font-weight: 600; font-size: 13.5px; }
.card-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.save { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--mint-700); text-decoration: none; padding: 6px 8px; border-radius: 10px; }
.save:hover { background: var(--mint-50); }
.card-app { background: linear-gradient(160deg, var(--mint-50), #fff); padding: 22px; justify-content: center; gap: 4px; }
.card-app .btn { align-self: flex-start; }

/* features */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; margin-top: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.ficon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 12px; }
.f-coral { background: var(--coral-50); color: var(--coral-600); }
.f-mint { background: var(--mint-50); color: var(--mint-700); }
.f-orange { background: var(--orange-50); color: #b2610f; }

/* Thanksgiving dinner plan */
.plan { background: linear-gradient(135deg, var(--cream), var(--orange-50)); border: 1px solid var(--border); border-radius: 24px; padding: 30px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { padding: 6px 0 6px 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* app band */
.app-band { margin-top: 56px; background: var(--ink); color: #f6ece4; padding: 44px 0; }
.app-band h2 { color: #fff; }
.app-band .lede { color: #e9ddd3; }
.app-band .kicker { color: var(--orange); }
.app-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.badges.center { justify-content: center; margin: 24px 0; }
.badges img { display: block; height: 48px; width: auto; }
.qr { text-align: center; }
.qr img { background: #fff; border-radius: 16px; padding: 10px; }
.qr p { font-size: 13px; margin-top: 8px; }
.app-band .qr p { color: #cbbcb0; }
@media (max-width: 720px) { .app-grid { grid-template-columns: 1fr; } .app-band .qr { display: none; } }
