@font-face {
  font-family: 'Nunito';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/nunito-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/poppins-latin-800-normal.woff2') format('woff2');
}

:root {
  --bg: #f5f0e8;
  --card: #fdfaf3;
  --cream: #ede5d5;
  --brown: #2c1a0e;
  --brown-2: #4a2e1a;
  --ink: #1c1510;
  --muted: #6b5a4a;
  --border: rgba(44, 26, 14, 0.12);
  --gold: #e9c46a;
  --radius: 20px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}

/* Header */
.top {
  background: var(--brown);
  color: var(--card);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.top nav {
  margin-left: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
}
/* Same treatment as the hero: the disc sits behind the cat, so ears and tail are never clipped. */
.brand-logo {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
}
.brand-logo::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: var(--card);
}
.brand-logo img {
  position: relative;
  width: 82%;
  height: auto;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.top nav a:hover {
  background: rgba(253, 250, 243, 0.12);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(253, 250, 243, 0.35);
  margin-left: 6px;
}
.top nav .lang-switch a,
.lang-on {
  min-width: 40px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  justify-content: center;
}
.lang-on {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  color: var(--brown);
}
.top nav .lang-switch a {
  opacity: 0.75;
}
.top nav .lang-switch a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  background: var(--brown);
  color: var(--card);
  padding: 40px 0 96px;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 50% 64px;
  border-bottom-right-radius: 50% 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  margin: 0 0 8px;
}
.hero .tagline {
  color: var(--gold);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 16px;
  min-height: 1.6em;
  overflow: hidden;
}
/* Rotating tagline: the old phrase slides up and out, the next one rises in from below */
.tagline-text {
  display: inline-block;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.35s ease;
}
.tagline-text.is-out {
  transform: translateY(-110%);
  opacity: 0;
}
.tagline-text.is-in {
  transform: translateY(110%);
  opacity: 0;
  transition: none;
}
.hero .lead {
  text-align: justify;
  hyphens: auto;
  font-size: 19px;
  margin: 0 0 28px;
  max-width: 34em;
  color: #efe6d6;
}
.hero .mascot {
  position: relative;
  width: min(400px, 100%);
  justify-self: center;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
/* The cream disc sits behind the cat, so ears and tail are never clipped. */
.hero .mascot::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hero .mascot img {
  position: relative;
  width: 82%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 22px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
}
.btn svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.btn small {
  display: block;
  font-weight: 700;
  font-size: 12px;
  opacity: 0.8;
}
.btn-light {
  background: var(--card);
  color: var(--brown);
}
.btn-light:hover {
  background: #fff;
}
.btn-store {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-store[aria-disabled='true'] {
  cursor: default;
}
.note {
  font-size: 14px;
  color: #d8ccb8;
  margin: 14px 0 0;
}

/* Sections */
section {
  padding: 72px 0;
}
.pill {
  display: inline-block;
  background: var(--brown);
  color: var(--card);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--brown);
}
.section-lead {
  color: var(--muted);
  max-width: 40em;
  margin: 0 0 36px;
  font-size: 18px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature .icon svg {
  width: 26px;
  height: 26px;
}
.feature h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: var(--brown);
}
.feature p {
  margin: 0;
  color: var(--muted);
}

/* Screenshots */
.shots {
  background: var(--cream);
}
.shots-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.carousel-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}
.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--brown);
  color: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-btn svg {
  width: 22px;
  height: 22px;
}
.nav-btn:hover:not(:disabled) {
  transform: scale(1.08);
}
.nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.phones {
  display: grid;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 28px) / 4);
  gap: 28px;
  align-items: start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 6px 2px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) transparent;
}
.phone {
  scroll-snap-align: start;
}
.phone {
  margin: 0;
}
.phone .frame {
  background: #000;
  border-radius: 34px;
  padding: 14px 10px 12px;
  box-shadow: 0 20px 40px rgba(44, 26, 14, 0.25);
}
.phone img {
  border-radius: 22px;
  width: 100%;
  height: auto;
}
.phone figcaption {
  text-align: center;
  margin-top: 14px;
  font-weight: 700;
  color: var(--brown);
}

/* Privacy band */
.privacy {
  background: var(--brown);
  color: var(--card);
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.privacy h2 {
  color: var(--card);
}
.privacy p {
  margin: 0;
  color: #efe6d6;
}
.privacy .icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--card);
  color: var(--brown);
  display: grid;
  place-items: center;
}
.privacy .icon svg {
  width: 42px;
  height: 42px;
}

/* FAQ */
.faq {
  padding-top: 0;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px 18px;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .faq-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 20px;
  font-weight: 800;
  color: var(--brown);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  text-align: justify;
  hyphens: auto;
}

