:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #5b6470;
  --line: #d8dde3;
  --paper: #f7f8f6;
  --white: #ffffff;
  --green: #1f6b4f;
  --green-dark: #104534;
  --gold: #c78a2c;
  --blue: #4657d9;
  --danger: #8f302b;
  --quad-red: #d7193f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  background: rgba(14, 17, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
}

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

.nav-download {
  padding: 6px 10px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--green-dark) !important;
}

.hero {
  min-height: 0;
  height: clamp(460px, 54vh, 620px);
  display: grid;
  align-items: center;
  position: relative;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 10, 12, 0.94) 0%, rgba(8, 13, 15, 0.78) 37%, rgba(8, 13, 15, 0.3) 72%),
    url("assets/secure-pair-app-demo.png") center right / cover no-repeat;
  padding: 68px 36px 40px;
}

.hero-home {
  background:
    linear-gradient(90deg, rgba(5, 10, 12, 0.95) 0%, rgba(8, 13, 15, 0.82) 43%, rgba(8, 13, 15, 0.36) 100%),
    url("assets/secure-pair-real-app.png") center right / cover no-repeat;
}

.hero-secure-pair {
  background:
    linear-gradient(90deg, rgba(5, 10, 12, 0.94) 0%, rgba(8, 13, 15, 0.78) 37%, rgba(8, 13, 15, 0.3) 72%),
    url("assets/secure-pair-app-demo.png") center right / cover no-repeat;
}

.hero-quadcrypt {
  background:
    linear-gradient(90deg, rgba(10, 9, 12, 0.96) 0%, rgba(14, 13, 16, 0.82) 43%, rgba(14, 13, 16, 0.58) 100%),
    url("assets/quadcrypt-icon.png") calc(50% + 350px) center / 300px 300px no-repeat,
    #191417;
}

.hero-cleanup {
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.96) 0%, rgba(22, 29, 32, 0.86) 44%, rgba(36, 50, 48, 0.56) 100%),
    linear-gradient(135deg, #1f6b4f 0%, #20242a 52%, #c78a2c 100%);
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0 14px;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: #16120b;
}

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

.button-secondary.dark {
  border-color: var(--line);
  color: var(--green-dark);
  background: #ffffff;
}

.button.compact {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: 74px 36px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

#products {
  padding-top: 60px;
}

#products .section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

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

.feature {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  min-height: 232px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card-media {
  order: 2;
  min-height: 232px;
  border-left: 1px solid var(--line);
}

.secure-pair-media {
  background: url("assets/secure-pair-app-demo.png") center top / cover no-repeat;
}

.quadcrypt-media {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(135deg, #15191e 0%, #25191e 54%, #332115 100%);
}

.quadcrypt-media::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.quadcrypt-card-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  width: min(430px, 100%);
  color: #f7fafb;
}

.quadcrypt-card-preview img {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.36));
}

.quadcrypt-card-copy {
  display: grid;
  gap: 11px;
}

.vault-state {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.quadcrypt-key-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.quadcrypt-key-strip span {
  height: 10px;
  background: var(--quad-red);
}

.quadcrypt-signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.quadcrypt-signal-row strong {
  color: #ffffff;
}

.quadcrypt-preview {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
  width: min(520px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.quadcrypt-preview img {
  width: 92px;
  height: 92px;
}

.vault-lines {
  display: grid;
  gap: 8px;
}

.vault-line {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  color: #2d343c;
  font-size: 12px;
}

.vault-line strong {
  color: #20242a;
}

.vault-line em {
  color: var(--muted);
  font-style: normal;
}

.vault-meter {
  height: 8px;
  border-radius: 8px;
  background: #edf0f3;
}

.vault-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--quad-red);
}

.cleanup-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #20242a;
}

.mini-window,
.tool-preview {
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.mini-window {
  max-width: 360px;
  padding: 13px;
}

.mini-title,
.tool-preview-header {
  color: #20242a;
  font-weight: 800;
}

.mini-title {
  margin-bottom: 12px;
}

.mini-row,
.tool-preview-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: #2d343c;
  font-size: 12px;
}

.mini-row span,
.check,
.empty-check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid #9fb3aa;
}

.mini-row span,
.check {
  background: var(--green);
}

.empty-check {
  background: #ffffff;
}

.mini-row em,
.tool-preview-row em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.danger-row em,
.tool-preview-row.high em {
  color: var(--danger);
  font-weight: 800;
}

