/* AuraFood content pages: articles, guides, calculators, FAQ.
   Same palette as the landing (styles.css), but light-weight: no
   animations or background effects, readable long text. */
:root {
  --bg: #0a0e18; --bg-2: #0e1322; --surface: #141a2a; --raised: #1b2236;
  --hairline: rgba(255, 255, 255, .08); --outline: rgba(143, 140, 255, .22);
  --text: #f5f6f9; --text-2: #c4cbd9; --muted: #98a2b8;
  --gold: #8f8cff; --gold-light: #bdbbff; --gold-dark: #6764e6; --on-gold: #0a0e18;
  --teal: #3fd0c9; --coral: #ff8a73; --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg) linear-gradient(180deg, #0c1120 0, var(--bg) 480px) no-repeat; color: var(--text);
  font: 17px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-light); }
a:hover { color: var(--gold); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 14, 24, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.top-in { max-width: 1160px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand img { border-radius: 22.37%; }
.brand b { color: var(--gold); }
.top-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.top-nav::-webkit-scrollbar { display: none; }
.top-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .06); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 0; border-radius: 14px; font-weight: 700; font-size: 16px; line-height: 1; font-family: inherit; cursor: pointer; text-decoration: none; }
.btn-gold { color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark)); }
.btn-gold:hover { color: var(--on-gold); filter: brightness(1.06); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 6px 10px; padding: 8px 16px; }
  .top-nav { order: 3; flex-basis: 100%; margin: 0 -8px; }
  .top-nav a { font-size: 14px; padding: 6px 8px; }
  .top-cta { margin-left: auto; }
}

/* layout */
.wrap { max-width: 1160px; margin: 0 auto; padding: 18px 16px 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 6px 0 22px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs .sep { margin: 0 8px; opacity: .6; }
.crumbs [aria-current] { color: var(--muted); }

.article { max-width: 760px; margin: 0 auto; }
.art-head h1, .hub-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 10px 0 14px; font-weight: 800; }
.art-cat { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.lead { font-size: 19px; color: var(--text-2); margin: 0 0 12px; }
.art-meta { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.hub-head { max-width: 820px; margin-bottom: 28px; }

.toc { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 28px; }
.toc summary { font-weight: 800; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-left: 22px; }
.toc li { margin: 4px 0; font-size: 15.5px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--gold-light); text-decoration: underline; }

.prose h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 42px 0 14px; font-weight: 800; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--gold); }
.prose strong { color: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--hairline); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 420px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { background: var(--raised); font-weight: 700; color: var(--gold-light); }
tr:last-child td { border-bottom: 0; }

.note { border-radius: 14px; padding: 14px 18px; margin: 0 0 20px; border-left: 4px solid var(--teal); background: rgba(63, 208, 201, .08); }
.note p { margin: 0; }
.note-warn { border-left-color: var(--coral); background: rgba(255, 138, 115, .08); }
.disclaimer { font-size: 14.5px; color: var(--text-2); margin-top: 28px; }

.cta-inline { margin: 30px 0; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(143, 140, 255, .12), rgba(143, 124, 255, .1)); border: 1px solid var(--outline); }
.cta-inline b { display: block; font-size: 20px; margin-bottom: 6px; }
.cta-inline p { margin: 0 0 14px; color: var(--text-2); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 14px; background: #f5f6f9; color: #0a0e18; font-weight: 800; font-size: 16px; text-decoration: none; }
.store:hover { color: #0a0e18; filter: brightness(.95); }
.store svg { width: 24px; height: 24px; fill: #0a0e18; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1; }
.store span { line-height: 1.15; }
.cta-final { margin: 36px 0; padding: 28px 22px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--outline); }
.cta-final img { margin: 0 auto 10px; border-radius: 22.37%; }
.cta-final h2 { margin: 0 0 8px; font-size: 26px; }
.cta-final p { color: var(--text-2); margin: 0 auto 16px; max-width: 560px; }
.cta-final .stores { justify-content: center; }

.faq { margin: 34px 0; }
.faq h2 { font-size: 26px; margin: 0 0 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; margin: 0 0 10px; }
.faq-item summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style-position: inside; }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--text-2); }

