@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Italic-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #F7F4EE;
  --stage: #EDE7DE;
  --surf: #FDFCF9;
  --ink: #1D1A16;
  --ink2: #605A50;
  --ink3: #979188;
  --acc: #342556;
  --hair: rgba(40, 32, 20, 0.11);
  --alg: #C8331A;
  --exc: #007283;
  --good: #345FB2;
  --mod: #9A600B;
  --occ: #943569;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "New York", Georgia, serif;
  --tn: tabular-nums lining-nums;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #FFFFFF;
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[id] { scroll-margin-top: 16px; }

/* wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.wordmark svg { width: 18.3px; height: 22px; overflow: visible; fill: var(--acc); }
.wordmark span { font-family: var(--serif); font-size: 21px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad); background: var(--paper);
}
.site-header .right { display: flex; align-items: center; gap: 18px; }
.nav-main { display: none; }
.nav-main a, .header-faq {
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.header-faq { display: flex; align-items: center; min-height: 44px; }

/* language switch */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px;
  min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: 100%; z-index: 20; margin: 0; padding: 6px; list-style: none;
  min-width: 168px; border-radius: 16px; background: var(--surf);
  box-shadow: 0 0 0 0.5px var(--hair), 0 18px 40px -16px rgba(60, 40, 10, 0.35);
}
.lang li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px;
  border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.lang li a:hover { background: var(--stage); }
.lang li a[aria-current="true"] { font-weight: 700; }

