:root {
  color-scheme: light;
  --ink: #102d2a;
  --muted: #5f706d;
  --green-950: #092f2b;
  --green-800: #145e55;
  --green-600: #168b7e;
  --mint-100: #dcf5ef;
  --mint-50: #eefaf7;
  --peach: #ff9c6b;
  --peach-soft: #ffe1d2;
  --cream: #fffaf2;
  --white: #ffffff;
  --border: rgba(16, 45, 42, 0.13);
  --shadow: 0 26px 70px rgba(9, 47, 43, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-800); }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; color: white; background: var(--green-950); border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 242, 0.9); border-bottom: 1px solid rgba(16, 45, 42, 0.08); backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.labs-brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Manrope", sans-serif; }
.labs-brand > span:last-child { display: grid; line-height: 1.05; }
.labs-brand strong { font-size: 1.02rem; letter-spacing: -0.03em; }
.labs-brand small { margin-top: 3px; color: var(--green-600); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.labs-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--green-950); border-radius: 14px; font-size: 1.12rem; font-weight: 800; box-shadow: 0 12px 26px rgba(9, 47, 43, 0.2); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 9px 13px; border-radius: 999px; color: var(--muted); font-size: 0.94rem; font-weight: 700; }
.nav a:hover, .nav a.active { color: var(--green-950); background: var(--mint-100); }

