:root {
  color-scheme: dark;
  --night: #050d18;
  --night-deep: #030811;
  --navy: #0a1a2b;
  --panel: #0e2236;
  --line: #29425b;
  --text: #f7f9fc;
  --muted: #b5c5d2;
  --blue: #60adff;
  --gold: #ffae42;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--night); color: var(--text); }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--gold); color: var(--night); }
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 4; background: rgba(3, 10, 20, .97); border-bottom: 1px solid rgba(96, 173, 255, .18); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); font-size: 1.4rem; font-weight: 770; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand strong { color: var(--gold); font-weight: 770; }
.brand-icon { width: 44px; height: 44px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.main-nav a { color: #dbe8f3; font-size: .9rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .footer-inner a:hover { color: var(--gold); }
.main-nav .nav-contact { display: inline-flex; align-items: center; gap: .6rem; padding: .67rem 1rem; border: 1px solid #4b86bb; border-radius: 6px; color: #f3f8ff; background: rgba(18, 51, 82, .36); }
.main-nav .nav-contact:hover { border-color: var(--blue); background: rgba(39, 102, 155, .3); }

.hero { position: relative; overflow: hidden; isolation: isolate; background: #061322; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url('/assets/construction-hero.webp') center right / cover no-repeat; opacity: .82; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #06111f 0%, rgba(6,17,31,.98) 25%, rgba(6,17,31,.85) 52%, rgba(6,17,31,.44) 100%), linear-gradient(0deg, #06111f 0%, transparent 36%); }
.hero-grid { min-height: 675px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(4.8rem, 8vw, 7.2rem); }
.hero-copy { position: relative; max-width: 690px; }
.hero-mark { display: block; width: 72px; height: 72px; object-fit: contain; margin-bottom: 1.5rem; filter: drop-shadow(0 6px 18px rgba(0,73,177,.45)); }
.eyebrow, .section-kicker { margin: 0 0 1.2rem; color: #ffc274; font-size: .76rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: .64rem; padding: .53rem .78rem; border: 1px solid #53617b; border-radius: 100px; background: rgba(13,32,54,.82); letter-spacing: .09em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255,174,66,.18); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; }
h1 { margin: 0 0 1.4rem; font-size: clamp(4.1rem, 7.4vw, 6.6rem); line-height: .95; font-weight: 800; text-shadow: 0 4px 22px rgba(0,0,0,.25); }
h1 span { color: var(--gold); }
.hero-subhead { max-width: 650px; margin-bottom: 1.4rem; color: #f4f8fd; font-size: clamp(1.55rem, 2.4vw, 2.2rem); font-weight: 650; line-height: 1.23; letter-spacing: -.035em; }
.hero-description { max-width: 620px; color: #c8d7e4; font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 50px; padding: .78rem 1.25rem; border-radius: 6px; font-size: .94rem; font-weight: 760; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101b29; background: linear-gradient(135deg, #ffc05c, #ff9c27); box-shadow: 0 8px 24px rgba(255,153,34,.23); }
.button-primary:hover { background: #ffd083; }
.text-link { color: #d9ebff; font-size: .94rem; font-weight: 700; text-decoration-color: #5ca5ef; text-underline-offset: 5px; }
.text-link:hover { color: var(--gold); }

.platform-illustration { position: relative; padding: clamp(1.3rem, 2.6vw, 2rem); border: 1px solid rgba(82,149,215,.6); border-radius: 14px; background: linear-gradient(155deg, rgba(17,42,67,.97), rgba(7,19,35,.97)); box-shadow: 0 28px 72px rgba(0,0,0,.4), 0 0 0 5px rgba(19,65,111,.17); }
.platform-illustration::before { content: ""; position: absolute; width: 38%; height: 3px; top: -2px; right: 11%; border-radius: 100px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.illustration-topline { display: flex; align-items: center; gap: .55rem; padding: .25rem 0 1.2rem; color: #e7f3ff; font-size: .75rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; }
.panel-mark { width: 32px; height: 32px; object-fit: contain; }
.illustration-line { flex: 1; height: 1px; background: #3d617c; margin-left: .45rem; }
.workflow-step { display: grid; grid-template-columns: 45px minmax(0,1fr) 20px; align-items: center; gap: .75rem; padding: 1.1rem .55rem; border-top: 1px solid #2d4961; }
.workflow-step div { display: grid; gap: .26rem; }
.workflow-step strong { color: #f7fbff; font-size: 1.05rem; letter-spacing: -.025em; }
.workflow-step div span { color: #a8bfd1; font-size: .87rem; }
.step-number { color: #ffa52d; font-size: .75rem; font-weight: 850; }
.step-arrow { color: #63afff; font-size: 1.14rem; }
.illustration-caption { margin: 1rem 0 0; padding: 1rem 1.1rem; border: 1px solid rgba(72,137,192,.32); border-radius: 5px; background: rgba(23,59,91,.51); color: #c2d8e8; font-size: .83rem; line-height: 1.5; }

.section { padding-block: clamp(5rem, 8vw, 7.6rem); }
.features-section { position: relative; background: #06111e; border-top: 1px solid #1e3853; }
.features-section::before { content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 100%; pointer-events: none; opacity: .12; background: repeating-linear-gradient(90deg, transparent 0, transparent 54px, #5aabf4 55px, transparent 56px), repeating-linear-gradient(0deg, transparent 0, transparent 54px, #5aabf4 55px, transparent 56px); }
.section-intro { position: relative; max-width: 720px; margin-bottom: 2.5rem; }
.section-intro h2, .about-grid h2, .contact-inner h2 { font-size: clamp(2.35rem, 4.2vw, 3.8rem); line-height: 1.07; margin-bottom: 1.2rem; font-weight: 750; }
.section-intro > p:last-child, .about-grid p, .contact-inner p { color: #b8cada; font-size: 1.05rem; line-height: 1.75; }
.feature-grid { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.feature-card { min-height: 240px; padding: 1.65rem 1.4rem 1.45rem; border: 1px solid #2b4761; border-radius: 8px; background: linear-gradient(145deg, #102439, #0b1b2d); box-shadow: 0 11px 32px rgba(0,0,0,.13); }
.feature-card:nth-child(2) { border-top-color: #d99339; }
.feature-card:nth-child(3) { border-top-color: #4e9ef0; }
.feature-index { display: block; margin-bottom: 2.15rem; color: #ffba67; font-size: .67rem; font-weight: 830; letter-spacing: .13em; }
.feature-card h3 { margin-bottom: .7rem; color: #f3f8fd; font-size: 1.2rem; letter-spacing: -.03em; }
.feature-card p { margin-bottom: 0; color: #acc0d0; font-size: .9rem; line-height: 1.65; }
.about-section { position: relative; border-top: 1px solid #24425c; background: radial-gradient(circle at 88% 30%, #143355, transparent 36%), linear-gradient(135deg, #0d2135, #091726); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(2rem, 8vw, 7rem); }
.about-grid p { font-size: 1.13rem; }
.about-grid .about-note { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #37526a; color: #a7c5dd; font-size: .95rem; }
.contact-section { background: linear-gradient(105deg, #123b67, #0b2544 58%, #0a1a30); border-top: 1px solid #3a83bb; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem); }
.contact-inner .section-kicker { color: #ffbd6b; }
.contact-inner h2 { margin-bottom: .65rem; }
.contact-inner p { margin-bottom: 0; color: #d1e0ed; }
.button-light { color: #0c1b29; background: #ffb04d; white-space: nowrap; }
.button-light:hover { background: #ffcd82; }
.site-footer { background: var(--night-deep); border-top: 1px solid #213d56; color: #c3d2de; }
.footer-inner { min-height: 195px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; }
.footer-inner > div { display: grid; gap: .38rem; }
.footer-inner strong { color: #f4f8ff; font-size: 1.12rem; }
.footer-inner span, .footer-inner a, .footer-inner small { font-size: .85rem; }
.footer-inner a { text-decoration: none; }
.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner small { color: #95aab9; }

.legal-main { min-height: 65vh; padding-block: clamp(4rem, 8vw, 7rem); background: radial-gradient(circle at 90% 8%, #183c60, transparent 32%), #081727; }
.legal-wrap { max-width: 760px; }
.back-link { display: inline-block; margin-bottom: 2.6rem; color: #ffbf74; font-size: .9rem; font-weight: 720; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.legal-wrap h1 { margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 5rem); }
.legal-lede { padding-bottom: 2rem; border-bottom: 1px solid #35536c; color: #c1d1df; font-size: 1.14rem; line-height: 1.7; }
.legal-wrap section { padding-block: 1.45rem; border-bottom: 1px solid #294860; }
.legal-wrap h2 { margin-bottom: .7rem; font-size: 1.3rem; letter-spacing: -.025em; }
.legal-wrap section p { margin-bottom: 0; color: #afc2d2; line-height: 1.75; }
.legal-wrap section p + p { margin-top: .8rem; }
.legal-wrap section a { color: #ffbd69; text-underline-offset: 3px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 3.1rem; }
  .hero-copy { max-width: 720px; }
  .platform-illustration { max-width: 620px; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 2.5rem; }
  .footer-inner small { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 2rem, 1160px); }
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: .75rem; padding-block: .85rem; }
  .brand { font-size: 1.22rem; }
  .brand-icon { width: 39px; height: 39px; }
  .main-nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .main-nav a { font-size: .82rem; }
  .main-nav .nav-contact { padding: .47rem .62rem; }
  .hero::after { background: linear-gradient(90deg, rgba(5,13,24,.97), rgba(5,13,24,.83)), linear-gradient(0deg, #06111f, transparent 50%); }
  .hero-grid { padding-block: 4.1rem 4.8rem; gap: 2.7rem; }
  .hero-mark { width: 64px; height: 64px; margin-bottom: 1.15rem; }
  h1 { font-size: clamp(3.5rem, 13vw, 4.5rem); margin-bottom: 1.1rem; }
  .hero-subhead { font-size: 1.6rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions { gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-index { margin-bottom: 1.2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 1.7rem; }
  .button-light { white-space: normal; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-inner small { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
