:root {
      --ink: #101820;
      --muted: #5c6873;
      --paper: #f6f8f7;
      --panel: #ffffff;
      --line: #dce4e2;
      --teal: #0d807b;
      --teal-deep: #075c58;
      --amber: #c17923;
      --rose: #a84e61;
      --blue: #336f9f;
      --shadow: 0 18px 45px rgba(16, 24, 32, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      margin: 0;
      display: flex;
      flex-direction: column;
      color: var(--ink);
      background: var(--paper);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.5;
    }

    a {
      color: inherit;
    }

    .hero {
      min-height: 39vh;
      display: grid;
      align-items: end;
      position: relative;
      top: 0px;
      isolation: isolate;
      overflow: hidden;
      color: #ffffff;
      background-image:
        linear-gradient(90deg, rgba(5, 12, 17, 0.9) 0%, rgba(5, 12, 17, 0.72) 38%, rgba(5, 12, 17, 0.2) 78%),
        url("starnet-hero.png");
      background-size: cover;
      background-position: center;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 34%;
      z-index: -1;
      background: linear-gradient(180deg, rgba(5, 12, 17, 0), rgba(5, 12, 17, 0.78));
    }

    .topbar {
      width: 100%;
      min-height: 78px;
      padding: 12px max(16px, calc((100% - 1180px) / 2));
      position: absolute;
      top: 0px;
      inset: 0 0 auto;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      background: linear-gradient(90deg, rgba(4, 11, 16, 0.92), rgba(4, 11, 16, 0.78));
      border-bottom: 1px solid rgba(255, 255, 255, 0.16);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(16px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .brand-mark {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.32);
      border-radius: 8px;
      background: rgba(0, 0, 0, 0.22);
      overflow: hidden;
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .nav a {
      text-decoration: none;
      color: #ffffff;
      font-size: 0.92rem;
      font-weight: 750;
      padding: 9px 12px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.16);
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    }

    .nav a:hover,
    .nav a:focus-visible {
      color: #061917;
      background: #8df3e8;
      border-color: #8df3e8;
      outline: none;
    }

    .hero-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 104px 0 35px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 18px;
      color: #a7fbf1;
      font-size: 0.82rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .eyebrow::before {
      content: "";
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #45e0cf;
      box-shadow: 0 0 0 6px rgba(69, 224, 207, 0.16);
    }

    .card-top .eyebrow {
      margin: 0;
    }

    .eyebrow.offline {
      color: #d7dde2;
    }

    .eyebrow.offline::before {
      background: #8d99a5;
      box-shadow: 0 0 0 6px rgba(141, 153, 165, 0.16);
    }

    h1 {
      max-width: 780px;
      margin: 0;
      font-size: clamp(3rem, 7vw, 6.8rem);
      line-height: 0.95;
      letter-spacing: 0;
    }

    .hero-copy {
      max-width: 700px;
      margin: 24px 0 0;
      color: rgba(255, 255, 255, 0.84);
      font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 32px;
    }

    .button {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 12px 16px;
      border-radius: 7px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      font-weight: 750;
      text-decoration: none;
      transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-1px);
      outline: none;
    }

    .button.primary {
      color: #06201e;
      background: #8df3e8;
      border-color: #8df3e8;
    }

    .button.secondary {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(12px);
    }

    .button svg,
    .icon-button svg,
    .card-action svg {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      stroke-width: 2.2;
    }

    main {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    body > main {
      flex: 1;
    }

    section {
      scroll-margin-top: 96px;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
      gap: 28px;
      align-items: end;
      padding: 58px 0 22px;
    }

    h2 {
      margin: 0;
      font-size: clamp(1.8rem, 3vw, 2.55rem);
      line-height: 1.08;
      letter-spacing: 0;
    }

    .section-head p {
      max-width: 670px;
      margin: 10px 0 0;
      color: var(--muted);
    }

    .search {
      min-height: 48px;
      display: grid;
      grid-template-columns: 22px 1fr;
      align-items: center;
      gap: 10px;
      padding: 0 14px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(16, 24, 32, 0.07);
    }

    .search svg {
      width: 20px;
      height: 20px;
      stroke: var(--muted);
    }

    .search input {
      width: 100%;
      min-width: 0;
      border: 0;
      outline: 0;
      font: inherit;
      color: var(--ink);
      background: transparent;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      padding-bottom: 34px;
    }

    .service-card {
      min-height: 276px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 28px;
      padding: 24px;
      color: var(--ink);
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: var(--shadow);
      text-decoration: none;
      transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
    }

    .service-card[hidden] {
      display: none;
    }

    .service-card:hover,
    .service-card:focus-visible {
      transform: translateY(-3px);
      border-color: rgba(13, 128, 123, 0.38);
      box-shadow: 0 24px 54px rgba(16, 24, 32, 0.16);
      outline: none;
    }

    .card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
    }

    .service-icon {
      width: 50px;
      height: 50px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      color: #ffffff;
    }

    .service-icon svg {
      width: 26px;
      height: 26px;
      stroke-width: 2;
    }

    .mantis {
      background: var(--teal);
    }

    .oder {
      background: var(--amber);
    }

    .daysabers {
      background: var(--rose);
    }

    .night-saber {
      background: var(--blue);
    }

    .service-card h3 {
      margin: 0 0 10px;
      font-size: 1.35rem;
      line-height: 1.12;
      letter-spacing: 0;
    }

    .service-card p {
      margin: 0;
      color: var(--muted);
    }

    .card-action {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--teal-deep);
      font-weight: 800;
    }

    .card-action.offline-action {
      color: var(--muted);
    }

    .resources {
      padding: 24px 0 68px;
    }

    .resource-list {
      display: grid;
      gap: 10px;
    }

    .resource-row {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr) auto;
      align-items: center;
      gap: 14px;
      min-height: 74px;
      padding: 14px 16px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid var(--line);
      border-radius: 8px;
      text-decoration: none;
    }

    .resource-row:hover,
    .resource-row:focus-visible {
      background: #ffffff;
      border-color: rgba(51, 111, 159, 0.36);
      outline: none;
    }

    .resource-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      color: #ffffff;
      background: var(--blue);
    }

    .resource-mark svg {
      width: 22px;
      height: 22px;
    }

    .resource-row strong {
      display: block;
      margin-bottom: 2px;
    }

    .resource-row span {
      color: var(--muted);
      font-size: 0.94rem;
    }

    .resource-row .arrow {
      width: 20px;
      height: 20px;
      stroke: var(--muted);
    }

    .empty {
      display: none;
      padding: 28px;
      text-align: center;
      color: var(--muted);
      background: #ffffff;
      border: 1px dashed #becac7;
      border-radius: 8px;
    }

    .empty.visible {
      display: block;
    }

    footer {
      padding: 10px 0 12px;
      color: var(--muted);
      font-size: 0.86rem;
      text-align: center;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 860px) {
      .hero {
        min-height: 39svh;
        background-position: 58% center;
      }

      .topbar {
        align-items: center;
      }

      .section-head {
        grid-template-columns: 1fr;
      }

      .service-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 560px) {
      .hero-inner {
        padding-top: 140px;
        padding-bottom: 28px;
      }

      h1 {
        font-size: clamp(2.7rem, 16vw, 4.6rem);
      }

            .nav {
        flex-direction: row;
      }

      .button {
        width: 100%;
      }

      .service-card {
        min-height: 236px;
        padding: 20px;
      }

      .resource-row {
        grid-template-columns: 38px minmax(0, 1fr);
      }

      .resource-row .arrow {
        display: none;
      }

      .resource-mark {
        width: 38px;
        height: 38px;
      }
    }
