:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #566070;
  --line: #d9e0e8;
  --paper: #ffffff;
  --surface: #f4f7fa;
  --blue: #185abc;
  --blue-dark: #123e82;
  --green: #23724a;
  --amber: #a75d00;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--surface);
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--blue-dark);
}

a:focus-visible {
  outline: 3px solid rgba(24, 90, 188, 0.32);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(24, 90, 188, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1120px;
  min-height: 570px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 80px) clamp(20px, 4vw, 40px) 64px;
}

.hero-copy {
  max-width: 720px;
}

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

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 9px 13px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.install-panel {
  max-width: 620px;
  margin-top: 30px;
}

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

.install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--blue);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.install-button:hover,
.install-button:focus-visible {
  color: var(--paper);
  background: var(--blue-dark);
}

.install-button-secondary {
  color: var(--blue);
  background: var(--paper);
}

.install-button-secondary:hover,
.install-button-secondary:focus-visible {
  color: var(--blue-dark);
  background: #eef4ff;
}

.install-button-disabled {
  border-color: #b8c2d0;
  color: #526070;
  background: #e5eaf0;
  cursor: not-allowed;
}

.download-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.label-preview {
  display: flex;
  justify-content: center;
}

.paper-sheet {
  width: min(320px, 78vw);
  aspect-ratio: 2 / 3;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 7px, rgba(23, 32, 51, 0.08) 7px 8px, transparent 8px 16px),
    var(--paper);
  box-shadow: var(--shadow);
  padding: 34px 28px;
}

.label-line,
.address-block span,
.label-footer span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #243044;
}

.label-line {
  width: 54%;
  margin-bottom: 11px;
}

.label-line.wide {
  width: 84%;
}

.barcode {
  display: grid;
  grid-template-columns: 8px 4px 12px 5px 18px 6px 4px 14px 7px 11px;
  gap: 5px;
  height: 104px;
  margin: 32px 0;
  align-items: stretch;
}

.barcode span {
  display: block;
  background: #111827;
}

.address-block {
  display: grid;
  gap: 10px;
  max-width: 76%;
  margin-top: 24px;
}

.address-block span:nth-child(2) {
  width: 88%;
}

.address-block span:nth-child(3) {
  width: 64%;
}

.label-footer {
  display: grid;
  gap: 10px;
  margin-top: 42px;
}

.label-footer span {
  background: #7a8596;
}

.label-footer span:first-child {
  width: 92%;
}

.label-footer span:last-child {
  width: 58%;
}

.workflow-section,
.details-section,
.privacy-strip,
.manual-install-section,
.contact-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.section-inner,
.page-title,
.policy-content,
.support-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 40px);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style-position: inside;
}

.workflow li {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--blue);
  color: var(--muted);
}

.workflow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.manual-install-section {
  background: #fbfcfe;
}

.manual-steps {
  margin: 0;
  padding-left: 1.25rem;
}

.manual-steps li {
  margin-bottom: 10px;
  color: var(--muted);
}

code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7f9fb;
  padding: 0.08em 0.32em;
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.94em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.44fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.details-section p,
.privacy-strip p,
.policy-content p,
.support-grid p,
.support-grid li {
  color: var(--muted);
}

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

.check-list li {
  border-left: 4px solid var(--green);
  padding-left: 14px;
  font-weight: 700;
}

.privacy-strip {
  background: #eef6f2;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  font-weight: 700;
}

.page-title {
  padding-top: 64px;
  padding-bottom: 36px;
}

.page-title h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.policy-content {
  max-width: 860px;
  padding-top: 24px;
}

.policy-content h2,
.support-grid h2,
.contact-band h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.policy-content h2:first-child,
.support-grid h2:first-child {
  margin-top: 0;
}

.policy-url {
  overflow-wrap: anywhere;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 54px;
  padding-top: 24px;
}

.support-grid article {
  min-width: 0;
  border-top: 3px solid var(--amber);
  padding-top: 18px;
}

.support-grid ol,
.support-grid ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 40px) 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 8px 0;
}

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

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

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .paper-sheet {
    width: min(280px, 86vw);
  }

  .section-inner,
  .page-title,
  .policy-content,
  .support-grid {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

@media print {
  .site-header,
  .site-footer {
    display: none;
  }

  body {
    background: #ffffff;
  }

  .hero,
  .section-inner,
  .page-title,
  .policy-content,
  .support-grid {
    max-width: none;
    padding: 0;
  }
}
