/* Home page styles for miseenkit.com (EN and DE). Kept out of the HTML so the
   Content-Security-Policy in vercel.json needs no 'unsafe-inline' for styles. */

/* Light, the default: direction A "Tageskarte" (2026-09-25), as the app opens.
   White paper, ink type, one Bordeaux for the action (DESIGN.md, 2026-10-13);
   Schibsted Grotesk; radius 0; rules, not cards; no shadows.
   Contrast on white: ink 18.42:1, ink 2 7.00:1, Bordeaux 10.04:1, green 6.52:1,
   error 5.06:1, always with an icon.
   Dark, opt-in with the header switch (theme.js, 2026-11-06): direction B
   "After Service" with the app's own values (app/app/globals.css .dark):
   black canvas, the food is the only colour, white primary action, 12px
   corners on things you touch. The phone's dark-mode setting never switches it.
   Contrast on black: white 21:1, ink 2 7.33:1, green 10.39:1, error 7.45:1. */
:root {
  color-scheme: light;
  --paper:#FFFFFF; --ink:#141414; --ink-2:#595959; --hair:#D6D6D6; --rule:#141414;
  --primary:#7A1F3D; --primary-hover:#5E1830; --on-primary:#FFFFFF; --accent:#7A1F3D;
  --done:#1F6B3A; --wash:#F7EDF0; --raised:#F4F4F4; --error:#D42A1E; --error-wash:#FBEDEC;
  --field:#FFFFFF; --field-border:#141414; --placeholder:#6B6B6B; --focus:#7A1F3D;
  --seg-bg:transparent; --seg-border:#141414; --seg-on:#141414; --seg-on-text:#FFFFFF;
  --radius:0px; --radius-inner:0px;
}
:root.dark {
  color-scheme:dark;
  --paper:#000000; --ink:#FFFFFF; --ink-2:#98989F; --hair:#38383A; --rule:#38383A;
  --primary:#FFFFFF; --primary-hover:#D1D1D6; --on-primary:#000000; --accent:#FFFFFF;
  --done:#30D158; --wash:#1C1C1E; --raised:#1C1C1E; --error:#FF6961; --error-wash:rgba(255, 105, 97, 0.12);
  --field:#1C1C1E; --field-border:#757579; --placeholder:#8E8E93; --focus:#FFFFFF;
  --seg-bg:#1C1C1E; --seg-border:#1C1C1E; --seg-on:#FFFFFF; --seg-on-text:#000000;
  --radius:12px; --radius-inner:10px;
}
* { margin:0; padding:0; box-sizing:border-box; }
[hidden] { display:none !important; }
html { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; -webkit-text-size-adjust:100%; }
body { background:var(--paper); color:var(--ink); font-family:"Schibsted Grotesk",-apple-system,"Helvetica Neue",sans-serif; font-size:16px; line-height:24px; overflow-x:hidden; }
a { color:inherit; }
:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.wrap { width:min(1040px, 100% - 40px); margin-inline:auto; }
.top { display:flex; align-items:center; gap:8px; padding-block:16px 12px; border-bottom:2px solid var(--rule); }
.wordmark { font-size:24px; line-height:26px; font-weight:800; letter-spacing:-0.035em; text-decoration:none; }
.wordmark { display:inline-flex; align-items:center; gap:10px; }
.top > .wordmark { margin-right:auto; }
.wordmark .brand-mark { flex:0 0 auto; fill:currentColor; }
.langs { display:flex; border:1.5px solid var(--seg-border); background:var(--seg-bg); border-radius:var(--radius); padding:calc(var(--radius) / 6); }
.langs a { display:flex; align-items:center; min-height:40px; min-width:48px; justify-content:center; padding:0 12px; font-size:14px; font-weight:600; text-decoration:none; border-radius:var(--radius-inner); }
/* Light / Dark (theme.js): one button, the half-filled circle, 44px. */
.theme-toggle { display:flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:var(--radius); background:transparent; color:var(--ink); cursor:pointer; }
.theme-toggle:hover { background:var(--wash); }
.langs a[aria-current="page"] { background:var(--seg-on); color:var(--seg-on-text); }
.langs a:not([aria-current]):hover { background:var(--wash); }
.meta { font-size:13px; line-height:18px; font-weight:500; letter-spacing:0.01em; color:var(--ink-2); }
.hero { display:grid; gap:48px; padding-block:40px 64px; }
.hero h1 { font-size:clamp(40px, 7vw, 64px); line-height:1.02; font-weight:800; letter-spacing:-0.035em; margin-top:10px; text-wrap:balance; }
.sub { margin-top:16px; max-width:36rem; font-size:18px; line-height:28px; color:var(--ink-2); text-wrap:pretty; }
.capture { margin-top:28px; max-width:30rem; }
.capture label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.capture-form { display:flex; gap:10px; }
.capture-input { flex:1; min-width:0; height:52px; border:1.5px solid var(--field-border); border-radius:var(--radius); padding:0 14px; font:inherit; font-size:16px; color:var(--ink); background:var(--field); }
.capture-input::placeholder { color:var(--placeholder); opacity:1; }
.capture-input:focus { outline:2px solid var(--focus); outline-offset:1px; }
.capture-btn { height:52px; padding:0 22px; border:0; border-radius:var(--radius); background:var(--primary); color:var(--on-primary); font:inherit; font-size:16px; font-weight:600; cursor:pointer; white-space:nowrap; }
.capture-btn:hover { background:var(--primary-hover); }
.capture-btn:disabled { opacity:0.6; cursor:not-allowed; }
.cta-again { display:inline-flex; align-items:center; margin-top:16px; text-decoration:none; }
/* The launch status, the first thing above the headline: ink, bold, with the
   Bordeaux square (Michael could not find it in grey 13px, 2026-11-05). */