/* Download */
.download {
  padding-top: 0;
}
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  background: var(--cream);
  border-radius: 32px;
  padding: 36px 44px;
}
.download-card h2 {
  margin-bottom: 4px;
}
.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.download .btn-light {
  background: var(--brown);
  color: var(--card);
}
.download .btn-light:hover {
  background: var(--brown-2);
}


/* Footer */
footer {
  background: var(--brown);
  color: #d8ccb8;
  padding: 44px 0 24px;
  font-size: 15px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 72px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.footer-col h3 {
  margin: 0 0 8px;
  color: var(--card);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
footer a {
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  overflow-wrap: anywhere;
}
footer a:hover {
  color: var(--card);
  text-decoration: underline;
}
.footer-copy {
  margin: 28px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(253, 250, 243, 0.14);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 20px;
}
.footer-copy a {
  color: var(--card);
  font-weight: 800;
}
/* Downloads page */
.top nav a[aria-current='page'] {
  background: rgba(253, 250, 243, 0.14);
}
.download-card p a {
  color: var(--brown);
  font-weight: 800;
  white-space: nowrap;
}
.page-hero {
  background: var(--brown);
  color: var(--card);
  padding: 36px 0 84px;
  border-bottom-left-radius: 50% 48px;
  border-bottom-right-radius: 50% 48px;
}
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 8px;
}
.page-hero p {
  margin: 0;
  color: #efe6d6;
  font-size: 18px;
  max-width: 36em;
}
.downloads > .wrap {
  margin-top: -52px;
  padding-bottom: 72px;
}
.badge {
  display: inline-block;
  vertical-align: middle;
  background: var(--gold);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.latest {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 44px rgba(44, 26, 14, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.latest-main {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.latest-logo {
  width: 72px;
  height: 72px;
}
.latest-logo::before {
  background: var(--cream);
}
.latest-label {
  margin: 0;
  font-weight: 800;
  color: var(--muted);
}
.latest-version {
  margin: 2px 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--brown);
  line-height: 1.15;
}
.latest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  font-size: 15px;
}
.latest-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.latest-meta dd {
  margin: 0;
  font-weight: 700;
}
.latest .btn-light {
  background: var(--brown);
  color: var(--card);
}
.latest .btn-light:hover {
  background: var(--brown-2);
}
.install {
  margin-top: 36px;
  background: var(--cream);
  border-radius: 28px;
  padding: 28px;
}
.install h2,
.release-notes > h2 {
  font-size: clamp(26px, 4vw, 34px);
}
/* On the test page the steps are the first card, overlapping the hero like the latest release card */
.install.test-steps {
  margin-top: 0;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px rgba(44, 26, 14, 0.14);
}
.install ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}
.tester-form {
  margin-top: 36px;
  scroll-margin-top: 24px;
}
.tester-form h2 {
  font-size: clamp(26px, 4vw, 34px);
}
.tester-form iframe {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 1230px;
  margin: 16px auto 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--card);
}
/* The form grows taller as it narrows; these heights fit its content (measured per width)
   without a nested scroll or a long empty tail. */
@media (max-width: 591px) {
  .tester-form iframe {
    height: 1330px;
  }
}
@media (max-width: 531px) {
  .tester-form iframe {
    height: 1450px;
  }
}
@media (max-width: 389px) {
  .tester-form iframe {
    height: 1580px;
  }
}
@media (max-width: 351px) {
  .tester-form iframe {
    height: 1780px;
  }
}
.release-notes {
  padding: 56px 0 0;
}
.release {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 36px);
  margin-top: 20px;
}
.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.release-head h2 {
  font-size: 26px;
  margin: 0;
}
.release-date {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--brown);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}
.btn-small svg {
  width: 18px;
  height: 18px;
}
.btn-small:hover {
  background: var(--cream);
}
.release-intro {
  margin: 0 0 8px;
  text-align: justify;
}
.release h3 {
  margin: 22px 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--brown);
}
.release ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
  color: #3a2c20;
}
@media (max-width: 760px) {
  .latest {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }
  .latest .cta {
    flex-direction: column;
  }
  .latest .btn {
    justify-content: center;
  }
  .install {
    padding: 22px;
  }
}

