:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f9fafb;
  --text: #111827;
  --muted: #64748b;
  --border: #d9e0ea;
  --primary: #1d4ed8;
  --primary-dark: #173ea8;
  --success: #15803d;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

#turnkey-credit {
  display: none !important;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  left: 18px;
  position: fixed;
  top: -120px;
  z-index: 100;
  border-radius: 6px;
  background: var(--text);
  color: #fff;
  padding: 10px 12px;
}

.skip-link:focus {
  top: 18px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 224, 234, 0.82);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-width: 224px;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.text-brand {
  display: block;
  min-width: 224px;
  color: #081033;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
}

.nav a {
  color: #081033;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav .has-chevron::after {
  margin-left: 6px;
  color: var(--muted);
  content: "⌄";
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.button:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(29, 78, 216, 0.78);
  background: #fff;
  color: var(--primary);
}

.button.secondary:hover {
  background: #f8fbff;
  color: var(--primary-dark);
}

.section {
  padding: 72px 0;
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.slim-band {
  padding: 28px 0 64px;
}

.hero {
  padding: 34px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #081033;
  font-size: clamp(40px, 3.7vw, 48px);
  font-weight: 790;
  letter-spacing: 0;
  line-height: 1.04;
}

.lede {
  max-width: 620px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-notes span {
  border-left: 3px solid var(--success);
  padding: 4px 0 4px 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
}

.hero-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 338px;
  border-bottom: 0;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.hardware-panel {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.concept-media {
  align-self: stretch;
}

.hardware-panel img {
  width: 132px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.hardware-panel strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.hardware-panel span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 770;
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 730;
  line-height: 1.22;
}

p {
  margin: 0;
}

.section-heading p,
.split p,
.support-grid p,
.faq-grid p,
.card-body p,
.support-rail p,
.resource-card span,
.library-group a {
  color: var(--muted);
}

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

.strip-title {
  margin: 38px 0 0;
  color: #081033;
  font-size: 24px;
  font-weight: 800;
}

.support-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.quick-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  min-height: 180px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.quick-card img {
  width: 100%;
  height: 126px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.quick-card h3 {
  margin-bottom: 8px;
  color: #081033;
  font-size: 20px;
  line-height: 1.08;
}

.quick-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

.quick-card a,
.resource-card strong,
.library-group a {
  font-weight: 750;
}

.support-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin-top: 0;
}

.support-rail article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-content: center;
  align-items: center;
  border: 1px solid var(--border);
  background: #fff;
  padding: 28px;
}

.support-rail article:first-child {
  border-radius: 8px 0 0 8px;
}

.support-rail article:last-child {
  border-radius: 0 8px 8px 0;
}

.support-rail article + article {
  border-left: 0;
}

.support-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef3ff;
}

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

.resource-card {
  display: grid;
  min-height: 164px;
  align-content: start;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.resource-card:hover,
.library-group a:hover {
  border-color: #a9b8cf;
  background: var(--surface-muted);
  text-decoration: none;
}

.resource-card.featured {
  border-color: rgba(29, 78, 216, 0.36);
  background: #f8fbff;
}

.resource-type {
  color: var(--success) !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.library-group {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.library-group h3 {
  margin-bottom: 4px;
}

.library-group a {
  display: block;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 14px;
}

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

.product-card,
.check-panel,
.contact-card,
.safety-card,
.faq-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  object-fit: cover;
  object-position: center;
}

.card-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.feature-list,
.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  font-size: 14px;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: start;
}

.split > div:first-child {
  display: grid;
  gap: 18px;
}

.check-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

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

.document-list a {
  display: flex;
  min-height: 76px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.document-list a:hover {
  border-color: #a9b8cf;
  background: var(--surface-muted);
  text-decoration: none;
}

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

.faq-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 320px 320px;
  gap: 18px;
  align-items: stretch;
}

.support-grid > div:first-child {
  display: grid;
  align-content: center;
  gap: 14px;
  padding-right: 18px;
}

.contact-card,
.safety-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.contact-card a {
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 940px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .split,
  .support-grid,
  .support-rail {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .document-list,
  .quick-grid,
  .resource-grid,
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .header-button {
    width: 100%;
  }

  .text-brand {
    width: 100%;
    min-width: 0;
    font-size: 24px;
  }

  .nav {
    gap: 16px;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-copy,
  .hero-media {
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .lede {
    font-size: 17px;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media > img {
    height: 220px;
  }

  .hardware-panel {
    grid-template-columns: 1fr;
  }

  .hardware-panel img {
    width: 100%;
    max-height: 190px;
  }

  .product-grid,
  .document-list,
  .faq-grid,
  .quick-grid,
  .resource-grid,
  .library-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-card img {
    max-height: 190px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }
}
