:root {
  color-scheme: light;
  --ink: #132033;
  --muted: #5f6f86;
  --line: #dce5ef;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --cyan: #13c8df;
  --blue: #246ee9;
  --violet: #8d5cf6;
  --green: #6ecb58;
  --amber: #f5b63a;
  --navy: #10253f;
  --shadow: 0 24px 80px rgba(20, 44, 80, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  background: #ffffff;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 27, 47, 0.88);
  color: #fff;
  backdrop-filter: blur(18px);
}

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

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

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

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: calc(92vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0f223c;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.94), rgba(8, 19, 35, 0.62) 42%, rgba(8, 19, 35, 0.12)),
    linear-gradient(0deg, rgba(8, 19, 35, 0.78), rgba(8, 19, 35, 0.08) 42%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(19, 200, 223, 0.26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  max-width: 500px;
  margin: 30px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.section-head {
  max-width: 760px;
}

.products {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 34px auto 0;
}

.products .section-head {
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(26, 55, 88, 0.08);
}

.product-card.featured {
  grid-row: span 2;
  background: linear-gradient(180deg, #13243c 0%, #243f66 100%);
  color: #ffffff;
}

.product-card.accent {
  border-top: 5px solid var(--amber);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.category {
  color: #05333a;
  background: rgba(19, 200, 223, 0.16);
}

.featured .category {
  color: #e8fbff;
  background: rgba(19, 200, 223, 0.24);
}

.product-card p {
  color: var(--muted);
}

.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.model-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.model-list li {
  overflow: hidden;
}

.model-list li a {
  display: grid;
  grid-template-columns: minmax(92px, 0.6fr) 1.4fr;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
}

.model-list li:has(a) {
  padding: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.model-list li:has(a):hover {
  border-color: rgba(19, 200, 223, 0.62);
  box-shadow: 0 12px 30px rgba(19, 54, 90, 0.12);
  transform: translateY(-1px);
}

.model-list li:not(:has(a)) {
  display: grid;
  grid-template-columns: minmax(92px, 0.6fr) 1.4fr;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
}

.model-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.featured .model-list li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.model-list strong {
  color: var(--green);
  font-size: 16px;
}

.model-list span {
  color: var(--muted);
  font-size: 14px;
}

.featured .model-list span {
  color: rgba(255, 255, 255, 0.72);
}

.applications {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.applications .section-head,
.application-strip {
  max-width: 1180px;
  margin-inline: auto;
}

.application-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.application-strip article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.application-strip article:nth-child(even) {
  background: #f6f9fc;
}

.application-strip article:last-child {
  border-right: 0;
}

.application-strip span {
  display: block;
  margin-bottom: 52px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.application-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.roadmap {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 34px;
  align-items: center;
}

.roadmap-copy p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.roadmap-image {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.roadmap-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left center;
}

.contact {
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 84px;
  padding: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10253f 0%, #21476f 62%, #315f5f 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.contact p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.detail-page {
  background: #ffffff;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.56fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: 92px clamp(20px, 5vw, 72px) 76px;
  background:
    linear-gradient(90deg, rgba(9, 24, 43, 0.92), rgba(13, 40, 67, 0.78)),
    url("assets/runa-logo-hero.png") center / cover no-repeat;
  color: #ffffff;
}

.detail-hero h1 {
  margin-bottom: 18px;
}

.detail-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 800;
}

.back-link:hover {
  color: #ffffff;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.detail-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-panel div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.detail-panel dd {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
}

.detail-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 0;
}

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

.detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(26, 55, 88, 0.08);
}

.detail-card h2,
.related-section h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.detail-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.spec-table-wrap {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 220px;
  background: #f5f8fb;
  color: var(--ink);
  font-weight: 900;
}

.spec-table td {
  color: var(--muted);
}

.related-section {
  padding-bottom: 86px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.related-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.related-card:hover {
  border-color: rgba(19, 200, 223, 0.62);
  box-shadow: 0 12px 30px rgba(19, 54, 90, 0.12);
  transform: translateY(-1px);
}

.related-card strong {
  color: var(--green);
  font-size: 22px;
  line-height: 1.15;
}

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

.contact-page {
  background: #ffffff;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 92px clamp(20px, 5vw, 72px) 76px;
  background:
    linear-gradient(90deg, rgba(9, 24, 43, 0.94), rgba(13, 40, 67, 0.76)),
    url("assets/runa-logo-hero.png") center / cover no-repeat;
  color: #ffffff;
}

.contact-email-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.contact-email-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 800;
}

.contact-email-card strong {
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  word-break: keep-all;
}

.contact-email-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-email-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

.contact-email-card a:hover {
  border-color: rgba(19, 200, 223, 0.72);
  background: rgba(19, 200, 223, 0.18);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.support-grid article,
.message-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(26, 55, 88, 0.08);
}

.support-grid article:nth-child(even) {
  background: #f7fafc;
}

.support-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.message-guide {
  padding-bottom: 86px;
}

.message-card {
  max-width: 820px;
}

.admin-body {
  background: #f5f8fb;
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 22px;
  background: #10253f;
  color: #ffffff;
}

.admin-logo {
  display: grid;
  gap: 4px;
  padding: 10px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-logo strong {
  font-size: 20px;
  line-height: 1.1;
}

.admin-logo span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.admin-menu {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.admin-menu button,
.admin-side-links a,
.admin-side-links button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.admin-menu button.active,
.admin-menu button:hover,
.admin-side-links a:hover,
.admin-side-links button:hover {
  color: #ffffff;
  background: rgba(19, 200, 223, 0.16);
}

.admin-side-links {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-main {
  min-width: 0;
  padding: 34px clamp(22px, 4vw, 54px) 72px;
}

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

.admin-topbar h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
}

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

.admin-panel {
  display: none;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(26, 55, 88, 0.08);
}

.admin-panel.active {
  display: block;
}

.admin-panel-head,
.admin-series-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-panel-head h2,
.admin-series-head h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.admin-upload,
.admin-button,
.admin-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  background: #f7fafc;
  cursor: pointer;
}

.admin-upload input {
  display: none;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: #05333a;
  background: rgba(19, 200, 223, 0.14);
  font-size: 13px;
  font-weight: 900;
}

.admin-roadmap-preview {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.admin-series-list {
  display: grid;
  gap: 18px;
}

.admin-series {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.admin-series-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.admin-series-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.admin-model-form {
  display: grid;
  gap: 14px;
}

.admin-model-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-model-form input,
.admin-model-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
}

.admin-model-form textarea {
  resize: vertical;
}

.admin-remove {
  justify-self: start;
  color: #b42318;
  background: #fff5f5;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--ink);
  background: #f5f8fb;
  font-weight: 900;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td strong {
  color: var(--green);
  font-size: 16px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-modal.active {
  display: flex;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 32, 0.62);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  padding: 26px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(4, 19, 38, 0.28);
}

.admin-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-modal-head h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.admin-icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f7fafc;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.login-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(9, 24, 43, 0.94), rgba(13, 40, 67, 0.76)),
    url("assets/runa-logo-hero.png") center / cover no-repeat;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.login-card h1 {
  margin-bottom: 12px;
  font-size: 40px;
}

.login-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.login-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
}

.login-form input {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  color: #ffffff;
  font: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.login-message {
  min-height: 20px;
  color: #a7f0fb;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro,
  .roadmap,
  .detail-hero,
  .contact-hero {
    grid-template-columns: 1fr;
  }

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

  .product-card.featured {
    grid-row: auto;
  }

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

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

  .application-strip article:nth-child(2) {
    border-right: 0;
  }

  .application-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    min-height: 0;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(8, 19, 35, 0.96), rgba(8, 19, 35, 0.78)),
      linear-gradient(0deg, rgba(8, 19, 35, 0.82), rgba(8, 19, 35, 0.2));
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding: 58px 0 42px;
  }

  .hero-stats,
  .product-grid,
  .application-strip {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

  .products,
  .applications {
    padding-inline: 16px;
  }

  .product-card {
    min-height: auto;
    padding: 20px;
  }

  .model-list li a,
  .model-list li:not(:has(a)) {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-hero,
  .contact-hero {
    padding: 58px 16px 48px;
  }

  .detail-panel,
  .contact-email-card {
    padding: 22px;
  }

  .contact-email-card strong {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .contact-email-card a {
    width: 100%;
  }

  .detail-panel div,
  .detail-layout,
  .related-grid,
  .support-grid,
  .admin-model-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    position: relative;
    min-height: 0;
  }

  .admin-main {
    padding: 28px 16px 54px;
  }

  .admin-topbar,
  .admin-panel-head,
  .admin-series-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-panel,
  .admin-series,
  .admin-modal-card {
    padding: 18px;
  }

  .admin-modal {
    align-items: stretch;
    padding: 12px;
  }

  .admin-modal-actions {
    flex-direction: column-reverse;
  }

  .admin-modal-actions .button,
  .admin-modal-actions .admin-button {
    width: 100%;
  }

  .detail-section {
    width: min(100% - 32px, 1180px);
    padding-top: 58px;
  }

  .detail-card {
    padding: 24px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 14px 18px;
  }

  .spec-table th {
    border-bottom: 0;
  }

  .application-strip article,
  .application-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .application-strip article:last-child {
    border-bottom: 0;
  }

  .application-strip span {
    margin-bottom: 28px;
  }

  .contact {
    width: calc(100% - 32px);
    padding: 26px;
  }

  .contact .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
