:root,
[data-theme="plumbers"] {
  color-scheme: dark;
  --bg: #0c1728;
  --surface: #111f32;
  --surface-raised: #17283d;
  --text: #f4f3ef;
  --muted: #b6c1ce;
  --quiet: #92a2b4;
  --line: #2a3b50;
  --line-strong: #687d95;
  --accent: #c87843;
  --accent-hover: #de9764;
  --accent-text: #e3a577;
  --on-accent: #0c141d;
  --pipe: #293d55;
  --pipe-shadow: #091320;
  --focus: #a0c7ff;
  --header: #0c1728;
  --shell: 1248px;
}

[data-ecosystem="foodfarm"],
[data-theme="foodfarm"] {
  --bg: #111410;
  --surface: #181d16;
  --surface-raised: #222a1d;
  --text: #f1f5eb;
  --muted: #b8c1b1;
  --quiet: #a0ad97;
  --line: #33402b;
  --line-strong: #7b8e6c;
  --accent: #c6fa4a;
  --accent-hover: #d5ff7c;
  --accent-text: #c6fa4a;
  --on-accent: #10150a;
  --pipe: #35432b;
  --pipe-shadow: #0c1009;
  --focus: #e3ffa3;
  --header: #111410;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 3px;
}
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .product-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; padding: 12px 20px; z-index: 100; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); border-bottom: 1px solid var(--line); transition: background-color 180ms ease, border-color 180ms ease; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 90px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; font-size: 21px; font-weight: 650; letter-spacing: -.055em; line-height: 1.15; }
.brand img { flex: none; }
.brand-labs { color: #e3a577; }
.ecosystem-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 4px; gap: 4px; background: var(--surface); }
.ecosystem-tab { min-height: 42px; padding: 10px 17px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; color: var(--quiet); font-size: 11px; font-weight: 650; letter-spacing: .095em; transition: background-color 150ms ease, color 150ms ease; }
.ecosystem-tab:hover { color: var(--text); background: var(--surface-raised); }
.ecosystem-tab[aria-selected="true"] { color: var(--text); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tab-indicator { width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.ecosystem-tab[aria-selected="true"] .tab-indicator { border-color: var(--accent); background: var(--accent); }
.header-links { display: flex; align-items: center; justify-content: flex-end; gap: 28px; font-size: 13px; }
.header-links a { display: flex; align-items: center; min-height: 44px; gap: 5px; color: var(--muted); }
.header-links a:hover { color: var(--text); }
.header-links .icon { width: 14px; height: 14px; }
.header-links .telegram-link { min-width: 44px; justify-content: center; color: var(--accent-text); }
.telegram-plane { fill: var(--bg); }
.ecosystem-panel { background: var(--bg); color: var(--text); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 44px; min-height: 660px; padding-block: 68px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--quiet); font-size: 10px; font-weight: 600; letter-spacing: .17em; line-height: 1.5; }
.eyebrow-line { display: inline-block; width: 24px; height: 1px; background: var(--accent); }
h1 { font-size: clamp(46px, 4.6vw, 68px); font-weight: 560; letter-spacing: -.055em; line-height: 1.09; margin-block: 25px 27px; }
.accent-text { color: var(--accent-text); }
.hero-description { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.9; letter-spacing: -.012em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background-color 140ms ease, border-color 140ms ease; }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { color: var(--text); border-color: var(--line-strong); }
.button-secondary:hover { background: var(--surface-raised); }
.quiet-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.quiet-link:hover { color: var(--text); }
.hero-footnote { margin-top: 48px; display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--quiet); }
.hero-footnote a { text-decoration: underline; text-underline-offset: 3px; }
.small-rule { display: inline-block; height: 1px; width: 20px; background: var(--line-strong); margin-right: 3px; }
.hero-art { position: relative; min-width: 0; height: 510px; overflow: hidden; border-block: 1px solid var(--line); }
.art-caption, .art-bottom { position: absolute; left: 0; right: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 500; letter-spacing: .12em; color: var(--quiet); background: var(--bg); }
.art-caption { top: 0; padding-block: 14px; }
.art-bottom { bottom: 0; padding-block: 11px; }
.art-cross { font-size: 18px; font-weight: 300; }
.pipe-network { width: 100%; height: 100%; }
.grid-line { stroke: var(--line); stroke-width: .6; opacity: .55; }
.pipe-shadow { stroke: var(--pipe-shadow); }
.pipe-secondary { stroke: var(--pipe); }
.pipe-accent { stroke: var(--accent); }
.pipe-joints { fill: var(--pipe); stroke: var(--pipe-shadow); stroke-width: 2; }
.pipe-accent-joints { fill: var(--accent); stroke: var(--pipe-shadow); stroke-width: 2; }
.section-marker { display: flex; align-items: center; gap: 28px; font-size: 9px; font-weight: 500; letter-spacing: .13em; color: var(--quiet); padding-bottom: 16px; }
.marker-line { height: 1px; flex: 1; background: var(--line); }
.products-section { padding-block: 98px 80px; }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 100px; margin-bottom: 36px; }
.section-heading h2, .closing-section h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.2; font-weight: 540; letter-spacing: -.042em; margin-top: 18px; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 355px; justify-self: end; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 30px; min-height: 332px; display: flex; flex-direction: column; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-index { font-size: 9px; color: var(--quiet); letter-spacing: .12em; font-weight: 600; }
.product-icon { width: 26px; height: 26px; color: var(--accent-text); }
.product-card h3 { font-size: 29px; font-weight: 530; line-height: 1.25; letter-spacing: -.035em; margin-block: 26px 14px; }
.product-card > p { color: var(--muted); max-width: 450px; font-size: 14px; line-height: 1.85; }
.card-bottom { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 34px; margin-top: auto; }
.card-detail { font-size: 8px; font-weight: 500; letter-spacing: .11em; color: var(--quiet); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--text); font-size: 13px; font-weight: 550; }
.text-link:hover { color: var(--accent-text); }
.text-link > span[aria-hidden] { color: var(--accent-text); }
.casino-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding: 42px; margin-top: 22px; border: 1px solid var(--line); border-radius: 10px; }
.casino-intro h3, .yield-intro h3 { margin-top: 20px; font-size: 38px; line-height: 1.14; font-weight: 540; letter-spacing: -.04em; }
.casino-intro p, .yield-intro > p { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 415px; }
.casino-intro > a { margin-top: 20px; }
.game-links { display: flex; flex-direction: column; justify-content: center; }
.game-links a { display: flex; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.game-links a:last-child { border-bottom: none; }
.game-number { color: var(--quiet); font-size: 10px; font-variant-numeric: tabular-nums; }
.game-links a > span:nth-child(2) { display: grid; gap: 5px; }
.game-links strong { font-weight: 550; font-size: 17px; }
.game-links small { color: var(--muted); font-size: 12px; }
.game-links .icon { margin-left: auto; width: 18px; color: var(--quiet); }
.game-links a:hover strong, .game-links a:hover .icon { color: var(--accent-text); }
.utility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.utility-card { display: flex; align-items: center; gap: 20px; padding: 25px 30px; border: 1px solid var(--line); border-radius: 10px; }
.utility-card > .icon:first-child { color: var(--accent-text); width: 25px; height: 25px; }
.utility-card > .icon:last-child { margin-left: auto; width: 17px; color: var(--quiet); }
.utility-card > span { display: grid; gap: 4px; }
.utility-card strong { font-size: 14px; font-weight: 550; }
.utility-card small { font-size: 12px; color: var(--muted); }
.utility-card:hover { background: var(--surface); }
.referrals-section { padding-block: 64px 80px; border-top: 1px solid var(--line); }
.referral-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; padding: 0; margin: 54px 0 40px; list-style: none; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 6px; color: var(--accent-text); font-size: 11px; font-variant-numeric: tabular-nums; margin-bottom: 22px; }
.referral-steps h3 { font-size: 18px; line-height: 1.4; font-weight: 550; letter-spacing: -.02em; margin-bottom: 12px; }
.referral-steps p { font-size: 13px; line-height: 1.85; color: var(--muted); max-width: 310px; }
.referral-footer { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.referral-footer > p { font-size: 12px; color: var(--quiet); max-width: 570px; }
.referral-footer .button { flex-shrink: 0; font-size: 12px; }
.closing-section { padding-block: 80px 90px; border-top: 1px solid var(--line); }
.closing-section p:not(.eyebrow) { color: var(--muted); margin-block: 22px 20px; font-size: 14px; }
.closing-section .text-link { color: var(--accent-text); }
.yield-feature { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 42px; gap: 66px; margin-bottom: 22px; }
.yield-intro h3 { font-size: 42px; }
.yield-intro > a { margin-top: 30px; }
.feature-note { display: block; margin-top: 16px; color: var(--quiet); font-size: 14px; }
.yield-explainer { border-left: 1px solid var(--line); padding-left: 42px; }
.mini-label { color: var(--quiet); font-size: 9px; font-weight: 550; letter-spacing: .13em; }
.asset-pair { display: flex; align-items: center; justify-content: center; gap: 40px; margin-block: 24px 28px; }
.asset-pair > div { display: flex; flex-direction: column; align-items: center; }
.asset-symbol { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 24px; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.quote-symbol { background: transparent; border: 1px solid var(--line-strong); color: var(--text); font-size: 19px; }
.asset-pair strong { font-size: 16px; font-weight: 550; }
.asset-pair small { font-size: 10px; color: var(--quiet); }
.asset-connector { color: var(--quiet); margin-bottom: 30px; }
.yield-facts { margin: 0; }
.yield-facts > div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 12px; font-size: 12px; }
.yield-facts dt { color: var(--muted); }
.yield-facts dd { margin: 0; text-align: right; font-weight: 550; font-variant-numeric: tabular-nums; }
.explainer-note { margin-top: 10px; font-size: 14px; color: var(--quiet); line-height: 1.8; }
.product-inline-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; font-size: 12px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 34px; background: var(--bg); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top > span { color: var(--quiet); font-size: 11px; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 48px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; color: var(--quiet); font-size: 10px; }
.footer-bottom p { max-width: 810px; font-size: 14px; line-height: 1.8; }
.footer-bottom > span { white-space: nowrap; padding-top: 3px; }
.reveal { transition: opacity 500ms ease, transform 500ms cubic-bezier(.2, 0, 0, 1); }
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.reveal:focus-within { opacity: 1; transform: none; }

@media (min-width: 1700px) {
  .hero { min-height: 720px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 56px); }
  .header-inner { gap: 16px; }
  .header-links { gap: 18px; }
  .brand { font-size: 18px; }
  .hero { gap: 24px; min-height: 600px; }
  .hero-art { height: 430px; }
  h1 { font-size: 52px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .hero-footnote { margin-top: 32px; }
  .section-heading { gap: 60px; }
  .casino-feature, .yield-feature { padding: 30px; gap: 35px; }
  .yield-explainer { padding-left: 30px; }
  .referral-steps { gap: 30px; }
  .card-bottom { align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 26px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 138px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr 1fr; min-height: auto; gap: 8px 20px; padding-block: 12px; }
  .ecosystem-switch { grid-column: 1 / -1; grid-row: 2; justify-content: center; width: 100%; }
  .ecosystem-tab { flex: 1; }
  .header-links { gap: 20px; font-size: 12px; }
  .hero { gap: 20px; padding-block: 54px; min-height: auto; grid-template-columns: 1fr .8fr; }
  h1 { font-size: 42px; }
  .hero-art { height: 360px; }
  .hero-description { font-size: 14px; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-footnote { font-size: 10px; }
  .art-caption, .art-bottom { font-size: 7px; }
  .products-section { padding-block: 72px 56px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { justify-self: start; max-width: 500px; }
  .section-heading h2 { font-size: 33px; }
  .product-card { padding: 24px; }
  .product-card h3 { font-size: 26px; }
  .casino-feature { grid-template-columns: 1fr; gap: 14px; }
  .casino-intro p { max-width: 520px; }
  .casino-intro h3 br { display: none; }
  .game-links a { padding-block: 20px; }
  .utility-card { padding: 22px; gap: 12px; }
  .yield-feature { gap: 30px; grid-template-columns: 1fr; }
  .yield-explainer { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .asset-pair { gap: 70px; }
  .referral-steps { gap: 24px; }
  .referral-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-top > span { display: none; }
}
@media (max-width: 580px) {
  .header-links a[data-jump="products"] { display: none; }
  .shell { width: calc(100% - 36px); }
  .brand { font-size: 20px; }
  .brand img { width: 27px; height: 27px; }
  .header-links { gap: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 47px; padding-bottom: 28px; gap: 30px; }
  h1 { font-size: clamp(36px, 10.8vw, 52px); margin-top: 22px; margin-bottom: 22px; }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 27px; }
  .hero-footnote { margin-top: 26px; font-size: 11px; flex-wrap: wrap; }
  .hero-art { height: 245px; }
  .pipe-network { width: 100%; height: 420px; margin-top: -70px; }
  .art-caption, .art-bottom { font-size: 8px; }
  .section-marker { font-size: 8px; gap: 15px; padding-top: 14px; }
  .products-section { padding-top: 62px; }
  .section-heading { margin-bottom: 28px; gap: 18px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > p { font-size: 14px; }
  .product-grid, .utility-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { min-height: 310px; padding: 25px; }
  .product-card h3 { font-size: 28px; }
  .card-bottom { flex-direction: row; align-items: center; gap: 8px; }
  .card-detail { font-size: 8px; }
  .casino-feature, .yield-feature { margin-top: 16px; padding: 26px; }
  .casino-intro h3, .yield-intro h3 { font-size: 34px; }
  .game-links a { gap: 16px; }
  .game-links strong { font-size: 16px; }
  .game-links small { font-size: 11px; }
  .utility-grid { margin-top: 16px; }
  .referrals-section { padding-top: 48px; padding-bottom: 54px; }
  .referral-steps { grid-template-columns: 1fr; gap: 28px; margin-block: 32px; }
  .referral-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 18px; }
  .step-number { grid-row: 1 / 3; margin-bottom: 0; }
  .referral-steps h3 { margin: 0; font-size: 17px; }
  .referral-steps p { grid-column: 2; max-width: none; }
  .referral-footer > p { font-size: 12px; }
  .referral-footer .button { width: 100%; }
  .closing-section { padding-block: 54px 60px; }
  .closing-section h2 { font-size: 34px; }
  .yield-feature { margin-top: 0; }
  .yield-intro h3 { font-size: 36px; }
  .yield-facts > div { font-size: 11px; }
  .yield-facts dd { max-width: 55%; }
  .feature-note, .explainer-note { font-size: 14px; }
  .product-inline-link { align-items: flex-start; flex-direction: column; }
  .footer-top { gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 14px; padding-top: 20px; }
  .footer-bottom p { font-size: 14px; }
}
@media (max-width: 360px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 24px; height: 24px; }
  .header-links { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
