/* Pantry Batch Planner landing — "Kamrapolc": cream paper, plum jar lid, apricot label, a wooden shelf of real screens. */
:root {
  --cream: #fbf4e8;
  --paper: #fffdf9;
  --sand: #f4e8d6;
  --line: #e6d6c0;
  --ink: #2b1b26;
  --ink-soft: #6b5a63;
  --plum: #6a2f59;
  --plum-deep: #4a2340;
  --plum-soft: #efdce7;
  --apricot: #e8922b;
  --apricot-soft: #fce6c4;
  --paprika: #c2412a;
  --dill: #55764a;
  --wood: #9a6b43;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }

/* Lid header */
.lid { background: var(--plum); color: var(--cream); }
.lid-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 700 1.2rem/1.2 var(--serif); }
.brand img { background: var(--cream); border-radius: 10px; padding: 3px; }
.lid nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.lid nav a { display: inline-block; color: var(--cream); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.lid nav a:hover, .lid nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
.rim { height: 16px; background: repeating-linear-gradient(90deg, var(--plum-deep) 0 12px, #5c2e50 12px 18px); }

/* Hero */
.hero { padding: 56px 0 0; overflow: hidden; }
.kicker { display: inline-block; background: var(--apricot-soft); color: #7a4a0c; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 6px; margin: 0 0 18px; }
h1 { font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.12 var(--serif); color: var(--plum-deep); margin: 0 0 18px; max-width: 18ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; margin: 0 0 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--plum); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--plum); }
.btn:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum-soft); color: var(--plum-deep); }
.btn-soon { background: var(--apricot); border-color: var(--apricot); color: var(--ink); cursor: default; }
.btn-soon:hover { background: var(--apricot); border-color: var(--apricot); }

/* The shelf of real screens */
.shelf { margin-top: 48px; position: relative; }
.shelf-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.4vw, 34px); padding: 0 20px; width: min(1180px, 100%); margin: 0 auto; }
.shelf-row figure { margin: 0; flex: 0 1 240px; position: relative; }
.shelf-row img { border-radius: 22px; border: 8px solid var(--paper); box-shadow: 0 18px 40px rgba(74, 35, 64, 0.22); background: var(--paper); }
.shelf-row figure:nth-child(even) img { transform: translateY(-26px); }
figcaption { font: 700 0.95rem/1.2 var(--serif); color: var(--plum-deep); text-align: center; margin-top: 10px; }
.shelf-row figcaption { display: none; }
.plank { height: 30px; margin-top: -10px; background: linear-gradient(180deg, #b98457 0, var(--wood) 40%, #7c5233 100%); box-shadow: 0 10px 18px rgba(74, 35, 64, 0.18); position: relative; z-index: -1; }

/* Features as jar labels */
.features { padding: 110px 0 72px; }
.section-title { font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--serif); color: var(--plum-deep); margin: 0 0 28px; }
.labels { list-style: none; counter-reset: lbl; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.labels li { counter-increment: lbl; background: var(--paper); border: 1px solid var(--line); border-left: 8px solid var(--plum); border-radius: 4px 14px 14px 4px; padding: 22px 24px 22px 70px; position: relative; }
.labels li:nth-child(3n + 2) { border-left-color: var(--apricot); }
.labels li:nth-child(3n) { border-left-color: var(--dill); }
.labels li::before { content: counter(lbl, decimal-leading-zero); position: absolute; left: 20px; top: 22px; font: 700 1.1rem/1 var(--serif); color: var(--plum); background: var(--plum-soft); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.labels h3 { font: 700 1.2rem/1.3 var(--serif); margin: 0 0 6px; }
.labels p { margin: 0; color: var(--ink-soft); }

/* Wide screen story */
.wide { background: var(--sand); padding: 72px 0; }
.wide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }
.wide-shot { margin: 0; }
.wide-shot img { border-radius: 26px; border: 10px solid var(--paper); box-shadow: 0 22px 44px rgba(74, 35, 64, 0.2); }

.more-shots { padding: 72px 0 40px; }
.shots3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 900px; }
.shots3 figure { margin: 0; }
.shots3 img { border-radius: 20px; border: 7px solid var(--paper); box-shadow: 0 14px 30px rgba(74, 35, 64, 0.16); }

/* Trust and note */
.trust { padding: 48px 0 72px; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px dashed var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 16px; height: 9px; border-left: 3px solid var(--dill); border-bottom: 3px solid var(--dill); transform: rotate(-45deg); }
.note { background: var(--apricot-soft); border-radius: 14px; padding: 22px 24px; }
.note h3 { margin: 0 0 6px; font: 700 1.15rem/1.3 var(--serif); color: #7a4a0c; }
.note p { margin: 0; color: #5a3a10; }

.download { padding: 0 0 80px; }
.download-box { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--plum); color: var(--cream); border-radius: 18px; padding: 28px 32px; }
.download-box img { border-radius: 20px; }
.download-box h2 { margin: 0; font: 700 1.5rem/1.2 var(--serif); }
.download-box p { margin: 4px 0 0; color: #f3ddea; }
.download-box > div { flex: 1 1 240px; }

/* Documents */
.doc { padding: 48px 0 72px; }
.doc h1 { max-width: none; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font: 700 1.35rem/1.3 var(--serif); color: var(--plum-deep); margin: 34px 0 8px; }
.doc .meta { color: var(--ink-soft); margin-top: -6px; }
.doc li { margin-bottom: 6px; }

/* Footer */
.foot { background: var(--plum-deep); color: #f3ddea; padding: 44px 0 20px; }
.foot a { color: var(--apricot-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-logo { background: var(--cream); border-radius: 10px; padding: 6px 10px; width: 240px; height: auto; margin-bottom: 12px; }
.foot-h { font: 700 1rem/1.3 var(--serif); color: var(--cream); margin: 0 0 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 6px; }
.foot-small { font-size: 0.85rem; opacity: 0.8; margin-top: 28px; }

@media (max-width: 820px) {
  .wide-grid, .trust-grid, .foot-grid { grid-template-columns: 1fr; }
  .shelf-row { overflow-x: auto; justify-content: flex-start; padding-bottom: 54px; scroll-snap-type: x mandatory; }
  .shelf-row figure { flex: 0 0 62%; scroll-snap-align: center; }
  .shelf-row figure:nth-child(even) img { transform: none; }
  .plank { margin-top: -64px; }
  .features { padding-top: 64px; }
  .shots3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .shots3 img { border-width: 4px; border-radius: 12px; }
}
