:root {
  color-scheme: light;
  --ink: #101d32;
  --muted: #465a73;
  --line: #cbd6e3;
  --paper: #f5f7fb;
  --panel: #e8eef6;
  --blue: #174a95;
  --night: #08172d;
  --ice: #b9deff;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 "Inter", "Segoe UI", sans-serif; }
::selection { color: #08172d; background: #a7d7ff; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: #0b2b5a; }
:focus-visible { outline: 2px solid #347cdf; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #08172d; color: white; }
.header, .footer, .section-head { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #f4f8ff; font-size: 1.32rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ice); }
.brand-mark { width: 1.6rem; height: 1.1rem; background: linear-gradient(120deg, #d7efff, #57a0f0 62%, #2761ac); clip-path: polygon(0 100%, 43% 8%, 58% 42%, 75% 17%, 100% 100%); }
nav { display: flex; flex-wrap: wrap; gap: .55rem 1.45rem; }
nav a { color: #bccde3; text-decoration: none; font-size: .91rem; }
nav a:hover, nav a[aria-current="page"] { color: #fff; text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 6vw, 4.9rem); }
h2 { font-size: clamp(1.75rem, 3.7vw, 3.05rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.65rem); }
p { max-width: 70ch; }
figure { margin: 0; min-width: 0; }
img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
figcaption { margin-top: .75rem; font-size: .88rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.button { display: inline-block; padding: .68rem 1.15rem; background: #174a95; color: #fff; font-weight: 700; border: 1px solid transparent; border-radius: 8px; text-decoration: none; }
.button:hover { background: #0b3374; color: #fff; }
.text-link { font-weight: 650; }
.product-hero { background: linear-gradient(90deg, #07152ce8 4%, #0a1a32b8 51%, #10264446), url("ridge-background.webp") center 59% / cover, #0b1c35; color: #f5f8ff; }
.product-hero-inner { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: 2.6rem 3rem; padding-block: clamp(3.2rem, 7vw, 6.5rem) 1.4rem; }
.product-copy h1 { font-size: clamp(3.75rem, 8vw, 6rem); font-weight: 780; }
.product-line { margin: .45rem 0 .9rem; font-size: clamp(1.42rem, 3vw, 2.3rem); font-weight: 650; line-height: 1.16; color: #d7ebff; text-wrap: balance; }
.intro { max-width: 39ch; margin: 0 0 1.5rem; color: #d4e2f3; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.product-hero .button { background: #d8edff; color: #0c244a; }
.product-hero .button:hover { background: #fff; }
.product-hero .secondary { background: #0b1c35; color: #edf6ff; border-color: #819ab8; }
.product-hero .secondary:hover { background: #173459; }
.product-screen img { box-shadow: 0 22px 55px #030a1c80; }
.product-screen figcaption { color: #d3e3f9; text-align: right; }
.status { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 0; padding-block: 1.1rem; border-top: 1px solid #7796b5; }
.status dt { color: #bed1e9; font-size: .84rem; }
.status dd { margin: .1rem 0 0; font-weight: 720; }
.section { padding-block: clamp(2.4rem, 5.7vw, 5rem); border-top: 1px solid var(--line); }
.section p, .tech dd { color: var(--muted); }
.product-story { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.product-story p { margin: 1rem 0; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.editorial-grid article { min-width: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.editorial-grid h3 a { color: var(--ink); }
.editorial-grid h3 a:hover { color: var(--blue); }
.label { margin: 0 0 .75rem; font-size: .86rem; font-weight: 650; }
.section p.label { color: var(--blue); }
.entry-title { font-size: clamp(1.35rem, 2.25vw, 2rem); }
.inner-main { min-height: 64vh; background: linear-gradient(180deg, #e9f1fb 0, var(--paper) 26rem); }
.inner-main > .section:first-child { border-top: 0; }
.diary-header { max-width: 51rem; margin-bottom: 3.5rem; }
.diary-header p { font-size: 1.15rem; }
.stories-title { font-size: clamp(1.65rem, 3vw, 2.55rem); }
summary { cursor: pointer; color: var(--blue); }
.stage-search { margin: 1.25rem 0 1rem; }
.stage-search label { display: block; margin-bottom: .4rem; font-weight: 650; }
.stage-search input { width: min(100%, 33rem); min-height: 44px; padding: .6rem .85rem; border: 1px solid #8399b4; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.stage-search output { display: block; margin-top: .35rem; color: var(--muted); font-size: .88rem; }
.stage-report { padding: .95rem 0; border-top: 1px solid var(--line); }
.stage-report summary h3 { display: inline; font-size: 1.1rem; letter-spacing: -.01em; text-wrap: wrap; }
.stage-report details[open] { padding-bottom: 1rem; }
.stage-report details > :not(summary) { margin-inline-start: 1.1rem; }
.stage-report p, .stage-report ul, .stage-report ol { max-width: 77ch; overflow-wrap: anywhere; }
.stage-report h3:not(summary h3), .stage-report h4 { margin-top: 1.55rem; }
.stage-report pre, .stage-report table { max-width: calc(100% - 1.1rem); overflow: auto; }
.stage-report table { display: block; border-collapse: collapse; }
.stage-report td, .stage-report th { border: 1px solid var(--line); padding: .45rem .65rem; }
.stage-report pre { background: var(--panel); padding: 1rem; }
.report-note { border-inline-start: 1px solid var(--blue); padding-inline-start: .85rem; }
.latest-reports { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.latest-reports li { border-top: 1px solid var(--line); }
.latest-reports a { display: block; padding-block: .85rem; font-weight: 650; }
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.tech div { border-top: 1px solid var(--line); padding-top: 1rem; }
.tech dt { font-weight: 750; font-size: 1.15rem; }
.tech dd { margin: .4rem 0 0; }
.demo { max-width: 950px; margin-top: 1.5rem; }
#join p { max-width: 65ch; }
.footer { padding-block: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer a { font-weight: 750; }
@media (max-width: 840px) {
  .header { flex-wrap: wrap; padding-block: 1rem; }
  .product-hero-inner, .product-story { grid-template-columns: minmax(0,1fr); gap: 1.6rem; }
  .product-screen figcaption { text-align: left; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header { align-items: flex-start; flex-direction: column; gap: .6rem; }
  nav { gap: .5rem 1rem; }
  .status { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial-grid, .tech { grid-template-columns: minmax(0,1fr); }
  .editorial-grid article { padding: 1.1rem; }
  .section-head, .footer { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .diary-header { margin-bottom: 2.5rem; }
}
