/* nomjar.com – colours and type follow the app (src/constants/theme.ts, docs/web.md). */
@font-face { font-family: Figtree; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #1F7A45; --green-soft: #E3F0E7; --saffron: #F5B93A; --tomato: #E0533B;
  --bg: #F6F1EA; --card: #FFFFFF; --tint: #EFE7DB; --text: #1B1F1B; --muted: #6B716A; --line: #E4DCCF;
  --on-green: #FFFFFF; --cut: #FFFFFF; --shadow: 0 1px 0 rgba(60, 45, 20, .06), 0 12px 32px -12px rgba(60, 45, 20, .18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #5BCB86; --green-soft: #1E2A22; --bg: #141210; --card: #1F1C19; --tint: #1A1715; --text: #F2EEE8; --muted: #A39C92; --line: #2E2A25;
    --on-green: #10140F; --cut: #141210; --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); font-weight: 500; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

/* brand */
.logo-mark .lid, .nomi .lid { fill: var(--saffron); }
.logo-mark .jar, .nomi .jar { fill: var(--green); }
.logo-mark .cut { fill: var(--cut); }
.logo-mark .cut-line { stroke: var(--cut); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; }

/* header */
.header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: var(--on-green); font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 999px; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: .95rem; }

/* hero */
.hero { padding-block: 36px 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-text { display: grid; gap: 18px; justify-items: start; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--saffron) 65%, transparent) 62%); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: grid; background: var(--text); color: var(--bg); border-radius: 12px; padding: 8px 18px 9px; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.store small { font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.hero-art { position: relative; justify-self: center; padding-left: 56px; }
.nomi-hero { position: absolute; left: -18px; bottom: -8px; width: 150px; z-index: 2; }

/* Nomi */
.nomi { overflow: visible; }
.nomi-shadow { fill: #3C2D14; opacity: .12; }
.nomi-line { stroke: var(--bg); }
.nomi-eye { fill: var(--bg); }
.nomi-small { width: 92px; flex: none; }
@media (prefers-color-scheme: dark) { .nomi-line { stroke: #141210; } .nomi-eye { fill: #141210; } }
@media (prefers-reduced-motion: no-preference) {
  .nomi-all { transform-box: fill-box; transform-origin: 50% 100%; animation: nomi-breathe 4.6s ease-in-out infinite; }
  .nomi-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: nomi-blink 4.6s infinite; }
  .nomi-hero .nomi-lid { transform-box: fill-box; transform-origin: 0% 100%; animation: nomi-hello 5.2s ease-in-out infinite; }
}
@keyframes nomi-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .975); } }
@keyframes nomi-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }
@keyframes nomi-hello { 0%, 8%, 34%, 100% { transform: rotate(0); } 16%, 26% { transform: rotate(-16deg) translateY(-3px); } }

