:root {
  --background: #fbf7ef;
  --background-green: #edf7e8;
  --surface: #fffdf8;
  --card: rgba(255, 255, 255, 0.9);
  --primary: #2a777a;
  --primary-dark: #205f61;
  --primary-soft: #dff3f0;
  --text: #102325;
  --muted: #6f7f80;
  --line: #e9e1d7;
  --positive: #73bd68;
  --positive-soft: #eef9eb;
  --negative: #e66c62;
  --negative-soft: #fbebe8;
  --gold-soft: #fff2d6;
  --shadow: 0 24px 80px rgba(16, 35, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(223, 243, 240, 0.9), transparent 32rem),
    linear-gradient(180deg, #f4faef 0%, var(--background) 30%, #fffaf0 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 247, 239, 0.84);
  border-bottom: 1px solid rgba(233, 225, 215, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img,
.cta img {
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(42, 119, 122, 0.18);
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-weight: 800;
}

nav a:hover {
  color: var(--primary);
}

.hero,
.intro-band,
.screenshot-row,
.rating-section,
.feature-band,
.cta {
  padding-inline: clamp(18px, 5vw, 74px);
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  padding-top: clamp(46px, 7vw, 92px);
  padding-bottom: clamp(42px, 6vw, 82px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  font-size: clamp(3.45rem, 7.5vw, 7.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  max-width: 900px;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.lead,
.section-copy p,
.feature-card p,
.cta p,
figcaption span {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 630px;
  font-size: clamp(1.16rem, 2.1vw, 1.52rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 18px;
  font-weight: 900;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(42, 119, 122, 0.25);
}

.button.secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--line);
}

.hero-shots {
  position: relative;
  min-height: 690px;
}

.device-shot {
  margin: 0;
}

.device-shot img {
  width: 100%;
  border-radius: 42px;
  border: 8px solid #ffffff;
  box-shadow: var(--shadow);
}

.hero-main-shot {
  width: min(390px, 70vw);
  margin-left: auto;
}

.hero-side-shot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(305px, 52vw);
}

.hero-side-shot img {
  border-radius: 36px;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding-top: clamp(70px, 9vw, 110px);
  padding-bottom: clamp(58px, 8vw, 92px);
  background: var(--surface);
}

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

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

.metrics div,
.feature-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 35, 37, 0.06);
}

.metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 3rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 800;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  padding-top: clamp(64px, 8vw, 102px);
  padding-bottom: clamp(64px, 8vw, 102px);
}

.screenshot-row .device-shot {
  align-self: start;
}

.screenshot-row .device-shot:nth-child(2) {
  margin-top: 52px;
}

.screenshot-row .device-shot:nth-child(3) {
  margin-top: 104px;
}

figcaption {
  padding: 18px 8px 0;
}

figcaption strong,
figcaption span {
  display: block;
}

figcaption strong {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.rating-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(68px, 9vw, 112px);
  padding-bottom: clamp(68px, 9vw, 112px);
  background:
    linear-gradient(90deg, rgba(238, 249, 235, 0.92), rgba(251, 235, 232, 0.78)),
    var(--background);
}

.rating-showcase {
  position: relative;
  min-height: 650px;
}

.rating-showcase .device-shot {
  width: min(330px, 55vw);
}

.tilted-left {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(-3deg);
}

.tilted-right {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: clamp(58px, 8vw, 90px);
  padding-bottom: clamp(58px, 8vw, 90px);
}

.feature-mark {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 16px;
}

.feature-mark.positive {
  background: var(--positive-soft);
  border: 10px solid var(--positive);
}

.feature-mark.primary {
  background: var(--primary-soft);
  border: 10px solid var(--primary);
}

.feature-mark.negative {
  background: var(--negative-soft);
  border: 10px solid var(--negative);
}

.cta {
  padding-top: clamp(72px, 10vw, 118px);
  padding-bottom: clamp(72px, 10vw, 118px);
  text-align: center;
  background: var(--surface);
}

.cta img {
  margin: 0 auto 22px;
}

.cta p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 30px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 74px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .intro-band,
  .rating-section,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-shots {
    min-height: 620px;
  }

  .hero-main-shot {
    margin-right: auto;
  }

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

  .screenshot-row .device-shot:nth-child(2),
  .screenshot-row .device-shot:nth-child(3) {
    margin-top: 0;
  }

  .rating-section {
    overflow: hidden;
  }
}

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

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 18px;
    row-gap: 10px;
  }

  .hero,
  .intro-band,
  .screenshot-row,
  .rating-section,
  .feature-band,
  .cta {
    padding-inline: 16px;
  }

  .hero-shots {
    min-height: 560px;
  }

  .hero-main-shot {
    width: min(330px, 78vw);
  }

  .hero-side-shot {
    width: min(250px, 58vw);
  }

  .device-shot img {
    border-width: 5px;
    border-radius: 32px;
  }

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

  .screenshot-row .device-shot {
    max-width: 360px;
    margin-inline: auto;
  }

  .rating-showcase {
    min-height: 570px;
  }

  .rating-showcase .device-shot {
    width: min(270px, 66vw);
  }

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

  footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero-shots {
    min-height: 500px;
  }

  .hero-side-shot {
    bottom: 18px;
  }

  .rating-showcase {
    min-height: 500px;
  }

  .tilted-right {
    right: -12px;
  }
}
