@import url('./brand.css');
* { box-sizing: border-box; }
html { font-family: var(--brand-type); background: var(--brand-paper); color: var(--brand-ink); }
body { margin: 0; }
.frame { max-width: 1512px; padding-inline: var(--brand-gutter); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 4px; }
.hero { border-bottom: 1px solid var(--brand-edge); overflow: clip; }
.hero-inner { min-height: clamp(510px, 40vw, 630px); display: grid; grid-template-columns: .91fr 1.09fr; gap: 3%; align-items: center; padding-block: clamp(44px, 4.7vw, 76px); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(60px, 6.8vw, 110px); font-weight: 500; line-height: .99; letter-spacing: -.054em; }
h1 span { display: block; }
.hero-copy p { max-width: 38ch; margin-top: 26px; font-size: clamp(17px, 1.38vw, 21px); color: var(--brand-muted); line-height: 1.55; }
.setup { display: inline-flex; align-items: center; gap: 24px; margin-top: 26px; padding: 13px 17px; border-radius: var(--brand-radius); background: var(--brand-action); color: white; font-size: 15px; font-weight: 550; }
.setup:hover { background: var(--brand-hover); }
.setup span { font-size: 20px; line-height: 1; }
.exhibit { min-width: 0; margin: 0; padding: 0; border: 0; position: relative; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.stage {
  position: relative; height: clamp(310px, 29vw, 454px); display: grid; place-items: center;
  perspective: 1150px; isolation: isolate;
}
.stage::before { content: ''; position: absolute; width: 56%; height: 11%; left: 22%; bottom: 8%; background: #44544d; opacity: .24; filter: blur(20px); border-radius: 50%; transform: rotate(-9deg); }
.stack {
  width: 67%; max-width: 420px; aspect-ratio: 420 / 285; position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(43deg + var(--tilt-y, 0deg))) rotateY(calc(-11deg + var(--tilt-x, 0deg))) rotateZ(-28deg);
  transition: transform .85s cubic-bezier(.22,.75,.18,1);
}
.plate {
  pointer-events: none;
  position: absolute; inset: 0; border-radius: 6%; border: 1px solid #71857c;
  transform: translate3d(var(--x, 0%), var(--y, 0%), var(--depth)); transition: transform 1.05s cubic-bezier(.45,0,.16,1);
  box-shadow: inset 0 1px 2px #fff9, inset 1px 0 1px #ffffffe6, 0 1px #46564c, 0 2px #d2ded6, 0 3px #55665d, 0 4px #7a8b80;
  display: grid; align-items: center; padding: 9% 10%; overflow: hidden;
}
.plate::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(127deg, #ffffff25, transparent 36%, transparent 60%, #ffffff18); }
.plate-word { --depth: -57px; display: block; padding: 0; container-type: inline-size; background: #e5ebed; }
.plate-report { --depth: 0px; background: linear-gradient(129deg,#b4d2c3ee,#86b5a1f5 50%,#9bbeadf0); }
.plate-voice { --depth: 57px; padding: 0; background: linear-gradient(133deg,#384c42,#192e24 43%,#0e2018 72%,#325345); }
.engraving { display: block; width: 100%; height: 100%; }
.page-sample,.record-sample { line-height: 1.3; font-size: clamp(13px, 1.3vw, 20px); color: #18211e; transition: opacity .42s ease, visibility .42s; }
.page-sample { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 3cqw; }
.word-file { display: flex; align-items: center; gap: 2cqw; padding: 2.7cqw 5cqw; color: white; background: #254f78; font: 550 clamp(12px, 4cqw, 17px)/1.25 var(--brand-type); }
.word-file svg { width: 5.5cqw; height: 6cqw; }
.word-sheet { width: 80%; margin-inline: auto; padding: 4.5cqw 6cqw; font: clamp(10px, 3.9cqw, 17px)/1.2 var(--brand-type); background: white; border: 1px solid #c7d1d6; border-bottom: 0; box-shadow: 0 1px 4px #42535a22; }
.word-sheet strong { text-decoration: underline; text-underline-offset: .12em; }
.page-sample .word-sheet strong { margin-bottom: .8cqw; }
.page-sample .word-sheet p + strong { margin-top: 2.6cqw; }
.page-sample strong,.record-sample strong { display: block; font-weight: 600; margin-bottom: 4px; }
.page-sample p + strong,.record-sample p + strong { margin-top: 12px; }
.record-sample { font-family: var(--brand-mono); font-size: clamp(12px, 1.1vw, 17px); }
.record-sample strong { color: #203e2e; border-bottom: 1px solid #35584260; padding-bottom: 4px; }
.exhibit:has(#format-report:checked) .stack,.exhibit:has(#format-word:checked) .stack { transform: rotateX(calc(15deg + var(--tilt-y, 0deg))) rotateY(calc(-12deg + var(--tilt-x, 0deg))) rotateZ(-6deg); }
.exhibit:has(#format-report:checked) .plate-report,.exhibit:has(#format-word:checked) .plate-word { --depth: 56px; }
.exhibit:has(#format-report:checked) .plate-voice,.exhibit:has(#format-word:checked) .plate-report { --x: 7%; --y: -7%; --depth: 0px; }
.exhibit:has(#format-report:checked) .plate-word,.exhibit:has(#format-word:checked) .plate-voice { --x: 14%; --y: -14%; --depth: -56px; }
.format-switch {
  display: flex; justify-content: center; gap: clamp(12px, 2vw, 24px);
  width: fit-content; max-width: 100%; margin: 32px auto 0;
}
.format-switch label {
  display: grid; place-items: center; position: relative; min-height: 44px;
  padding: 6px 2px; color: var(--brand-muted); font-size: clamp(12px, 1vw, 14px);
  line-height: 1.25; white-space: nowrap; cursor: pointer;
}
.format-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.format-switch label::after {
  content: ''; position: absolute; inset: auto 0 3px; height: 2px; border-radius: 2px;
  background: var(--brand-accent); opacity: 0; transform: scaleX(.3);
  transition: transform .55s ease, opacity .4s ease;
}
.format-switch label:hover, .format-switch label:has(:checked) { color: var(--brand-ink); }
.format-switch label:has(:checked)::after { opacity: 1; transform: scaleX(1); }
.format-switch label:has(:focus-visible) { outline: 2px solid var(--brand-accent); outline-offset: 2px; border-radius: 3px; }
.workflows { padding-block: clamp(52px, 5.4vw, 86px); display: grid; grid-template-columns: .91fr 1.09fr; gap: 3%; }
h2 { max-width: 9em; font-size: clamp(36px, 3.65vw, 60px); font-weight: 530; line-height: 1.06; letter-spacing: -.056em; text-wrap: balance; }
.endpoints a { padding: 21px 42px 21px 0; border-top: 1px solid var(--brand-edge); display: grid; position: relative; gap: 8px; }
.endpoints a:first-child { border-color: #929e97; }
.endpoints a:last-child { border-bottom: 1px solid var(--brand-edge); }
.endpoints code { font: 500 clamp(14px, 1.12vw, 18px)/1.4 var(--brand-mono); letter-spacing: -.03em; }
.endpoints span { max-width: 54ch; color: var(--brand-muted); font-size: 15px; line-height: 1.55; }
.endpoints i { position: absolute; right: 4px; top: 21px; font: normal 18px/1 sans-serif; }
.endpoints a:hover code { text-decoration: underline; text-underline-offset: 4px; color: var(--brand-accent); }
.colophon { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: 13px; color: var(--brand-muted); }
.colophon a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) and (min-width: 661px) {
  .hero-inner { grid-template-columns: .85fr 1.15fr; gap: 0; }
  h1 { font-size: clamp(53px, 7.1vw, 65px); }
}
@media (max-width: 660px) {
  .hero-inner, .workflows { grid-template-columns: 1fr; }
  .hero-inner { gap: 35px; padding-block: 38px 32px; }
  h1 { font-size: clamp(56px, 11vw, 76px); }
  .hero-copy p { margin-top: 17px; }
  .stage { height: clamp(220px, 60vw, 330px); }
  .stack { width: 64%; }
  .format-switch { margin-top: 32px; }
  .workflows { gap: 25px; }
  h2 { max-width: none; }
  .colophon { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .stack,.plate,.page-sample,.record-sample,.format-switch label::after { transition: none; }
}
.exhibit:not(:has(#format-report:checked)) .record-sample,
.exhibit:not(:has(#format-word:checked)) .page-sample { opacity: 0; visibility: hidden; }

:root[data-theme="dark"] {
  .stage { background: radial-gradient(ellipse closest-side, #42674f40, transparent); }
  .stage::before { background: #000; opacity: .55; }
  .plate-voice { border-color: #8da898; }
  .endpoints a:first-child { border-color: var(--brand-muted); }
}

@media (forced-colors: active) {
  .format-switch label:has(:checked) span { text-decoration: underline; text-underline-offset: .35em; }
}

.site-footer,.policy-links{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1.1rem}
