:root {
  --brand: #83ccd5;
  --brand-deep: #267b8b;
  --navy: #08172c;
  --navy-2: #10243a;
  --ink: #142231;
  --muted: #65717d;
  --line: #dce6ec;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --silver: #e9f0f4;
  --accent: #d7a33c;
  --danger: #aa4f45;
  --shadow: 0 18px 48px rgba(8, 23, 44, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.quick-links {
  scroll-margin-top: 90px;
}

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 230, 236, 0.86);
  display: flex;
  gap: 22px;
  height: 78px;
  justify-content: space-between;
  left: 0;
  padding: 0 34px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 150px;
}

.brand img {
  background: var(--navy);
  border-radius: 6px;
  height: 40px;
  padding: 7px;
  width: 40px;
}

.brand span {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.site-nav {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 2px;
  justify-content: center;
}

.site-nav a {
  border-radius: 6px;
  color: #314150;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 9px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e9f6f8;
  color: var(--brand-deep);
  outline: none;
}

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

.partner-button,
.language-select {
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 40px;
}

.partner-button {
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 850;
  padding: 9px 12px;
  text-transform: uppercase;
}

.language-select {
  background: white;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  padding: 8px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 9px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
}

.hero {
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 23, 44, 0.9) 0%, rgba(8, 23, 44, 0.73) 36%, rgba(8, 23, 44, 0.2) 76%),
    linear-gradient(180deg, rgba(8, 23, 44, 0.08), rgba(8, 23, 44, 0.42));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: white;
  max-width: 760px;
  padding: 188px 42px 120px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand);
}

.hero h1 {
  font-size: 58px;
  line-height: 1.03;
  margin: 0;
  max-width: 760px;
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  margin: 22px 0 0;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

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

.button-primary {
  background: var(--brand);
  color: #06212b;
  box-shadow: 0 14px 28px rgba(131, 204, 213, 0.24);
}

.button-primary:hover {
  background: #9bd9e0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
}

.wide {
  width: 100%;
}

.quick-links {
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-links a {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 128px;
  padding: 28px 34px;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links strong,
.quick-links span {
  display: block;
}

.quick-links strong {
  font-size: 17px;
  margin-bottom: 8px;
}

.quick-links span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.section {
  padding: 94px 42px;
}

.section-heading {
  margin: 0 auto 36px;
  max-width: 1180px;
}

.section-heading h2 {
  font-size: 40px;
  line-height: 1.12;
  margin: 0;
  max-width: 780px;
}

.section-heading.split {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.section-note {
  color: var(--muted);
  margin: 0;
  max-width: 420px;
}

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

.company-layout,
.selector-layout,
.sample-layout,
.contact-layout {
  display: grid;
  gap: 34px;
  margin: 0 auto;
  max-width: 1180px;
}

.company-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.72fr);
}

.company-copy p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

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

.metric-grid div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.metric-grid strong {
  color: var(--brand-deep);
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 800;
}

.segmented {
  background: #edf3f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  padding: 4px;
}

.segmented button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #415160;
  font-size: 13px;
  font-weight: 900;
  min-height: 40px;
  min-width: 88px;
  padding: 8px 12px;
}

.segmented button.active {
  background: white;
  box-shadow: 0 8px 20px rgba(8, 23, 44, 0.1);
  color: var(--brand-deep);
}

.product-grid,
.catalog-grid,
.network-grid,
.news-grid {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
}

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

.product-card,
.catalog-card,
.network-grid article,
.news-grid article,
.selector-result,
.sample-form,
.download-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(8, 23, 44, 0.04);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 366px;
  padding: 24px;
}

.product-code {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 20px;
  line-height: 1.22;
  margin: 10px 0 8px;
}

.product-card p,
.catalog-card p,
.news-grid p {
  color: var(--muted);
  margin: 0;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.product-tags span {
  background: #eef6f7;
  border-radius: 6px;
  color: #315563;
  font-size: 12px;
  font-weight: 850;
  padding: 7px 9px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.small-button,
.text-link {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  min-height: 40px;
}

.small-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 9px 12px;
}

.text-link {
  color: var(--brand-deep);
}

.catalog-section {
  background: #f8fafb;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  padding: 26px;
}

.catalog-card h3 {
  font-size: 21px;
  margin: 0 0 14px;
}

.catalog-card ul {
  color: var(--muted);
  margin: 18px 0 0;
  padding: 0 0 0 18px;
}

.catalog-card li {
  margin: 8px 0;
}

.selector-section {
  background: #eaf3f6;
}

.selector-layout {
  align-items: start;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.7fr);
}

.selector-form {
  align-items: end;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  padding: 26px;
}

.selector-form .button {
  white-space: nowrap;
}

label {
  color: #334452;
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
}

input,
select,
textarea {
  background: #f8fafb;
  border: 1px solid #ccd9df;
  border-radius: 6px;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(131, 204, 213, 0.28);
  outline: none;
}

.selector-result {
  box-shadow: var(--shadow);
  padding: 26px;
}

