/* Noventa brand tokens */
:root {
  --bg: #0b141d;
  --panel: #13212e;
  --ink: #f2f2ec;
  --muted: #b1bbc3;
  --line: #34414b;
  --cyan: #49dce8;
  --blue: #174ce5;
  --paper: #e9eae4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
*:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.wrap { width: min(1320px, calc(100% - 96px)); margin: auto; }
.skip { position: absolute; top: -80px; padding: 12px; background: var(--cyan); color: var(--bg); z-index: 30; }
.skip:focus { top: 0; }
header { position: sticky; top: 0; background: #0b141df7; border-bottom: 1px solid var(--line); z-index: 10; }
.nav { height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-size: 24px; letter-spacing: 4px; font-weight: 700; line-height: 1; }
.wordmark span { display: block; font-family: monospace; font-size: 10px; letter-spacing: 6px; color: var(--cyan); margin-top: 9px; }
.navlinks { display: flex; align-items: center; gap: 36px; font-size: 13px; }
.navlinks a:hover, footer a:hover { color: var(--cyan); }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 14px 22px; border: 1px solid transparent; background: var(--cyan); color: #09232b; font-weight: 600; font-size: 13px; transition: background .2s, border-color .2s; }
.btn:hover { background: #8aeef3; color: #09232b; }
.btn span { font-size: 20px; line-height: 1; font-weight: 400; }
.btn.secondary { background: transparent; color: inherit; border-color: var(--line); }
.btn.secondary:hover { border-color: var(--cyan); }
.navlinks .btn { background: transparent; color: var(--ink); border-color: #7e8b95; }
.navlinks .btn:hover { border-color: var(--cyan); color: var(--cyan); }
.menu { display: none; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 10px 14px; }
.hero { padding: 92px 0 32px; }
.eyebrow { font: 11px/1.5 monospace; color: var(--cyan); letter-spacing: 1.8px; text-transform: uppercase; margin: 0 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; align-items: center; }
h1 { font-size: clamp(58px, 7.5vw, 108px); line-height: .99; letter-spacing: -6px; margin: 0 0 38px; font-weight: 500; position: relative; z-index: 1; }
h1 span { color: var(--cyan); }
.intro { font-size: 17px; color: var(--muted); max-width: 465px; margin: 0 0 32px; line-height: 1.7; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.actions .secondary { border: 0; padding-left: 4px; font-weight: 400; text-decoration: underline; text-underline-offset: 7px; }
.brand-image { position: relative; aspect-ratio: 1.22; overflow: hidden; mix-blend-mode: lighten; }
.brand-image img { position: absolute; width: 260%; max-width: none; left: -83%; top: -33%; height: auto; display: block; }
.image-caption { display: flex; justify-content: space-between; font: 9px/1.5 monospace; letter-spacing: 1.4px; color: var(--muted); padding: 0 12px; }
.hero-bottom { margin-top: 85px; padding-top: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font: 11px/1.6 monospace; color: var(--muted); }
.hero-bottom strong { color: var(--ink); font-weight: 400; }
.section { padding: 100px 0; }
.heading-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; margin-bottom: 58px; }
h2 { font-size: clamp(36px, 4vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -2.4px; margin: 0; }
.heading-row p { margin: 0; color: var(--muted); max-width: 420px; font-size: 15px; }
#systems { background: var(--paper); color: #15232e; margin-top: 40px; }
#systems .eyebrow { color: #23506a; }
#systems .heading-row p { color: #495964; }
.service-list { display: flex; flex-direction: column; }
.service { padding: 30px 0; border-top: 1px solid #a7b1b6; display: grid; grid-template-columns: .2fr 1fr 1.2fr .75fr; gap: 32px; align-items: start; }
.service:last-child { border-bottom: 1px solid #a7b1b6; }
.section-icon { display: inline-flex; width: 28px; height: 28px; flex-shrink: 0; align-items: center; justify-content: center; }
.section-icon img { width: 100%; height: 100%; display: block; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow .section-icon { width: 18px; height: 18px; }
.service .section-icon { margin-top: 2px; }
.service h3 { font-size: 24px; font-weight: 500; letter-spacing: -.6px; line-height: 1.25; margin: 0; }
.service p { font-size: 14px; line-height: 1.65; color: #495964; margin: 0; }
.tags { color: #29475b; font: 11px/1.9 monospace; max-width: 165px; }
.demo-section { padding-bottom: 110px; }
.demo { display: grid; grid-template-columns: 205px 1fr; background: var(--paper); color: #172936; border: 1px solid #52606b; box-shadow: 0 28px 70px #0003; }
.demo-header { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 28px; border-bottom: 1px solid #b5bdc1; }
.demo-title { font-size: 14px; font-weight: 600; }
.demo-label { font: 10px/1.5 monospace; text-transform: uppercase; letter-spacing: 1px; color: #4f6473; }
.tabs { display: flex; flex-direction: column; gap: 6px; padding: 26px 16px; background: #162633; }
.tab { text-align: left; padding: 12px 16px; background: transparent; color: #c0cbd3; border: 1px solid transparent; font-size: 13px; min-height: 44px; }
.tab:hover { background: #263a49; }
.tab[aria-selected=true] { background: #294657; color: #93e8ed; border-left: 2px solid var(--cyan); }
.demo-content { padding: 38px 34px; min-height: 310px; display: flex; flex-direction: column; gap: 24px; }
.demo-content h3 { font-size: 28px; font-weight: 500; letter-spacing: -.9px; margin: 0 0 7px; }
.demo-content p { color: #506371; font-size: 13px; margin: 0; }
.preview-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.preview-table caption { display: none; }
.preview-table th { text-align: left; font-weight: 400; color: #536778; font: 10px monospace; letter-spacing: 1px; padding: 12px 14px; border-bottom: 1px solid #b4bfc6; }
.preview-table td { padding: 16px 14px; border-bottom: 1px solid #c6ced0; }
.status { font-size: 11px; padding: 4px 9px; background: #d1e4dc; color: #214f3f; display: inline-block; white-space: nowrap; }
#approach { border-top: 1px solid var(--line); }
.process { display: grid; grid-template-columns: repeat(3,1fr); gap: 60px; }
.step { border-top: 1px solid var(--line); padding-top: 26px; }
.step .section-icon { width: 34px; height: 34px; }
.step h3 { font-weight: 500; font-size: 23px; margin: 32px 0 12px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; max-width: 320px; }
#contact { width: 100%; background: var(--blue); padding: 0; margin-top: 20px; }
.contact { width: min(1320px,calc(100% - 96px)); margin: auto; padding: 85px 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: end; }
.contact h2 { max-width: 750px; font-size: clamp(54px,6.8vw,94px); letter-spacing: -4px; line-height: 1; }
.contact .eyebrow { color: #d5e7ff; }
.contact p { color: #e2e9ff; margin: 28px 0 0; max-width: 365px; font-size: 15px; }
.contact>div:last-child { display: flex; flex-direction: column; gap: 14px; padding-bottom: 5px; }
.contact .btn { background: var(--ink); color: #173cc2; width: 100%; }
.contact .btn:hover { background: white; }
.contact .btn.secondary { background: transparent; color: white; border-color: #96b1fc; }
footer { padding: 34px 0; }
.footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: 11px; }
.footer strong { color: var(--ink); letter-spacing: 2px; }
.footer-links { display: flex; gap: 24px; }
dialog { background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 35px; width: min(580px,calc(100% - 32px)); max-height: 90vh; }
dialog::backdrop { background: #000b; }
dialog h2 { font-size: 32px; }
.close { float: right; background: none; color: var(--ink); border: 1px solid var(--line); min-width: 44px; min-height: 44px; }
label { display: block; font-size: 13px; margin: 18px 0 7px; }
input,textarea,select { width: 100%; padding: 12px; background: var(--bg); border: 1px solid #64798a; color: var(--ink); border-radius: 0; }
textarea { resize: vertical; }
dialog .btn { margin-top: 20px; width: 100%; }
#feedback { color: var(--cyan); font-size: 14px; }
.dialog-intro { color: var(--muted); font-size: 14px; }
body.modal-open { overflow: hidden; }
@media(max-width:1100px) {
  .wrap,.contact { width: calc(100% - 56px); }
  h1 { font-size: 76px; letter-spacing: -4px; }
  .hero-grid { grid-template-columns: 1.6fr 1fr; }
  .service { grid-template-columns: 40px 1fr 1.3fr; gap: 20px; }
  .tags { grid-column: 3; max-width: none; }
  .heading-row { gap: 36px; }
  .process { gap: 30px; }
  .contact { gap: 40px; }
}
@media(max-width:800px) {
  .hero { padding-top: 58px; }
  h1 { font-size: 65px; letter-spacing: -3.6px; }
  .hero-grid { grid-template-columns: 1.8fr 1fr; }
  .navlinks { gap: 20px; }
  .navlinks .btn { padding: 12px 15px; gap: 12px; }
  .hero-bottom { margin-top: 55px; }
  .image-caption { flex-direction: column; gap: 7px; font-size: 8px; }
  .demo { grid-template-columns: 155px 1fr; }
  .demo-content { padding: 28px 24px; }
  .demo-label { max-width: 155px; text-align: right; }
  .section { padding: 70px 0; }
  .contact { grid-template-columns: 1fr; padding: 65px 0; }
  .contact>div:last-child { max-width: 400px; }
}
@media(max-width:600px) {
  .wrap,.contact { width: calc(100% - 40px); }
  .nav { height: 76px; }
  .wordmark { font-size: 20px; }
  .menu { display: block; }
  .navlinks { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--panel); padding: 24px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .navlinks.open { display: flex; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; position: relative; }
  h1 { font-size: clamp(48px,12.4vw,72px); letter-spacing: -2.8px; line-height: 1.02; margin-bottom: 28px; }
  .hero .eyebrow { margin-bottom: 27px; font-size: 9px; }
  .hero-grid>div:last-child { margin-top: 25px; display: grid; grid-template-columns: 110px 1fr; gap: 25px; align-items: center; }
  .brand-image { width: 110px; }
  .image-caption { font-size: 9px; flex-direction: column; gap: 10px; }
  .intro { font-size: 15px; }
  .actions { gap: 18px; flex-direction: column; align-items: flex-start; }
  .hero-bottom { margin-top: 30px; flex-direction: column; gap: 7px; font-size: 10px; }
  #systems { margin-top: 24px; }
  .section { padding: 56px 0; }
  .eyebrow { margin-bottom: 24px; font-size: 10px; }
  h2 { font-size: 37px; letter-spacing: -1.8px; }
  .heading-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .service { grid-template-columns: 30px 1fr; gap: 18px 14px; padding: 26px 0; }
  .service h3 { font-size: 23px; }
  .service p,.tags { grid-column: 2; }
  .tags { font-size: 10px; }
  .demo { display: block; }
  .demo-header { padding: 19px; gap: 14px; }
  .demo-title { font-size: 12px; }
  .demo-label { font-size: 8px; max-width: 120px; }
  .tabs { flex-direction: row; flex-wrap: wrap; padding: 12px; gap: 4px; }
  .tab { padding: 10px 12px; font-size: 12px; text-align: center; flex: 1; }
  .tab[aria-selected=true] { border-left: 1px solid transparent; border-bottom: 2px solid var(--cyan); }
  .demo-content { padding: 24px 18px; min-height: 320px; }
  .demo-content h3 { font-size: 26px; }
  .preview-table th,.preview-table td { padding: 13px 5px; font-size: 11px; }
  .preview-table th { font-size: 9px; }
  .status { padding: 4px 7px; font-size: 10px; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 45px 1fr; gap: 12px 20px; }
  .step .section-icon { grid-row: 1/3; width: 30px; height: 30px; margin-top: 3px; }
  .step h3 { margin: 4px 0 0; }
  .step p { grid-column: 2; }
  .contact { gap: 32px; padding: 58px 0; }
  .contact h2 { font-size: 55px; letter-spacing: -2.8px; }
  .footer { align-items: start; flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
