:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-strong: #eff6f3;
  --ink: #14212b;
  --muted: #5d6b76;
  --line: #d9e2e7;
  --teal: #157a74;
  --teal-dark: #0d5654;
  --coral: #df654e;
  --gold: #f4bd4f;
  --shadow: 0 24px 70px rgb(20 33 43 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgb(247 248 251 / 92%);
  border-bottom: 1px solid rgb(217 226 231 / 72%);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-nav {
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy,
.section-heading,
.support-copy,
.privacy-band > div {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero-text,
.privacy-band p,
.feature-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 630px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 30px rgb(21 122 116 / 22%);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--teal);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 42%;
  height: 34%;
  background: var(--gold);
  border-radius: 8px;
  content: "";
}

.hero-media img {
  position: relative;
  width: min(860px, 100%);
  border: 1px solid rgb(217 226 231 / 82%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-band,
.support-section,
.screenshots-section,
.privacy-band {
  position: relative;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.privacy-band {
  border-bottom: 1px solid var(--line);
}

.feature-band::before,
.support-section::before,
.screenshots-section::before,
.privacy-band::before {
  position: absolute;
  top: 0;
  left: clamp(18px, 5vw, 72px);
  width: min(220px, calc(100% - 36px));
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: var(--section-accent, var(--teal));
  content: "";
}

.feature-band {
  --section-accent: var(--coral);
}

.support-section {
  --section-accent: var(--teal);
}

.screenshots-section {
  --section-accent: var(--gold);
  background: var(--bg);
}

.privacy-band {
  --section-accent: var(--teal);
}

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

.feature-grid article,
.screenshot-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid article::before {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.feature-grid article:nth-child(2)::before {
  background: var(--coral);
}

.feature-grid article:nth-child(3)::before {
  background: var(--gold);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
}

.support-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.support-example {
  padding: 18px;
  border: 1px solid rgb(13 86 84 / 18%);
  border-radius: 8px;
  background: #ffffff;
}

.support-example span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

.support-example p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-panel {
  overflow: hidden;
  border: 1px solid rgb(13 86 84 / 18%);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgb(20 33 43 / 8%);
}

.support-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.35fr) repeat(3, minmax(74px, 0.55fr));
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.support-row:last-child {
  border-bottom: 0;
}

.support-row span {
  color: var(--muted);
  font-weight: 720;
}

.support-row span:first-child {
  color: var(--ink);
}

.support-status {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 850;
}

.support-status--yes {
  background: rgb(21 122 116 / 12%);
  color: var(--teal-dark);
}

.support-status--yes::before {
  content: "\2713";
}

.support-status--no {
  background: rgb(223 101 78 / 12%);
  color: #b64935;
}

.support-status--no::before {
  content: "\00d7";
}

.support-status--partial {
  width: auto;
  padding: 5px 9px;
  background: rgb(244 189 79 / 18%);
  color: #7a5211;
  font-size: 0.82rem;
}

.support-row--header {
  background: rgb(239 246 243 / 72%);
}

.support-row--header span {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

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

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  box-shadow: 0 16px 45px rgb(20 33 43 / 9%);
}

.screenshot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -3px;
}

.screenshot-button img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease;
}

.screenshot-button:hover img,
.screenshot-button:focus-visible img {
  transform: scale(1.015);
}

.screenshot-grid figcaption {
  padding: 15px 16px 18px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.privacy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy-band p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer span {
  font-weight: 760;
  color: var(--ink);
}

.site-footer a {
  font-weight: 720;
}

.image-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(20 33 43 / 72%);
}

.image-modal__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  max-height: min(760px, calc(100vh - 28px));
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgb(0 0 0 / 35%);
}

.image-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.image-modal__bar p {
  margin: 0;
  font-weight: 760;
}

.image-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-modal__actions a,
.image-modal__actions button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 740;
}

.image-modal__actions a {
  color: var(--teal-dark);
}

.image-modal__actions button {
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.image-modal__viewport {
  overflow: auto;
  background: #101820;
}

.image-modal__viewport img {
  width: max(100%, 1080px);
  max-width: none;
  height: auto;
}

@media (max-width: 940px) {
  .site-header,
  .hero,
  .support-section,
  .privacy-band,
  .site-footer {
    align-items: stretch;
  }

  .site-header {
    position: static;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .support-section {
    grid-template-columns: 1fr;
  }

  .support-panel {
    overflow-x: auto;
  }

  .support-row {
    min-width: 620px;
  }

  .privacy-band,
  .site-footer {
    flex-direction: column;
  }

  .image-modal__bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    align-self: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.4rem);
  }

  .button {
    width: 100%;
  }

  .hero-media::before {
    right: -10px;
    bottom: -10px;
  }

  .image-modal__actions {
    width: 100%;
    justify-content: space-between;
  }

  .image-modal__viewport img {
    width: max(100%, 920px);
  }
}
