:root {
  color-scheme: dark;
  --bg: #102018;
  --panel: #192c21;
  --screen: #142c1b;
  --text: #f3f9df;
  --muted: #c1d4bb;
  --lime: #c4fb54;
  --mint: #8de6ac;
  --line: #456b4b;
  --pixel: ui-monospace, "Courier New", monospace;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  container-type: inline-size;
  background: radial-gradient(ellipse at 71% 5%, #23462b 0%, transparent 41%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
header, main, footer { width: min(1070px, calc(100% - 36px)); margin: auto; }
header, footer, nav, .brand { display: flex; align-items: center; gap: 20px; }
header, footer { justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); border-bottom: 0; justify-content: flex-start; flex-wrap: wrap; }
a { color: var(--lime); }
.brand { font: 900 1.6rem var(--pixel); text-decoration: none; gap: 9px; }
.brand img { image-rendering: pixelated; }
nav a { text-decoration: none; color: var(--text); font: 750 .86rem var(--pixel); }
.hero, .pack { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(24px, 5vw, 68px); align-items: center; padding: 72px 0; }
.kicker { color: var(--mint); font: 750 .83rem var(--pixel); letter-spacing: .07em; text-transform: uppercase; }
h1, h2 { font-family: var(--pixel); line-height: 1.05; letter-spacing: -.065em; margin: .26em 0; }
h1 { font-size: clamp(2.45rem, 6vw, 5.15rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); }
em { font-style: normal; color: var(--lime); }
p, li { color: var(--muted); }
strong { color: var(--text); }
.hero p { max-width: 43ch; }
.hero { position: relative; isolation: isolate; min-height: 570px; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100cqw) / 2);
  background:
    radial-gradient(ellipse at 72% 46%, #88c24c65, transparent 33%),
    radial-gradient(ellipse at 76% 52%, #295832, transparent 63%),
    linear-gradient(115deg, #112619, #193421 64%, #142a1c);
}
.handheld {
  position: relative;
  isolation: isolate;
  width: min(100%, 360px);
  margin: 18px auto 12px;
}
.handheld-loop {
  position: absolute;
  z-index: -1;
  top: -6%; right: 1%;
  width: 33%; height: 26%;
  transform: rotate(42deg);
  border: 9px dotted #bbcfb7;
  border-radius: 50%;
  filter: drop-shadow(2px 4px 2px #0a180f);
}
.handheld-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 23px);
  aspect-ratio: .94;
  padding: 12% 12% 9%;
  border: 2px solid #c7f77c;
  border-radius: 51% 49% 48% 49% / 57% 57% 44% 44%;
  background:
    radial-gradient(ellipse at 31% 12%, #f6ffca 0%, #d9fc76 24%, transparent 49%),
    linear-gradient(147deg, #c6f961 30%, #a6dd36 67%, #719b20);
  box-shadow: inset -10px -13px 22px #416f3280, inset 7px 6px 14px #fbffeab3, 0 10px 0 #d13d75, 0 14px 0 #471c39, 0 24px 35px #07190bc2;
}
.handheld-bezel {
  width: 89%;
  padding: 9px;
  border: 2px solid #9c2c61;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffacd0, #ec629d 45%, #bc366d);
  box-shadow: inset 0 2px 3px #ffd3e3, 0 4px 6px #5b664c8c;
}
.handheld-screen {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 8px 10px 7px;
  border: 2px solid #263b19;
  border-radius: 15px;
  color: #1b3319;
  background: radial-gradient(ellipse at 48% 40%, #d9f3a0, #a4c872);
  box-shadow: inset 0 2px 8px #526a3999;
}
.handheld-screen img { width: 57%; height: auto; image-rendering: pixelated; }
.handheld-clock {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 2px 6px; width: 100%; padding-top: 5px; border-top: 1px solid #374c2b70;
  font: 750 clamp(.57rem, 1.35vw, .72rem) var(--pixel);
}
.handheld-clock strong { color: #1b3319; font-size: clamp(.86rem, 1.7vw, 1.22rem); }
.handheld-keys { display: flex; gap: 16px; }
.handheld-keys i {
  width: clamp(20px, 3vw, 28px); aspect-ratio: 1; border: 1px solid #ac3d6d; border-radius: 50%;
  background: radial-gradient(circle at 34% 27%, #ffc0df, #f174ad 46%, #c73776 78%);
  box-shadow: 0 4px #973460, 0 6px 6px #496125;
}
.handheld-keys i:nth-child(2) { transform: translateY(5px); }
.pack { border-top: 1px solid var(--line); }
.loot { padding: 0; list-style: none; }
.loot li { display: flex; gap: 10px; margin: 8px 0; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.loot li span { font-size: 1.2rem; }
.loot strong { display: block; }
.offer, .install { border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 4vw, 34px); background: var(--panel); }
.offer { box-shadow: 0 5px #0c160f; }
.offer p { margin: .75rem 0; }
.price { color: var(--lime); font: 900 2.4rem var(--pixel); }
.price small { font: 700 .82rem var(--pixel); color: var(--muted); white-space: nowrap; }
.button { display: inline-block; background: var(--lime); color: #132115; border: 1px solid transparent; border-radius: 6px; box-shadow: 0 4px #6d8d36; padding: .65rem .95rem; font: 850 .92rem var(--pixel); text-decoration: none; cursor: pointer; }
.button:hover:not(:disabled) { background: #ddff9d; }
.button:disabled { opacity: .7; cursor: default; }
.secondary { background: #243e27; border-color: var(--lime); color: var(--lime); }
.secondary:hover:not(:disabled) { color: #132115; }
.install { margin: 20px 0 55px; }
.install li { margin-bottom: .5rem; }
label, input { display: block; }
input { font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 8px; width: 100%; margin: 6px 0 12px; }
output { font: 700 1.1rem var(--pixel); overflow-wrap: anywhere; color: var(--lime); }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
[hidden] { display: none; }
@media (max-width: 700px) {
  .hero, .pack { grid-template-columns: 1fr; padding: 38px 0; gap: 24px; }
  header, nav { gap: 10px; }
  .hero { min-height: auto; padding-bottom: 54px; }
  .hero::before { background: radial-gradient(ellipse at 52% 75%, #77af435c, transparent 52%), #162f20; }
  .handheld { width: min(80%, 320px); }
}
.garden-preview { display:block; width:100%; height:auto; margin:0 0 14px; border:1px solid var(--line); border-radius:8px; }

.living { border-top: 1px solid var(--line); padding: 56px 0; }
.living-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.living-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.living-card h3 { margin: 0; font: 800 1.05rem var(--pixel); color: var(--lime); }
.living-card p { margin: 8px 0 0; }
.living-preview { display: block; max-width: 840px; margin: 0 auto; text-decoration: none; }
.living-preview img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.living-preview span { display: inline-block; margin-top: 8px; text-decoration: underline; }
@media (max-width: 700px) {
  .living { padding: 34px 0; }
  .living-grid { grid-template-columns: 1fr; }
  header nav { flex-wrap: wrap; justify-content: end; }
}

.pet-first { grid-template-columns: .82fr 1.18fr; }
.pet-demo { display:block; width:100%; height:auto; border:1px solid #6f9855; border-radius:14px; box-shadow:0 10px 24px #0a190f; }
.install-note { font-size:.85rem; margin-bottom:0; }
@media(max-width:700px) { .pet-first { grid-template-columns:1fr; } }

.pack-tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.pack-tiles figure,.pack-groups div { margin:0; background:var(--panel); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.pack-tiles img { display:block; width:100%; height:auto; }
.pack-tiles figcaption { padding:5px 8px; font-size:.85rem; font-weight:750; }
.pack-groups { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pack-groups div { padding:9px; }
.pack-groups dt { color:var(--lime); font-weight:800; }
.pack-groups dd { margin:0; color:var(--muted); font-size:.9rem; }