/* Legal pages */
.legal {
  padding: 48px 0 72px;
}
.legal article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 5vw, 48px);
  max-width: 820px;
  margin-inline: auto;
}
.legal h1 {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.legal h2 {
  font-size: 24px;
  margin: 36px 0 10px;
}
.legal p,
.legal li {
  color: #3a2c20;
}
.legal code {
  background: var(--cream);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 16px;
  display: block;
  overflow-x: auto;
}
.legal th,
.legal td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px 10px 0;
  vertical-align: top;
}
.legal .back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--brown);
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .phones {
    grid-auto-columns: calc((100% - 2 * 28px) / 2.6);
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding: 28px 0 72px;
    border-bottom-left-radius: 50% 36px;
    border-bottom-right-radius: 50% 36px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero .mascot {
    order: -1;
    width: 170px;
  }
  .hero h1,
  .hero .tagline {
    text-align: center;
  }
  .hero .cta {
    justify-content: center;
  }
  .hero .note {
    text-align: center;
  }
  section {
    padding: 52px 0;
  }
  .phones {
    grid-auto-columns: 72%;
    gap: 20px;
  }
  .carousel-nav {
    display: none;
  }
  .phone {
    scroll-snap-align: center;
  }
  .privacy {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    text-align: center;
  }
  .privacy .icon {
    margin-inline: auto;
  }
  .download-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 22px;
  }
  .download-card .cta {
    justify-content: center;
  }
  /* Phones show only the language switch; downloads stay reachable from the hero and footer */
  .top nav > a {
    display: none;
  }
  .top nav {
    flex-wrap: nowrap;
    gap: 2px;
  }
  .lang-switch {
    margin-left: 2px;
  }
  .top nav .lang-switch a,
  .lang-on {
    min-width: 36px;
    padding: 6px 8px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
  }
}

/* Scroll reveal. Without JavaScript everything stays visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease var(--d, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.js .reveal.in,
.reveal-all .reveal {
  opacity: 1;
  transform: none;
}
.feature {
  transition:
    opacity 0.7s ease var(--d, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    box-shadow 0.25s ease;
}
.feature:hover {
  box-shadow: 0 14px 30px rgba(44, 26, 14, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero .mascot img {
    animation: none;
  }
  .tagline-text,
  .tagline-text.is-out {
    transform: none;
  }
}

/* Promo video */
.video-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 48px;
  align-items: center;
}
.video .section-lead,
.video .note {
  text-align: justify;
  hyphens: auto;
}
.video .note {
  color: var(--muted);
}
.video-frame {
  background: #000;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(44, 26, 14, 0.28);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  background: var(--cream);
}
@media (max-width: 760px) {
  /* Keep the phone beside the copy: title on top, text left, video right */
  .video-grid {
    grid-template-columns: minmax(0, 1fr) clamp(112px, 33vw, 200px);
    grid-template-areas:
      'pill pill'
      'title title'
      'copy frame';
    column-gap: 16px;
    row-gap: 0;
  }
  .video-text {
    display: contents;
  }
  .video .pill {
    grid-area: pill;
    justify-self: start;
  }
  .video h2 {
    grid-area: title;
    margin-bottom: 20px;
  }
  .video-copy {
    grid-area: copy;
  }
  .video .section-lead {
    font-size: 14.5px;
    margin-bottom: 0;
    word-spacing: -0.02em;
  }
  .video .note {
    font-size: 13px;
  }
  .video-frame {
    grid-area: frame;
    border-radius: 22px;
    padding: 6px;
  }
  .video-frame video {
    border-radius: 17px;
  }
}

/* Mobile: tighter rhythm and compact feature cards */
@media (max-width: 760px) {
  section {
    padding: 44px 0;
  }
  h2 {
    font-size: clamp(26px, 7.4vw, 34px);
  }
  .section-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }
}
@media (max-width: 560px) {
  .features {
    gap: 10px;
  }
  .feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 14px 16px;
  }
  .feature .icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .feature .icon svg {
    width: 22px;
    height: 22px;
  }
  .feature h3 {
    font-size: 17px;
    margin: 1px 0 2px;
  }
  .feature p {
    font-size: 14.5px;
    line-height: 1.45;
  }
}
@media (max-width: 560px) {
  .legal {
    padding: 24px 0 48px;
  }
  .legal article {
    padding: 22px 18px;
  }
  .legal article ul,
  .legal article ol {
    padding-left: 22px;
  }
}
/* Mobile: privacy band and download card as compact cards */
@media (max-width: 560px) {
  .privacy {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 22px 20px;
    border-radius: var(--radius);
    text-align: left;
  }
  .privacy .icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }
  .privacy .icon svg {
    width: 26px;
    height: 26px;
  }
  .privacy > div:last-child {
    display: contents;
  }
  .privacy h2 {
    margin: 0;
    font-size: 24px;
  }
  .privacy p {
    grid-column: 1 / -1;
    font-size: 15px;
    text-align: justify;
    hyphens: auto;
  }
  .download-card {
    align-items: stretch;
    gap: 16px;
    padding: 22px 20px;
    border-radius: var(--radius);
  }
  .download-card h2 {
    font-size: 24px;
  }
  .download-card p {
    font-size: 15px;
  }
  .download-card .cta {
    display: grid;
    justify-content: stretch;
    gap: 10px;
  }
  .download-card .btn {
    justify-content: center;
    min-height: 48px;
  }
}
