/* Guides, comparisons and free tools. Same quiet black and white as the home page; the reading column does the work. */
.c .l-top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.c-main { max-width: 760px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 32px) 80px; }
.c-main.wide { max-width: 1120px; }
.c-main.wide .c-head, .c-main.wide .c-body > p, .c-main.wide .c-body > h2, .c-main.wide .c-body > h3, .c-main.wide .c-body > ul, .c-main.wide .c-body > ol, .c-main.wide .c-body > aside, .c-main.wide .c-body > blockquote, .c-main.wide .c-body > .c-table { max-width: 760px; }
.c-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--soft); margin-bottom: 26px; }
.c-crumbs a { color: var(--soft); text-decoration: none; } .c-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.c-kicker { font: 600 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.c-head h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.c-lede { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.45; color: var(--soft); margin-top: 18px; max-width: 38em; }
.c-date { font-size: 14px; color: var(--soft); margin-top: 18px; }
.c-toc { margin: 34px 0 6px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; font-size: 16px; }
.c-toc p { font-weight: 600; margin-bottom: 8px; } .c-toc ol { margin: 0; padding-left: 20px; columns: 2 240px; column-gap: 32px; } .c-toc li { margin: 4px 0; break-inside: avoid; }
.c-toc a { color: var(--ink); text-decoration: none; } .c-toc a:hover { text-decoration: underline; }

.c-body { font-size: 18px; line-height: 1.62; margin-top: 34px; }
.c-body > * + * { margin-top: 18px; }
.c-body h2 { font-size: clamp(27px, 3vw, 34px); font-weight: 550; letter-spacing: -.03em; margin-top: 52px; scroll-margin-top: 84px; }
.c-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin-top: 34px; scroll-margin-top: 84px; }
.c-body h4 { font-size: 18px; margin-top: 26px; }
.c-body a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--edge); } .c-body a:hover { text-decoration-color: var(--ink); }
.c-body ul, .c-body ol { padding-left: 24px; } .c-body li + li { margin-top: 8px; } .c-body li::marker { color: var(--soft); }
.c-body strong { font-weight: 650; }
.c-body code { font-size: .88em; background: var(--wash); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.c-body blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--ink); color: var(--ink); font-size: 19px; }
.c-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.c-table table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.45; min-width: 560px; }
.c-table th, .c-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.c-table thead th { background: var(--wash); font-weight: 600; font-size: 14px; } .c-table tbody th { font-weight: 600; width: 26%; } .c-table tr:last-child > * { border-bottom: 0; }
.c-note, .c-key { background: var(--wash); border-radius: 16px; padding: 20px 22px; font-size: 17px; } .c-note > * + *, .c-key > * + * { margin-top: 10px; }
.c-key { background: transparent; border: 1.5px solid var(--ink); }
.c-note-h { font-weight: 650; }
.c-cta { background: #12110f; color: #f3f1ec; border-radius: 22px; padding: clamp(22px, 3.4vw, 34px); margin: 40px 0 !important; }
.c-cta a { color: #fff; } .c-cta-h { font-size: clamp(23px, 2.6vw, 29px); font-weight: 550; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 10px; } .c-cta p { color: #cfcac0; }
.c-ask { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.c-ask input { flex: 1 1 220px; min-height: 52px; border-radius: 12px; border: 1px solid #4a4842; background: #1e1d1a; color: #fff; padding: 0 16px; font-size: 17px; }
.c-ask input::placeholder { color: #8f8a80; } .c-ask .btn { background: #fff; color: #12110f; min-height: 52px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cards: index pages and "more" lists. */
.c-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }
.c-cards.big { margin-top: 10px; }
.c-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.c-card:hover { border-color: var(--ink); } .c-card:active { transform: scale(.99); }
.c-card-k { font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); }
.c-card-h { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; } .c-card-p { font-size: 15.5px; color: var(--soft); line-height: 1.45; }
.c-more { margin-top: 70px; padding-top: 34px; border-top: 1px solid var(--line); } .c-more h2 { font-size: 24px; font-weight: 550; letter-spacing: -.02em; } .c-more h2 + .c-cards { margin-bottom: 34px; }

.c-foot { background: #12110f; color: #a39e94; font-size: 15px; padding: 46px 0 30px; }
.c-foot .in { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 26px; }
@media (max-width: 1100px) { .c-foot .in { grid-template-columns: repeat(3, 1fr); } }
.c-foot .l-name { color: #fff; font: 700 21px/1 var(--sans); letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.c-foot p { margin-top: 12px; max-width: 30ch; line-height: 1.5; } .c-foot .btn { background: #fff; color: #12110f; }
.c-foot-h { margin-top: 0 !important; } .c-foot-h a { color: #fff; font-weight: 600; text-decoration: none; }
.c-foot ul { list-style: none; padding: 0; margin: 10px 0 0; } .c-foot li { margin: 7px 0; } .c-foot li a { color: #cfcac0; text-decoration: none; } .c-foot a:hover { text-decoration: underline; }
.c-foot .c-fine { display: block; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
@media (max-width: 860px) { .c-foot .in { grid-template-columns: 1fr 1fr; } .c .l-top nav { display: none; } .c .l-sign { display: none; } }
@media (max-width: 520px) { .c-foot .in { grid-template-columns: 1fr; } .c .l-right .modes { display: none; } }

/* ---------- Free tools ---------- */
.t-box { border: 1px solid var(--edge); border-radius: 22px; padding: clamp(18px, 3vw, 30px); margin: 8px 0 36px !important; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; background: var(--bg); }
.t-box.one { grid-template-columns: minmax(0, 1fr); }
.t-box h2 { margin: 0 !important; font-size: 20px !important; }
.t-in { display: grid; gap: 16px; } .t-out { display: grid; gap: 14px; }
.t-field { display: grid; gap: 6px; } .t-field > span, .t-label { font-size: 14.5px; font-weight: 600; } .t-field small, .t-hint { font-size: 13.5px; color: var(--soft); line-height: 1.4; }
.t-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.t-box input[type="text"], .t-box input[type="url"], .t-box input[type="number"], .t-box select, .t-box textarea { width: 100%; min-height: 48px; border: 1px solid var(--edge); border-radius: 12px; background: var(--bg); color: var(--ink); padding: 10px 14px; font-size: 16px; }
.t-box textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.t-box input:focus, .t-box select:focus, .t-box textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.t-money { position: relative; } .t-money::before { content: "$"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--soft); pointer-events: none; } .t-money input { padding-left: 26px !important; }
.t-pct { position: relative; } .t-pct::after { content: "%"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--soft); pointer-events: none; } .t-pct input { padding-right: 30px !important; }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-chips button, .t-chips label { border: 1px solid var(--edge); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.t-chips button[aria-pressed="true"], .t-chips label:has(input:checked) { background: var(--inv); color: var(--on-inv); border-color: var(--inv); }
.t-chips input { position: absolute; opacity: 0; pointer-events: none; }
.t-big { font-size: clamp(38px, 5vw, 54px); font-weight: 550; letter-spacing: -.04em; line-height: 1; }
.t-stat { border-radius: 16px; background: var(--wash); padding: 16px 18px; } .t-stat span { display: block; font-size: 14px; color: var(--soft); margin-bottom: 6px; } .t-stat b { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.t-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-say { font-size: 16px; line-height: 1.5; } .t-warn { color: var(--amber); background: var(--sun-soft); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.t-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.t-lines { display: grid; gap: 8px; } .t-line { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.t-line button.x { min-height: 44px; border: 0; background: transparent; color: var(--soft); font-size: 22px; border-radius: 10px; } .t-line button.x:hover { background: var(--wash); color: var(--ink); }
.t-add { justify-self: start; border: 1px dashed var(--edge); background: transparent; color: var(--ink); border-radius: 12px; padding: 10px 16px; min-height: 44px; font-size: 15px; }
.t-names { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.t-names li { margin: 0 !important; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t-names b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.t-names a { font-size: 13.5px; white-space: nowrap; color: var(--soft) !important; }
.t-qr { display: grid; place-items: center; background: #fff; border-radius: 18px; padding: 18px; border: 1px solid var(--line); aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; }
.t-qr svg { width: 100%; height: auto; display: block; }
.t-copy { display: flex; gap: 8px; } .t-copy input { flex: 1; font-size: 14px !important; }
.t-chart { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.t-chart table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 640px; }
.t-chart th, .t-chart td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: center; } .t-chart th:first-child, .t-chart td:first-child { text-align: left; padding-left: 14px; min-width: 160px; }
.t-chart thead th { font-size: 12.5px; font-weight: 600; vertical-align: bottom; background: var(--wash); }
.t-chart td button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--edge); background: var(--bg); font-weight: 700; font-size: 15px; color: var(--ink); }
.t-chart td button[data-v="1"] { background: var(--red); border-color: var(--red); color: #fff; } .t-chart td button[data-v="2"] { background: var(--sun-soft); border-color: var(--sun); color: var(--amber); }
.t-chart td input { border: 0 !important; min-height: 38px !important; padding: 4px 6px !important; font-weight: 600; }
.t-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--soft); } .t-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
@media (max-width: 820px) { .t-box { grid-template-columns: minmax(0, 1fr); } }

/* Print: the allergen chart and QR card print clean. */
@media print {
  .l-top, .c-crumbs, .c-head, .c-toc, .c-more, .c-foot, .c-body > :not(.t-box), .t-in, .t-actions, .t-hint, .no-print { display: none !important; }
  .t-box { border: 0; padding: 0; display: block; } .c-main { padding: 0; max-width: none; }
  .t-chart td button { border: 1px solid #999; } .print-title { display: block !important; font: 600 22px var(--sans); margin-bottom: 12px; }
}
.print-title { display: none; }
.c-body ul.c-check { list-style: none; padding-left: 0; } .c-body ul.c-check li { position: relative; padding-left: 32px; } .c-body ul.c-check li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 17px; height: 17px; border: 1.5px solid var(--ink); border-radius: 5px; }
.fc-f { display: grid; gap: 4px; min-width: 0; } .fc-m { display: none; font-size: 12.5px; font-weight: 600; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .fc-m { display: block; } .t-line.fc { align-items: end; } .t-line.fc .fc-f:first-child { grid-column: 1 / -1; } .t-line.fc .fc-f:first-child .fc-m { display: none; } .t-line.fc output { text-align: left; } }

/* Pricing page */
.p-plans { margin: 6px 0 40px; }
.p-bill { display: inline-grid; grid-auto-flow: column; background: var(--wash); border-radius: 12px; padding: 3px; margin-bottom: 18px; }
.p-bill button { border: 0; background: none; min-height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px var(--sans); color: var(--soft); cursor: pointer; }
.p-bill button span { font-weight: 500; font-size: 13px; margin-left: 4px; }
.p-bill button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.p-cards { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .p-cards { grid-template-columns: minmax(0, 1fr); } }
.p-card { border: 1px solid var(--edge); border-radius: 22px; padding: clamp(20px, 3vw, 30px); background: var(--bg); }
.p-card.main { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.p-card h2 { margin: 0 0 6px !important; font-size: 22px !important; }
.p-for { color: var(--soft); margin: 0 0 14px !important; }
.p-price { margin: 0 0 16px !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.p-price b { font-size: clamp(40px, 5vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.p-price span { color: var(--soft); }
.p-card .btn { width: auto; }
.p-small { font-size: 14px; color: var(--soft); margin: 10px 0 0 !important; }
.p-list { list-style: none; padding: 0 !important; margin: 18px 0 0 !important; border-top: 1px solid var(--line); }
.p-list li { padding: 9px 0 9px 26px !important; border-bottom: 1px solid var(--line); position: relative; margin: 0 !important; }
.p-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.p-addons { margin-top: 18px !important; color: var(--soft); }
.p-addons b { color: var(--ink); }
.c-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 30px; }
.c-body .p-card a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.c-body .p-card a.btn.primary { color: var(--on-btn); }
.c-body .p-card a.btn:not(.primary) { background: transparent; color: var(--ink); border-color: var(--edge); }
.p-wide { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.p-wide .p-for { margin: 0 !important; max-width: 56ch; }
.p-wide-r { display: flex; align-items: center; gap: 16px; }
.p-wide-r p { margin: 0 !important; }
.p-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