/* cards and hubs */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--outline); transform: translateY(-2px); color: var(--text); }
.card b { font-size: 17.5px; line-height: 1.3; }
.card > span:last-child { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.card-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); }
.related { margin-top: 40px; }
.related h2, .hub-more h2 { font-size: 24px; margin: 0 0 16px; }
.hub-more { margin-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); color: var(--text-2); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--outline); color: var(--text); }
.hub-sec { margin: 0 0 34px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); }
.hub-sec h2 { margin: 0 0 6px; font-size: 24px; }
.hub-sec h2 a { color: var(--text); text-decoration: none; }
.hub-sec h2 a:hover { color: var(--gold-light); }
.hub-sec > p { color: var(--text-2); margin: 0 0 12px; font-size: 15.5px; }
.link-list { columns: 2 300px; column-gap: 28px; margin: 0; padding-left: 20px; }
.link-list li { margin: 0 0 8px; break-inside: avoid; font-size: 15.5px; }
.link-list li::marker { color: var(--gold); }
.link-list a { color: var(--text); text-decoration: none; }
.link-list a:hover { color: var(--gold-light); text-decoration: underline; }
.steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.step-card { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); color: var(--text); text-decoration: none; height: 100%; }
.step-card:hover { border-color: var(--outline); color: var(--text); }
.step-card .num { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.step-card b { font-size: 17px; line-height: 1.3; }
.step-card span:last-child { font-size: 14.5px; color: var(--text-2); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0; }
.pager a { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hairline); color: var(--text); text-decoration: none; font-weight: 700; font-size: 15.5px; }
.pager a:hover { border-color: var(--outline); }
.pager small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.pager .next { text-align: right; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; } }

/* calculators */
.calc { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 20px; margin: 0 0 28px; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 16px; margin-bottom: 18px; }
.f-row { display: flex; flex-direction: column; gap: 6px; }
.f-label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.f-input { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--hairline); border-radius: 12px; }
.f-input:focus-within { border-color: var(--gold); }
.f-input input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font-weight: 600; font-size: 17px; line-height: 1.2; font-family: inherit; padding: 13px 14px; outline: none; }
.f-input input[aria-invalid="true"] { color: var(--coral); }
.f-unit { padding: 0 14px 0 4px; color: var(--muted); font-size: 14px; }
select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--hairline); border-radius: 12px; padding: 13px 12px; font-weight: 600; font-size: 15px; line-height: 1.2; font-family: inherit; }
.calc-fields > label:has(select) { grid-column: 1 / -1; }
.seg { display: flex; background: var(--bg); border: 1px solid var(--hairline); border-radius: 12px; padding: 4px; }
.seg label { flex: 1; text-align: center; padding: 9px 6px; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--text-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--raised); color: var(--gold-light); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--gold); }
.f-check { flex-direction: row; align-items: center; gap: 10px; grid-column: 1 / -1; font-size: 15px; color: var(--text-2); }
.f-check input { width: 20px; height: 20px; accent-color: var(--gold); }
.calc-result { margin-top: 20px; }
.r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.r-stat { background: var(--bg); border: 1px solid var(--hairline); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.r-stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.r-stat b { font-size: 24px; color: var(--gold-light); }
.r-stat small { font-size: 13px; color: var(--text-2); }
.r-macros { margin: 14px 0 0; color: var(--text-2); }
.r-macros b { color: var(--text); }
.r-warn { margin: 12px 0 0; color: var(--coral); font-weight: 600; }
.bmi-bar { position: relative; height: 10px; margin: 18px 0 4px; border-radius: 99px; background: linear-gradient(90deg, #5cb8ff 0 14%, #4ade80 14% 40%, #8f8cff 40% 60%, #ff8a73 60% 100%); }
.bmi-bar i { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: #fff; }
.section.legal-page > .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(10px, 10vw, 10px) clamp(16px, 4vw, 56px);
}
/* footer */
.foot { border-top: 1px solid var(--hairline); background: var(--bg-2); }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 40px 16px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 8px; font-size: 15px; }
.foot li a { color: var(--text-2); text-decoration: none; }
.foot li a:hover { color: var(--gold-light); }
.foot-brand p { color: var(--text-2); font-size: 15px; margin: 12px 0 16px; }
.foot .store { height: 46px; font-size: 14.5px; padding: 0 14px; }
.foot-note { max-width: 1160px; margin: 0 auto; padding: 0 16px 28px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: 1fr; } body { font-size: 16.5px; } .lead { font-size: 17.5px; } }
