:root {
  color-scheme: light;
  --bg: #f6f8f8;
  --bg-strong: #eef4f3;
  --surface: #ffffff;
  --surface-quiet: #f9fbfb;
  --ink: #081516;
  --ink-soft: #2b3d3e;
  --muted: #667475;
  --line: #dbe5e3;
  --line-strong: #b7c9c6;
  --teal: #0c8f87;
  --teal-dark: #05635f;
  --teal-soft: #e3f5f2;
  --amber: #b77716;
  --amber-soft: #fff2d6;
  --danger-soft: #f8e4dc;
  --shadow-soft: 0 18px 44px rgba(8, 21, 22, .08);
  --shadow-card: 0 10px 30px rgba(8, 21, 22, .07);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 380px, var(--bg) 980px),
    var(--bg);
  font-family: var(--font);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(219, 229, 227, .86);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-strong);
}

.nav-link {
  display: inline-flex;
  min-width: 92px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #445455;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 21, 22, .08);
}

.top-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 880;
  text-decoration: none;
  white-space: nowrap;
}

.top-cta,
.primary-button {
  border: 1px solid var(--teal-dark);
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(12, 143, 135, .2);
}

.top-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.primary-button,
.secondary-button {
  padding: 0 18px;
}

.primary-button.small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  color: var(--teal-dark);
  background: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

main {
  display: grid;
  gap: 22px;
  padding: 28px clamp(18px, 4vw, 52px) 54px;
}