.product-card-body {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.product-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.12;
}

.product-card p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-card .button {
  align-self: flex-start;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 13px;
}

.product-band {
  background: #20242a;
  color: #ffffff;
}

.product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  align-items: center;
  gap: 38px;
}

.product-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.screenshot {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
}

.split-copy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.principles {
  display: grid;
  gap: 14px;
}

.principles article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.principles h3 {
  margin: 0 0 6px;
}

.principles p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.tool-preview {
  justify-self: end;
  padding: 18px;
  border-color: var(--line);
}

.tool-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tool-preview-header span {
  color: var(--green);
  font-size: 13px;
}

.tool-preview-row {
  padding: 7px 0;
  border-top: 1px solid #e9edf0;
}

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

.download-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.download-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf8;
}

.download-panel h3 {
  margin: 0 0 10px;
}

.purchase-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf8;
}

.purchase-panel h3 {
  margin: 0 0 8px;
}

.purchase-panel p {
  margin: 0;
  color: var(--muted);
}

.purchase-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 6px;
}

.purchase-price strong {
  color: var(--green-dark);
  font-size: 42px;
  line-height: 1;
}

.purchase-price span {
  color: var(--ink);
  font-weight: 800;
}

.price-note {
  margin-bottom: 14px !important;
  color: var(--muted);
  font-size: 14px;
}

.purchase-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.purchase-form label {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-dark);
}

.purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.purchase-row input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.purchase-row button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-tone="success"] {
  color: var(--green-dark);
}

.form-status[data-tone="error"] {
  color: #9b2f22;
}

.license-result {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.license-result[hidden] {
  display: none;
}

.license-result span {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-dark);
}

.license-result code {
  overflow-wrap: anywhere;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #333941;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.download-details {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.hash {
  overflow-wrap: anywhere;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #333941;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8eb;
  color: #49341a;
}

.beta-notice {
  margin-top: 24px;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-band .policy-list {
  color: rgba(255, 255, 255, 0.74);
}

.page {
  padding: 118px 36px 74px;
}

.page article {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.page h1 {
  margin: 0 0 12px;
  font-size: 42px;
}

.page h2 {
  margin-top: 30px;
}

.page p,
.page li {
  color: var(--muted);
}

.site-footer {
  padding: 32px 36px;
  color: rgba(255, 255, 255, 0.74);
  background: #111417;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    padding: 0 18px;
  }

  .site-nav {
    gap: 10px;
    font-size: 13px;
  }

  .site-nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 70vh;
    padding: 84px 22px 46px;
  }

  .hero-home {
    background:
      linear-gradient(180deg, rgba(5, 10, 12, 0.92) 0%, rgba(8, 13, 15, 0.76) 58%, rgba(8, 13, 15, 0.56) 100%),
      url("assets/secure-pair-real-app.png") center / cover no-repeat;
  }

  .hero-secure-pair {
    background:
      linear-gradient(180deg, rgba(5, 10, 12, 0.92) 0%, rgba(8, 13, 15, 0.76) 58%, rgba(8, 13, 15, 0.56) 100%),
      url("assets/secure-pair-app-demo.png") center / cover no-repeat;
  }

  .hero-quadcrypt {
    background:
      linear-gradient(180deg, rgba(10, 9, 12, 0.95) 0%, rgba(14, 13, 16, 0.84) 58%, rgba(14, 13, 16, 0.66) 100%),
      url("assets/quadcrypt-icon.png") right 22px bottom 20px / 132px 132px no-repeat,
      #191417;
  }

  .hero-cleanup {
    background:
      linear-gradient(180deg, rgba(17, 20, 23, 0.95) 0%, rgba(22, 29, 32, 0.82) 56%, rgba(36, 50, 48, 0.62) 100%),
      linear-gradient(135deg, #1f6b4f 0%, #20242a 52%, #c78a2c 100%);
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 54px 22px;
  }

  .feature-grid,
  .product-grid,
  .product-layout,
  .download-layout,
  .split-copy {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card-media {
    order: 2;
    min-height: 190px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-card-body {
    order: 1;
    padding: 22px;
  }

  .tool-preview {
    justify-self: stretch;
  }

  .quadcrypt-preview {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .quadcrypt-card-preview {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
  }

  .quadcrypt-card-preview img {
    width: 72px;
    height: 72px;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 96px 20px 52px;
  }

  .page article {
    padding: 24px;
  }
}
