:root {
  --night: #0c1725;
  --steel: #111f30;
  --panel: #132234;
  --line-dark: #284055;
  --navy: #1f3a5f;
  --cyan: #2bb3c0;
  --mint: #79f4e3;
  --ink: #122138;
  --muted: #445762;
  --light: #f1f6f6;
  --faint: #d6e2e5;
  --white: #f7fbfd;
  --wrap: min(100% - 96px, 1200px);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--night);
  font-size: 100%;
  line-height: 1.6;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #128f93; outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 4; transform: translateY(-150%); padding: 8px 14px; background: var(--mint); color: var(--night); }
.skip:focus { transform: translateY(0); }
.section { padding-block: clamp(66px, 8vw, 110px); }
.section h2 { font-size: clamp(34px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.057em; text-wrap: balance; }
.section :focus:not(:focus-visible) { outline: none; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid #233b4c; background: var(--night); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-size: 1.3rem; font-weight: 800; letter-spacing: .035em; line-height: 1; }
.brand b { color: var(--mint); }
.brand-mark { position: relative; display: inline-block; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; background: var(--mint); }
.brand-mark i { position: absolute; display: block; background: var(--night); border-radius: 1px; }
.brand-mark i:nth-child(1) { width: 3px; height: 15px; top: 6px; left: 10px; transform: rotate(25deg); }
.brand-mark i:nth-child(2) { width: 3px; height: 15px; top: 6px; right: 10px; transform: rotate(-25deg); }
.brand-mark i:nth-child(3) { width: 8px; height: 2px; top: 16px; left: 10px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3.1vw, 44px); }
.nav > a:not(.button) { padding-block: 10px; color: #cfdee7; text-decoration: none; font-size: .95rem; font-weight: 650; }
.nav > a:not(.button):hover { color: var(--mint); }
.menu-button { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; width: fit-content; max-width: 100%; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; background: var(--mint); color: var(--night); font-size: .96rem; font-weight: 750; line-height: 1.35; text-decoration: none; text-align: center; transition: background 140ms, color 140ms, border-color 140ms; }
.button:hover { background: #adfff2; }
.button-quiet, .button-compact { border-color: #5b798b; background: transparent; color: var(--white); }
.button-quiet:hover, .button-compact:hover { background: #1d3444; border-color: var(--mint); color: var(--mint); }
.button-compact { min-height: 43px; padding: 9px 15px; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--night); }
.hero::before, .hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; z-index: -1; }
.hero::before { background: radial-gradient(ellipse at 83% 30%, #194b59 0, #102b3a 31%, transparent 64%), linear-gradient(140deg, #101d2e, transparent 58%); }
.hero::after { opacity: .28; background-image: linear-gradient(#529b9a36 1px, transparent 1px), linear-gradient(90deg, #529b9a36 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 24%, black 86%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1fr); align-items: center; gap: clamp(34px, 5vw, 76px); padding-block: clamp(68px, 7vw, 104px) clamp(73px, 7.1vw, 105px); }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #075d65; font-size: .88rem; font-weight: 750; letter-spacing: .085em; line-height: 1.4; text-transform: uppercase; }
.kicker::before { content: ""; width: 23px; height: 2px; background: currentColor; flex: 0 0 23px; }
.hero .kicker, .contact .kicker { color: var(--mint); }
.intro h1 { font-size: clamp(49px, 6vw, 89px); font-weight: 780; line-height: .98; letter-spacing: -.074em; }
.intro h1 span { display: block; color: var(--mint); }
.intro-text { max-width: 470px; margin-top: 26px; color: #d0dde7; font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.demo { min-width: 0; border: 1px solid #477580; border-radius: 14px; background: var(--panel); color: var(--white); box-shadow: 0 22px 65px #020a1485, 0 0 0 7px #c6fffa0b; }
.demo-header { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line-dark); }
.demo-mark { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border: 1px solid #3e777c; border-radius: 9px; background: #1b3b46; color: var(--mint); }
.demo-header h2 { font-size: 1.08rem; line-height: 1.2; letter-spacing: -.02em; }
.demo-header p { color: #bacddc; margin-top: 2px; font-size: .875rem; }
.demo-body { padding: 21px 22px 16px; }
.conversation { min-height: 153px; display: grid; align-content: start; gap: 19px; }
.message-question { width: fit-content; max-width: 90%; justify-self: end; padding: 9px 13px; border: 1px solid #3a536a; border-radius: 10px 10px 2px 10px; background: #22354c; font-size: .95rem; font-weight: 650; }
.message-answer { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 10px; color: #ecf5fd; }
.answer-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 5px; background: var(--mint); color: var(--night); font-size: .89rem; font-weight: 850; }
.message-answer p { font-size: .98rem; line-height: 1.55; }
.demo-source { margin-left: 38px; color: #a7ede2; font-size: .875rem; }
.demo-source summary { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 5px 9px; border: 1px solid #3d6671; border-radius: 5px; background: #1a3442; list-style: none; font-weight: 650; cursor: pointer; }
.demo-source summary::-webkit-details-marker { display: none; }
.demo-source summary::after { content: '+'; margin-left: 6px; }
.demo-source[open] summary::after { content: '−'; }
.demo-source blockquote { margin: 8px 0 0; border-left: 2px solid #559f9e; padding: 4px 0 4px 11px; color: #d2e3e8; }
.demo-controls { padding: 14px 22px 18px; border-top: 1px solid var(--line-dark); border-radius: 0 0 14px 14px; background: #101e2f; }
.demo-controls > p { color: #d5e6f0; font-size: .875rem; font-weight: 650; }
.demo-options { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 9px 8px; }
.demo-options button { min-height: 40px; max-width: 100%; padding: 7px 11px; border: 1px solid #435b6c; border-radius: 6px; background: transparent; color: #e1ebf3; font-size: .875rem; line-height: 1.35; }
.demo-options button:hover, .demo-options button[aria-pressed="true"] { border-color: #72dfd4; background: #123640; color: #b4fff1; }
.demo-controls small { display: block; color: #adbfce; font-size: .8125rem; }

.symbol { position: relative; display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; }
.symbol::before, .symbol::after { position: absolute; content: ""; }
.symbol-doc { border: 1.4px solid currentColor; border-radius: 2px; width: 14px; height: 17px; }
.symbol-doc::before { inset: 4px 2px auto; height: 1.4px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }
.demo-source .symbol-doc { width: 11px; height: 13px; }
.demo-source .symbol-doc::before { inset: 3px 2px auto; box-shadow: 0 3px currentColor, 0 6px currentColor; }
.symbol-flow { border: 1px solid currentColor; border-radius: 3px; width: 10px; height: 10px; margin-right: 10px; margin-bottom: 8px; }
.symbol-flow::before { width: 10px; height: 10px; top: 8px; left: 8px; border: 1px solid currentColor; border-radius: 3px; }
.symbol-grid { width: 8px; height: 8px; background: currentColor; border-radius: 1.5px; margin-right: 10px; margin-bottom: 10px; box-shadow: 10px 0 currentColor, 0 10px currentColor, 10px 10px currentColor; }

.solutions { background: var(--light); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: clamp(18px, 5vw, 72px); margin-bottom: 31px; }
.section-head > p { max-width: 380px; color: var(--muted); font-size: 1.1rem; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.solution { display: flex; flex-direction: column; min-width: 0; min-height: 260px; padding: clamp(21px, 3vw, 32px); border: 1px solid var(--faint); border-radius: 9px; background: #fff; }
.solution-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9px; background: #e3f6f4; color: #0e6a70; margin-bottom: 18px; }
.solution h3 { font-size: clamp(20px, 2vw, 25px); letter-spacing: -.035em; line-height: 1.2; }
.solution p { color: var(--muted); margin: 10px 0 17px; }
.solution a { color: #086368; width: fit-content; margin-top: auto; padding-block: 6px; font-size: .945rem; font-weight: 750; }
.solution a:hover { color: var(--ink); }

.applications { background: #e6eff1; border-top: 1px solid #cfdfe3; }
.applications-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: clamp(32px, 7vw, 94px); align-items: center; }
.application-media { border-radius: 12px; overflow: hidden; background: #152a3d; }
.application-media img { display: block; width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; object-position: center; }
.applications-list { margin-top: 23px; }
.applications-list > div { padding: 12px 0; border-top: 1px solid #bdcfd4; }
.applications-list > div:last-child { border-bottom: 1px solid #bdcfd4; }
.applications-list dt { color: var(--ink); font-size: 1.06rem; font-weight: 750; }
.applications-list dd { color: var(--muted); margin-top: 2px; }

.founder { background: var(--steel); color: var(--white); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 86px); align-items: center; }
.founder-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 20%; border: 1px solid #335367; border-radius: 12px; background: var(--night); }
.founder-copy p { max-width: 530px; margin-top: 16px; color: #cedce6; font-size: 1.075rem; }
.founder-copy .founder-role { margin-top: 10px; color: var(--mint); font-weight: 750; }

.contact { background: var(--night); color: var(--white); border-top: 3px solid var(--cyan); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(34px, 7vw, 96px); align-items: center; }
.contact-grid > div > p:last-child { max-width: 520px; margin-top: 17px; color: #cedce6; font-size: 1.075rem; }
.contact-box { padding: clamp(21px, 3.1vw, 35px); border: 1px solid #335367; background: var(--steel); border-radius: 11px; }
.contact-company { font-size: 1.2rem; font-weight: 750; }
.contact-location { color: #c3d4de; margin-bottom: 16px; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; color: #d4e5ef; }
.contact-lines a:hover { color: var(--mint); }
.footer { color: #c4d5e0; background: var(--night); border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 25px; }
.footer-inner p { font-size: .88rem; }

@media (max-width: 1020px) {
  :root { --wrap: calc(100% - 56px); }
  .hero-grid { gap: 30px; }
  .intro h1 { font-size: clamp(46px, 6.4vw, 64px); }
  .demo-header, .demo-body, .demo-controls { padding-inline: 16px; }
  .solution { padding: 22px; }
}
@media (max-width: 870px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .intro h1 { font-size: clamp(47px, 9vw, 70px); }
  .demo { width: 100%; max-width: 620px; }
  .conversation { min-height: 0; margin-bottom: 13px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution { min-height: 0; }
}
@media (max-width: 700px) {
  :root { --wrap: calc(100% - 40px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; }
  .nav { flex-wrap: wrap; width: 100%; gap: 10px 19px; padding-bottom: 8px; }
  .has-js .menu-button { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 12px; border: 1px solid #5b798b; border-radius: 5px; background: transparent; color: var(--white); font-size: .925rem; font-weight: 650; }
  .has-js .nav { display: none; }
  .has-js .nav.is-open { display: grid; position: absolute; top: 100%; left: 0; padding: 12px 20px 18px; gap: 0; background: var(--night); box-shadow: 0 13px 21px #020a1470; }
  .nav.is-open > a:not(.button) { border-bottom: 1px solid var(--line-dark); }
  .nav.is-open .button { margin-top: 12px; }
  .hero-grid { padding-block: 54px 58px; }
  .section-head, .applications-grid, .founder-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 13px; }
  .applications-grid > div:last-child { grid-row: 1; }
  .application-media img { aspect-ratio: 3/2; }
}
@media (max-width: 410px) {
  .intro h1 { font-size: clamp(37px, 10.45vw, 45px); }
  .hero .kicker { font-size: .79rem; letter-spacing: .07em; }
  .intro-text { margin-top: 19px; }
  .hero-actions { margin-top: 22px; gap: 9px; }
  .hero-actions .button { padding-inline: 13px; font-size: .9rem; }
  .demo-header, .demo-body, .demo-controls { padding-inline: 13px; }
  .demo-options { gap: 6px; }
  .demo-options button { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