/* type */
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; }
.h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-size: 31px; line-height: 35px; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 0; font-size: 17px; line-height: 25px; color: var(--ink2); text-wrap: pretty; max-width: 600px; }
.lead.ink { color: var(--ink); }
.note { margin: 0; font-size: 15px; line-height: 21px; color: var(--ink2); }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.more:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* store state */
.store-soon {
  flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px; border-radius: 12px; background: #000000; color: #FFFFFF; margin: 0;
}
.store-soon svg { width: 20px; height: 24px; fill: #FFFFFF; overflow: visible; flex: none; }
.store-soon .t { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.store-soon .s { font-size: 10px; }
.store-soon .b { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; }
.tagline { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }

/* sections */
.sec {
  padding: 52px var(--pad); background: var(--paper); border-top: 0.5px solid var(--hair);
  display: flex; flex-direction: column; gap: 20px;
}
.sec.surf { background: var(--surf); }
.two { display: flex; flex-direction: column; gap: 28px; }

/* hero */
.hero { padding: 20px var(--pad) 52px; background: var(--paper); }
.hero .stack { gap: 16px; }
.hero .spacer { height: 2px; }
.hero-vis {
  position: relative; height: 440px; border-radius: 32px; background: var(--stage);
  display: flex; justify-content: center; align-items: center; overflow: hidden;
}
.shot {
  flex: none; width: 210px; height: 410px; border-radius: 27px; overflow: hidden; background: var(--surf);
  box-shadow: 0 0 0 1px var(--hair), 0 30px 50px -24px rgba(60, 40, 10, 0.45);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-vis .t1 { position: absolute; left: 14px; bottom: 40px; }
.hero-vis .t2 { position: absolute; right: 16px; top: 54px; }

/* score tag */
.tag { --h: 40px; position: relative; flex: none; width: calc(var(--h) * 0.8333); height: var(--h); }
.tag svg { width: 100%; height: 100%; overflow: visible; }
.tag .n {
  position: absolute; left: 0; right: 0; top: calc(var(--h) * 0.33); bottom: calc(var(--h) * 0.0625);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #FFFFFF;
  font-family: var(--serif); font-size: calc(var(--h) * 0.425); line-height: 0.9; font-weight: 600;
  letter-spacing: -0.01em; font-variant-numeric: var(--tn);
}
.tag.big .n { font-weight: 500; letter-spacing: -0.03em; font-size: calc(var(--h) * 0.42); }
.tag .n small { font-family: var(--sans); font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: 0.02em; opacity: 0.92; margin-top: 2px; }
.tag.lift { filter: drop-shadow(0 calc(var(--h) * 0.0625) calc(var(--h) * 0.1) rgba(40, 28, 10, 0.22)); }
.tag.prov .n { color: var(--good); }
.exc { fill: var(--exc); color: var(--exc); }
.good { fill: var(--good); color: var(--good); }
.mod { fill: var(--mod); color: var(--mod); }
.occ { fill: var(--occ); color: var(--occ); }
.t1 .tag { --h: 112px; transform: rotate(-4deg); }
.t2 .tag { --h: 64px; transform: rotate(6deg); }
@media (prefers-reduced-motion: no-preference) {
  .t1 .tag, .t2 .tag { animation: drop 0.75s cubic-bezier(0.34, 1.4, 0.64, 1) both; }
  .t2 .tag { animation-delay: 0.12s; }
}
@keyframes drop { from { opacity: 0; translate: 0 -28px; } to { opacity: 1; translate: 0 0; } }
.word { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

/* score parts */
.bar { display: flex; gap: 6px; }
.bar span { height: 14px; border-radius: 7px; background: var(--ink); }
.parts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.part {
  background: var(--surf); box-shadow: 0 0 0 0.5px var(--hair); border-radius: 24px; padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.part .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.part h3 { font-size: 22px; font-weight: 500; }
.part .v { font-size: 15px; font-weight: 600; font-variant-numeric: var(--tn); white-space: nowrap; }
.part p { margin: 0; font-size: 15px; line-height: 21px; color: var(--ink2); text-wrap: pretty; }
.bands { display: flex; flex-wrap: wrap; gap: 14px 20px; margin: 0; padding: 0; list-style: none; }
.bands li { display: inline-flex; align-items: center; gap: 10px; }
.bands .tag { --h: 36px; }
.bands .txt { display: flex; flex-direction: column; }
.bands .word { font-size: 17px; line-height: 19px; }
.bands .r { font-size: 13px; color: var(--ink2); font-variant-numeric: var(--tn); }

/* allergen banner */
.alg-box { width: 100%; max-width: 420px; align-self: center; padding: 14px; border-radius: 30px; background: var(--stage); }
.alg {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 20px;
  background: var(--alg); color: #FFFFFF;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.3), 0 12px 26px -12px rgba(170, 40, 20, 0.7);
}
.alg > svg { width: 24px; height: 24px; flex: none; }
.alg .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.alg .a { font-size: 16px; line-height: 21px; font-weight: 600; letter-spacing: -0.2px; }
.alg .b { font-size: 14px; line-height: 19px; }
.alg .d { font-size: 12px; line-height: 17px; margin-top: 2px; }
.alg .chev { margin-top: 1px; width: 18px; height: 18px; fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* alternatives */
.alt-list {
  width: 100%; max-width: 420px; align-self: center; margin: 0; padding: 6px 16px; list-style: none;
  border-radius: 26px; background: var(--surf); box-shadow: 0 0 0 0.5px var(--hair);
}
.prow { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.prow + .prow { border-top: 0.5px solid var(--hair); }
.thumb { flex: none; width: 52px; height: 60px; border-radius: 14px; background: var(--stage); display: flex; align-items: center; justify-content: center; }
.pack { position: relative; width: 30px; height: 40px; }
.pack::before {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -2px; height: 4px; border-radius: 50%;
  background: rgba(40, 28, 10, 0.28); filter: blur(2px);
}
.pack::after {
  content: ""; position: absolute; inset: 0; border-radius: 4px;
  background: repeating-linear-gradient(135deg, rgba(40, 32, 20, 0.045) 0 1px, transparent 1px 9px), linear-gradient(165deg, #FFFFFF 0%, #F1EADC 100%);
  box-shadow: inset 0 0 0 0.5px rgba(40, 32, 20, 0.10), 0 3px 6px -2px rgba(60, 40, 10, 0.32);
}
.prow .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.prow .nm { font-size: 16px; line-height: 21px; font-weight: 600; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .br { font-size: 14px; line-height: 19px; color: var(--ink2); }
.prow .word { font-size: 15px; line-height: 17px; }

/* provisional strip */
.prov-box { width: 100%; max-width: 400px; align-self: center; display: flex; flex-direction: column; gap: 8px; }
.strip { display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 12px; border-radius: 20px; background: var(--stage); }
.strip .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.strip .nm { font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip .br { font-size: 13px; line-height: 17px; color: var(--ink2); }
.strip .word { font-size: 15px; line-height: 17px; }
.prov-box .cap { font-size: 13px; color: var(--ink2); padding: 0 6px; }

/* faq */
.faq { border-bottom: 0.5px solid var(--hair); }
.faq details { border-top: 0.5px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 74px; padding: 8px 0; font-family: var(--serif); font-size: 20px; line-height: 25px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink2); stroke-width: 1.8; stroke-linecap: round; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; max-width: 720px; font-size: 16px; line-height: 24px; color: var(--ink2); text-wrap: pretty; }

/* press band */
.press { padding: 0 var(--pad) 52px; background: var(--paper); }
.press-in { background: var(--stage); border-radius: 30px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.press-in .t { display: flex; flex-direction: column; gap: 4px; }
.press-in h2 { font-size: 26px; font-weight: 500; }
.press-in p { margin: 0; font-size: 15px; line-height: 21px; color: var(--ink2); text-wrap: pretty; }

/* footer */
.site-footer {
  padding: 32px var(--pad) 40px; background: var(--paper); border-top: 0.5px solid var(--hair);
  display: flex; flex-direction: column; gap: 22px;
}
.site-footer .top { display: flex; flex-direction: column; gap: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.site-footer nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; font-size: 13px; line-height: 19px; color: var(--ink2); }
.site-footer .cols > div { display: flex; flex-direction: column; gap: 3px; }
.site-footer .cols b { font-weight: 600; color: var(--ink); }
.site-footer .cols a { color: var(--ink2); }
.site-footer .copy { font-size: 12px; color: var(--ink2); }
.site-footer .langs { display: flex; flex-wrap: wrap; column-gap: 16px; font-size: 13px; }
.site-footer .langs a { display: flex; align-items: center; min-height: 44px; color: var(--ink2); }
.site-footer .langs a[aria-current="true"] { color: var(--ink); font-weight: 600; text-decoration: none; }

/* text pages (legal, press) */
.doc { padding: 28px var(--pad) 64px; max-width: 760px; }
.doc h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; text-wrap: balance; }
.doc .meta { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--ink2); }
.doc h2 { margin-top: 40px; font-size: 26px; line-height: 31px; letter-spacing: -0.015em; text-wrap: balance; }
.doc h3 { margin-top: 24px; font-size: 20px; line-height: 25px; }
.doc p, .doc li { font-size: 16px; line-height: 25px; color: var(--ink); text-wrap: pretty; }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { text-underline-offset: 3px; }
.doc .box { margin-top: 20px; padding: 18px 20px; border-radius: 20px; background: var(--surf); box-shadow: 0 0 0 0.5px var(--hair); }
.doc .box p:first-child { margin-top: 0; }
.doc table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; line-height: 21px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 0.5px solid var(--hair); }
.doc th { font-weight: 600; }
.doc .tablewrap { overflow-x: auto; }
.dl-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.dl-list li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 20px; background: var(--surf); box-shadow: 0 0 0 0.5px var(--hair); }
.dl-list .pv { flex: none; width: 120px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--stage); }
.dl-list .pv.dark { background: var(--acc); }
.dl-list .pv img { height: 27px; width: auto; max-width: 96px; }
.doc td:nth-child(2) { white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }
.dl-list .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dl-list .c span { font-size: 14px; color: var(--ink2); }
.dl-list a { font-weight: 600; }
.doc .press-shot { margin-top: 16px; width: 220px; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 30px 50px -24px rgba(60, 40, 10, 0.45); }
.doc .press-shot img { width: 100%; height: auto; }

/* between phone and desktop */
@media (min-width: 600px) {
  :root { --pad: 40px; }
  .hero-vis { max-width: 560px; width: 100%; align-self: center; }
  .two > .hero-vis { margin: 0 auto; }
  .bands { gap: 18px 28px; }
}
@media (min-width: 760px) {
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .dl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* desktop, drawn at 1280 */
@media (min-width: 1024px) {
  :root { --pad: clamp(40px, 6.25vw, 80px); }
  .site-header { padding: 22px var(--pad); }
  .wordmark.lg svg { width: 20.9px; height: 25.1px; }
  .wordmark.lg span { font-size: 24px; }
  .nav-main { display: flex; align-items: center; gap: 28px; }
  .nav-main a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .header-faq { display: none; }
  .site-header .right { gap: 28px; }

  .h1 { font-size: 72px; line-height: 76px; }
  .h2 { font-size: 46px; line-height: 50px; }
  .lead { font-size: 20px; line-height: 30px; }
  .more { font-size: 18px; }
  .sec { padding: 96px var(--pad); gap: 28px; }
  .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }

  .hero { padding: 48px var(--pad) 96px; }
  .hero .stack { gap: 20px; }
  .hero .spacer { height: 8px; }
  .hero .store-soon { height: 56px; }
  .tagline { font-size: 18px; }
  .hero-vis { height: 600px; border-radius: 44px; max-width: none; }
  .two > .hero-vis { margin: 0; }
  .shot { width: 290px; height: 560px; border-radius: 38px; }
  .hero-vis .t1 { left: 40px; bottom: 70px; }
  .hero-vis .t2 { right: 48px; top: 80px; }
  .t1 .tag { --h: 160px; }
  .t2 .tag { --h: 88px; }
  .t1 .tag .n small { font-size: 14px; }

  .parts { gap: 20px; }
  .part { padding: 24px; }
  .part h3 { font-size: 26px; }
  .bands { gap: 28px 36px; }
  .bands .tag { --h: 44px; }
  .bands .word { font-size: 20px; line-height: 22px; }
  .alg-box { padding: 24px; }
  .alts .alt-list { order: -1; }

  .faq summary { min-height: 88px; font-size: 24px; line-height: 30px; }
  .lang summary { margin: -10px 0; }
  .faq p { font-size: 19px; line-height: 28px; }

  .press { padding: 0 var(--pad) 96px; }
  .press-in { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 36px; }
  .press-in h2 { font-size: 32px; }

  .site-footer { padding: 48px var(--pad) 56px; }
  .site-footer .top { flex-direction: row; align-items: center; justify-content: space-between; }

  .doc { padding: 40px var(--pad) 96px; max-width: calc(760px + 2 * var(--pad)); }
  .doc h1 { font-size: 56px; line-height: 60px; }
  .doc h2 { font-size: 32px; line-height: 37px; }
  .doc p, .doc li { font-size: 17px; line-height: 27px; }
}