.selector-result h3 {
  font-size: 24px;
  margin: 10px 0 10px;
}

.selector-result p {
  color: var(--muted);
  margin: 0 0 18px;
}

.status-pill {
  background: #dff3f6;
  border-radius: 999px;
  color: var(--brand-deep);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.sample-layout {
  grid-template-columns: minmax(0, 0.74fr) minmax(460px, 0.9fr);
}

.sample-section h2,
.contact-section h2 {
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 18px;
}

.sample-section p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.sample-form {
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 26px;
}

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

.form-output {
  border-radius: 6px;
  color: var(--brand-deep);
  display: none;
  font-size: 14px;
  font-weight: 850;
  padding: 12px 14px;
}

.form-output.active {
  background: #e3f6f8;
  display: block;
}

.network-section {
  background: var(--navy);
  color: white;
}

.network-section .eyebrow {
  color: var(--brand);
}

.network-section .section-heading h2 {
  color: white;
}

.network-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.network-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  min-height: 190px;
  padding: 24px;
}

.network-grid strong,
.network-grid span {
  display: block;
}

.network-grid strong {
  color: white;
  font-size: 18px;
  margin-bottom: 12px;
}

.network-grid span {
  color: rgba(255, 255, 255, 0.68);
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid article {
  min-height: 230px;
  padding: 26px;
}

.news-grid span {
  color: var(--brand-deep);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.news-grid h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
}

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

.contact-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
}

.contact-list {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.contact-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 150px 1fr;
  padding: 16px 0;
}

.contact-list strong {
  color: var(--ink);
}

.contact-list span {
  color: var(--muted);
}

.download-panel {
  align-self: start;
  padding: 24px;
}

.download-panel h3 {
  font-size: 22px;
  margin: 0 0 14px;
}

.download-panel a {
  border-top: 1px solid var(--line);
  color: var(--brand-deep);
  display: block;
  font-weight: 900;
  padding: 14px 0;
}

.site-footer {
  align-items: center;
  background: #06111f;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: space-between;
  min-height: 84px;
  padding: 22px 42px;
}

.site-footer div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.site-footer img {
  height: 32px;
  width: 32px;
}

.site-footer strong {
  color: white;
}

.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a,
.site-footer button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  padding: 0;
}

dialog {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  max-width: min(920px, calc(100vw - 32px));
  padding: 0;
}

dialog::backdrop {
  background: rgba(5, 15, 30, 0.62);
}

.dialog-close {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 0 8px 0 8px;
  color: white;
  display: inline-flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
}

.product-dialog {
  width: 920px;
}

.product-dialog-content,
.partner-panel,
.legal-panel {
  padding: 34px;
}

.product-dialog-content h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 48px 12px 0;
}

.product-dialog-content p {
  color: var(--muted);
  margin: 0 0 20px;
}

.detail-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
}

.spec-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-list div {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.spec-list dt,
.spec-list dd {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 12px;
}

.spec-list dt {
  background: #f6fafb;
  color: var(--muted);
  font-weight: 900;
}

.spec-list dd {
  font-weight: 800;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.partner-panel,
.legal-panel {
  width: min(560px, calc(100vw - 32px));
}

.partner-panel h2,
.legal-panel h2 {
  font-size: 30px;
  margin: 0 48px 12px 0;
}

.partner-panel p,
.legal-panel p {
  color: var(--muted);
}

.partner-panel label {
  margin-top: 16px;
}

[dir="rtl"] .site-nav,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .product-actions,
[dir="rtl"] .site-footer nav {
  direction: rtl;
}

[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(8, 23, 44, 0.9) 0%, rgba(8, 23, 44, 0.73) 36%, rgba(8, 23, 44, 0.2) 76%),
    linear-gradient(180deg, rgba(8, 23, 44, 0.08), rgba(8, 23, 44, 0.42));
}

[dir="rtl"] .dialog-close {
  left: 0;
  right: auto;
}

[dir="rtl"] .catalog-card ul {
  padding: 0 18px 0 0;
}

@media (max-width: 1120px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-block;
    order: 3;
  }

  .site-nav {
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    min-width: 240px;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 68px;
  }

  .site-nav.open {
    display: flex;
  }

  [dir="rtl"] .site-nav {
    left: 20px;
    right: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .product-grid,
  .catalog-grid,
  .network-grid,
  .news-grid,
  .company-layout,
  .selector-layout,
  .sample-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .selector-layout,
  .sample-layout,
  .contact-layout,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .selector-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 70px;
    gap: 10px;
    padding: 0 14px;
  }

  .brand span {
    font-size: 18px;
  }

  .partner-button {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding: 130px 18px 72px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .quick-links,
  .product-grid,
  .catalog-grid,
  .network-grid,
  .news-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    min-height: 112px;
    padding: 24px 20px;
  }

  .section {
    padding: 72px 18px;
  }

  .section-heading h2,
  .sample-section h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .section-heading.split {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    overflow-x: auto;
    width: 100%;
  }

  .segmented button {
    min-width: 134px;
  }

  .field-row,
  .contact-list div,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}
