@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap");

:root {
  --orange: #f99000;
  --orange-2: #f36b00;
  --ink: #071a35;
  --text: #182337;
  --muted: #647186;
  --soft: #eef3f8;
  --soft-2: #f7f9fc;
  --line: #dce5ef;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(29, 48, 76, 0.11);
  --button-shadow: 0 5px 12px rgba(29, 48, 76, 0.1);
  --section: 1344px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Onest", "Segoe UI", sans-serif;
  background: var(--soft);
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: 112px;
}

button {
  font: inherit;
  letter-spacing: 0;
}

.section-inner {
  width: min(var(--section), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(var(--section), calc(100% - 64px));
  min-height: 74px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 22px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  box-shadow: 0 18px 52px rgba(36, 52, 78, 0.13);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  justify-self: center;
  background: #f1f5fa;
  border-radius: 999px;
}

.site-nav a {
  padding: 12px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--orange-2);
  background: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: #f3f7fb;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.menu-toggle svg {
  width: 23px;
  height: 23px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: var(--button-shadow);
}

.button--soft {
  color: var(--ink);
  background: #edf3f9;
  border-color: #dce6f0;
}

.round-link {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--orange-2);
  background: #edf3f9;
  border: 1px solid #dce6f0;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 180ms ease;
}

.round-link:hover {
  transform: translateY(-2px);
}

.round-link svg {
  width: 23px;
  height: 23px;
}

.round-link__text {
  display: none;
}

.hero {
  padding: 116px 0 58px;
  background:
    radial-gradient(circle at 80% 8%, rgba(249, 144, 0, 0.12), transparent 30%),
    var(--soft);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border-radius: 34px;
  background: #dbe7f2;
  box-shadow: var(--shadow);
}

.hero-stage__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 243, 249, 0.02) 0%, rgba(237, 243, 249, 0.08) 42%, rgba(237, 243, 249, 0.18) 100%),
    url("assets/images/hero-generated.png") center / cover no-repeat;
}

.hero-stage__panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0;
  padding: 42px 40px 38px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px 32px 32px 10px;
  box-shadow: 0 24px 55px rgba(31, 52, 78, 0.12);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 54px;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  max-width: 820px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-stage__panel p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #3f4b5e;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.live-card {
  position: absolute;
  z-index: 3;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 50px rgba(31, 52, 78, 0.13);
  backdrop-filter: blur(10px);
}

.live-card {
  right: 58px;
  bottom: 58px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  min-width: 236px;
  padding: 20px;
  border-radius: 28px 28px 10px 28px;
}

.live-card svg {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--white);
  background: var(--orange);
  border-radius: 16px;
}

.live-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.live-card strong {
  font-size: 24px;
  line-height: 1;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.hero-facts article {
  min-height: 150px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-facts strong {
  display: block;
  color: var(--orange-2);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
}

.hero-facts span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.section {
  padding: 92px 0;
  background: var(--white);
}

.section--lift {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.capability-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(220, 229, 239, 0.82);
  border-radius: 30px;
  box-shadow: 0 14px 38px rgba(29, 48, 76, 0.07);
}

.capability-card--wide {
  grid-row: span 2;
  display: grid;
  gap: 20px;
  align-content: space-between;
  overflow: hidden;
}

.capability-card--wide img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 28px rgba(29, 48, 76, 0.1));
}

.icon-badge,
.feature-card span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--orange-2);
  background: #fff3e3;
  border-radius: 20px;
}

.icon-badge svg,
.feature-card svg {
  width: 27px;
  height: 27px;
}

.capability-card p,
.feature-card p,
.workflow-copy p,
.docs-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.app-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.app-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.app-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.app-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.app-pills svg {
  width: 18px;
  height: 18px;
  color: var(--orange-2);
}

.phone-scene {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 50%, rgba(249, 144, 0, 0.18), transparent 46%),
    #f4f7fb;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-scene img {
  width: min(430px, 82%);
  max-height: 620px;
  object-fit: contain;
  border-radius: 32px;
  filter: drop-shadow(0 24px 36px rgba(16, 24, 39, 0.18));
}

.phone-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(29, 48, 76, 0.11);
  font-weight: 800;
}

.phone-note svg {
  width: 20px;
  height: 20px;
  color: var(--orange-2);
}

.phone-note--top {
  top: 74px;
  right: 62px;
}

