:root {
  color-scheme: dark;
  --ground: #101d17;
  --surface: #192b22;
  --surface-high: #223b2e;
  --ink: #edf2e9;
  --muted: #b5c5b8;
  --accent: #c0dbab;
  --accent-ink: #15241b;
  --light: #e5eade;
  --light-ink: #193024;
  --red: #a63c3b;
  --gutter: clamp(20px, 4.5vw, 72px);
  --font: "Segoe UI", Arial, sans-serif;
  --shield: polygon(0 0, 100% 0, 100% 58%, 92% 76%, 75% 90%, 50% 100%, 25% 90%, 8% 76%, 0 58%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1, h2 { font-weight: 500; letter-spacing: -.055em; }
h1 { font-size: clamp(52px, 5.7vw, 88px); }
h2 { font-size: clamp(40px, 4.4vw, 64px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
p { text-wrap: pretty; }
::selection { color: var(--ground); background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.section-space { padding-block: 140px; }
.section-description { max-width: 43ch; font-size: 20px; line-height: 1.6; margin-top: 28px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; }
.skip-link:focus { top: 16px; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 108px; gap: 30px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 26px; font-weight: 650; letter-spacing: -1px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 0px; }
.brand-dot { color: var(--accent); }
.header nav { display: flex; gap: 30px; font-size: 15px; }
.header nav a { padding-block: 12px; color: var(--muted); }
.header nav a:hover, .header nav a[aria-current] { color: var(--ink); }
.header-action { font-size: 15px; font-weight: 600; padding-block: 12px; }
.header-action span { margin-left: 12px; color: var(--accent); }
.menu-toggle { display: none; background: var(--surface); border: 0; padding: 10px 16px; }
.hero { position: relative; overflow: hidden; }
.hero-shield { position: absolute; width: 760px; height: 740px; background: var(--surface-high); clip-path: var(--shield); top: 5px; right: -80px; transform: rotate(-8deg); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 45px; min-height: 650px; padding-block: 55px 85px; }
.hero-copy { position: relative; z-index: 1; }
.hero-description { max-width: 39ch; font-size: 19px; line-height: 1.7; margin-top: 32px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--accent); color: var(--accent-ink); min-height: 56px; padding: 16px 24px; font-weight: 600; border: 0; border-radius: 0; transition: transform .2s, background-color .2s; }
.button:hover { background: var(--ink); transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.text-link { font-size: 16px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--muted); }
.text-link:hover { text-decoration-color: currentColor; }
.hero-note { margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; width: calc(100% + 180px); max-width: none; transform: perspective(1600px) rotateY(-12deg) rotateX(3deg); transform-origin: left center; }
.window-bar { background: var(--surface-high); min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 16px; color: var(--muted); font-size: 13px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 7px; height: 7px; background: var(--muted); border-radius: 50%; }
.window-symbol { font-size: 16px; }
.hero-visual > img { width: 100%; }
figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); padding-top: 18px; }
.hero-visual figcaption { padding-right: 140px; }
.hero-visual figcaption span:last-child { display: none; }
.hero-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; background: var(--surface); color: var(--muted); font-size: 14px; }
.hero-bottom > div { display: flex; gap: 35px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.product-media { background: var(--surface); padding: 28px; }
.preview-controls { display: flex; gap: 6px; margin-bottom: 24px; }
.preview-tab, .platform-picker button { background: transparent; border: 0; color: var(--muted); padding: 11px 18px; font-size: 16px; transition: background-color .2s; }
.preview-tab.is-active { background: var(--surface-high); color: var(--ink); }
.preview-tab:hover { color: var(--ink); }
.preview-stage { display: grid; align-items: center; min-height: 400px; }
.preview-stage img { width: 100%; max-height: 450px; object-fit: contain; }
.expand-button { margin-top: 22px; background: transparent; color: var(--ink); border: 0; padding: 8px 0; display: flex; justify-content: space-between; width: 100%; }
.expand-button span { font-size: 24px; line-height: 1; }
.feature-list { margin-top: 36px; }
.feature { margin-top: 8px; background: var(--surface); padding: 20px 24px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.4; min-height: 28px; }
summary::-webkit-details-marker { display: none; }
summary > span { flex: 0 0 auto; font-size: 24px; transition: transform .2s; }
details[open] > summary > span { transform: rotate(45deg); }
.feature p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.security { background: var(--light); color: var(--light-ink); overflow: hidden; }
.security-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding-block: 100px; }
.security-list { list-style: none; padding: 0; margin: 36px 0 0; }
.security-list li { display: flex; align-items: flex-start; gap: 18px; margin-top: 28px; }
.small-shield { width: 15px; height: 18px; background: var(--light-ink); clip-path: var(--shield); flex: 0 0 auto; margin-top: 3px; }
.security-list h3 { font-size: 18px; }
.security-list p { margin-top: 8px; font-size: 16px; max-width: 38ch; }
.vault-visual { background: var(--surface); padding: 30px 24px 24px; }
.vault-visual img { width: 100%; }
.vault-visual figcaption { color: var(--ink); font-size: 14px; }
.section-intro { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; margin-bottom: 60px; }
.section-intro .section-description { max-width: 39ch; margin-top: 0; }
.chain-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; }
.inventory-visual { background: var(--surface); padding: 26px 36px; }
.inventory-visual img { width: 100%; max-height: 430px; object-fit: contain; }
.inventory-visual figcaption { justify-content: center; }
.chain-steps { list-style: none; margin: 0; padding: 0; }
.chain-steps li { position: relative; padding: 23px 20px; display: flex; align-items: flex-start; gap: 20px; background: var(--surface); margin-top: 8px; }
.chain-steps li:nth-child(2) { margin-left: 18px; }
.chain-steps li:nth-child(3) { margin-left: 36px; }
.chain-steps li:nth-child(4) { margin-left: 54px; background: var(--surface-high); }
.chain-node { background: var(--accent); color: var(--accent-ink); clip-path: var(--shield); width: 38px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; font-size: 16px; font-weight: 600; }
.chain-steps p { font-size: 16px; margin-top: 10px; max-width: 43ch; color: var(--muted); }
.format { display: none; }
.workflow-note { color: var(--muted); font-size: 16px; max-width: 76ch; margin-top: 36px; }
.start { background: var(--accent); color: var(--accent-ink); }
.start-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; padding-block: 100px; }
.start h2 { font-size: clamp(56px, 6vw, 88px); }
.start-logo { width: 220px; margin-top: 45px; }
.install-panel { background: var(--light); padding: 36px; }
.install-panel h3 { font-size: 24px; margin-bottom: 25px; }
.platform-picker { display: flex; gap: 8px; margin-bottom: 20px; }
.platform-picker button { color: var(--light-ink); background: transparent; padding: 10px 20px; }
.platform-picker .is-active { background: var(--light-ink); color: var(--light); }
.availability { font-size: 14px; margin-top: 16px; }
.source-install { margin-top: 28px; }
.source-install p:first-child { font-weight: 600; margin-bottom: 7px; }
.source-install p { font-size: 16px; }
code { font-size: 15px; }
pre { background: var(--surface); color: var(--ink); margin: 18px 0; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.button-dark { background: var(--light-ink); color: var(--light); min-height: 48px; font-size: 15px; padding: 12px 20px; }
.button-dark:hover { background: var(--ground); color: var(--ink); }
.copy-feedback { font-size: 14px; display: block; margin-top: 10px; min-height: 22px; }
.start :focus-visible, .security :focus-visible { outline-color: var(--light-ink); }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.faq > div:first-child { position: sticky; top: 40px; }
.faq .section-description { max-width: 27ch; }
.faq-list details { margin-bottom: 8px; background: var(--surface); padding: 22px 26px; }
.faq-list details[open] { background: var(--surface-high); }
.faq-list p { margin-top: 20px; max-width: 56ch; color: var(--ink); }
.footer { background: var(--surface); padding-block: 45px 28px; overflow: hidden; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top p, .footer-bottom { color: var(--muted); font-size: 14px; }
.footer-wordmark { font-size: clamp(80px, 17.5vw, 280px); line-height: 1.2; letter-spacing: -.065em; font-weight: 600; color: var(--accent); margin: 22px 0 40px; }
.footer-bottom { font-size: 13px; }
dialog { padding: 20px; width: min(1304px, 94vw); max-height: 92vh; background: var(--surface); color: var(--ink); border: 0; overflow: auto; }
dialog::backdrop { background: #070e0bea; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.dialog-header h2 { font-size: 24px; letter-spacing: -.025em; }
.dialog-header button { color: var(--ink); background: var(--surface-high); border: 0; padding: 12px 20px; }
dialog img { width: 100%; }
body.modal-open { overflow: hidden; }
@keyframes enter { from { opacity: .2; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes picture-settle { from { opacity: .2; transform: perspective(1600px) rotateY(-12deg) rotateX(3deg) translateX(45px); } to { opacity: 1; transform: perspective(1600px) rotateY(-12deg) rotateX(3deg) translateX(0); } }
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter .8s both; }
  .hero-description { animation-delay: .08s; }
  .hero-actions { animation-delay: .16s; }
  .hero-note { animation-delay: .24s; }
  .hero-visual.enter { animation: picture-settle 1.1s .1s both; }
  .reveal { transition: transform .7s, opacity .7s; }
  .reveal.is-waiting { opacity: .15; transform: translateY(24px); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1600px) { .hero-shield { right: calc((100vw - 1600px) / 2 - 80px); } }
@media (max-width: 1100px) {
  .header { gap: 20px; }
  .header nav { gap: 18px; }
  .header-action { display: none; }
  .hero-layout { gap: 25px; min-height: 580px; }
  .hero-visual { width: calc(100% + 140px); }
  h1 { font-size: 64px; }
  .hero-actions { gap: 20px; flex-wrap: wrap; }
  .hero-shield { right: -200px; width: 700px; }
  .product { gap: 45px; }
  .preview-stage { min-height: 340px; }
  .security-layout, .start-layout { gap: 45px; }
  .chain-layout { gap: 35px; }
  .faq { gap: 45px; }
}
@media (max-width: 800px) {
  .header { min-height: 90px; }
  .header nav { gap: 18px; font-size: 14px; }
  .brand { font-size: 24px; }
  .hero-layout { grid-template-columns: 1fr; gap: 55px; padding-block: 40px 45px; }
  .hero-copy { max-width: 620px; }
  h1 { font-size: 76px; }
  .hero-description { max-width: 44ch; }
  .hero-visual { width: 100%; transform: none; }
  .hero-visual.enter { animation-name: enter; }
  .hero-shield { top: 430px; right: -50px; width: 650px; height: 600px; }
  .hero-visual figcaption { padding-right: 0; }
  .hero-visual figcaption span:last-child { display: block; }
  .hero-bottom { font-size: 13px; }
  .hero-bottom > div { gap: 20px; }
  .hero-bottom > div span:last-child { display: none; }
  .section-space { padding-block: 95px; }
  .product { gap: 35px; grid-template-columns: 1fr 1fr; }
  .product-media { padding: 18px; }
  .preview-tab { padding: 10px; font-size: 14px; }
  .preview-stage { min-height: 300px; }
  .section-description { font-size: 18px; }
  .feature { padding: 18px; }
  summary { font-size: 16px; }
  .security-layout { grid-template-columns: 1fr; padding-block: 75px; }
  .security-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .security-copy > .section-description { grid-column: 1; }
  .security-list { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .security-list li:first-child { margin-top: 0; }
  .vault-visual { max-width: 100%; }
  .chain-layout { grid-template-columns: .7fr 1.3fr; gap: 25px; }
  .inventory-visual { padding: 20px 16px; }
  .chain-steps li { padding: 18px; gap: 12px; }
  .chain-steps li:nth-child(n) { margin-left: 0; }
  .chain-steps h3 { font-size: 18px; }
  .chain-node { width: 30px; height: 36px; }
  .start-layout { gap: 35px; padding-block: 75px; }
  .install-panel { padding: 24px; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq > div:first-child { position: static; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .faq .section-description { max-width: 30ch; margin-top: 0; }
  .footer-top p { display: none; }
}
@media (max-width: 600px) {
  .header { min-height: 86px; flex-wrap: wrap; position: relative; gap: 0; }
  .header .brand img { width: 32px; height: 32px; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 20px; }
  .header nav { order: 3; width: 100%; flex-wrap: wrap; gap: 8px 24px; padding-block: 8px 20px; }
  .header nav.menu-ready:not(.is-open) { display: none; }
  .header nav a { font-size: 16px; }
  .hero-layout { padding-top: 26px; gap: 40px; }
  h1 { font-size: clamp(42px, 10.65vw, 63px); }
  h2 { font-size: 42px; }
  .hero-description { font-size: 17px; margin-top: 26px; max-width: 37ch; }
  .hero-actions { gap: 22px; margin-top: 28px; }
  .hero-actions .button { font-size: 15px; padding: 15px 20px; gap: 22px; }
  .hero-actions .text-link { font-size: 15px; }
  .hero-note { margin-top: 24px; font-size: 13px; }
  .hero-shield { width: 120vw; height: 120vw; right: -10vw; top: 440px; transform: rotate(-8deg); }
  .window-bar { min-height: 30px; font-size: 13px; padding: 5px 9px; gap: 7px; }
  .window-symbol { display: none; }
  .window-dots i { width: 5px; height: 5px; }
  .hero-visual { width: calc(100% + 8px); margin-left: -4px; }
  .hero-visual figcaption { font-size: 13px; padding-top: 14px; }
  .hero-visual figcaption span:last-child { display: none; }
  .hero-bottom { flex-direction: column; gap: 10px; padding-block: 22px; }
  .hero-bottom > div { gap: 24px; }
  .hero-bottom > div span:last-child { display: block; }
  .section-space { padding-block: 75px; }
  .product { grid-template-columns: 1fr; gap: 38px; }
  .product-copy { grid-row: 1; }
  .product-copy h2 br { display: none; }
  .section-description { margin-top: 24px; font-size: 18px; }
  .feature-list { margin-top: 26px; }
  .feature { padding: 18px 20px; }
  .product-media { padding: 22px; }
  .preview-stage { min-height: 270px; }
  .preview-tab { padding: 10px 16px; font-size: 15px; }
  .security-layout { padding-block: 70px; gap: 38px; }
  .security-copy { display: block; }
  .security-list { margin-top: 35px; }
  .security-list li { margin-top: 24px; }
  .vault-visual { padding: 18px 14px; }
  .vault-visual figcaption { font-size: 13px; }
  .section-intro { display: block; margin-bottom: 35px; }
  .section-intro .section-description { margin-top: 24px; }
  .chain-layout { display: flex; flex-direction: column; gap: 30px; }
  .inventory-visual { width: 100%; padding: 24px; }
  .inventory-visual img { max-height: 310px; }
  .chain-steps { width: 100%; }
  .chain-steps li { padding: 22px 18px; gap: 16px; }
  .chain-steps h3 { font-size: 20px; }
  .chain-node { width: 34px; height: 40px; }
  .workflow-note { margin-top: 28px; }
  .start-layout { grid-template-columns: 1fr; padding-block: 70px; gap: 40px; }
  .start h2 { font-size: 64px; }
  .start-logo { display: none; }
  .install-panel { padding: 24px; }
  .faq > div:first-child { display: block; }
  .faq .section-description { max-width: 30ch; margin-top: 24px; }
  .faq-list details { padding: 20px; }
  .faq-list summary { font-size: 17px; }
  .footer { padding-top: 35px; }
  .footer-top .brand { font-size: 24px; }
  .footer-top .brand img { width: 32px; height: 32px; }
  .footer-top .text-link { font-size: 14px; }
  .footer-wordmark { font-size: 17vw; margin-block: 30px; }
  .footer-bottom { display: block; font-size: 13px; }
  .footer-bottom span { display: block; margin-top: 7px; }
  dialog { padding: 14px; }
  .dialog-header h2 { font-size: 20px; }
  .dialog-header button { font-size: 14px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