.hero { overflow: hidden; padding: 78px 0 90px; background: radial-gradient(circle at 82% 14%, rgba(255, 156, 107, 0.18), transparent 24%), linear-gradient(150deg, var(--cream) 30%, var(--mint-50)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 64px; }
.eyebrow, .product-kicker, .card-label, .art-label { margin: 0 0 14px; color: var(--green-600); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.1; letter-spacing: -0.045em; }
.hero h1 { max-width: 12ch; margin: 0; font-size: clamp(3.1rem, 6.4vw, 6.5rem); font-weight: 800; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green-950); box-shadow: 0 14px 30px rgba(9, 47, 43, 0.2); }
.button-primary:hover { color: white; }
.button-secondary { color: var(--green-950); background: rgba(255,255,255,0.68); border-color: var(--border); }
.button-light { color: var(--green-950); background: white; }
.principles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.principles span { padding: 7px 11px; color: var(--green-800); background: rgba(255,255,255,0.68); border: 1px solid rgba(20, 94, 85, 0.13); border-radius: 999px; font-size: 0.82rem; font-weight: 700; }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: 330px; height: 330px; background: var(--green-950); border-radius: 50%; box-shadow: var(--shadow); z-index: -1; }
.orbit { position: absolute; border: 1px solid rgba(20,94,85,0.25); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 510px; height: 510px; }
.hero-art-card { width: min(300px, 70vw); color: white; text-align: center; }
.hero-art-card .art-label { color: #74d9cb; }
.hero-art-card strong { display: block; font-family: "Manrope", sans-serif; font-size: 2rem; line-height: 1.18; letter-spacing: -0.04em; }
.hero-art-card p { margin-bottom: 0; color: rgba(255,255,255,0.7); }
.art-note { position: absolute; padding: 11px 16px; background: white; border: 1px solid var(--border); border-radius: 999px; font-weight: 800; box-shadow: 0 16px 34px rgba(9,47,43,0.12); }
.note-one { top: 11%; left: 3%; }
.note-two { top: 20%; right: 0; background: var(--peach-soft); }
.note-three { bottom: 12%; left: 10%; color: white; background: var(--green-600); }

.product-section { padding: 56px 0; color: white; background: var(--green-950); }
.product-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.product-identity { display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: center; }
.product-identity .product-kicker { grid-column: 1 / -1; margin-bottom: -4px; color: #74d9cb; }
.app-icon { width: 104px; height: 104px; border-radius: 27px; box-shadow: 0 20px 50px rgba(0,0,0,0.28); }
.product-identity h2 { margin: 0; font-size: 2rem; }
.product-identity p { margin: 5px 0 0; color: rgba(255,255,255,0.65); }
.product-story h2 { max-width: 14ch; margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.product-story > p { max-width: 690px; color: rgba(255,255,255,0.72); font-size: 1.06rem; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.store-links a { display: inline-flex; height: 58px; align-items: center; }
.store-links img { width: auto; max-height: 58px; }

.section { padding: 104px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .approach-grid > div > h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 4.6rem); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 270px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 14px 44px rgba(9,47,43,0.06); }
.feature-card-accent { background: var(--peach-soft); }
.feature-card-dark { color: white; background: var(--green-800); }
.feature-card-dark p, .feature-card-dark .feature-number { color: rgba(255,255,255,0.72); }
.feature-number { margin-bottom: auto; color: var(--green-600); font-weight: 800; }
.feature-card h3 { margin: 34px 0 8px; font-size: 1.65rem; }
.feature-card p { margin: 0; max-width: 44ch; color: var(--muted); }

.approach-section { background: var(--mint-50); }
.approach-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 76px; }
.approach-list { border-top: 1px solid var(--border); }
.approach-list article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.approach-list article > span { color: var(--green-600); font-weight: 800; }
.approach-list h3 { margin: 0 0 7px; font-size: 1.35rem; }
.approach-list p { margin: 0; color: var(--muted); }

.closing-section { background: white; }
.closing-card { padding: 54px; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; color: white; background: var(--green-950); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.closing-card .eyebrow { color: #74d9cb; }
.closing-card h2 { max-width: 17ch; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }

.site-footer { padding: 54px 0; color: rgba(255,255,255,0.72); background: #061f1d; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.labs-brand-footer { color: white; }
.labs-brand-footer:hover { color: white; }
.footer-grid > div:first-child > p { margin: 16px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: white; font-weight: 700; }
.footer-links a:hover { color: #74d9cb; }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.9rem; }

.page-main { padding: 80px 0 110px; background: linear-gradient(180deg, var(--mint-50), var(--cream) 40%); }
.page-intro { max-width: var(--max-width); margin-bottom: 44px; }
.page-intro h1 { max-width: 13ch; margin: 0; font-size: clamp(3rem, 6vw, 6rem); }
.page-intro > p:last-child { max-width: 670px; color: var(--muted); font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.contact-card, .policy-card { padding: 34px; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 16px 44px rgba(9,47,43,0.06); }
.contact-card { min-height: 260px; }
.contact-card h2 { margin: 0 0 18px; font-size: clamp(1.55rem, 3vw, 2.4rem); overflow-wrap: anywhere; }
.contact-card p:last-child { margin-bottom: 0; color: var(--muted); }
.contact-card-primary { color: white; background: var(--green-950); }
.contact-card-primary .card-label { color: #74d9cb; }
.contact-card-primary p:last-child { color: rgba(255,255,255,0.72); }
.contact-card-warning { background: var(--peach-soft); }
.policy-card { max-width: 880px; }
.policy-card section + section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--border); }
.policy-card h2 { margin: 0 0 12px; font-size: 1.55rem; }
.policy-card p { margin: 0; color: var(--muted); }
.policy-card a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-block; margin-top: 14px; font-weight: 800; }

.not-found-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 20%, var(--peach-soft), transparent 30%), var(--mint-50); }
.not-found-card { width: min(100%, 680px); padding: 48px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.not-found-card .eyebrow { margin-top: 60px; }
.not-found-card h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.6rem); }
.not-found-card > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.not-found-card .button { margin-top: 18px; }

@media (max-width: 860px) {
  .hero-grid, .product-grid, .approach-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-grid, .product-grid, .approach-grid { gap: 44px; }
  .hero-art { min-height: 430px; }
  .hero-art::before { width: 280px; height: 280px; }
  .orbit-one { width: 350px; height: 350px; }
  .orbit-two { width: 420px; height: 420px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .copyright { grid-column: auto; width: 100%; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .header-inner { min-height: 72px; }
  .nav a:not(:last-child) { display: none; }
  .hero { padding: 46px 0 66px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .hero-art { min-height: 370px; }
  .hero-art::before { width: 240px; height: 240px; }
  .orbit-one { width: 300px; height: 300px; }
  .orbit-two { width: 350px; height: 350px; }
  .hero-art-card { width: 220px; }
  .hero-art-card strong { font-size: 1.55rem; }
  .art-note { padding: 8px 12px; font-size: 0.82rem; }
  .product-identity { grid-template-columns: 82px 1fr; }
  .app-icon { width: 82px; height: 82px; border-radius: 22px; }
  .store-links a { height: 50px; }
  .store-links img { max-height: 50px; }
  .section { padding: 76px 0; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 235px; }
  .closing-card { padding: 34px 26px; align-items: flex-start; flex-direction: column; }
  .page-main { padding: 58px 0 80px; }
  .page-intro h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .contact-card, .policy-card, .not-found-card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

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