:root {
  --bg: #080c10;
  --panel: #111820;
  --panel-2: #16212b;
  --text: #f3f7f8;
  --muted: #a7b4bb;
  --line: #33414c;
  --teal: #20c7b6;
  --teal-dark: #0b756d;
  --amber: #f0ad3d;
  --blue: #3f7bec;
  --danger: #ffb4ab;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 12, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 750;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--panel-2);
  outline: none;
}

.site-nav .nav-cta,
.button.primary {
  color: #06100f;
  background: var(--teal);
  border-color: var(--teal);
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 9px 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(720px, 78vh);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 72px clamp(18px, 5vw, 74px);
  background-image: url("assets/hero-pos-counter.png");
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid var(--line);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 11, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
  color: #d7e0e3;
  font-size: clamp(17px, 2vw, 21px);
  overflow-wrap: break-word;
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
}

.button.secondary {
  color: var(--text);
  background: rgba(17, 24, 32, 0.78);
  border-color: #526271;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 34px 0 0;
}

.hero-metrics div,
.feature-card,
.price-card,
.policy-card,
.contact-panel {
  background: rgba(17, 24, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 12px;
}

.hero-metrics dt {
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 74px clamp(18px, 5vw, 74px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 720px;
}

.intro-section {
  background: #0d1319;
}

.download-section {
  background: #0b1118;
}

.download-panel {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 980px;
  padding: 24px;
  background: rgba(17, 24, 32, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(32, 199, 182, 0.34);
}

.download-panel p {
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.download-details {
  margin: 14px 0 0;
  font-size: 13px;
}

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

.feature-card {
  padding: 20px;
}

.feature-card p,
.feature-list p,
.price-card li,
.policy-page p,
.policy-page li,
.contact-panel p {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--teal);
  border: 1px solid rgba(32, 199, 182, 0.5);
  border-radius: 8px;
  font-weight: 900;
}

.split-section {
  background: #10171d;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-list > div {
  padding: 22px;
  background: #0d1319;
}

.pricing-section {
  background: #0a1015;
}

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

.price-card {
  padding: 20px;
}

.price-card.highlighted {
  border-color: var(--teal);
}

.price-card.accent {
  border-color: rgba(240, 173, 61, 0.68);
}

.price-card.muted-plan {
  border-color: rgba(63, 123, 236, 0.62);
}

.price-card.upcoming-plan {
  border-color: rgba(240, 173, 61, 0.62);
}

.plan-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 8px;
  color: var(--teal);
  border: 1px solid rgba(32, 199, 182, 0.55);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card.accent .plan-tag {
  color: var(--amber);
  border-color: rgba(240, 173, 61, 0.58);
}

.price-card.muted-plan .plan-tag {
  color: #8eb2ff;
  border-color: rgba(63, 123, 236, 0.58);
}

.price-card.upcoming-plan .plan-tag {
  color: var(--amber);
  border-color: rgba(240, 173, 61, 0.58);
}

.price {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 950;
}

.period,
.pricing-note {
  color: var(--muted);
}

.price-card ul {
  padding-left: 18px;
}

.hardware-section {
  background: #10171d;
}

.hardware-card {
  display: flex;
  flex-direction: column;
}

.hardware-card .plan-tag {
  margin-bottom: 12px;
}

.pc-hardware-card {
  border-color: rgba(32, 199, 182, 0.62);
}

.setup-hardware-card {
  border-color: rgba(240, 173, 61, 0.62);
}

.hardware-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.hardware-list li + li {
  margin-top: 8px;
}

.cta-section {
  justify-content: space-between;
  background: #15201d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-section > div {
  max-width: 760px;
}

.cta-section p {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 74px);
  background: #080c10;
  border-top: 1px solid var(--line);
}

.site-footer p,
.copyright {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav a {
  color: var(--muted);
  font-weight: 750;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.policy-hero,
.contact-hero {
  padding: 70px clamp(18px, 5vw, 74px) 34px;
  background: #10171d;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1,
.contact-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 5vw, 58px);
}

.policy-hero p,
.contact-hero p {
  max-width: 760px;
  color: var(--muted);
}

.policy-page,
.contact-page {
  padding: 40px clamp(18px, 5vw, 74px) 74px;
  background: #0d1319;
}

.policy-card,
.contact-panel {
  max-width: 980px;
  padding: clamp(22px, 4vw, 36px);
}

.policy-card h2 {
  margin-top: 32px;
  font-size: 26px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card a,
.contact-panel a {
  color: var(--teal);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 980px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1118;
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  font-weight: 850;
}

@media (max-width: 1000px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

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

  .site-nav a {
    border: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

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

  .hero-metrics,
  .download-panel,
  .intro-grid,
  .hardware-grid,
  .feature-list,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .download-icon {
    width: 78px;
    height: 78px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 36px;
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .button,
  .download-actions .button,
  .cta-section .button {
    width: 100%;
  }

  .price {
    font-size: 30px;
  }
}
