:root {
  color-scheme: light;
  --night: #101619;
  --night-soft: #1a2327;
  --paper: #f7f6f1;
  --ink: #171d20;
  --muted: #555d60;
  --line: #dfdfd7;
  --gold: #ffb638;
  --gold-bright: #ffc15b;
  --mist: #c1c9c9;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 5.5rem; }
:focus-visible { outline: 3px solid #a35400; outline-offset: 4px; }
.hero :focus-visible, .top :focus-visible, .demo :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
.container { width: min(100% - 5.5rem, 80rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 20; transform: translateY(-180%); background: var(--gold); color: var(--ink); padding: .8rem 1rem; border-radius: .5rem; font-weight: 650; }
.skip-link:focus { transform: none; }

.top { color: white; background: var(--night); border-bottom: 1px solid #2e3639; }
.top-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.15rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.055em; }
.brand img { width: 2.45rem; height: 2.45rem; border-radius: .62rem; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 3.25vw, 2.8rem); color: #d7ddde; font-size: .94rem; font-weight: 600; }
.nav a, .footer a { transition: color .18s ease; }
.nav a:hover, .footer a:hover { color: var(--gold); }
.nav-toggle { display: none; cursor: pointer; color: white; background: #222b30; border: 1px solid #485155; border-radius: .55rem; padding: .5rem .85rem; font-weight: 650; }

.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .65rem; padding: .7rem 1.2rem; line-height: 1.23; text-align: center; font-weight: 750; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.button-small { min-height: 2.65rem; padding: .52rem .88rem; font-size: .94rem; }
.button-solid { background: var(--gold); color: #1a150c; }
.button-solid:hover { background: var(--gold-bright); }
.button-ghost { color: #f8faf9; background: transparent; border-color: #515c61; }
.button-ghost:hover { background: #29373b; border-color: #7b8b91; }
.button-dark { color: #fff; background: var(--night); border-color: var(--night); }
.button-dark:hover { background: #2f3b40; border-color: #2f3b40; }
.button:disabled { cursor: default; opacity: .67; }

.hero { background: var(--night); color: #f7f9f8; padding-block: clamp(3.3rem, 6vw, 6rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
.section-label { color: #79500a; font-size: .82rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; }
.hero .section-label, .demo .section-label { color: var(--gold-bright); }
.hero h1 { margin-top: 1rem; font-size: clamp(3rem, 5.35vw, 5.2rem); line-height: 1.025; font-weight: 780; letter-spacing: -.07em; }
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero-description { margin-top: 1.45rem; color: var(--mist); max-width: 28rem; font-size: clamp(1.075rem, 1.45vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.hero-visual { position: relative; overflow: hidden; min-height: clamp(24rem, 38vw, 34rem); isolation: isolate; background: #322e29; border: 1px solid #435055; border-radius: 1.15rem; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 52%; }
.hero-visual-shadow { position: absolute; inset: 0; background: linear-gradient(0deg,#080d12b8 0%,#10161918 62%); }
.hero-terminal { position: absolute; inset: auto auto 7% 5.4%; width: 72%; padding: 5px; background: #161d22; border: 1px solid #758389; border-radius: .65rem; box-shadow: 0 1.4rem 3.2rem #080b10b7; }
.hero-terminal img { width: 100%; height: auto; border-radius: .36rem; }
.hero-phone { position: absolute; z-index: 1; bottom: 4%; right: 3.9%; width: 23%; padding: 4px; background: #12191d; border-radius: .9rem; border: 1px solid #a3acaf; box-shadow: 0 .85rem 2.4rem #03080ac7; }
.hero-phone img { width: 100%; height: auto; border-radius: .66rem; }

.section h2, .contact h2 { font-size: clamp(2.35rem, 4.65vw, 4.35rem); line-height: 1.05; letter-spacing: -.065em; font-weight: 780; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .65fr); align-items: end; gap: 2.2rem; margin-bottom: 2.25rem; }
.section-intro p { font-size: 1.1rem; color: var(--muted); max-width: 30rem; }
.product-tabs { border: 1px solid var(--line); background: white; border-radius: 1rem; overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; padding: .65rem; border-bottom: 1px solid var(--line); background: #eeeee7; }
.tabs button { min-height: 3.2rem; padding: .5rem .6rem; color: #333a3e; background: transparent; border: 1px solid transparent; border-radius: .52rem; font-weight: 750; cursor: pointer; }
.tabs button:hover { background: #e3e3da; }
.tabs button[aria-selected="true"] { color: #fff; background: var(--night); border-color: var(--night); }
.tabs button:focus-visible { outline-offset: 0; }
.module-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.22fr); gap: clamp(1.75rem, 4.35vw, 4.4rem); align-items: center; min-height: 27rem; padding: clamp(1.25rem, 4vw, 3.5rem); }
.module-card:focus-visible { outline-offset: -4px; }
.module-copy h3 { margin-top: .62rem; font-size: clamp(2rem, 3.26vw, 3.25rem); line-height: 1.07; letter-spacing: -.06em; font-weight: 775; }
.module-copy p:not(.section-label) { max-width: 30rem; margin-top: 1rem; color: var(--muted); font-size: 1.075rem; }
.module-image-frame { display: grid; place-items: center; padding: 1.35rem; overflow: hidden; min-height: 19rem; border-radius: .85rem; background: #192327; }
.module-image-frame img { width: auto; height: auto; border-radius: .47rem; box-shadow: 0 .55rem 1.45rem #0d1414a0; }
.module-wide img { width: 100%; object-fit: contain; }
.module-mobile img { max-height: 23.8rem; max-width: 100%; object-fit: contain; }

.demo { background: var(--night); color: white; }
.demo-grid { display: grid; grid-template-columns: minmax(0, .81fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.demo-copy h2 { margin-top: .9rem; }
.demo-copy p:not(.section-label) { margin-top: 1.1rem; color: var(--mist); font-size: 1.1rem; max-width: 30rem; }
.service-demo { background: #1c2529; border: 1px solid #49595d; border-radius: 1rem; padding: clamp(1.1rem, 3vw, 1.85rem); }
.demo-head, .demo-end { display: flex; justify-content: space-between; align-items: center; gap: .85rem; }
.demo-head > div { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.demo-head h3 { font-size: 1.45rem; line-height: 1.22; letter-spacing: -.045em; }
.demo-head [data-demo-count] { color: #bdc9ca; font-size: .95rem; }
.demo-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin: 1.25rem 0 .75rem; padding: 0; list-style: none; }
.demo-timeline li { padding: .54rem .35rem; text-align: center; color: #c4d2d3; background: #252f34; border: 1px solid #46565b; border-radius: .46rem; font-size: .92rem; font-weight: 710; }
.demo-timeline [data-state="active"] { background: var(--gold); color: #211609; border-color: var(--gold); }
.demo-timeline [data-state="complete"] { background: #224237; color: #d1f6e5; border-color: #487667; }
.demo-lanes { overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #435359; border-radius: .54rem; background: #162024; }
.demo-lanes > div { padding: .8rem; }
.demo-lanes > div + div { border-left: 1px solid #435359; }
.demo-lanes span { display: block; color: #c2d0d2; font-size: .88rem; font-weight: 650; }
.demo-lanes p { color: #f7fafa; margin-top: .22rem; font-size: .96rem; font-weight: 700; }
.demo-end { margin-top: 1.05rem; }
.demo-end p { color: var(--mist); font-size: .95rem; }
.demo-end button { flex-shrink: 0; }

.questions-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.23fr); align-items: start; gap: clamp(2.2rem, 6vw, 6.3rem); }
.question-list { border-top: 1px solid #d5d9d3; }
.question-list details { border-bottom: 1px solid #d5d9d3; }
.question-list summary { display: flex; justify-content: space-between; align-items: center; gap: .85rem; list-style: none; cursor: pointer; padding: 1rem 0; font-size: 1.13rem; font-weight: 740; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: '+'; color: #754d08; font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.question-list details[open] summary::after { content: '−'; }
.question-list p { max-width: 37rem; padding: 0 1.3rem 1.1rem 0; color: var(--muted); }
.contact { background: var(--gold-bright); color: #211809; padding-block: clamp(2.7rem, 5.3vw, 4.7rem); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.7rem; }
.contact-inner p { margin-top: .6rem; font-size: 1.08rem; }
.contact-inner .button { flex-shrink: 0; }
.footer { background: var(--night); color: #fafbfa; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 5.3rem; padding: 1rem 0; }
.footer-inner .brand { font-size: 1.1rem; }
.footer-inner .brand img { width: 2.1rem; height: 2.1rem; }
.footer-inner > span { color: #c7d0d0; font-size: .95rem; }
.footer-inner > a:last-child { font-weight: 650; }

@media (max-width: 960px) {
  .container { width: min(100% - 3.5rem, 80rem); }
  .hero-inner { grid-template-columns: minmax(0, .91fr) minmax(0, 1fr); gap: 2rem; }
  .hero h1 { font-size: clamp(2.8rem, 5.8vw, 4.4rem); }
  .hero-visual { min-height: 21rem; }
  .module-card { min-height: 23rem; }
  .module-image-frame { min-height: 15rem; }
  .module-mobile img { max-height: 19rem; }
  .demo-grid { gap: 2.5rem; }
  .demo-end { align-items: stretch; flex-direction: column; }
  .demo-end .button { align-self: flex-start; }
}

@media (max-width: 730px) {
  .container { width: min(100% - 2rem, 34rem); }
  .top-inner { min-height: 4.45rem; gap: .75rem; flex-wrap: wrap; }
  .top[data-js] .nav-toggle { display: inline-flex; margin-left: auto; }
  .top[data-js] .nav { display: none; }
  .top[data-js] .nav[data-open] { display: flex; }
  .nav { order: 4; width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-bottom: .85rem; }
  .nav a { display: block; padding: .66rem 0; font-size: 1rem; }
  .header-cta { display: none; }
  .hero { padding-block: 2.8rem 3rem; }
  .hero-inner, .section-intro, .module-card, .demo-grid, .questions-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.1rem; }
  .hero h1 { font-size: clamp(2.9rem, 10.1vw, 4.7rem); }
  .hero-description { margin-top: 1rem; font-size: 1.09rem; }
  .actions { margin-top: 1.28rem; }
  .hero-visual { min-height: auto; aspect-ratio: 1.25; }
  .hero-terminal { width: 74%; left: 4.8%; }
  .hero-phone { width: 25.5%; }
  .section { padding-block: 4rem; }
  .section-intro { gap: .9rem; margin-bottom: 1.45rem; }
  .section-intro p { font-size: 1.03rem; }
  .tabs { gap: .27rem; padding: .45rem; }
  .tabs button { font-size: .9rem; padding-inline: .25rem; min-height: 2.9rem; }
  .module-card { min-height: auto; gap: 1.3rem; }
  .module-image-frame { padding: .75rem; min-height: 0; }
  .module-mobile img { max-height: 25rem; }
  .demo-grid, .questions-inner { gap: 1.65rem; }
  .demo-end .button { width: 100%; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; gap: .65rem 1rem; }
  .footer-inner > span { flex-basis: 100%; order: 3; }
}

@media (max-width: 390px) {
  .actions .button { flex: 1 1 auto; }
  .demo-lanes { grid-template-columns: 1fr; }
  .demo-lanes > div + div { border-left: 0; border-top: 1px solid #435359; }
  .demo-lanes > div { padding: .57rem .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
