:root {
  color-scheme: light;
  --ink: #233047;
  --muted: #68728a;
  --paper: #fffaf0;
  --surface: #ffffff;
  --sun: #ffd86b;
  --coral: #ff756f;
  --mint: #68d6b1;
  --sky: #68b9ff;
  --lilac: #a989ff;
  --line: rgba(35, 48, 71, 0.14);
  --shadow: 0 24px 70px rgba(39, 56, 93, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 216, 107, 0.22), transparent 34%),
    linear-gradient(315deg, rgba(104, 185, 255, 0.18), transparent 38%),
    var(--paper);
  color: var(--ink);
  font-family: Nunito, Avenir Next, Avenir, Segoe UI, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header,
.site-footer,
main > section,
.policy-page {
  width: calc(100% - 36px);
  max-width: 1160px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(255, 117, 111, 0.28);
}

.brand-logo {
  width: min(210px, 42vw);
  height: auto;
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav a {
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  color: #3f4b65;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--surface);
  border-color: var(--line);
  outline: none;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3f4b65;
  font-size: 0.9rem;
  font-weight: 900;
}

.language-picker select {
  min-height: 40px;
  max-width: 190px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 32px 7px 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.language-picker select:focus-visible {
  border-color: var(--coral);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 30px 0 48px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: #de4b61;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6.4vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.26rem);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.1;
}

.primary-action {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(255, 117, 111, 0.34);
}

.secondary-action {
  background: var(--surface);
  border: 2px solid var(--line);
  color: #39455f;
}

.hero-preview {
  position: relative;
  min-height: 480px;
}

.hero-shot {
  position: absolute;
  width: min(620px, 100%);
  background: #ffffff;
  border: 10px solid #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.shot-main {
  right: 0;
  top: 18px;
  border-bottom-width: 16px;
  transform: rotate(-1.5deg);
  z-index: 2;
}

.shot-back {
  left: -8px;
  bottom: 26px;
  width: min(570px, 88%);
  transform: rotate(3deg);
  z-index: 1;
}

.feature-band,
.screenshots-section,
.privacy-callout,
.policy-page {
  padding: 76px 0;
}

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

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

.feature-card {
  min-height: 236px;
  padding: 22px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(39, 56, 93, 0.08);
}

.feature-card:nth-child(2) {
  border-top-color: var(--sky);
}

.feature-card:nth-child(3) {
  border-top-color: var(--mint);
}

.feature-card:nth-child(4) {
  border-top-color: var(--lilac);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--sun);
  font-size: 0.86rem;
  font-weight: 900;
}

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

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

figure {
  margin: 0;
}

.screenshots-grid figure {
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(39, 56, 93, 0.12);
}

.screenshots-grid img {
  width: 100%;
  aspect-ratio: 2736 / 1260;
  object-fit: cover;
}

figcaption {
  padding: 15px 16px 17px;
  color: #3f4b65;
  font-weight: 900;
}

.privacy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
  padding-right: 28px;
  padding-left: 28px;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.privacy-callout p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.policy-page {
  min-height: calc(100vh - 204px);
}

.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy-content h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.policy-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.policy-content p {
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 34px;
  color: #58637b;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 800;
}

.publisher-logo {
  display: inline-flex;
  align-items: center;
}

.publisher-logo img {
  width: 112px;
  height: auto;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  font-weight: 900;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .header-controls {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-preview {
    min-height: 360px;
  }

  .feature-grid,
  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  main > section,
  .policy-page {
    width: calc(100% - 24px);
  }

  .brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.9rem;
  }

  .language-picker {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .language-picker select {
    max-width: min(270px, calc(100vw - 24px));
  }

  .hero {
    gap: 28px;
    padding-bottom: 18px;
  }

  h1 {
    max-width: 360px;
  }

  .hero-text {
    max-width: 330px;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-preview {
    min-height: auto;
  }

  .hero-shot {
    position: relative;
    border-width: 6px;
    border-radius: 18px;
  }

  .shot-main {
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .shot-back {
    display: none;
  }

  .feature-band,
  .screenshots-section,
  .privacy-callout,
  .policy-page {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .feature-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }
}