.section-shell {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
  padding: clamp(12px, 2vw, 24px) 0 12px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  align-content: center;
  padding-top: clamp(54px, 8vh, 94px);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(58px, 7vw, 112px);
  line-height: .88;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-wall {
  display: grid;
  grid-template-columns: 1.18fr .68fr .72fr;
  grid-template-rows: 148px 148px 130px 130px;
  gap: 12px;
  align-items: stretch;
}

.wall-panel,
.product-card,
.hub-node,
.spoke,
.account-section,
.final-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.wall-panel {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.wall-main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  grid-template-rows: auto minmax(0, 1fr);
}

.wall-main img,
.wall-pdf img,
.wall-account img,
.wall-drones img,
.wall-guide img,
.wall-editor img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.wall-main img {
  height: 100%;
}

.panel-top {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.panel-top.compact {
  min-height: 42px;
}

.panel-top strong,
.wall-panel strong {
  font-size: 14px;
  line-height: 1.2;
}

.panel-top small,
.wall-panel small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.app-mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.app-mark.light {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.app-mark.amber {
  color: #7b4c07;
  background: var(--amber-soft);
}

.app-mark.dark {
  color: #ffffff;
  background: var(--ink);
}

.state-dot {
  display: inline-flex;
  width: max-content;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.state-dot.is-live {
  margin-left: auto;
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.state-dot.is-prepared {
  color: #7b4c07;
  background: var(--amber-soft);
}

.wall-pdf,
.wall-account,
.wall-drones {
  grid-template-rows: auto 1fr;
}

.wall-pdf {
  grid-column: 3;
  grid-row: 1;
}

.wall-account {
  grid-column: 1;
  grid-row: 3;
}

.wall-events {
  gap: 12px;
  align-content: stretch;
  padding: 12px;
}

.wall-guide,
.wall-editor {
  grid-template-rows: auto minmax(0, 1fr);
  padding: 0;
}

.wall-guide {
  grid-column: 3;
  grid-row: 2 / 4;
}

.wall-editor {
  grid-column: 1;
  grid-row: 4;
}

.wall-drones {
  grid-column: 2;
  grid-row: 3;
}

.wall-events {
  grid-column: 2 / 4;
  grid-row: 4;
}

.phone-shell,
.phone-mockup {
  display: grid;
  gap: 8px;
  min-height: 176px;
  padding: 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
    var(--ink);
}

.phone-shell span,
.phone-mockup span {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-shell strong,
.phone-mockup strong {
  font-size: 18px;
}

.phone-shell small,
.phone-mockup small {
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .1);
  font-size: 11px;
  font-weight: 800;
}

.editor-frame,
.editor-mockup {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8, 21, 22, .24) 0 49.5%, #ffffff 49.5% 50.5%, rgba(12, 143, 135, .24) 50.5%),
    linear-gradient(135deg, #f4bd65, #9bd8cf);
}

.editor-frame span,
.editor-mockup span {
  position: absolute;
  top: 10px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 21, 22, .72);
  font-size: 11px;
  font-weight: 850;
}

.editor-frame span:first-child,
.editor-mockup span:first-child {
  left: 10px;
}

.editor-frame span:last-child,
.editor-mockup span:last-child {
  right: 10px;
}

.wall-events {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.wall-events strong {
  font-size: 18px;
}

.section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.product-copy p,
.product-card p,
.hub-node p,
.spoke small,
.account-copy p,
.flow-list p,
.final-cta p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading p {
  max-width: 650px;
  margin-top: 12px;
  font-size: 17px;
}

.quiet-link,
.text-link {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.ecosystem {
  padding-top: 22px;
}

.ecosystem-map {
  display: grid;
  grid-template-columns: minmax(260px, .36fr) minmax(0, .64fr);
  gap: 14px;
  align-items: stretch;
}

.hub-node {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 360px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 242, 214, .58), rgba(255, 255, 255, 0) 50%),
    #ffffff;
}

.hub-node .app-mark {
  width: 48px;
  height: 48px;
  font-size: 15px;
}

h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.hub-node a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.spoke-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spoke {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 174px;
  padding: 20px;
  text-decoration: none;
}

.spoke span,
.product-status {
  display: inline-flex;
  width: max-content;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.spoke.is-doc span {
  color: #445455;
  background: var(--bg-strong);
}

.spoke.is-photo span {
  color: #0c5d62;
  background: #e2f3f7;
}

.spoke.is-guide span {
  color: #7b4c07;
  background: var(--amber-soft);
}

.spoke.is-drone span {
  color: #ffffff;
  background: var(--ink);
}

.spoke.is-soon span,
.product-status.prepared {
  color: #7b4c07;
  background: var(--amber-soft);
}

.product-section {
  padding-top: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
}

.product-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .38fr) minmax(0, .62fr);
  gap: 18px;
  align-items: stretch;
  min-height: 330px;
  padding: 22px;
}

.product-wide.reverse {
  grid-template-columns: minmax(0, .58fr) minmax(280px, .42fr);
}

.product-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.product-status.muted {
  color: #445455;
  background: var(--bg-strong);
}

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

.media-frame {
  min-width: 0;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-quiet);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: top center;
}

.app-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 380px;
  padding: 18px;
}

.app-card.visual-card {
  grid-template-rows: auto 1fr;
}

.visual-card .media-frame img {
  height: 210px;
  min-height: 210px;
  object-position: top center;
}

.phone-mockup,
.editor-mockup,
.market-mockup {
  min-height: 190px;
}

.editor-mockup {
  border: 1px solid var(--line);
}

.market-mockup {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(183, 119, 22, .28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.market-mockup span {
  color: #7b4c07;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-mockup small {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(183, 119, 22, .2);
  border-radius: 6px;
  color: #6a5a3f;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(260px, .35fr) minmax(0, .65fr);
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
  background:
    linear-gradient(110deg, var(--ink) 0, #123334 42%, #ffffff 42.2%),
    #ffffff;
}

.account-copy {
  display: grid;
  gap: 14px;
  color: #ffffff;
}

.account-copy h2 {
  color: #ffffff;
}

.account-copy p {
  color: rgba(255, 255, 255, .75);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.flow-list span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.flow-list strong {
  font-size: 16px;
}

.flow-list p {
  font-size: 14px;
}

.final-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 28px;
}

.final-cta h2 {
  font-size: clamp(32px, 4.8vw, 58px);
}

.final-cta p {
  max-width: 680px;
  margin-top: 12px;
  font-size: 17px;
}

.site-footer {
  display: flex;
  width: min(100% - clamp(36px, 8vw, 104px), 1480px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 22px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer .brand {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(12, 143, 135, .34);
  outline-offset: 3px;
}

@media (hover: hover) {
  .nav-link,
  .primary-button,
  .secondary-button,
  .top-cta,
  .quiet-link,
  .text-link,
  .spoke,
  .site-footer a {
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .primary-button:hover,
  .top-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(12, 143, 135, .24);
  }

  .secondary-button:hover,
  .spoke:hover {
    border-color: var(--line-strong);
    transform: translateY(-1px);
  }

  .quiet-link:hover,
  .text-link:hover,
  .site-footer a:hover {
    color: var(--teal);
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .top-cta {
    justify-self: end;
  }

  .hero,
  .ecosystem-map,
  .account-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .wall-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .wall-pdf,
  .wall-account,
  .wall-guide,
  .wall-editor,
  .wall-drones,
  .wall-events {
    grid-column: auto;
    grid-row: auto;
  }

  .wall-guide {
    min-height: 0;
  }

  .account-section {
    background: var(--ink);
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    background: #ffffff;
  }

  main {
    gap: 18px;
    padding: 18px 16px 38px;
  }

  .topbar {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand-copy small {
    display: none;
  }

  .top-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .main-nav {
    top: 66px;
    right: 12px;
    left: 12px;
  }

  .hero {
    gap: 22px;
    padding-top: 4px;
  }

  .hero-copy {
    gap: 18px;
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .hero-copy p {
    font-size: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-wall,
  .spoke-list,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-wall {
    display: flex;
    gap: 10px;
    min-width: 0;
    margin-inline: -2px;
    padding: 0 2px 10px;
    align-items: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .product-wall .wall-panel {
    flex: 0 0 84%;
    height: 340px;
    min-height: 0;
    align-self: flex-start;
    scroll-snap-align: start;
  }

  .product-wall .wall-main {
    flex-basis: 88%;
  }

  .wall-main {
    grid-row: auto;
  }

  .wall-main img {
    height: 250px;
  }

  .wall-guide,
  .wall-editor,
  .wall-events {
    min-height: 0;
  }

  .wall-events {
    align-content: center;
  }

  .section-heading,
  .final-cta,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .ecosystem {
    padding-top: 8px;
  }

  .hub-node {
    min-height: 280px;
    padding: 22px;
  }

  .product-wide,
  .product-wide.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .product-wide.reverse .media-frame {
    order: 2;
  }

  .product-wide.reverse .product-copy {
    order: 1;
  }

  .media-frame img {
    min-height: 220px;
  }

  .app-card {
    min-height: 0;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    min-height: 0;
  }

  .site-footer {
    width: calc(100% - 32px);
  }
}

@media (max-width: 520px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .top-cta {
    display: none;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .nav-link {
    justify-content: flex-start;
    min-width: 0;
    padding: 0 12px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .product-wall {
    gap: 10px;
  }

  .wall-pdf,
  .wall-account,
  .wall-drones {
    min-height: 150px;
  }

  .panel-top {
    min-height: 44px;
  }

  .wall-main img {
    height: 212px;
  }

  .primary-button,
  .secondary-button {
    min-height: 44px;
    width: 100%;
  }

  .product-actions {
    display: grid;
  }
}
