:root {
  --ink: #12130f;
  --muted: #5f655c;
  --paper: #ffffff;
  --wash: #f5f7f0;
  --line: #d9ded2;
  --teal: #138b7b;
  --teal-dark: #073d38;
  --coral: #df5b43;
  --gold: #f0c44c;
  --shadow: 0 22px 70px rgba(16, 24, 20, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #ffffff;
}

.brand {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 820;
  line-height: 1.05;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 14px;
  font-weight: 740;
}

nav a {
  text-decoration: none;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 116px clamp(18px, 5vw, 74px) clamp(46px, 8vh, 82px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 27, 26, 0.96) 0%, rgba(7, 27, 26, 0.9) 34%, rgba(7, 27, 26, 0.48) 74%, rgba(7, 27, 26, 0.78) 100%),
    var(--teal-dark);
  color: #ffffff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 196, 76, 0.28), transparent 27%),
    url("/passive-pair-screenshot.png?v=20260601") 78% center / min(46vw, 520px) auto no-repeat,
    linear-gradient(135deg, #061d1b, #0e453f 52%, #172119);
  opacity: 0.98;
}

.hero__content {
  max-width: 680px;
  padding-bottom: min(6vh, 54px);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.96;
  font-weight: 860;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.28;
  font-weight: 520;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
}

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

.button--primary:hover {
  background: #ffd760;
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #ffffff;
}

.screenshot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(290px, 0.72fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(18px, 5vw, 74px);
  background:
    linear-gradient(180deg, var(--paper), var(--wash));
}

.section-copy {
  max-width: 680px;
}

.section-copy h2,
.detail h2,
.hosting h2 {
  font-size: clamp(31px, 4.8vw, 62px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.section-copy p,
.detail p,
.hosting p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.product-shot {
  margin: 0;
  justify-self: center;
  width: min(100%, 430px);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #222820;
  border-radius: 18px;
  background: #090b10;
  box-shadow: var(--shadow);
}

.details-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.detail {
  min-height: 330px;
  padding: clamp(30px, 5vw, 58px);
  background: #ffffff;
}

.detail:nth-child(2) {
  background: #f8fbf8;
}

.detail:nth-child(3) {
  background: #fff8ee;
}

.detail h2 {
  font-size: clamp(25px, 3.4vw, 42px);
}

.hosting {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 74px);
  background: var(--teal-dark);
  color: #ffffff;
}

.hosting__copy {
  max-width: 820px;
}

.hosting p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    color: #ffffff;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 106px;
    background:
      linear-gradient(180deg, rgba(7, 27, 26, 0.96), rgba(7, 27, 26, 0.84)),
      var(--teal-dark);
  }

  .hero__media {
    background:
      radial-gradient(circle at 74% 24%, rgba(240, 196, 76, 0.24), transparent 30%),
      url("/passive-pair-screenshot.png?v=20260601") right 20px top 72px / min(42vw, 184px) auto no-repeat,
      linear-gradient(135deg, #061d1b, #0e453f 55%, #172119);
  }

  .hero__content {
    padding-top: 50svh;
  }

  .screenshot-section,
  .details-band,
  .hosting {
    grid-template-columns: 1fr;
  }

  .hosting {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding: 14px;
  }

  .brand {
    max-width: 190px;
  }

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

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 91svh;
    padding: 94px 16px 42px;
  }

  .hero__content {
    padding-top: 47svh;
  }

  h1 {
    font-size: clamp(39px, 10vw, 44px);
  }

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

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .screenshot-section,
  .hosting {
    padding-inline: 16px;
  }

  .detail {
    min-height: auto;
    padding: 34px 16px;
  }
}
