/* Eseye home page */

/* HERO */
.hero { position: relative; padding: 132px 0 56px; overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 30%, rgba(47,191,113,.18), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.hero-title { font-size: clamp(44px, 5.6vw, 84px); max-width: 13ch; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .w > span { display: inline-block; }
.hero-lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-platforms { margin-top: 28px; font-size: 14px; color: var(--ink-2); max-width: 44ch; }

.hero-stage { position: relative; height: 620px; }
.door {
  position: absolute; left: 0; top: 0; bottom: 0; width: 58%;
  border-radius: 22px 22px 6px 6px;
  background: linear-gradient(100deg, #164A3B 0%, #0E3B2E 60%, #0B3226 100%);
  box-shadow: 0 40px 80px -40px rgba(14,59,46,.65), inset 0 0 0 1px rgba(255,255,255,.05);
}
.door-panel { position: absolute; left: 12%; right: 12%; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 18px 30px -20px rgba(0,0,0,.4); }
.door-panel-top { top: 6%; height: 36%; }
.door-panel-bottom { bottom: 6%; height: 40%; }

.lock { position: absolute; right: 9%; top: 50%; transform: translateY(-50%); width: 112px; }
.lock-body {
  position: relative; z-index: 2; width: 112px; height: 360px; padding: 14px 12px;
  border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: linear-gradient(160deg, #2D3935 0%, #141C19 55%, #0A0F0D 100%);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06);
}
.lock-cam { position: relative; width: 60px; height: 26px; border-radius: 13px; background: #06090A; }
.lock-cam::before { content: ""; position: absolute; left: 14px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4E6A61, #0B1210); }
.lock-cam::after { content: ""; position: absolute; right: 14px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #233029; }
.face-frame { position: absolute; inset: -7px -9px; border-radius: 16px; opacity: 0;
  background:
    linear-gradient(var(--green), var(--green)) left top / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 2px 12px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 2px 12px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 2px 12px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 2px 12px no-repeat; }
.lock-screen { width: 100%; height: 46px; border-radius: 8px; background: #050807; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.lock-status { font-size: 13px; font-weight: 650; color: #E6F5EC; letter-spacing: .01em; }
.lock-sub { font-size: 10px; color: #7D978C; }
.lock.is-open .lock-status { color: var(--green); }
.lock-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px 10px; padding: 4px 6px; }
.lock-keys span { width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #8FB5A4; border-radius: 50%; transition: color .15s, background-color .15s, box-shadow .15s; }
.lock-keys span.hit { color: #062014; background: var(--green); box-shadow: 0 0 14px rgba(47,191,113,.8); }
.lock-keys.lit span { color: #CFF3DE; text-shadow: 0 0 8px rgba(47,191,113,.7); }
.lock-reader { color: #4B6259; width: 40px; transition: color .2s; }
.lock-reader.lit { color: var(--green); }
.lock-finger { margin-top: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #5C776C; background: radial-gradient(circle, #1A2421 0%, #0A0F0D 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); overflow: hidden; }
.lock-finger svg { width: 40px; height: 40px; }
.lock-finger .scan-line { opacity: 0; }
.lock-finger.lit { color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green), 0 0 22px rgba(47,191,113,.45); }
.lock-handle { position: absolute; z-index: 3; right: 56px; top: 258px; width: 128px; height: 26px; transform-origin: calc(100% - 13px) 50%; }
.lock-handle span { display: block; width: 100%; height: 100%; border-radius: 13px; background: linear-gradient(180deg, #55625D 0%, #222C28 60%, #121916 100%); box-shadow: 0 10px 16px -6px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.lock-pulse { position: absolute; z-index: 1; inset: -12px; border-radius: 30px; box-shadow: 0 0 0 2px var(--green), 0 0 40px 6px rgba(47,191,113,.45); opacity: 0; }
.lock-card { position: absolute; z-index: 4; left: -140px; top: 206px; width: 96px; height: 60px; border-radius: 8px; opacity: 0; pointer-events: none;
  background: linear-gradient(135deg, #3BD383, #1C9C58); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); display: flex; align-items: flex-end; padding: 8px 10px; }
.lock-card span { font-size: 11px; font-weight: 700; color: var(--forest); letter-spacing: .02em; }

.demo { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 38%; min-width: 230px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; box-shadow: 0 30px 60px -36px rgba(14,59,46,.45); }
.demo-title { font-weight: 650; font-size: 17px; margin-bottom: 14px; }
.demo-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 550; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.demo-btn:hover { border-color: var(--green-deep); }
.demo-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.demo-btn:disabled { cursor: progress; }
.demo-log { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.demo-log-title { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.log-list { list-style: none; margin: 0; padding: 0; min-height: 132px; }
.log-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.log-list li:last-child { border-bottom: 0; }
.log-list li b { font-weight: 600; }
.log-list li span { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.log-list li.new b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: 1px; }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 64px 0 0; border-top: 1px solid var(--line); }
.hero-facts > div { padding: 22px 24px 0 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: clamp(24px, 2.4vw, 34px); font-weight: 650; letter-spacing: -0.02em; font-variation-settings: "wdth" 112; line-height: 1.1; }
.hero-facts dd { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { max-width: 16ch; }
  .hero-stage { height: 560px; max-width: 720px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; }
  .hero-stage { height: auto; }
  .door { position: relative; width: 100%; height: 470px; }
  .lock { right: 50%; transform: translate(50%, -50%); }
  .lock-handle { right: 56px; }
  .demo { position: relative; transform: none; top: auto; width: 100%; margin-top: -40px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-facts > div { padding-bottom: 20px; }
}
/* SOLUTIONS */
.sol-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--paper-2); width: fit-content; max-width: 100%; overflow-x: auto; }
.sol-tabs button { flex: none; min-height: 48px; padding: 0 22px; border: 0; border-radius: 11px; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.sol-tabs button:hover { color: var(--ink); }
.sol-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(14,59,46,.35); }
.sol-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-top: 40px; }
.sol-panel[hidden] { display: none; }
.sol-text h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 640; letter-spacing: -0.015em; line-height: 1.15; font-variation-settings: "wdth" 106; max-width: 22ch; }
.sol-text > p { margin-top: 16px; color: var(--ink-2); max-width: 50ch; }
.sol-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.sol-list li { position: relative; padding-left: 30px; }
.sol-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%230F7A48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.sol-visual { position: relative; min-height: 420px; border-radius: var(--r-l); background: var(--forest); padding: 40px; display: grid; place-items: center; overflow: hidden; }
.sol-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 80% 0%, rgba(47,191,113,.25), transparent 70%); }
.plan { position: relative; width: 100%; max-width: 440px; display: grid; gap: 12px; }
.plan-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.plan-row i { aspect-ratio: 1 / 1.1; border-radius: 8px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); position: relative; }
.plan-row i::after { content: attr(data-room); position: absolute; left: 8px; bottom: 6px; font-size: 11px; color: var(--on-forest-2); font-style: normal; }
.plan-row i.on { background: rgba(47,191,113,.22); box-shadow: inset 0 0 0 1.5px var(--green); }
.plan-row i.on::before { content: ""; position: absolute; right: 8px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.plan-hall { height: 34px; border-radius: 6px; background: rgba(255,255,255,.03); display: flex; align-items: center; padding-left: 12px; font-size: 12px; color: var(--on-forest-2); }
.sol-card { position: absolute; right: 28px; bottom: 28px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 14px 18px; display: grid; gap: 2px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.sol-card b { font-weight: 650; }
.sol-card span { font-size: 14px; color: var(--ink-2); }

.phone { position: relative; width: 250px; background: var(--white); border-radius: 30px; padding: 16px 18px 22px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6), 0 0 0 7px #0A1511; }
.phone-bar { width: 70px; height: 6px; border-radius: 3px; background: #DCE6E0; margin: 0 auto 18px; }
.phone-h { font-weight: 650; font-size: 18px; }
.pin-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 14px; }
.pin-code span { height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--mint); font-weight: 700; font-size: 18px; color: var(--forest); font-variant-numeric: tabular-nums; }
.phone-meta { margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.phone-log { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.phone-log li { display: grid; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.phone-log li span { color: var(--ink-2); font-size: 12px; }

.att { position: relative; width: 100%; max-width: 460px; border-collapse: collapse; background: var(--white); color: var(--ink); border-radius: 14px; overflow: hidden; font-size: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.att th, .att td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.att th { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--paper); }
.att tr:last-child td { border-bottom: 0; }
.att .late { color: #B4501E; font-weight: 600; }

@media (max-width: 600px) {
  .sol-tabs { width: 100%; flex-wrap: wrap; }
  .sol-tabs button { flex: 1 1 auto; }
  .sol-visual-hotel { display: flex; flex-direction: column; gap: 20px; }
  .sol-card { position: relative; right: auto; bottom: auto; align-self: stretch; }
}
@media (max-width: 880px) {
  .sol-panel { grid-template-columns: 1fr; gap: 36px; }
  .sol-visual { min-height: 360px; padding: 28px 20px; }
  .sol-tabs button { padding: 0 16px; font-size: 15px; }
}
/* PRODUCTS */
.products { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-self: end; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 15px; font-weight: 550; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--green-deep); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
@media (max-width: 880px) { .filters { justify-self: start; } }

.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.line { display: grid; gap: 8px; text-align: left; padding: 28px 30px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.line:hover { border-color: var(--green-deep); box-shadow: 0 18px 40px -30px rgba(14,59,46,.5); }
.line[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: var(--on-forest); }
.line-h { font-size: clamp(22px, 2vw, 28px); font-weight: 650; letter-spacing: -0.015em; font-variation-settings: "wdth" 110; }
.line-p { color: var(--ink-2); max-width: 46ch; }
.line-meta { font-size: 14px; font-weight: 550; color: var(--green-deep); }
.line[aria-pressed="true"] .line-p { color: var(--on-forest-2); }
.line[aria-pressed="true"] .line-meta { color: var(--green); }
@media (max-width: 700px) { .lines { grid-template-columns: 1fr; } }

.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: var(--paper); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.prod.is-hidden { display: none; }
.prod-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, var(--white) 0%, var(--paper-2) 75%); overflow: hidden; }
.prod-img svg { width: 62%; height: 86%; transition: transform .5s var(--ease); }
.prod:hover { box-shadow: 0 24px 50px -30px rgba(14,59,46,.45); }
.prod:hover .prod-img svg { transform: scale(1.06) rotate(-2deg); }
.prod-body { padding: 22px 24px 8px; flex: 1; }
.prod h3 { font-size: 20px; font-weight: 640; letter-spacing: -0.01em; line-height: 1.25; }
.prod-body p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.prod-body .prod-spec { margin-top: 12px; font-size: 14px; color: var(--green-deep); font-weight: 550; }
.prod-link { margin: 12px 24px 22px; align-self: flex-start; font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 0; border-bottom: 2px solid var(--green); }
.prod-link::before { content: ""; position: absolute; inset: 0; }
.prod-link:hover { color: var(--green-deep); }
.grid-note { margin-top: 28px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* OEM */
.oem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.maker { border-radius: var(--r-l); background: var(--forest-2); padding: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); position: sticky; top: 100px; }
.maker-stage { position: relative; height: 380px; border-radius: 18px; background: radial-gradient(circle at 40% 40%, #1F5A48 0%, #0B3226 75%); display: flex; align-items: center; justify-content: center; gap: 28px; overflow: hidden; }
.maker-lock { height: 330px; width: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.maker-box { width: 150px; height: 190px; border-radius: 6px; background: linear-gradient(160deg, #FFFFFF, #DDE8E2); color: var(--forest); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; box-shadow: 0 24px 30px -12px rgba(0,0,0,.45); transform: rotate(4deg); }
.maker-box span { font-weight: 750; font-size: 17px; letter-spacing: .04em; font-variation-settings: "wdth" 115; word-break: break-word; }
.maker-box small { font-size: 12px; color: var(--ink-2); }
.maker-controls { margin-top: 24px; display: grid; gap: 20px; }
.on-forest .field span { color: var(--on-forest-2); }
.on-forest .field input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--white); }
.on-forest .field input::placeholder { color: rgba(230,245,236,.4); }
.swatches { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.swatches legend { font-size: 14px; color: var(--on-forest-2); margin-bottom: 10px; padding: 0; }
.swatches label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.sw { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px var(--forest-2), 0 0 0 3px rgba(255,255,255,.25); transition: box-shadow .2s; }
.swatches input:checked + .sw { box-shadow: 0 0 0 3px var(--forest-2), 0 0 0 5px var(--green); }
.swatches input:focus-visible + .sw { outline: 3px solid var(--green); outline-offset: 5px; }
.sw-black { background: linear-gradient(135deg, #3A4642, #0B110E); }
.sw-silver { background: linear-gradient(135deg, #F2F5F4, #8E9A96); }
.sw-gold { background: linear-gradient(135deg, #F1DEB7, #A8875A); }
.sw-green { background: linear-gradient(135deg, #3E7A63, #0F3326); }
.maker-note { font-size: 14px; color: var(--on-forest-2); }

.steps { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.12); }
.steps-progress { position: absolute; left: 21px; top: 8px; width: 2px; height: calc(100% - 16px); background: var(--green); transform-origin: top; transform: scaleY(0); }
.steps li { position: relative; padding: 0 0 52px 76px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: var(--forest); color: var(--on-forest-2); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); transition: background-color .3s, color .3s, box-shadow .3s; z-index: 1; }
.steps li.is-active::before { background: var(--green); color: var(--forest); box-shadow: 0 0 0 6px rgba(47,191,113,.18); }
.steps h3 { font-size: 22px; font-weight: 640; letter-spacing: -0.01em; color: var(--white); }
.steps p { margin-top: 8px; color: var(--on-forest-2); max-width: 44ch; }
@media (max-width: 960px) {
  .oem-grid { grid-template-columns: 1fr; gap: 56px; }
  .maker { position: relative; top: 0; }
}
@media (max-width: 520px) {
  .maker { padding: 18px; }
  .maker-stage { height: 320px; gap: 14px; }
  .maker-lock { height: 270px; }
  .maker-box { width: 116px; height: 150px; }
  .steps li { padding-left: 64px; }
}
/* INTEGRATION */
.int-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.int-grid .lede { margin-top: 24px; }
.platforms { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.platforms li { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.platforms li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.platforms b { font-weight: 650; font-size: 18px; }
.platforms span { font-size: 14px; color: var(--ink-2); }
.code { margin: 0; border-radius: var(--r-l); background: #0B231B; color: #CFE6DA; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(14,59,46,.7); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.code-bar p { margin-left: 10px; font-size: 13px; color: #7FA090; }
.code pre { margin: 0; padding: 24px 26px; overflow-x: auto; font: 14.5px/1.75 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.code .c { color: #6E907F; }
.code .k { color: #7FE0A8; }
.code .f { color: #FFFFFF; }
.code .s { color: #F1D594; }
.code figcaption { padding: 0 26px 22px; font-size: 13px; color: #7FA090; }
@media (max-width: 960px) { .int-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .platforms { grid-template-columns: 1fr; } .platforms li:nth-child(even) { padding-left: 0; border-left: 0; } }

/* SUSTAINABILITY */
.eco { background: var(--white); }
.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; position: relative; }
.life::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.stage { position: relative; padding-top: 40px; display: flex; flex-direction: column; }
.stage::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--green); }
.stage-name { font-size: 15px; font-weight: 600; color: var(--green-deep); }
.stage h3 { margin-top: 10px; font-size: 21px; font-weight: 640; letter-spacing: -0.01em; line-height: 1.25; max-width: 18ch; }
.stage > p:not(.stage-name):not(.proof) { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.proof { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 550; color: var(--ink); }
.proof::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 14px; }
.eco-foot { margin-top: clamp(48px, 5vw, 72px); padding: 28px 32px; border-radius: 20px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.eco-foot p { max-width: 64ch; color: var(--ink-2); }
@media (max-width: 1000px) {
  .life { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
  .life::before { display: none; }
}
@media (max-width: 560px) {
  .life { grid-template-columns: 1fr; gap: 36px; }
  .eco-foot { padding: 24px; }
  .eco-foot .btn { width: 100%; }
}

/* CONTACT */
.contact { background: linear-gradient(180deg, var(--paper) 0%, var(--mint) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-copy .lede { margin-top: 24px; }
.contact-ways { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; }
.contact-ways li { display: grid; gap: 2px; }
.contact-ways span { font-size: 14px; color: var(--ink-2); }
.contact-ways a, .contact-ways p { font-size: 19px; font-weight: 600; text-decoration: none; }
.contact-ways a:hover { color: var(--green-deep); }
.form { background: var(--white); border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; box-shadow: 0 40px 80px -50px rgba(14,59,46,.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 550; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); background: var(--white); box-shadow: 0 0 0 4px rgba(47,191,113,.2); }
.field input[aria-invalid="true"] { border-color: #B4501E; }
.field-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field-chips legend { font-size: 14px; font-weight: 550; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.field-chips label { position: relative; }
.field-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field-chips label { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 550; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.field-chips label:has(input:checked) { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.field-chips label:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.form-submit { justify-self: start; min-width: 200px; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--green-deep); font-weight: 600; }
.form-status.err { color: #B4501E; font-weight: 600; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-submit { width: 100%; } }

/* TREE: grows from the footer up behind the contact section */
.contact .wrap, .footer .wrap { position: relative; z-index: 2; }
.tree { position: absolute; z-index: 1; left: 0; right: 0; top: -640px; height: 970px; overflow: hidden; pointer-events: none; }
.tree svg, .tree-img { position: absolute; left: 50%; top: 0; width: 1920px; height: 970px; max-width: none; margin-left: -960px; transform-origin: 960px 640px; }
/* growth is animated with transform + opacity only (compositor-friendly); see js/tree.js */
.tree-img { will-change: transform, opacity; }
.tree-tags { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 0; }
/* --dx / --y: branch point relative to the trunk base at the footer edge; --s: current tree scale */
.tag {
  position: absolute; left: 50%; bottom: 0;
  transform: translate(calc(var(--dx, 0) * var(--s, 1) * 1px - 11px), calc(50% - var(--y, 0) * var(--s, 1) * 1px));
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px;
  border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; color: var(--ink); white-space: nowrap;
  box-shadow: 0 10px 22px -14px rgba(14,59,46,.5);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s, border-color .2s;
}
.tag::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,191,113,.22); }
.tag.is-on { opacity: 1; visibility: visible; }
.tag:hover { border-color: var(--green-deep); }
@media (max-width: 1199px) { .tree-tags { display: none; } }
@media (max-width: 760px) { .tree svg, .tree-img { transform: scale(.62); } }

/* FOOTER */
.footer { position: relative; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--white); }
.footer-about { margin-top: 18px; font-size: 15px; color: var(--on-forest-2); max-width: 38ch; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer-h { font-weight: 650; color: var(--white); margin-bottom: 4px; }
.footer nav a { text-decoration: none; color: var(--on-forest-2); font-size: 15px; }
.footer nav a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: var(--on-forest-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.hero-actions .range-mobile-link { display: none; }
.range-quick, .contact-options > summary { display: none; }
@media (max-width: 760px) {
  .hero-actions:has(.range-mobile-link) { display: grid; gap: 8px; }
  .hero-actions:has(.range-mobile-link) > a:not(.range-mobile-link) { display: none; }
  .hero-actions .range-mobile-link { display: flex; min-height: 48px; justify-content: center; }
  #range { scroll-margin-top: 82px; }
  .page-locks main .section { padding-block: 48px; }
  .page-locks main .section-head { margin-bottom: 22px; }
  .page-locks main .h2 { font-size: 30px; letter-spacing: 0; }
  .range-quick { display: flex; flex-wrap: wrap; column-gap: 18px; margin-top: 4px; }
  .range-quick a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green-deep); font-weight: 600; }
  #range .filters button, #range .prod-acts > *, #range .ring-actions > * { min-height: 44px; }
  #range .prod-acts a { display: inline-flex; align-items: center; }
  #range .grid-locks h3 { white-space: normal; overflow-wrap: anywhere; }
  #range .range-sub { display: none; }
  .page-locks #contact { scroll-margin-top: 68px; }
  .contact-grid { gap: 16px; }
  .contact-copy .lede { margin-top: 8px; font-size: 16px; line-height: 1.45; }
  .contact-options { margin-top: 8px; }
  .contact-options > summary { display: list-item; padding: 11px 0; min-height: 44px; color: var(--green-deep); font-weight: 600; cursor: pointer; }
  .contact-options .contact-ways { margin-top: 8px; gap: 8px; }
  .contact-options .contact-ways a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact .form { padding: 16px; gap: 14px; }
  .contact .form-row { gap: 14px; }
  .contact .field :is(input, select, textarea) { font-size: 16px; min-width: 0; }
  .contact .field-chips label { min-height: 44px; }
  .contact .form-submit { width: 100%; min-height: 48px; }
  .footer { padding-top: 40px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer nav { gap: 0; }
  .footer nav a { display: flex; align-items: center; min-height: 44px; }
  .footer-base { margin-top: 24px; padding-top: 16px; }
  body:has(.iq:not(.is-empty)) .footer { padding-bottom: calc(85px + env(safe-area-inset-bottom)); }
}
