:root {
  color-scheme: light;
  --ink: #14211c;
  --muted: #52635b;
  --paper: #f3f6ef;
  --white: #ffffff;
  --teal: #0b6874;
  --teal-dark: #074a53;
  --green: #337a4d;
  --green-dark: #1f5736;
  --mint: #bfe3cb;
  --sky: #a9d8dc;
  --yellow: #f3c955;
  --coral: #ee735b;
  --violet: #5f619b;
  --line: #b9c8bf;
  --header-height: 66px;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { letter-spacing: 0; }

.site-header {
  position: relative;
  z-index: 30;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(20, 33, 28, 0.2);
  background: var(--paper);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 850; }
.brand img { flex: 0 0 auto; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 760; }
.site-nav a, .site-footer nav a { text-underline-offset: 5px; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer nav a:hover, .site-footer nav a:focus-visible { text-decoration: underline; }
.menu-button { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.eyebrow { margin: 0 0 12px; color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  overflow: hidden;
  background: var(--sky);
  border-bottom: 1px solid var(--ink);
}
.hero-copy { z-index: 3; align-self: center; max-width: 650px; padding: 80px 4vw 120px 7vw; }
.hero .eyebrow { color: var(--teal-dark); }
h1 { max-width: 620px; margin: 0; font-size: 84px; line-height: 0.96; font-weight: 920; }
.hero-lead { max-width: 590px; margin: 26px 0 0; color: #243a31; font-size: 20px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--ink); border-radius: 5px; font-size: 14px; font-weight: 850; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--teal-dark); }
.button-secondary { background: transparent; }
.button-secondary:hover, .button-secondary:focus-visible { background: rgba(255, 255, 255, 0.36); }
.hero-next { position: absolute; left: 7vw; bottom: 25px; z-index: 4; font-size: 12px; font-weight: 850; }
.hero-next span { padding-left: 7px; }

.hero-habitat { position: relative; min-height: 760px; isolation: isolate; overflow: hidden; background: var(--teal); }
.sun-disc { position: absolute; top: 74px; right: 12%; width: 138px; aspect-ratio: 1; border: 18px solid var(--yellow); border-radius: 50%; }
.hill { position: absolute; left: -8%; right: -12%; bottom: -90px; height: 390px; border: 2px solid var(--ink); border-radius: 50% 50% 0 0; transform: rotate(-4deg); }
.hill-back { bottom: 65px; background: var(--mint); }
.hill-front { left: 10%; bottom: -160px; background: var(--green); transform: rotate(7deg); }
.hero-meter { position: absolute; top: 54px; left: 42px; z-index: 4; display: grid; gap: 2px; padding-left: 12px; border-left: 5px solid var(--coral); color: var(--white); }
.hero-meter span { font-size: 10px; font-weight: 900; }
.hero-meter strong { font-size: 20px; }
.hero-habitat .hero-pet { position: absolute; z-index: 3; right: 7%; bottom: 105px; width: 430px; height: 350px; }

.signal-strip { min-height: 116px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); background: var(--yellow); }
.signal-strip p { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 24px; border-right: 1px solid var(--ink); }
.signal-strip p:last-child { border-right: 0; }
.signal-strip strong { font-size: 26px; }
.signal-strip span { color: #4d4938; font-size: 13px; font-weight: 760; }

.journey-section { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr); gap: 6vw; padding: 108px 7vw; background: var(--paper); }
.journey-heading { align-self: start; position: sticky; top: 40px; }
h2 { margin: 0; font-size: 54px; line-height: 1.05; font-weight: 900; }
.journey-heading > p:last-child, .section-heading > p:last-child { max-width: 610px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.level-lab { min-height: 590px; display: grid; grid-template-columns: 0.55fr 1fr; grid-template-rows: 1fr auto; border: 1px solid var(--ink); background: var(--white); }
.level-readout { padding: 38px; border-right: 1px solid var(--ink); background: var(--teal-dark); color: var(--white); }
.level-readout span { color: #b9e3dc; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.level-readout strong { display: block; margin-top: 10px; font-size: 36px; }
.level-readout p { margin: 16px 0 0; color: #d8e9e4; }
.level-pet { align-self: center; justify-self: center; width: 390px; height: 340px; }
.level-control { grid-column: 1 / -1; padding: 30px 34px 25px; border-top: 1px solid var(--ink); background: var(--mint); }
.level-control label { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 13px; font-weight: 850; }
.level-control input { width: 100%; accent-color: var(--coral); cursor: pointer; }
.level-ticks { display: flex; justify-content: space-between; padding: 5px 2px 0; color: #43594c; font-size: 10px; font-weight: 800; }

.pet-visual { --pet-scale: 0.95; position: relative; display: grid; place-items: center; }
.pet-egg { position: absolute; left: 50%; top: 50%; width: 142px; height: 180px; border: 2px solid var(--ink); border-radius: 52% 52% 47% 47%; background: #fffdf2; box-shadow: inset -15px -12px 0 #dbe8de; transform: translate(-50%, -50%); }
.pet-egg::before, .pet-egg::after { content: ""; position: absolute; border-radius: 50%; background: var(--coral); }
.pet-egg::before { width: 26px; height: 18px; left: 30px; top: 50px; transform: rotate(-18deg); }
.pet-egg::after { width: 19px; height: 26px; right: 26px; bottom: 38px; transform: rotate(24deg); }
.pet-egg span { display: none; position: absolute; left: 50%; top: 0; width: 4px; height: 72px; background: var(--ink); transform: rotate(23deg); transform-origin: top; }
.pet-egg span::after { content: ""; position: absolute; left: -2px; bottom: -22px; width: 4px; height: 27px; background: var(--ink); transform: rotate(-52deg); transform-origin: top; }
.pet-dino { position: absolute; left: 50%; bottom: 0; width: 320px; height: 255px; transform: translateX(-50%) scale(var(--pet-scale)); transform-origin: center bottom; }
.dino-body { position: absolute; left: 88px; top: 112px; width: 150px; height: 103px; border: 3px solid var(--ink); border-radius: 54% 47% 44% 42%; background: #62b96e; box-shadow: inset -18px -15px 0 #3f8d56; }
.dino-tail { position: absolute; left: 13px; top: 136px; width: 116px; height: 62px; border: 3px solid var(--ink); border-right: 0; border-radius: 80% 0 0 65%; background: #4ca862; transform: rotate(-18deg); transform-origin: right center; }
.dino-head { position: absolute; left: 188px; top: 44px; width: 124px; height: 103px; border: 3px solid var(--ink); border-radius: 46% 40% 43% 50%; background: #6ac775; box-shadow: inset -13px -12px 0 #4da35f; }
.dino-head::after { content: ""; position: absolute; right: -5px; bottom: 8px; width: 78px; height: 42px; border: 3px solid var(--ink); border-left: 0; border-radius: 0 43% 43% 0; background: #78d07f; }
.dino-eye { position: absolute; z-index: 2; right: 30px; top: 24px; width: 13px; height: 16px; border-radius: 50%; background: var(--ink); box-shadow: inset 4px 3px 0 #fff; }
.dino-smile { position: absolute; z-index: 2; right: 9px; bottom: 25px; width: 40px; height: 16px; border-bottom: 3px solid var(--ink); border-radius: 50%; }
.dino-leg { position: absolute; top: 188px; width: 42px; height: 61px; border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px; background: #3f8d56; }
.dino-leg::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 57px; height: 17px; border: 3px solid var(--ink); border-radius: 14px 18px 9px 9px; background: #65bd70; }
.dino-leg-back { left: 113px; }
.dino-leg-front { left: 199px; }
.dino-arm { position: absolute; z-index: 3; left: 205px; top: 139px; width: 60px; height: 14px; border: 3px solid var(--ink); border-radius: 10px; background: #6ac775; transform: rotate(19deg); }
.dino-plates { position: absolute; left: 126px; top: 91px; width: 24px; height: 28px; background: var(--yellow); border: 3px solid var(--ink); transform: rotate(38deg); box-shadow: 32px -12px 0 -3px var(--yellow), 61px -22px 0 -5px var(--yellow); }
[data-pet-level="0"] .pet-dino, [data-pet-level="1"] .pet-dino { display: none; }
[data-pet-level="1"] .pet-egg span { display: block; }
[data-pet-level="2"] .pet-egg, [data-pet-level="3"] .pet-egg, [data-pet-level="4"] .pet-egg, [data-pet-level="5"] .pet-egg, [data-pet-level="6"] .pet-egg, [data-pet-level="7"] .pet-egg, [data-pet-level="8"] .pet-egg, [data-pet-level="9"] .pet-egg { display: none; }
[data-pet-level="2"] { --pet-scale: 0.48; }
[data-pet-level="3"] { --pet-scale: 0.58; }
[data-pet-level="4"] { --pet-scale: 0.68; }
[data-pet-level="5"] { --pet-scale: 0.78; }
[data-pet-level="6"] { --pet-scale: 0.88; }
[data-pet-level="7"] { --pet-scale: 0.98; }
[data-pet-level="8"] { --pet-scale: 1.08; }
[data-pet-level="9"] { --pet-scale: 1.18; }

.cleanup-section { padding: 108px 7vw 120px; background: #dceee2; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.app-shell { width: min(1120px, 100%); min-height: 580px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 7px; background: var(--white); box-shadow: 15px 15px 0 var(--ink); overflow: visible; }
.app-shell-bar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.app-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 850; }
.app-title img { border-radius: 5px; }
.more-wrap { position: relative; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0 0 8px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; }
.icon-button:hover, .icon-button:focus-visible, .icon-button[aria-expanded="true"] { border-color: var(--ink); background: var(--yellow); }
.more-menu { position: absolute; top: 46px; right: 0; z-index: 10; width: 230px; border: 1px solid var(--ink); background: var(--white); box-shadow: 7px 7px 0 var(--ink); }
.more-menu a { display: block; padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 730; }
.more-menu a:last-child { border-bottom: 0; }
.more-menu a:hover, .more-menu a:focus-visible { background: var(--mint); }
.app-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); background: var(--white); }
.app-tabs button { min-height: 52px; border: 0; border-right: 1px solid var(--ink); background: var(--white); color: var(--muted); font-size: 14px; font-weight: 850; cursor: pointer; }
.app-tabs button:last-child { border-right: 0; }
.app-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.app-panel { min-height: 464px; }
.todo-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.todo-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 58px; border-right: 1px solid var(--ink); }
.panel-kicker { color: var(--teal); font-size: 10px; font-weight: 900; }
.app-panel h3 { max-width: 520px; margin: 12px 0 0; font-size: 38px; line-height: 1.08; }
.app-panel p { max-width: 520px; margin: 17px 0 0; color: var(--muted); }
.action-button { min-height: 46px; display: inline-flex; align-items: center; margin-top: 28px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 5px; background: var(--coral); color: var(--ink); font-size: 13px; font-weight: 850; cursor: pointer; }
.action-button:hover, .action-button:focus-visible { background: var(--yellow); }
.cleanup-orbit { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--sky); }
.cleanup-orbit::before { content: ""; position: absolute; width: 390px; height: 230px; border: 2px solid rgba(20, 33, 28, 0.38); border-radius: 50%; transform: rotate(-12deg); }
.orbit-label { position: absolute; top: 28px; right: 28px; padding: 7px 10px; border: 1px solid var(--ink); border-radius: 4px; background: var(--yellow); font-size: 11px; font-weight: 900; }
.shell-pet { width: 360px; height: 310px; }
.compact-panel { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 60px; padding: 58px; background: var(--paper); }
.compress-meter { display: grid; gap: 16px; padding: 42px; border-left: 1px solid var(--line); }
.compress-meter span { font-size: 12px; font-weight: 850; }
.compress-meter i { position: relative; display: block; height: 35px; border: 1px solid var(--ink); background: var(--sky); }
.compress-meter i::after { content: ""; position: absolute; inset: 0 38% 0 0; background: var(--teal); }
.privacy-panel { background: #e9e8f7; }
.privacy-vault { justify-self: center; width: 190px; height: 220px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 7px; background: var(--violet); color: var(--white); }
.privacy-vault span { position: relative; width: 76px; height: 62px; border: 6px solid var(--white); border-radius: 6px; }
.privacy-vault span::before { content: ""; position: absolute; left: 17px; top: -54px; width: 30px; height: 45px; border: 6px solid var(--white); border-bottom: 0; border-radius: 22px 22px 0 0; }
.privacy-vault strong { align-self: start; font-size: 11px; }
[hidden] { display: none !important; }

.tools-section { display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(470px, 1.2fr); gap: 8vw; padding: 108px 7vw; background: var(--paper); }
.tools-intro h2 { font-size: 46px; }
.tool-lines { border-top: 1px solid var(--ink); }
.tool-lines article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--ink); scroll-margin-top: 30px; }
.tool-lines article > span { color: var(--coral); font-size: 12px; font-weight: 900; }
.tool-lines h3 { margin: 0; font-size: 20px; }
.tool-lines p { margin: 6px 0 0; color: var(--muted); }
.tool-lines a { text-decoration: underline; text-underline-offset: 4px; }

.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; padding: 100px 7vw; background: var(--teal-dark); color: var(--white); }
.privacy-band .eyebrow { color: var(--yellow); }
.privacy-band h2 { max-width: 650px; font-size: 48px; }
.privacy-points { border-top: 1px solid rgba(255,255,255,0.42); }
.privacy-points p { display: grid; grid-template-columns: 170px 1fr; gap: 28px; margin: 0; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.42); }
.privacy-points strong { color: var(--yellow); font-size: 13px; }
.privacy-points span { color: #d7ece7; }

.policy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; padding: 92px 7vw; background: var(--coral); }
.policy-band h2 { max-width: 650px; font-size: 46px; }
.policy-links { border-top: 1px solid var(--ink); }
.policy-links a { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); font-weight: 850; }
.policy-links a span:last-child { transition: transform 160ms ease; }
.policy-links a:hover span:last-child { transform: translateX(5px); }

.site-footer { min-height: 108px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; padding: 24px 5vw; border-top: 1px solid var(--ink); background: var(--paper); font-size: 12px; }
.site-footer p { margin: 0; color: var(--muted); text-align: center; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; }

.document-main { min-height: calc(100vh - var(--header-height)); }
.document-hero { padding: 72px 7vw 54px; border-bottom: 1px solid var(--ink); background: var(--yellow); }
.document-hero h1 { max-width: 850px; font-size: 72px; }
.document-meta { margin: 19px 0 0; color: #5c5438; }
.document-layout { display: grid; grid-template-columns: 230px minmax(0, 780px); gap: 8vw; padding: 66px 7vw 110px; }
.document-toc { align-self: start; position: sticky; top: 24px; }
.document-toc > p { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.document-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; }
.document-toc a:hover, .document-toc a:focus-visible { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.document-content section { scroll-margin-top: 24px; }
.document-content section + section { margin-top: 48px; }
.document-content h2 { margin-bottom: 17px; font-size: 29px; line-height: 1.2; }
.document-content h3 { margin: 26px 0 9px; font-size: 18px; }
.document-content p, .document-content li { color: #34463d; }
.document-content ul { padding-left: 22px; }
.document-content a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.policy-note { padding: 18px 20px; border-left: 5px solid var(--coral); background: #e5eee7; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

@media (max-width: 1040px) {
  h1 { font-size: 68px; }
  h2 { font-size: 46px; }
  .hero { grid-template-columns: 0.9fr 1.1fr; min-height: 680px; }
  .hero-habitat { min-height: 680px; }
  .hero-pet { right: 0; width: 380px; }
  .journey-section { grid-template-columns: 1fr; }
  .journey-heading { position: static; max-width: 720px; }
  .tools-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 62px; }
  .site-header { padding: 0 18px; }
  .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; height: calc(100svh - var(--header-height)); align-content: start; padding: 16px 18px; background: var(--paper); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 20px 48px; }
  .hero-copy, .hero-copy h1, .hero-lead { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
  h1 { font-size: 48px; }
  .hero-lead { font-size: 18px; }
  .hero-habitat { min-height: 320px; }
  .hero-next { display: none; }
  .hero-habitat .hero-pet { right: 50%; bottom: 5px; width: 350px; height: 270px; transform: translateX(50%); }
  .hero-meter { left: 20px; top: 26px; }
  .sun-disc { top: 38px; right: 20px; width: 92px; border-width: 12px; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip p { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--ink); }
  .signal-strip p:last-child { border-bottom: 0; }
  .journey-section, .cleanup-section, .tools-section { padding: 76px 20px; }
  h2, .tools-intro h2, .privacy-band h2, .policy-band h2 { font-size: 38px; }
  .level-lab { min-height: 650px; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .level-readout { padding: 25px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .level-readout strong { font-size: 29px; }
  .level-pet { width: 330px; height: 300px; }
  .app-shell { box-shadow: 8px 8px 0 var(--ink); }
  .todo-panel, .compact-panel { grid-template-columns: 1fr; }
  .todo-copy { padding: 38px 24px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .app-panel h3 { font-size: 32px; }
  .cleanup-orbit { min-height: 360px; }
  .compact-panel { gap: 34px; padding: 38px 24px; }
  .compress-meter { padding: 25px 0; border-top: 1px solid var(--line); border-left: 0; }
  .privacy-vault { width: 160px; height: 190px; }
  .privacy-band, .policy-band { grid-template-columns: 1fr; gap: 40px; padding: 76px 20px; }
  .privacy-points p { grid-template-columns: 1fr; gap: 7px; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer p { text-align: left; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .document-hero { padding: 56px 20px 42px; }
  .document-hero h1 { font-size: 50px; }
  .document-layout { grid-template-columns: 1fr; gap: 38px; padding: 42px 20px 80px; }
  .document-toc { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 420px) {
  h1 { font-size: 46px; }
  .hero-actions { display: grid; }
  .level-pet { width: 290px; }
  .pet-dino { margin-left: -10px; }
  .app-tabs button { font-size: 13px; }
  .more-menu { right: -8px; width: 214px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
