/* Forkful's website. The same hand as the panel: one white sheet, hairlines instead of boxes, one green to press.
   The one loud thing is the week set out across the top: seven dinners, drawn by Forkful's own code. */
@font-face { font-family: 'Bricolage'; src: url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  --bg: #FFFFFF; --tint: #F4F7F2; --line: #E1E7DF; --ink: #10231A; --muted: #56655B;
  --brand: #0F8648; --brand-deep: #0B6B39; --lingon: #FF5A4E;
  --sol-t: #FFF5D1; --skog-t: #DDF5E6; --hav-t: #E2ECFF; --lingon-t: #FFE7E3; --rose-t: #FFE6EF; --ljung-t: #EFE8FF; --lera-t: #FFEDDA;
  --display: 'Bricolage', 'Figtree', system-ui, sans-serif; --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; border-radius: 4px; }
main, .top, .foot { max-width: 1080px; margin: 0 auto; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 8px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
.top nav { margin-left: auto; }
.langsw { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langsw a { padding: 3px 9px; font: 600 12px/1.5 var(--sans); letter-spacing: .02em; color: var(--muted); text-decoration: none; }
.langsw a[aria-current] { background: var(--ink); color: #fff; }
.langsw a:not([aria-current]):hover { color: var(--ink); background: var(--tint); }
.wordmark { font: 800 30px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark i { display: inline-block; width: 0.5em; height: 0.5em; margin: 0 0.02em; border-radius: 50%; background: var(--lingon); position: relative; }
.wordmark i::after { content: ''; position: absolute; left: 46%; top: -38%; width: 52%; height: 52%; background: #22B866; border-radius: 0 80% 0 80%; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 750; max-width: 11ch; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-bottom: 22px; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 6px; }
p { margin: 0 0 14px; max-width: 64ch; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 52ch; margin-top: 22px; }
.small { font-size: 14px; color: var(--muted); }

.hero { padding-top: clamp(36px, 7vw, 84px); }
.hero-words { display: grid; justify-items: center; text-align: center; }
.hero-words h1 { max-width: 15ch; }
.hero-words .lead { max-width: 56ch; }
.hero-words .cta { justify-content: center; }
.hero-words .get { display: grid; justify-items: center; }
.hero-words .on-phone { display: none; }
@media (hover: none) and (pointer: coarse) { .hero-words .on-computer { display: none; } .hero-words .on-phone { display: grid; } }
/* The film under the headline. The one dark surface on the page. */
.film { margin: clamp(28px, 4.5vw, 52px) auto 0; max-width: 1080px; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px rgba(16, 35, 26, .2); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #10231A; }
@media (max-width: 600px) { .film { border-radius: 22px; } .film video { aspect-ratio: 9 / 16; } }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); background: #fff; text-decoration: none; font-weight: 700; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.under { color: var(--muted); font-size: 15px; }
/* One action, by screen: a computer is offered Chrome; a touch screen, where an extension cannot be added, its own part. */
.on-phone { display: none; }
@media (hover: none) and (pointer: coarse) { .on-computer { display: none; } .on-phone { display: block; } }
.btn.soon, .btn.soon:hover { cursor: default; background: var(--brand); border-color: var(--brand); }
.btn.soon em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--brand-deep); border-radius: 999px; padding: 2px 9px 3px; margin-left: 10px; vertical-align: 2px; }
.get .under a, .two .more a:not(.btn) { color: var(--brand-deep); font-weight: 600; }
.where { margin: 24px 0 0; padding: 14px 16px; background: var(--tint); border-radius: 14px; font-size: 16px; line-height: 1.45; }
.get.on-phone .cta { margin-top: 14px; }
.two .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.two article { background: var(--tint); border-radius: 20px; padding: 22px 24px 24px; }
.two article h3 { margin: 0 0 6px; }
.two article p { color: var(--muted); margin: 0; }
.two article .more { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }

/* The week on the table. On a phone it scrolls sideways, as a week does. */
.table { list-style: none; margin: 8px 0 28px; padding: 0 0 6px; display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; }
.day { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.3; }
.day b { font: 700 13px/1 var(--display); color: var(--muted); margin-top: 6px; }
.plate { display: grid; place-items: center; aspect-ratio: 1; border-radius: 26px; background: var(--tint); }
.plate svg { width: 88%; height: 88%; display: block; }
.p-fish .plate { background: var(--hav-t); } .p-veg .plate { background: var(--skog-t); } .p-chicken .plate { background: var(--sol-t); } .p-mince .plate { background: var(--lingon-t); }
.p-sausage .plate { background: var(--rose-t); } .p-pork .plate { background: var(--ljung-t); } .p-beef .plate { background: var(--lera-t); }

section { padding: clamp(44px, 7vw, 88px) 0 0; }
.four { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 56px; }
.four article { border-top: 1px solid var(--line); padding: 20px 0 12px; }
.four p { color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; max-width: 64ch; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px/32px var(--display); text-align: center; }

.more-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.more .four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 36px; }
.more article h3 { color: var(--brand-deep); }
.talk { margin: 0; background: var(--tint); border-radius: 24px; padding: 20px; display: grid; gap: 8px; }
.talk figcaption { font: 700 15px/1.2 var(--display); margin-bottom: 4px; color: var(--muted); }
.talk p { margin: 0; padding: 10px 14px; border-radius: 18px; max-width: 90%; font-size: 15.5px; line-height: 1.38; }
.talk .who { display: block; font-size: 12px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.talk .say { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.talk .does { justify-self: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 6px; margin-bottom: 6px; padding: 10px 14px; max-width: 90%; font-size: 15.5px; line-height: 1.38; }
.talk .does p { padding: 0; max-width: none; }
.talk .got { list-style: none; margin: 10px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.talk .got li, .talk .got.recipe { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 999px; background: var(--tint); font-size: 13.5px; font-weight: 600; }
.talk .got.items li { padding-left: 11px; }
.talk .got.recipe { border-radius: 14px; padding: 8px 12px 8px 8px; }
.talk .got.recipe span { display: grid; }
.talk .got.recipe small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.talk .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 4px #fff; }
.talk .dot.c0 { background: #F4B860; } .talk .dot.c1 { background: #F28C6B; } .talk .dot.c2 { background: #8FC9A8; } .talk .dot.c3 { background: #E06B5B; }
@media (max-width: 860px) { .more-grid { grid-template-columns: 1fr; gap: 20px; } }
.price .plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 20px; background: var(--bg); }
.plan.plus { background: var(--tint); border-color: transparent; }
.plan h3 { margin: 0; }
.plan .amount { font: 750 30px/1.1 var(--display); letter-spacing: -0.02em; margin: 10px 0 4px; }
.plan .sub { color: var(--muted); margin: 0 0 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-top: 1px solid var(--line); }
.plan li .dot { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.plan li .dot svg { width: 20px; height: 20px; }
.price .note { color: var(--muted); max-width: 72ch; margin-top: 14px; font-size: 15px; }
.straight dl { margin: 0; max-width: 72ch; }
.straight dt { font-weight: 700; border-top: 1px solid var(--line); padding-top: 14px; }
.straight dd { margin: 2px 0 14px; color: var(--muted); }
.faq h3 { margin-top: 22px; }
.faq p { color: var(--muted); }
.end { padding-bottom: 8px; }
.get-now { text-align: center; background: var(--tint); border-radius: 28px; padding: 40px 24px 34px; }
.get-now h2 { margin-top: 0; }
.get-now .sub { color: var(--muted); margin: -4px auto 22px; max-width: 34em; }
.get-now .get { display: grid; justify-items: center; }
.cta.big .btn { padding: 16px 30px; font-size: 18px; }

.doc { padding-top: clamp(32px, 6vw, 64px); }
.doc h1 { font-size: clamp(34px, 5vw, 56px); max-width: none; }
.doc h2 { font-size: 24px; margin: 30px 0 10px; }
.doc ul { padding-left: 20px; max-width: 68ch; }
.doc li { margin-bottom: 8px; }
.doc .item { padding-left: 18px; }
code { font: 14px ui-monospace, Menlo, Consolas, monospace; background: var(--tint); padding: 2px 6px; border-radius: 6px; }

.foot { margin-top: clamp(56px, 8vw, 104px); padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); }
.foot p { margin-bottom: 4px; }
@media (max-width: 560px) { body { font-size: 16px; } .top { flex-wrap: wrap; row-gap: 10px; } .top .langsw { order: 2; margin-left: auto; } .top nav { order: 3; width: 100%; margin-left: 0; } }

/* The top: the claim on the left, the whole shop being done on the right. The one dark surface on the page. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.run { list-style: none; margin: 0; padding: 26px 24px 22px; background: var(--ink); color: #fff; border-radius: 30px; display: grid; gap: 18px; }
.run li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; font-weight: 650; font-size: 18px; line-height: 1.35; animation: run-in .45s ease both; animation-delay: calc(var(--i) * .75s + .3s); }
.run .dot { width: 26px; height: 26px; border-radius: 50%; background: #22B866; color: #06301A; display: grid; place-items: center; }
.run .dot svg { width: 16px; height: 16px; }
.run em { font: 700 11px/1.6 var(--sans); font-style: normal; letter-spacing: .04em; text-transform: lowercase; padding: 1px 8px; margin-left: 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); vertical-align: middle; }
.run .you { color: #FFD23F; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.run .you .dot { background: #FFD23F; color: #6B4F00; }
.run-plates { display: flex; gap: 8px; margin-top: 12px; }
.run-plates .plate { flex: 1 1 0; min-width: 0; max-width: 52px; border-radius: 16px; }
.run-shops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.run-shops span { font: 600 13px/1.5 var(--sans); padding: 2px 11px; border-radius: 999px; background: rgba(255, 255, 255, .13); }
.run-bar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .16); margin-top: 13px; overflow: hidden; }
.run-bar i { display: block; height: 100%; background: #22B866; transform-origin: left; transform: scaleX(0); animation: run-fill 1.3s ease-out forwards; animation-delay: calc(3 * .75s + .6s); }
@keyframes run-in { from { visibility: hidden; transform: translateY(8px); } to { visibility: visible; transform: none; } }
@keyframes run-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .run li { animation: none; } .run-bar i { animation: none; transform: none; } }
.run li:nth-child(1) { --i: 0; } .run li:nth-child(2) { --i: 1; } .run li:nth-child(3) { --i: 2; } .run li:nth-child(4) { --i: 3; } .run li:nth-child(5) { --i: 4; }

/* what Forkful does: a picture of the real screen, a few words */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 18px 0 30px; }
.tile figure { margin: 0 0 12px; position: relative; border-radius: 20px; overflow: hidden; background: #F3F5F2; aspect-ratio: 4 / 3; box-shadow: 0 1px 0 rgba(16,35,26,.06), 0 10px 30px rgba(16,35,26,.08); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tile figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(16,35,26,.82); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 9px; border-radius: 999px; }
.tile h3 { margin: 0 0 4px; font-size: 19px; }
.tile p { margin: 0; color: var(--muted, #4d5c53); font-size: 15px; line-height: 1.45; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { gap: 16px; } .tile h3 { font-size: 16px; } .tile p { font-size: 14px; } }

/* the hero: headline, one line, the two ways in, then the film */
.hero-words .lead { font-size: clamp(18px, 2.2vw, 22px); }
.hero .cta { margin: 22px 0 6px; gap: 10px; justify-content: center; }
.hero .cta.on-phone { display: none; }
@media (hover: none) and (pointer: coarse) { .hero .cta.on-computer { display: none; } .hero .cta.on-phone { display: flex; } }
.btn.soon { background: #fff; color: var(--ink); border: 1.5px solid var(--line, #dde3df); cursor: default; }
.btn.soon em { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--tint, #EEF4EF); color: var(--brand-deep, #0B6B39); }
.get .try { margin: 6px 0 0; font-size: 15px; }
.get .try a { color: var(--brand-deep, #0B6B39); font-weight: 600; }
.hero .film { margin-top: clamp(20px, 3.5vw, 40px); }
.hero-under { text-align: center; margin-top: 12px; }
@media (max-width: 600px) { .hero { padding-top: 18px; } .hero-words h1 { font-size: 40px; } .hero .cta .btn { padding: 12px 16px; font-size: 15px; } }

/* Recipe pages: the dish as Forkful draws it, then what to buy beside what to do. Hairlines, no boxes. */
.recipe { padding: clamp(28px, 5vw, 56px) 0 64px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.r-head { display: grid; grid-template-columns: 160px 1fr; gap: clamp(18px, 4vw, 40px); align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.r-head h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 20ch; }
.r-head .lead { margin-top: 14px; }
.r-plate { width: 160px; height: 160px; display: block; }
.r-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; font-size: 14px; }
.r-meta span { padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.r-body { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: clamp(24px, 5vw, 64px); padding: 32px 0; }
.r-body h2 { font-size: 24px; margin-bottom: 14px; }
.r-body h3 { font-size: 16px; margin-top: 22px; color: var(--muted); }
.r-ing ul { list-style: none; margin: 0; padding: 0; }
.r-ing li { padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.r-ing ul.muted li { color: var(--muted); }
.r-steps ol { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step; }
.r-steps li { counter-increment: step; position: relative; padding: 0 0 18px 46px; max-width: 62ch; }
.r-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--skog-t); color: var(--brand-deep); font: 700 15px/30px var(--sans); text-align: center; }
.r-cta { border-top: 1px solid var(--line); padding-top: 28px; }
.r-cta h2 { font-size: 24px; margin-bottom: 10px; }
.r-index { padding: clamp(28px, 5vw, 56px) 0 64px; }
.r-index h1 { max-width: none; }
.r-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.r-kinds a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.r-kinds a:hover { border-color: var(--ink); }
.r-kinds small { color: var(--muted); margin-left: 4px; }
.r-index h2 { margin: 36px 0 12px; font-size: 26px; }
.r-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.r-grid a { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.r-grid a:hover span { text-decoration: underline; }
.r-grid img { flex: none; width: 56px; height: 56px; }
.r-grid span { display: grid; line-height: 1.3; }
.r-grid small { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .r-head { grid-template-columns: 1fr; }
  .r-plate { width: 120px; height: 120px; }
  .r-body { grid-template-columns: 1fr; }
}
.recipe section, .r-index section { padding: 0; margin: 0; border: 0; }