.phone-note--bottom {
  left: 72px;
  bottom: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 244px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(220, 229, 239, 0.82);
  border-radius: 30px;
  box-shadow: 0 14px 38px rgba(29, 48, 76, 0.07);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: center;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.workflow-step {
  min-height: 210px;
  padding: 28px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.workflow-step b {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 16px;
  font-size: 18px;
}

.workflow-step p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-section {
  background: var(--soft);
}

.video-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: stretch;
}

.video-tabs {
  display: grid;
  gap: 12px;
}

.video-tab {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 86px;
  padding: 10px;
  color: var(--text);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(29, 48, 76, 0.06);
}

.video-tab img {
  width: 104px;
  height: 60px;
  object-fit: cover;
  border-radius: 16px;
}

.video-tab span {
  font-weight: 800;
}

.video-tab.is-active {
  color: var(--ink);
  border-color: rgba(249, 144, 0, 0.74);
  box-shadow: var(--button-shadow);
}

.video-frame {
  overflow: hidden;
  width: 100%;
  min-height: 494px;
  background: #111827;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.video-frame iframe,
.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.docs-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.document-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(220, 229, 239, 0.82);
  border-radius: 30px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.document-card > svg {
  width: 46px;
  height: 46px;
  color: var(--orange-2);
}

.document-card strong,
.document-card small {
  display: block;
}

.document-card small {
  margin-top: 6px;
  color: var(--muted);
}

.document-card b {
  color: var(--orange-2);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: height 280ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details.is-open {
  background: var(--white);
  border-color: rgba(249, 144, 0, 0.32);
  box-shadow: 0 14px 34px rgba(29, 48, 76, 0.07);
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--ink);
  transition: transform 220ms ease;
}

.faq-list details.is-open summary::before,
.faq-list details[open] summary::before {
  transform: rotate(90deg);
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px 41px;
  color: var(--muted);
  line-height: 1.58;
}

.contacts-section {
  background: var(--soft);
}

.contact-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid rgba(220, 229, 239, 0.82);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-card address {
  margin-top: 20px;
  color: var(--ink);
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
}

.contact-links {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.contact-links svg {
  width: 20px;
  height: 20px;
  color: var(--orange-2);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.map-panel {
  overflow: hidden;
  height: 470px;
  background: #dbe5ef;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #101827;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1.5fr auto;
  align-items: center;
  gap: 26px;
}

.footer-grid p,
.footer-grid span {
  margin: 0;
  font-size: 14px;
}

.reveal {
  animation: rise-in 520ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0.01;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    align-items: center;
    gap: 0 18px;
    transition: max-height 300ms ease, box-shadow 180ms ease, background-color 180ms ease;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .site-header.is-open .menu-toggle {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
  }

  .site-nav,
  .header-actions {
    overflow: hidden;
    width: 100%;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 300ms ease, opacity 190ms ease, transform 230ms ease, margin-top 230ms ease;
  }

  .site-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-self: stretch;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .site-nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: #f2f6fa;
    border: 1px solid transparent;
    border-radius: 16px;
  }

  .site-nav a:last-child {
    grid-column: 1 / -1;
  }

  .site-header.is-open .site-nav {
    max-height: 170px;
    margin-top: 14px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-actions {
    display: grid;
    grid-column: 1 / -1;
    gap: 10px;
    justify-items: stretch;
  }

  .site-header.is-open .header-actions {
    max-height: 130px;
    margin-top: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-actions .button,
  .header-phone {
    width: 100%;
    justify-content: center;
  }

  .header-phone {
    min-height: 44px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .capability-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-card--wide {
    grid-row: auto;
  }

  .app-showcase,
  .workflow-layout,
  .docs-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .video-shell {
    grid-template-columns: 1fr;
  }

  .video-frame {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section-inner {
    width: min(100% - 28px, var(--section));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 28px);
    min-height: 64px;
    padding: 9px 10px 9px 14px;
    border-radius: 22px;
  }

  .brand img {
    width: 156px;
  }

  .hero {
    padding: 92px 0 42px;
  }

  .hero-stage {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 14px 0;
    border-radius: 28px;
  }

  .hero-stage__image {
    background-position: 62% center;
  }

  .hero-stage__panel {
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 25px 18px 22px;
    border-radius: 24px 24px 24px 10px;
  }

  h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-stage__panel p:not(.eyebrow),
  .app-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-stage__panel p:not(.eyebrow) {
    margin-top: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .round-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 56px;
    padding: 12px 18px;
    border-radius: 18px;
  }

  .round-link__text {
    display: inline;
    color: var(--ink);
    font-weight: 800;
  }

  .live-card {
    position: relative;
    inset: auto;
    width: calc(100% - 20px);
    margin: 0 auto;
  }

  .live-card {
    min-width: 0;
    padding: 16px 18px;
    border-radius: 22px 22px 10px 22px;
  }

  .live-card svg {
    width: 38px;
    height: 38px;
  }

  .live-card strong {
    font-size: 22px;
  }

  .hero-facts,
  .capability-grid,
  .feature-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .hero-facts {
    gap: 12px;
    margin-top: 14px;
  }

  .hero-facts article {
    min-height: auto;
    padding: 20px;
    border-radius: 24px;
  }

  .hero-facts strong {
    font-size: 29px;
  }

  .hero-facts span {
    margin-top: 8px;
    font-size: 16px;
  }

  .section-heading {
    text-align: left;
  }

  .phone-scene {
    min-height: 430px;
    padding: 18px;
  }

  .phone-scene img {
    width: min(88%, 360px);
    max-height: 520px;
  }

  .phone-note {
    position: static;
    margin-top: 10px;
    justify-self: stretch;
    justify-content: center;
  }

  .video-tab {
    grid-template-columns: 92px 1fr;
  }

  .video-tab img {
    width: 92px;
    height: 52px;
  }

  .document-card {
    grid-template-columns: auto 1fr;
  }

  .document-card b {
    grid-column: 2;
  }

  .map-panel {
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 360px) {
  .section-inner {
    width: min(100% - 20px, var(--section));
  }

  .brand img {
    width: 142px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 17px;
  }

  .hero-stage__panel {
    width: calc(100% - 16px);
    padding: 22px 16px 20px;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: 26px;
  }

  .hero-stage__panel p:not(.eyebrow),
  .app-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .button {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .live-card {
    width: calc(100% - 16px);
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .round-link,
  .reveal {
    animation: none;
    transition: none;
  }
}
