:root {
  --ink: #09131d;
  --ink-deep: #050b11;
  --panel: #101d29;
  --panel-soft: #142331;
  --line: #2b3a47;
  --line-strong: #465968;
  --text: #f0f4f5;
  --muted: #9babba;
  --cyan: #3ee6ff;
  --cyan-soft: #8ff1ff;
  --amber: #f0b45c;
  --shell: min(1240px, calc(100vw - 48px));
  --sans: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; background: var(--cyan); color: var(--ink-deep); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, height 180ms ease;
}
.site-header.is-scrolled { height: 66px; background: rgba(5, 11, 17, .92); border-color: #24323e; backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 172px; }
.brand-mark { width: 36px; height: 36px; fill: var(--cyan); overflow: visible; }
.brand-mark .brand-base { fill: none; stroke: var(--text); stroke-width: 2; }
.brand-name { font-weight: 650; letter-spacing: .065em; font-size: 17px; }
.brand-name b { color: var(--cyan); font-weight: 650; }
.primary-nav { display: flex; align-items: center; gap: 32px; color: #c0ccd5; font-size: 14px; }
.primary-nav a { position: relative; transition: color 140ms ease; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--cyan); transition: right 150ms ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.header-download { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #3b5262; background: #101d28; font-size: 14px; font-weight: 650; transition: border-color 150ms ease, background 150ms ease; }
.header-download svg { width: 18px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.header-download:hover, .header-download:focus-visible { border-color: var(--cyan); background: #132733; }

.hero { position: relative; min-height: 100vh; padding: 160px 0 52px; background: radial-gradient(circle at 78% 24%, rgba(23, 101, 119, .16), transparent 30%), var(--ink); overflow: hidden; }
.hero-grid, .download-grid { position: absolute; inset: 0; pointer-events: none; opacity: .27; background-image: linear-gradient(rgba(88, 119, 136, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(88, 119, 136, .18) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: center; gap: 54px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 22px; color: var(--cyan-soft); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px rgba(62, 230, 255, .55); }
h1 { margin: 0; font-size: clamp(52px, 5.2vw, 84px); line-height: .98; letter-spacing: -.055em; font-weight: 720; }
h1 em { color: var(--cyan); font-style: normal; font-weight: 500; }
.hero-lead { max-width: 570px; margin: 30px 0 0; color: #b9c7d1; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: stretch; gap: 12px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; border: 1px solid transparent; font-size: 15px; font-weight: 700; transition: transform 150ms ease, background 150ms ease, border-color 150ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #041016; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 12px 36px rgba(15, 175, 202, .18); }
.button-primary:hover, .button-primary:focus-visible { background: #8af2ff; }
.button-primary svg { width: 23px; fill: currentColor; }
.button-primary span { display: grid; gap: 0; text-align: left; }
.button-primary small { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; opacity: .68; }
.button-secondary { border-color: #3a4c5a; background: rgba(10, 22, 31, .6); color: white; }
.button-secondary:hover, .button-secondary:focus-visible { border-color: #728a9b; background: #12232f; }
.download-note { margin: 14px 0 0; color: #758897; font-family: var(--mono); font-size: 11px; }
.download-note.is-active { color: var(--cyan-soft); }

.hero-stage { position: relative; min-width: 0; padding: 32px 0 36px 30px; }
.app-frame { position: relative; overflow: hidden; border: 1px solid #506776; background: #172532; box-shadow: 0 36px 80px rgba(0, 0, 0, .42), 0 0 0 7px rgba(15, 29, 40, .62); transform: perspective(1600px) rotateY(-3deg) rotateX(.8deg); transform-origin: left center; }
.app-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 50px rgba(1, 9, 14, .35); }
.app-frame img { width: 100%; aspect-ratio: 1920/1121; object-fit: cover; }
.frame-topbar { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #0e1822; border-bottom: 1px solid #3e5262; }
.frame-topbar p { margin: 0 auto 0 0; font-size: 11px; color: #94a7b5; font-family: var(--mono); }
.frame-lights { display: flex; gap: 5px; }
.frame-lights span { width: 6px; height: 6px; border: 1px solid #738997; }
.frame-lights span:first-child { border-color: var(--cyan); background: var(--cyan); }
.frame-status { color: var(--cyan); font: 10px var(--mono); }
.stage-ruler { position: absolute; color: #637986; font: 9px var(--mono); }
.stage-ruler-top { top: 8px; left: 30px; right: 0; display: flex; justify-content: space-between; border-top: 1px solid #37505d; }
.stage-ruler-top span::before { content: ""; display: block; width: 1px; height: 7px; background: #4c6878; }
.stage-ruler-side { top: 32px; bottom: 36px; left: 3px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid #37505d; }
.stage-ruler-side span { transform: rotate(-90deg) translateX(-8px); transform-origin: left center; }
.stage-tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #4c6676; background: rgba(5, 13, 19, .88); color: #bfd0da; font: 11px var(--mono); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.stage-tag span { color: var(--cyan); }
.tag-command { left: -10px; bottom: 4px; }
.tag-precision { right: -18px; top: 4px; }
.crosshair { position: absolute; width: 74px; height: 74px; right: 7%; bottom: 10%; fill: none; stroke: var(--cyan); stroke-width: 1; filter: drop-shadow(0 0 8px rgba(62,230,255,.34)); }

.proof-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid #31414e; border-bottom: 1px solid #31414e; }
.proof-strip > div { display: flex; align-items: baseline; gap: 12px; padding: 20px 22px; border-right: 1px solid #31414e; }
.proof-strip > div:first-child { border-left: 1px solid #31414e; }
.proof-strip strong { color: var(--cyan); font-family: var(--mono); font-size: 21px; font-weight: 500; }
.proof-strip span { color: #8497a4; font-size: 12px; }

.section { padding: 128px 0; }
.tools-section { background: #e9edf0; color: #14202a; }
.section-heading { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: end; }
.section-heading .kicker { grid-column: 1 / -1; margin-bottom: -46px; color: #276e79; }
.section-heading h2, .detail-copy h2, .mark-copy h2, .download-layout h2 { margin: 0; font-size: clamp(38px, 4.2vw, 66px); line-height: 1.06; letter-spacing: -.045em; font-weight: 650; }
.section-heading > p:last-child { margin: 0; color: #526572; font-size: 18px; line-height: 1.7; }
.tool-rail { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #aebbc3; border-bottom: 1px solid #aebbc3; }
.tool-rail article { position: relative; min-height: 310px; padding: 34px 28px 30px; border-right: 1px solid #aebbc3; transition: background 180ms ease, color 180ms ease; }
.tool-rail article:first-child { border-left: 1px solid #aebbc3; }
.tool-rail article:hover { background: #14212b; color: white; }
.tool-index { color: #55707e; font: 11px var(--mono); }
.tool-rail svg { width: 52px; margin: 46px 0 42px; fill: none; stroke: #179db1; stroke-width: 1.4; stroke-linecap: square; }
.tool-rail h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; }
.tool-rail p { margin: 0; color: #607480; font-size: 14px; line-height: 1.65; }
.tool-rail article:hover p { color: #9fb1bd; }

.detail-section { background: var(--ink-deep); }
.detail-layout { display: grid; grid-template-columns: 59% 1fr; gap: 86px; align-items: center; }
.product-detail { margin: 0; position: relative; border: 1px solid #3e5260; background: #101d29; box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.product-detail::before { content: ""; position: absolute; inset: -14px 18px 14px -14px; border: 1px solid #1f4854; z-index: -1; }
.product-detail img { width: 100%; }
.product-detail figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; color: #8799a6; font: 11px var(--mono); }
.product-detail figcaption span { color: var(--cyan); }
.detail-copy .kicker { margin-bottom: 24px; }
.detail-copy h2 { color: white; }
.feature-list { margin-top: 46px; border-top: 1px solid #2a3a47; }
.feature-list article { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid #2a3a47; }
.feature-no { color: var(--cyan); font: 12px var(--mono); }
.feature-list h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.feature-list p { margin: 0; color: #8ea0ad; font-size: 14px; line-height: 1.65; }

.mark-section { background: #111e28; border-top: 1px solid #273946; }
.mark-layout { display: grid; grid-template-columns: 56% 1fr; gap: 72px; align-items: center; }
.mark-drawing { position: relative; min-height: 540px; display: grid; place-items: center; background-image: linear-gradient(rgba(67,94,109,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(67,94,109,.2) 1px, transparent 1px); background-size: 32px 32px; border: 1px solid #31434f; overflow: hidden; }
.mark-drawing svg { width: 90%; }
.construction { fill: none; stroke: #526d7b; stroke-width: 1; stroke-dasharray: 5 7; opacity: .72; }
.mark-fill { fill: var(--cyan); }
.mark-base { fill: none; stroke: white; stroke-width: 3; }
.measure { position: absolute; color: #78909f; font: 10px var(--mono); }
.measure-x { bottom: 13px; left: 50%; transform: translateX(-50%); }
.measure-y { right: 12px; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
.mark-copy h2 { margin-bottom: 28px; }
.mark-copy > p:not(.kicker) { color: #91a4b1; font-size: 16px; line-height: 1.75; }
.mark-copy .mark-lead { color: #d8e2e7; font-size: 20px; }
.mark-copy strong { color: white; font-weight: 600; }
.mark-key { display: grid; gap: 12px; margin-top: 32px; font: 11px var(--mono); color: #91a7b4; }
.mark-key span { display: flex; align-items: center; gap: 12px; }
.mark-key i { display: inline-block; width: 28px; height: 12px; }
.key-angle { border-left: 1px solid var(--cyan); border-top: 1px solid var(--cyan); transform: skewX(-28deg); }
.key-gap { border: 1px dashed #67808e; }
.key-line { border-top: 2px solid white; }

.technical-section { background: #e9edf0; color: #15212a; }
.section-heading.compact { display: block; }
.section-heading.compact .kicker { margin: 0 0 22px; }
.technical-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid #b1bdc4; }
.technical-grid article { min-height: 210px; padding: 27px 25px; border-right: 1px solid #b1bdc4; border-bottom: 1px solid #b1bdc4; }
.technical-grid article:first-child { border-left: 1px solid #b1bdc4; }
.technical-grid span { color: #2b7782; font: 11px var(--mono); }
.technical-grid h3 { margin: 42px 0 9px; font-size: 19px; }
.technical-grid p { margin: 0; color: #60717c; font-size: 14px; }
.compatibility { display: grid; grid-template-columns: 54px 1fr; gap: 24px; max-width: 920px; margin: 52px 0 0 auto; padding: 28px 30px; border: 1px solid #aab9c1; background: #f4f6f7; }
.compatibility-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #28727d; color: #28727d; font: 16px var(--mono); }
.compatibility h3 { margin: 0 0 8px; font-size: 17px; }
.compatibility p { margin: 0; color: #556873; font-size: 14px; line-height: 1.7; }

.download-section { position: relative; padding: 110px 0; background: #071018; overflow: hidden; }
.download-grid { opacity: .32; mask-image: linear-gradient(90deg, transparent, black 48%, transparent); }
.download-layout { position: relative; display: grid; grid-template-columns: 1fr 430px; gap: 90px; align-items: center; }
.download-layout h2 { font-size: clamp(42px, 5vw, 72px); }
.download-card { padding: 28px; border: 1px solid #3a505f; background: rgba(16, 30, 41, .88); box-shadow: 16px 16px 0 #0e202b; }
.download-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.download-card-top svg { width: 32px; fill: var(--cyan); }
.download-card-top div { display: grid; }
.download-card-top strong { font-size: 16px; }
.download-card-top span { color: #8498a5; font: 11px var(--mono); }
.download-card .button { width: 100%; }
.download-card > p { margin: 18px 0 0; color: #8395a2; font-size: 12px; line-height: 1.6; }

.site-footer { padding: 28px 0; border-top: 1px solid #273845; background: #050b11; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #728591; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; font-weight: 650; letter-spacing: .06em; }
.footer-brand .brand-mark { width: 26px; height: 26px; }
.footer-inner a { color: #a9bbc5; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .primary-nav { display: none; }
  .hero { padding-top: 124px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-stage { margin-top: 30px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .kicker { margin-bottom: 0; }
  .tool-rail { grid-template-columns: repeat(2, 1fr); }
  .tool-rail article:nth-child(3) { border-left: 1px solid #aebbc3; border-top: 1px solid #aebbc3; }
  .tool-rail article:nth-child(4) { border-top: 1px solid #aebbc3; }
  .detail-layout, .mark-layout { grid-template-columns: 1fr; }
  .detail-copy { max-width: 720px; }
  .mark-drawing { min-height: 460px; }
  .technical-grid { grid-template-columns: repeat(2, 1fr); }
  .technical-grid article:nth-child(3) { border-left: 1px solid #b1bdc4; }
  .download-layout { grid-template-columns: 1fr; }
  .download-card { max-width: 520px; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 30px, 1240px); }
  .site-header { height: 64px; background: rgba(5, 11, 17, .9); border-color: #24323e; }
  .brand { min-width: 0; }
  .brand-name { font-size: 14px; }
  .header-download { padding: 9px; }
  .header-download span { display: none; }
  .hero { padding: 108px 0 34px; }
  h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-stage { padding-left: 14px; }
  .app-frame { transform: none; }
  .tag-precision { right: -5px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .proof-strip > div:nth-child(3) { border-left: 1px solid #31414e; border-top: 1px solid #31414e; }
  .proof-strip > div:nth-child(4) { border-top: 1px solid #31414e; }
  .proof-strip > div { padding: 15px 12px; }
  .proof-strip strong { font-size: 18px; }
  .proof-strip span { font-size: 10px; }
  .section { padding: 86px 0; }
  .section-heading h2, .detail-copy h2, .mark-copy h2 { font-size: 40px; }
  .section-heading > p:last-child { font-size: 16px; }
  .tool-rail { grid-template-columns: 1fr; }
  .tool-rail article { min-height: 250px; border-left: 1px solid #aebbc3; border-top: 1px solid #aebbc3; }
  .tool-rail article:first-child { border-top: 0; }
  .tool-rail svg { margin: 30px 0; }
  .detail-layout, .mark-layout { gap: 48px; }
  .product-detail figcaption { display: grid; }
  .mark-drawing { min-height: 330px; }
  .technical-grid { grid-template-columns: 1fr; }
  .technical-grid article { min-height: 170px; border-left: 1px solid #b1bdc4; }
  .technical-grid h3 { margin-top: 24px; }
  .compatibility { grid-template-columns: 1fr; padding: 24px; }
  .download-section { padding: 82px 0; }
  .download-layout { gap: 48px; }
  .download-layout h2 { font-size: 44px; }
  .download-card { padding: 22px; box-shadow: 8px 8px 0 #0e202b; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