.status-line { display:flex; align-items:flex-start; gap:10px; font-size:15px; line-height:20px; font-weight:700; color:var(--ink); }
.status-line .dot { width:10px; height:10px; flex:0 0 10px; margin-top:5px; background:var(--primary); }
.capture-turnstile:not(:empty) { margin-top:10px; }
.capture-note { margin-top:8px; font-size:13px; line-height:18px; color:var(--ink-2); }
.capture-error::before { content:"!"; display:inline-grid; place-items:center; width:18px; height:18px; margin-right:8px; border:2px solid currentColor; border-radius:50%; font-size:13px; line-height:1; font-weight:800; vertical-align:-3px; }
.capture-error { margin-top:10px; padding:12px 14px; background:var(--error-wash); color:var(--error); border-radius:var(--radius); font-size:15px; line-height:22px; font-weight:500; }
/* After a signup: the mark beside the confirmation, under an ink rule. */
.capture-success { margin-top:28px; max-width:30rem; border-top:2px solid var(--rule); padding-top:16px; display:grid; grid-template-columns:48px minmax(0, 1fr); column-gap:16px; align-items:start; }
.success-mark { grid-row:1 / span 2; display:block; fill:var(--ink); }
.capture-success .success-title { font-size:24px; line-height:28px; font-weight:800; letter-spacing:-0.02em; }
.capture-success .success-title:focus { outline:none; }
.capture-success .success-text { margin-top:6px; color:var(--ink-2); }
/* Phones: real food on the first screen, right under the form. Four posts of
   a week at the 4:5 crop Instagram shows; wide screens have the demo beside. */
.hero-photos { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:6px; margin-top:24px; max-width:30rem; }
.hero-photos img { display:block; width:100%; height:auto; aspect-ratio:4 / 5; object-fit:cover; background:var(--raised); }
/* The product itself, drawn as the week menu (show, never sell). Ruled like
   the app's Plan page, not boxed: an ink rule on top, hairlines between days. */