/* sections */
.section { padding-block: 72px; }
.section > h2, .section .wrap > h2 { margin-bottom: 28px; }
.tint { background: var(--tint); }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--card); border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .98rem; }
.card h3 { font-size: 1.15rem; }
.card-emoji { font-size: 1.7rem; line-height: 1; }
.nomi-says { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.nomi-says p { background: var(--card); border-radius: 22px 22px 22px 6px; padding: 14px 20px; font-size: 1.1rem; box-shadow: var(--shadow); }
.feature { display: grid; gap: 28px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature .phone { justify-self: center; }
.feature-text { display: grid; gap: 12px; }
.feature-text h3 { font-size: clamp(1.5rem, 3.2vw, 2rem); letter-spacing: -.02em; }
.feature-text p { color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.more { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.more li { background: var(--card); border-radius: 18px; padding: 16px 20px; color: var(--muted); border-left: 5px solid var(--saffron); }
.more strong { display: block; color: var(--text); font-weight: 700; }
.cta { padding-top: 24px; }
.m-day img { width: 50px; height: 50px; }
.m-day { padding: 7px; }
.cta-box { background: var(--green-soft); border-radius: 32px; padding: 40px 24px; display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 1040px; }
.cta-box p { max-width: 52ch; }

/* phone mock-up: an illustration of the app's screens */
.phone { margin: 0; width: 264px; flex: none; background: #1B1F1B; border-radius: 42px; padding: 9px; box-shadow: 0 30px 60px -24px rgba(40, 30, 10, .45); }
.screen { background: var(--bg); border-radius: 34px; padding: 20px 14px 16px; min-height: 500px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.3; overflow: hidden; }
.screen strong { display: block; font-weight: 700; font-size: 13.5px; }
.m-top { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.m-title { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.m-pill { background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.m-days { display: flex; justify-content: space-between; }
.m-days span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; font-weight: 600; font-size: 11px; color: var(--muted); }
.m-days .on { background: var(--green); color: var(--on-green); }
.m-row { background: var(--card); border-radius: 16px; display: flex; gap: 10px; align-items: center; padding: 8px; }
.m-row img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; flex: none; }
.m-meal { display: block; color: var(--green); font-weight: 700; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.m-meta { display: block; color: var(--muted); font-size: 11.5px; }
.m-cta { margin-top: auto; background: var(--green); color: var(--on-green); font-weight: 700; text-align: center; padding: 12px; border-radius: 999px; }
.l-cat { font-weight: 700; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.l-row { background: var(--card); border-radius: 14px; padding: 9px 10px; display: flex; align-items: center; gap: 10px; }
.l-row > div { flex: 1; }
.l-box { width: 20px; height: 20px; border-radius: 7px; border: 2px solid var(--line); flex: none; }
.l-row.done .l-box { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px var(--card); }
.l-row.done strong { text-decoration: line-through; color: var(--muted); }
.l-price { font-weight: 600; font-size: 12px; color: var(--muted); }
.l-total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; }
.l-total strong { font-size: 17px; font-weight: 800; }
.t-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.t-chips span { border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 11px; font-weight: 600; font-size: 12px; }
.t-chips .on { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.t-person { background: var(--card); border-radius: 14px; padding: 9px 10px; display: flex; gap: 10px; align-items: center; }
.t-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--saffron); color: #1B1F1B; font-weight: 800; display: grid; place-items: center; }
.t-avatar.t2 { background: var(--green); color: var(--on-green); }
.t-note { margin-top: auto; background: var(--green-soft); color: var(--text); border-radius: 14px; padding: 10px 12px; font-size: 12px; }
.w-card { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-2.5deg); margin: 14px 4px 0; }
.w-card img { width: 100%; height: 190px; object-fit: cover; }
.w-body { padding: 12px 14px 16px; }
.w-body strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.w-actions { margin-top: auto; display: flex; justify-content: center; gap: 28px; padding-bottom: 8px; }
.w-actions span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--card); box-shadow: var(--shadow); }
.w-actions .w-yes { background: var(--tomato); color: #fff; }
.c-photo img { width: 100%; height: 150px; object-fit: cover; border-radius: 18px; }
.c-step { font-size: 16px; line-height: 1.35; font-weight: 600; }
.c-timer { display: flex; justify-content: space-between; font-weight: 700; font-size: 12.5px; }
.c-voice { color: var(--green); }

/* documents */
.doc { max-width: 760px; padding-top: 36px; padding-bottom: 80px; display: grid; gap: 14px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc section { display: grid; gap: 10px; margin-top: 22px; }
.doc h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.doc details { background: var(--card); border-radius: 16px; padding: 4px 18px; }
.doc summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.doc details p { padding-bottom: 14px; color: var(--muted); }
.open { min-height: 62vh; display: grid; gap: 16px; justify-items: center; align-content: center; text-align: center; padding-top: 48px; padding-bottom: 64px; }
.open h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.open .stores { justify-content: center; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; gap: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; align-content: start; }
.footer nav a { color: var(--text); text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.operator { line-height: 1.7; }
.copyright { margin-top: 24px; }

@media (min-width: 820px) {
  .wrap { padding: 0 32px; }
  .hero { padding-block: 56px 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0; }
  .feature.flip .feature-text { order: 2; }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1.4fr; }
  .nomi-hero { width: 180px; left: -40px; }
  .cta-box { padding: 56px 40px; }
}
