:root {
  color-scheme: light;
  --paper: #f7f8f3;
  --ink: #152922;
  --muted: #4e6057;
  --line: #d8e0d9;
  --accent: #28624d;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1,h2,h3,p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #408969; outline-offset: 5px; }
.shell { width: min(100% - 104px, 1336px); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .7rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; gap: .53rem; align-items: center; text-decoration: none; font-size: 1.48rem; font-weight: 750; letter-spacing: -.07em; }
.wordmark span { margin-left: -.44rem; color: var(--accent); }
nav { display: flex; gap: clamp(1rem, 4vw, 2.7rem); }
nav a,.header-cta,.footer a:not(.wordmark) { text-decoration: none; font-size: .88rem; font-weight: 650; }
nav a:hover,.footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { border: 1px solid #b8c9be; border-radius: 7px; padding: .68rem .92rem; display: flex; gap: .75rem; align-items: center; }
.header-cta:hover { background: #e6eee7; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1.6rem, 4vw, 4.5rem); padding-block: clamp(3.3rem, 6vw, 6.75rem); }
.eyebrow { font: 600 .69rem/1.4 var(--mono); letter-spacing: .125em; color: var(--accent); display: flex; gap: .55rem; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4b936e; flex: 0 0 auto; }
h1 { margin-top: 1.2rem; font-size: clamp(2.65rem, 5.35vw, 5.65rem); font-weight: 690; line-height: 1.04; letter-spacing: -.083em; }
h1 em { font-style: normal; color: #32634f; }
.intro { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; }
.primary { margin-top: 1.65rem; display: inline-flex; align-items: center; gap: 1rem; background: #1b3d30; color: #fff; text-decoration: none; border-radius: 7px; padding: .93rem 1.15rem; font-size: .91rem; font-weight: 650; }
.primary:hover { background: #2b5d48; }
.primary span { color: #bcdfcc; }
.hero-art { background: #162f28; color: #d2e7dc; border: 1px solid #244337; overflow: hidden; border-radius: 12px; padding: 1.1rem 1.2rem .95rem; box-shadow: 0 12px 25px #15292213; }
.art-top,.art-bottom { display: flex; justify-content: space-between; gap: .5rem; font: .63rem/1.3 var(--mono); letter-spacing: .11em; }
.art-top i { display: inline-block; width: 6px; height: 6px; margin-right: .3rem; border-radius: 50%; background: #a7dec3; }
.art-bottom { border-top: 1px solid #6e978555; padding-top: .8rem; color: #b9d2c6; }
.orbital { display: block; width: 100%; height: auto; margin: .4rem 0; }
.orbit-labels { font-family: var(--mono); }
.portfolio { background: #edf1eb; border-block: 1px solid var(--line); padding-block: clamp(3.2rem, 5.8vw, 6.15rem); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 1.2rem; margin-bottom: 2rem; }
.section-head h2,.approach h2 { font-size: clamp(2.2rem, 4.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.076em; font-weight: 680; margin-top: .7rem; }
.section-head > p,.approach-inner > div > p:last-child { max-width: 33rem; font-size: 1.04rem; line-height: 1.6; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .85rem; }
.platform { display: flex; flex-direction: column; text-align: left; width: 100%; grid-column: span 2; padding: 1.25rem; border: 1px solid #d1dcd2; background: #fafbf7; color: var(--ink); border-radius: 9px; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.platform:nth-child(-n+2),.platform:nth-child(n+6) { grid-column: span 3; }
.platform:hover { background: #fff; border-color: #9cb5a3; box-shadow: 0 5px 14px #2b4a3610; }
.card-top { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9px; color: var(--mark); background: var(--tint); }
.card-icon svg { width: 25px; height: 25px; }
.card-index { color: #5e7066; font: .68rem/1.4 var(--mono); letter-spacing: .09em; }
.card-title { margin-top: 1rem; font-size: 1.62rem; font-weight: 720; letter-spacing: -.06em; }
.card-desc { color: var(--muted); font-size: .94rem; line-height: 1.5; margin-top: .4rem; max-width: 34rem; }
.card-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: auto; padding-top: 1rem; }
.card-category { color: var(--accent); font: 600 .65rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.card-arrow { color: var(--accent); font-size: 1.25rem; }
.approach { padding-block: clamp(3.2rem, 7vw, 7rem); }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 6vw, 6rem); }
.approach-inner > div > p:last-child { margin-top: 1.3rem; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--accent); font: .79rem/1.8 var(--mono); }
.steps h3 { font-size: 1.12rem; letter-spacing: -.025em; }
.steps p { margin-top: .26rem; color: var(--muted); line-height: 1.55; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.4rem; }
.footer p { font-size: .85rem; color: var(--muted); }
dialog { width: min(100% - 2rem, 610px); padding: 0; border: 1px solid #b8c9bd; border-radius: 13px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 100px #071b1250; max-height: calc(100dvh - 2rem); }
dialog::backdrop { background: #10261c99; }
body:has(dialog[open]) { overflow: hidden; }
.detail { padding: clamp(1.4rem, 5vw, 2.75rem); }
.close-form { position: absolute; right: 1rem; top: 1rem; }
.close { border: 1px solid var(--line); background: white; border-radius: 50%; cursor: pointer; width: 42px; height: 42px; color: var(--ink); font-size: 1.5rem; }
.close:hover { background: #e1ede3; }
.detail .eyebrow { padding-right: 3.15rem; }
.detail h2 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -.07em; margin-top: .6rem; }
.detail-line { font-weight: 700; font-size: 1.13rem; margin: .15rem 0 .75rem; }
#detail-description,.detail-row p,.detail-row ol { color: var(--muted); line-height: 1.55; }
.detail-row { margin-top: 1.3rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.detail-row h3 { font-size: .91rem; margin-bottom: .35rem; }
.detail-row ol { padding-left: 1.2rem; margin: 0; }
.detail-row li + li { margin-top: .25rem; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.75rem, 9vw, 5rem); }
  .hero-art { max-width: 600px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform:nth-child(n) { grid-column: auto; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; gap: .65rem; }
  .header-cta { display: none; }
  .hero { padding-block: 2.6rem; }
  .hero-art { padding: .8rem .65rem .7rem; }
  .section-head,.platform-grid,.approach-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.card-arrow { display: inline-flex; }
.footer a:not(.wordmark) svg { vertical-align: middle; }

.footer-links { flex-wrap: wrap; gap: .55rem 1.2rem; }
.footer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.legal { width: min(100% - 40px, 780px); padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.legal h1 { font-size: clamp(2rem, 7vw, 4.8rem); overflow-wrap: anywhere; }
.legal section { margin-top: 2rem; }
.legal h2 { margin-bottom: .65rem; letter-spacing: -.035em; }
.legal p,.legal-data { line-height: 1.6; }
.legal-note { margin-top: 1.4rem; padding: .85rem 1rem; border-left: 3px solid var(--accent); background: #edf1eb; }
.legal-data { display: grid; grid-template-columns: minmax(8rem, .85fr) 2fr; gap: .75rem 1.25rem; margin-bottom: 0; }
.legal-data dt { font-weight: 650; }
.legal-data dd { margin: 0; }
@media (max-width: 520px) {
  .legal-home { display: inline-flex; }
  .legal-data { grid-template-columns: 1fr; row-gap: .15rem; }
  .legal-data dd + dt { margin-top: .65rem; }
}

.card-preview { display: block; width: 100%; margin-top: 1.05rem; margin-bottom: .15rem; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #edf1eb; aspect-ratio: 3/2; }
.card-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .25s; }
.platform:hover .card-preview img { transform: scale(1.025); }
.detail-preview { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 7px; margin-top: 1.25rem; }
.legal section p + p { margin-top: .65rem; }