.demo { border-top:2px solid var(--rule); max-width:420px; width:100%; justify-self:center; }
.demo-cap { font-size:13px; font-weight:600; color:var(--ink-2); padding:10px 0; border-bottom:1px solid var(--hair); }
.demo-head { padding:14px 0 0; }
.demo-head b { display:block; font-size:28px; line-height:30px; font-weight:800; letter-spacing:-0.03em; margin-top:8px; }
.demo-head hr { border:0; border-top:2px solid var(--rule); margin-top:12px; }
.row { display:grid; grid-template-columns:44px 56px 1fr; column-gap:14px; padding:12px 0; border-bottom:1px solid var(--hair); }
.row .d { font-size:15px; line-height:18px; font-weight:700; }
.row .d small { display:block; font-size:13px; font-weight:500; color:var(--ink-2); margin-top:2px; }
.row img { width:56px; height:70px; object-fit:cover; display:block; background:var(--raised); }
.row .t { font-size:15px; line-height:20px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.row .s { margin-top:6px; font-size:13px; line-height:16px; font-weight:600; display:flex; align-items:center; gap:6px; color:var(--accent); }
.row .s i { width:8px; height:8px; background:currentColor; display:inline-block; }
.row .s.done { color:var(--done); }
/* A post tied to a weekly occasion says which, as the app does ("For {name}"). */
.row .o { margin-top:4px; font-size:13px; line-height:16px; font-weight:500; color:var(--ink-2); }
.demo-bar { padding:12px 0 0; border-top:1px solid var(--rule); margin-top:-1px; }
.demo-bar span { display:flex; align-items:center; justify-content:center; height:48px; background:transparent; color:var(--ink); border:1.5px solid var(--ink); border-radius:var(--radius); font-weight:600; }
/* demo-week.mjs: the bar is pressed, then reads as done. */
.demo-bar.is-pressed span { background:var(--ink); color:var(--paper); transform:scale(0.98); }
.demo-bar.is-done span { border-color:var(--done); color:var(--done); }
section.block { border-top:2px solid var(--rule); padding-block:14px 56px; }
.block h2 { font-size:13px; line-height:18px; font-weight:700; }
.steps { list-style:none; margin-top:20px; display:grid; gap:0; counter-reset:step; }
.steps li { display:grid; grid-template-columns:48px 1fr; gap:12px; padding:16px 0; border-bottom:1px solid var(--hair); counter-increment:step; }
.steps li::before { content:counter(step); font-size:28px; line-height:30px; font-weight:800; letter-spacing:-0.03em; color:var(--ink); }
.steps h3 { font-size:18px; line-height:24px; font-weight:700; }
.steps p { margin-top:4px; color:var(--ink-2); max-width:34rem; }
.quote { margin-top:16px; font-size:clamp(28px, 4.5vw, 40px); line-height:1.12; font-weight:800; letter-spacing:-0.03em; max-width:48rem; text-wrap:balance; }
.context { margin-top:14px; color:var(--ink-2); max-width:36rem; }
footer { border-top:2px solid var(--rule); padding-block:16px 40px; }
.foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; align-items:baseline; }
.tagline { margin-top:4px; }
.links { display:flex; flex-wrap:wrap; gap:4px 20px; }
.links a { display:inline-flex; min-height:44px; align-items:center; font-size:15px; text-decoration:none; }
.links a:hover { text-decoration:underline; text-underline-offset:4px; }
.fine { margin-top:8px; font-size:13px; line-height:18px; color:var(--ink-2); }
.fine a { text-underline-offset:3px; }
/* Dark (B): links are white with a grey underline; status squares become dots, as in the app. */
.dark .fine a { text-decoration-color:#636366; }
.dark .row .s i, .dark .status-line .dot { border-radius:50%; }
@media (min-width: 900px) {
  .wrap { width:min(1040px, 100% - 80px); }
  .hero { grid-template-columns:minmax(0, 1.1fr) minmax(0, 0.9fr); align-items:start; padding-block:64px 88px; }
  .hero-photos { display:none; }
  .steps { grid-template-columns:1fr 1fr; column-gap:40px; }
}
@media (max-width: 480px) {
  .capture-form { flex-direction:column; }
  .capture-input { flex:none; width:100%; }
  .capture-btn { width:100%; }
}

/* The demo card's header lines. */
.demo-meta-row { display:flex; justify-content:space-between; }
.demo-meta-sub { margin-top:4px; }

/* ---- Site additions approved 2026-10-24 (frames SiteHome, SiteBuilt,
   SiteHelp, SiteBanner, SiteBannerPhone): header links, the two home
   sections, /built-with-you, /help and the bottom banner. ---- */

/* Header: page links and the language switch on wide screens; one Menu on
   phones (a <details>, so it works without JavaScript). */
.top { position:relative; }
.top-nav { display:flex; align-items:center; gap:8px 24px; }
.pages { display:flex; gap:4px 20px; }
.pages a { display:flex; align-items:center; min-height:44px; font-size:15px; text-decoration:none; }
.pages a:hover { text-decoration:underline; text-underline-offset:4px; }
.pages a[aria-current="page"] { font-weight:700; }
.menu { display:none; }
.menu > summary { list-style:none; display:flex; align-items:center; min-height:44px; padding:0 4px 0 12px; font-size:15px; font-weight:600; cursor:pointer; }
.menu > summary::-webkit-details-marker { display:none; }
.menu > summary::after { content:""; width:8px; height:8px; margin-left:10px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.menu[open] > summary::after { transform:translateY(2px) rotate(-135deg); }
.menu-panel { position:absolute; left:0; right:0; top:calc(100% + 2px); z-index:40; background:var(--paper); border-bottom:2px solid var(--rule); padding:8px 0 16px; display:flex; flex-direction:column; gap:12px; }
.menu-panel .pages { flex-direction:column; gap:0; }
.menu-panel .pages a { font-size:17px; border-bottom:1px solid var(--hair); min-height:48px; }
.menu-panel .langs { align-self:flex-start; }
@media (max-width: 759px) {
  .top-nav { display:none; }
  .menu { display:block; }
}

/* Home: the two new sections. */
.split { display:grid; gap:24px 40px; margin-top:16px; }
.block h2.section-title { font-size:clamp(30px, 4.4vw, 40px); line-height:1.05; font-weight:800; letter-spacing:-0.03em; text-wrap:balance; }
.lede { margin-top:14px; font-size:18px; line-height:28px; color:var(--ink-2); max-width:40rem; text-wrap:pretty; }
.more { display:inline-flex; align-items:center; min-height:44px; margin-top:8px; font-size:17px; font-weight:700; color:var(--accent); text-underline-offset:4px; }
.built-teaser { list-style:none; }
.built-row { display:grid; grid-template-columns:96px minmax(0, 1fr); gap:16px; padding:16px 0; border-bottom:1px solid var(--hair); }
.built-row:first-child { border-top:1px solid var(--hair); }
.built-date { font-size:14px; line-height:24px; color:var(--ink-2); }
.built-body b { display:block; font-weight:700; }
.built-body .built-what { display:block; color:var(--ink-2); }
.built-empty { padding:16px 0; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); color:var(--ink-2); }
.offers { list-style:none; margin-top:24px; display:grid; border-top:1px solid var(--hair); }
.offers a { display:flex; flex-direction:column; gap:8px; height:100%; padding:20px 20px 20px 0; border-bottom:1px solid var(--hair); text-decoration:none; }
.offers a:hover .offer-title { text-decoration:underline; text-underline-offset:4px; }
.offer-price { font-size:14px; line-height:20px; font-weight:600; color:var(--ink-2); }
.offer-title { font-size:20px; line-height:26px; font-weight:800; letter-spacing:-0.01em; }
.offer-line { color:var(--ink-2); }
@media (min-width: 900px) {
  .split { grid-template-columns:minmax(0, 1fr) minmax(0, 1.25fr); }
  .offers { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .offers li + li a { padding-left:20px; border-left:1px solid var(--hair); }
}

/* /built-with-you and /help. */
.page { padding-block:40px 64px; display:grid; gap:40px; }
.page-head { display:grid; gap:24px 40px; align-items:start; }
.page h1 { font-size:clamp(40px, 6.5vw, 52px); line-height:1.02; font-weight:800; letter-spacing:-0.035em; text-wrap:balance; }
.page-head .lede { margin-top:14px; }
.idea { border-top:2px solid var(--rule); padding-top:16px; }
.idea h2 { font-size:20px; line-height:26px; font-weight:800; }
.idea p { margin-top:8px; color:var(--ink-2); }
.idea a { color:var(--ink); text-underline-offset:3px; }
.log-title { font-size:15px; line-height:20px; font-weight:700; color:var(--ink-2); padding-bottom:8px; border-bottom:2px solid var(--rule); }
.built-full { list-style:none; }
.built-entry { display:grid; gap:8px 24px; padding:20px 0; border-bottom:1px solid var(--hair); }
.built-side { display:flex; flex-direction:column; gap:4px; }
.built-who { font-size:14px; font-weight:600; }
.built-main { display:flex; flex-direction:column; gap:6px; }
.built-main .built-ask { font-size:18px; line-height:26px; font-weight:700; }
.built-main .built-what { color:var(--ink-2); }
.page .built-empty { border-top:0; }
@media (min-width: 760px) {
  .page-head { grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr); }
  .built-entry { grid-template-columns:220px minmax(0, 1fr); }
}
.offer { border-top:2px solid var(--rule); padding-top:24px; display:grid; gap:20px 40px; scroll-margin-top:16px; }
.offer h2 { font-size:clamp(28px, 4vw, 32px); line-height:1.08; font-weight:800; letter-spacing:-0.02em; margin-top:8px; }
.offer-text { margin-top:12px; font-size:17px; line-height:26px; color:var(--ink-2); max-width:40rem; }
.offer-side { display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.offer-side ul { padding-left:20px; line-height:26px; }
.offer-side .label { font-size:15px; font-weight:700; }
.offer-side .muted { color:var(--ink-2); }
.offer-head { max-width:45rem; }
.packs { list-style:none; display:grid; border-top:1px solid var(--hair); }
.packs li { display:flex; flex-direction:column; gap:8px; padding:20px 20px 20px 0; border-bottom:1px solid var(--hair); }
.fine-note { font-size:15px; line-height:22px; color:var(--ink-2); }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 24px; border-radius:var(--radius); font-size:17px; font-weight:700; text-decoration:none; border:1.5px solid var(--ink); color:var(--ink); background:transparent; }
.btn:hover { background:var(--ink); color:var(--paper); }
.btn-primary { background:var(--primary); border-color:var(--primary); color:var(--on-primary); }
.btn-primary:hover { background:var(--primary-hover); border-color:var(--primary-hover); color:var(--on-primary); }
@media (min-width: 900px) {
  .offer.two { grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); }
  .packs { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .packs li + li { padding-left:20px; border-left:1px solid var(--hair); }
}

/* The bottom banner on the home page (help-banner.mjs): until launch it asks
   to join the waitlist. Built like the app's pinned action bar: paper, an ink
   rule on top, the one Bordeaux button. */
.help-banner { position:fixed; left:0; right:0; bottom:0; z-index:45; background:var(--paper); color:var(--ink); border-top:2px solid var(--rule); padding-bottom:env(safe-area-inset-bottom, 0px); }
.help-banner-inner { width:min(1040px, 100% - 40px); margin-inline:auto; padding-block:14px; display:flex; align-items:center; gap:12px 20px; }
.help-banner-text { flex:1 1 auto; font-size:17px; line-height:24px; }
.help-banner-cta { flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 22px; background:var(--primary); color:var(--on-primary); border-radius:var(--radius); font-size:16px; font-weight:600; text-decoration:none; white-space:nowrap; }
.help-banner-cta:hover { background:var(--primary-hover); }
.help-banner-close { flex:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:0; padding:0; background:transparent; color:inherit; cursor:pointer; border-radius:var(--radius); }
.help-banner-close:hover { background:var(--wash); }
body.help-banner-open { padding-bottom:var(--help-banner-h, 0px); }
@media (max-width: 759px) {
  .help-banner-inner { display:grid; grid-template-columns:minmax(0, 1fr) 44px; align-items:start; gap:10px 8px; padding-block:14px 18px; }
  .help-banner-text { font-size:16px; line-height:23px; padding-top:2px; }
  .help-banner-cta { grid-column:1 / -1; grid-row:2; width:100%; }
  .help-banner-close { grid-column:2; grid-row:1; margin:-8px -8px 0 0; }
}
@media (min-width: 900px) { .help-banner-inner { width:min(1040px, 100% - 80px); } }

/* ---- Motion (DESIGN.md, Motion; impeccable animate/delight, 2026-11-05) ----
   Nothing enters on load and nothing starts hidden: every state below is
   complete without its animation. Press feedback is instant on pointer-down.
   Three moments move: the demo week approving itself once it is in view
   (demo-week.mjs, the app's 200ms status-in), the mark assembling after a
   signup (each tile is a post landing; the Bordeaux one last), and the banner
   sliding up. prefers-reduced-motion: reduce gets none of it. */
.capture-btn:active:not(:disabled), .btn:active, .help-banner-cta:active, .langs a:active { transform:scale(0.98); }
@media (prefers-reduced-motion: no-preference) {
  body { transition:background-color 200ms ease-out, color 200ms ease-out; }
  .capture-btn, .btn, .help-banner-cta, .langs a, .theme-toggle, .demo-bar span { transition:background-color 100ms ease-out, color 100ms ease-out, border-color 200ms ease-out, transform 100ms ease-out; }
  .help-banner:not([hidden]) { animation:help-banner-in 220ms cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes help-banner-in { from { transform:translateY(100%); } to { transform:none; } }
  .row .s.is-new { animation:status-in 200ms ease-out both; }
  @keyframes status-in { from { opacity:0; transform:translateY(3px); } to { opacity:1; transform:none; } }
  .capture-success:not([hidden]) .success-title, .capture-success:not([hidden]) .success-text { animation:status-in 240ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both; }
  .capture-success:not([hidden]) .success-mark rect { transform-box:fill-box; transform-origin:50% 100%; animation:tile-in 260ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .success-mark rect:nth-child(2) { animation-delay:40ms; }
  .success-mark rect:nth-child(3) { animation-delay:80ms; }
  .success-mark rect:nth-child(4) { animation-delay:120ms; }
  .success-mark rect:nth-child(5) { animation-delay:160ms; }
  .success-mark rect:nth-child(6) { animation-delay:200ms; }
  .success-mark rect:nth-child(7) { animation-delay:240ms; }
  .success-mark rect:nth-child(8) { animation-delay:280ms; }
  .capture-success:not([hidden]) .success-mark .tile-accent { animation:accent-in 420ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both; }
  @keyframes tile-in { from { opacity:0; transform:scale(0.4); } to { opacity:1; transform:none; } }
  @keyframes accent-in { from { opacity:0; transform:translateY(-2px) scale(0.6); } to { opacity:1; transform:none; } }
}
@media print { .help-banner { display:none; } }

/* "by DETGAAO" (2026-11-08, build checklist item 12): the studio's wordmark and one line, a plain followed link. */
.by-detgaao { margin-top:16px; font-size:13px; line-height:20px; }
.by-detgaao a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--ink-2); text-decoration:none; }
.by-detgaao a:hover span, .by-detgaao a:focus-visible span { text-decoration:underline; text-underline-offset:3px; }
.by-detgaao img { display:block; height:20px; width:auto; }
.by-detgaao .on-dark { display:none; }
.dark .by-detgaao .on-light { display:none; }
.dark .by-detgaao .on-dark { display:block; }
