/* =========================================================
   Cleaner AI landing page
   ========================================================= */

/* ---------- Fonts ---------- */
/* Lato (SIL Open Font License), split into latin and latin-ext subsets */
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Regular-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Bold-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mont";
  src: url("../assets/fonts/Mont-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mont";
  src: url("../assets/fonts/Mont-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* primitives */
  --navy-950: #01041b;
  --navy-900: #15182c;
  --blue-500: #087efb;
  --white: #ffffff;

  /* roles */
  --color-bg: var(--navy-950);
  --color-bg-field: var(--navy-900);
  --color-text: var(--white);
  --color-text-muted: rgb(255 255 255 / 0.5);
  --color-accent-text: var(--blue-500);
  --color-border-subtle: rgb(255 255 255 / 0.2);
  --color-border-strong: rgb(255 255 255 / 0.6);
  --color-field-border: rgb(255 255 255 / 0.38);  /* 4.13:1 on page, 1.4.11 */
  --color-error: #ff8a80;
  /* white text: 4.74:1 at the light end, 6.47:1 at the dark end */
  --gradient-cta: linear-gradient(100deg, #2f6fdc, #1d58c4);
  --color-focus: #8fc2ff;

  /* type */
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-badge: "Mont", var(--font-body);
  --text-display: 3.125rem;   /* 50px */
  --text-heading: 2rem;       /* 32px */
  --text-body: 1.125rem;      /* 18px */
  --text-field: 1rem;         /* 16px, avoids iOS zoom */

  /* layout */
  --container: 1320px;
  --gutter: 15px;
  --section-pad: 71px;

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-block-start: 24px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

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

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.section-title {
  max-width: 22ch;
  margin-inline: auto;
  font-size: var(--text-display);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}

.lottie { width: 100%; }
.lottie svg { display: block; }

/* ---------- App Store button ---------- */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 32px 8px 30px; /* 2px less on the icon side */
  border: 2px solid var(--color-border-subtle);
  border-radius: 56px;
  color: var(--color-text);
  transition: border-color 150ms ease-out, scale 150ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.store-btn__icon { width: 20px; height: 24px; flex: none; margin-block-start: -2px; }
.store-btn__text { display: flex; flex-direction: column; font-family: var(--font-badge); }
.store-btn__small { font-size: 0.6875rem; line-height: 1.2; font-weight: 400; }
.store-btn__big { font-size: 1rem; line-height: 1.25; font-weight: 600; }

@media (hover: hover) {
  .store-btn:hover { border-color: var(--color-border-strong); }
}
@media (prefers-reduced-motion: no-preference) {
  .store-btn:active { scale: 0.96; }
}

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 45px 25px;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand__logo { width: 61px; height: 61px; }
.brand__name { font-size: 1.5rem; line-height: 1; font-weight: 700; }

.nav__menu {
  display: flex;
  margin-inline-start: 200px;
}
.nav__link {
  padding: 4px 20px;
  font-weight: 700;
  font-size: var(--text-body);
  line-height: 1.65;
  transition: opacity 150ms ease-out;
}
@media (hover: hover) {
  .nav__link:hover { opacity: 0.7; }
}

.nav__toggle {
  display: none;
  margin-inline-start: auto;
  width: 44px; height: 44px;
  padding: 12px 10px;
  background: none;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: opacity 150ms ease-out;
}
@media (prefers-reduced-motion: no-preference) {
  .nav__toggle span {
    transition: translate 200ms var(--ease-out), rotate 200ms var(--ease-out), opacity 150ms ease-out;
  }
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { translate: 0 9px; rotate: 45deg; }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { translate: 0 -9px; rotate: -45deg; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 760px);
  display: flex;
  align-items: center;
  background: url("../assets/img/bg-hero.png") 0 0 / cover no-repeat;
  overflow: hidden;
}
.hero__animation {
  position: absolute;
  inset-inline-end: 0;
  top: 128px;
  width: min(1114px, 78%);
  pointer-events: none;
}
.lottie--hero-desktop { aspect-ratio: 1720 / 1075; }
.lottie--hero-mobile { display: none; aspect-ratio: 375 / 320; }

.hero__inner { position: relative; z-index: 2; }
.hero__text { max-width: 680px; padding-block: 20px; }
.hero__title {
  font-size: var(--text-display);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-block: 20px 32px;
}
.hero__list {
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
}
.hero__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-block-end: 15px;
}
.hero__item img { width: 16px; height: auto; margin-block-start: 6px; flex: none; }
.hero__item > span { text-wrap: pretty; }
.hl { color: var(--color-accent-text); }
strong.hl { font-weight: 700; }

/* Staged entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .stagger {
    animation: enter 300ms ease-out both;
  }
  .js .stagger:nth-child(1) { animation-delay: 200ms; }
  .js .stagger:nth-child(2) { animation-delay: 300ms; }
  .js .stagger:nth-child(3) { animation-delay: 400ms; }
  .js .store-btn.stagger { animation-delay: 500ms; }
  @keyframes enter {
    from { opacity: 0; filter: blur(4px); translate: 0 12px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .stagger { animation: fade 300ms ease-out both; }
  @keyframes fade { from { opacity: 0; } }
}

/* ---------- Best results ---------- */
.results { padding-block: var(--section-pad); }
.lottie--results {
  margin-block-start: var(--section-pad);
  aspect-ratio: 1720 / 498;
}
/* Phone version: the wide animation's labels are unreadable below 600px */
.lottie--results-mobile {
  display: none;
  max-width: 420px;
  margin: 32px auto 0;
  aspect-ratio: 375 / 260;
}

/* ---------- How it works ---------- */
.how__bg {
  padding-block: var(--section-pad);
  background: url("../assets/img/bg-how-it-works.png") 50% 40% / 1490px auto no-repeat;
}
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}
.how__col {
  list-style: none;
  margin: 0;
  padding: 128px 10px 0;
}
.step {
  min-height: 311px;
  padding-block-end: 40px;
}
.step__icon { width: 70px; height: 70px; }
.step__title {
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-block: 20px 15px;
  padding-inline-start: 10px;
}
.step p { padding-inline-start: 10px; max-width: 300px; }

.how__phone {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 750px;
}
.lottie--how { width: 445px; aspect-ratio: 456 / 879; }

/* ---------- Features ---------- */
.features {
  padding-block: var(--section-pad);
  background: url("../assets/img/bg-features.png") 50% 50% / 1567px auto no-repeat;
}
.features > .section-title { margin-block-end: 114px; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  margin-block-end: 40px;
}
.feature__text {
  max-width: 406px;
}
.feature__text h3 {
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-block: 10px 15px;
}
.feature__icon { width: 44px; height: 44px; }

/* left column: the text block hugs the centre line, text stays start-aligned */
.feature--text-first .feature__text {
  justify-self: end;
  width: 100%;
  margin-inline-end: 60px;
}
.feature--text-first .feature__media { padding-inline-start: 60px; }

/* right column text */
.feature--media-first .feature__text {
  justify-self: start;
  margin-inline-start: 60px;
}
.feature--media-first .feature__media {
  display: flex;
  justify-content: flex-end;
  padding-inline-end: 60px;
}

.feature__img { width: 500px; }
.feature__img--wide { width: 520px; }
.lottie--phone { width: 367px; aspect-ratio: 367 / 679; }
.lottie--swipe { width: 630px; max-width: 100%; aspect-ratio: 655 / 633; }

.privacy {
  max-width: 600px;
  margin: 180px auto 0;
  padding-inline: var(--gutter);
  text-align: center;
}
.lottie--privacy {
  width: 450px;
  max-width: 100%;
  height: 346px;
  margin-inline: auto;
  margin-block-end: 24px;
}
.privacy h3 {
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-block: 10px 15px;
}

/* ---------- Download ---------- */
.download { padding-block: var(--section-pad); }
.download__band {
  /* White focus ring: at least 3.06:1 on the band's lightest pixels; #8fc2ff was 1.77:1 */
  --color-focus: var(--white);
  background: url("../assets/img/bg-download.png") 0% 50% / 100% 380px no-repeat;
}
/* Solid navy badge: white text 20:1 (was 3.14:1 on the blue band) */
.download__band .store-btn {
  background: var(--color-bg);
  border-color: var(--color-bg);
}
@media (hover: hover) {
  .download__band .store-btn:hover { border-color: var(--color-border-strong); }
}
.download__inner {
  display: grid;
  grid-template-columns: 703fr 587fr;
  align-items: center;
}
.lottie--download { aspect-ratio: 771 / 657; }
.download__text { padding-inline-start: 20px; }
.download__title {
  max-width: 65%;
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-block: 10px 15px;
}

/* ---------- Contact ---------- */
.contact { padding-block: 0 20px; }
.contact__form {
  max-width: 550px;
  margin: 30px auto 15px;
  padding-inline: var(--gutter);
  box-sizing: content-box;
}
.field { margin-block-end: 20px; }
.field__label {
  display: block;
  margin-block-end: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 15px;
  border: 1px solid var(--color-field-border);
  border-radius: 12px;
  background: var(--color-bg-field);
  color: var(--color-text);
  font: inherit;
  font-size: var(--text-field);
  line-height: 1.25;
  transition: border-color 150ms ease-out;
}
.input::placeholder { color: rgb(255 255 255 / 0.6); }
.input:focus-visible {
  outline: none;
  border-color: var(--color-focus);
  box-shadow: 0 0 0 1px var(--color-focus);
}
.input--textarea { min-height: 150px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--color-error); }

.field-error {
  margin-block-start: 8px;
  color: var(--color-error);
  font-size: 0.875rem;
  line-height: 1.4;
}

.contact__actions {
  display: flex;
  justify-content: center;
  padding-block-start: 10px;
}
.submit-btn {
  min-height: 50px;
  padding: 10px 40px;
  border: 0;
  border-radius: 12px;
  background: var(--gradient-cta);
  color: var(--color-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: filter 150ms ease-out, scale 150ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .submit-btn:hover { filter: brightness(0.9); } /* darken, never lighten: keeps text contrast */
}
@media (prefers-reduced-motion: no-preference) {
  .submit-btn:not(:disabled):active { scale: 0.96; }
}
.submit-btn:disabled { cursor: progress; opacity: 0.7; }

.form-status {
  min-height: 1.65em;
  margin-block-start: 16px;
  text-align: center;
  font-size: 1rem;
}
.form-status[data-state="error"] { color: var(--color-error); }
.form-status a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.footer { padding-block: 50px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-inline: 33px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links a {
  display: inline-block;
  padding: 0 20px;
  transition: opacity 150ms ease-out;
}
.footer__links li:first-child a { padding-inline-start: 20px; }
@media (hover: hover) {
  .footer__links a:hover { opacity: 0.7; }
}
.footer__copy { color: var(--color-text-muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .nav__menu { margin-inline-start: auto; }
  .hero__animation { width: 72%; top: 160px; opacity: 0.9; }
  .hero__text { max-width: 560px; }
  .feature--text-first .feature__text { margin-inline-end: 40px; }
  .feature--text-first .feature__media { padding-inline-start: 40px; }
  .feature--media-first .feature__text { margin-inline-start: 40px; }
  .feature--media-first .feature__media { padding-inline-end: 40px; }
  .feature__img, .feature__img--wide { width: 100%; max-width: 500px; }
}

@media (max-width: 991px) {
  :root {
    --text-display: 2.5rem;
    --text-heading: 1.75rem;
    --section-pad: 56px;
  }

  /* collapsible nav */
  .nav { padding-block: 24px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    inset: 100% 16px auto 16px;
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    background: var(--color-bg-field);
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.4);
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: 12px 16px; }

  /* hero stacks: text, then animation */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-block: 130px 40px;
  }
  .hero__animation {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: 560px;
    margin: 24px auto 0;
    opacity: 1;
  }
  .lottie--hero-desktop { display: none; }
  .lottie--hero-mobile { display: block; }

  /* how it works stacks */
  .how__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .how__phone { grid-column: 1 / -1; grid-row: 1; height: auto; margin-block-end: 40px; }
  .lottie--how { width: min(360px, 80%); }
  .how__col { padding: 0 10px; }
  .step { min-height: 0; }

  /* features stack: text above media */
  .feature {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 32px;
    margin-block-end: 80px;
    padding-inline: var(--gutter);
  }
  .feature__text,
  .feature--text-first .feature__text,
  .feature--media-first .feature__text {
    justify-self: center;
    margin: 0;
    text-align: center;
    max-width: 520px;
  }
  .feature__icon,
  .feature--text-first .feature__icon { margin-inline: auto; }
  .feature--media-first .feature__text { order: -1; }
  .feature--text-first .feature__media,
  .feature--media-first .feature__media {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 0;
  }
  .features > .section-title { margin-block-end: 64px; padding-inline: var(--gutter); }
  .privacy { margin-block-start: 80px; }

  /* download stacks */
  .download__band { background-size: cover; background-position: 50% 50%; }
  .download__inner { grid-template-columns: minmax(0, 1fr); padding-block: 40px; }
  .download__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .download__text { padding: 0; text-align: center; }
  .download__title { max-width: none; }

  .footer__inner { flex-direction: column; align-items: center; padding-inline: var(--gutter); text-align: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 600px) {
  :root {
    --text-display: 2rem;
    --text-heading: 1.5rem;
    --text-body: 1rem;
  }
  .brand__logo { width: 48px; height: 48px; }
  .brand__name { font-size: 1.25rem; }
  .section-title { padding-inline: var(--gutter); }
  .hero__title { margin-block-end: 24px; }
  .hero__list { margin-block-end: 32px; }
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .step { padding-block-end: 32px; }
  .lottie--results { display: none; }
  .lottie--results-mobile { display: block; }
  .lottie--privacy { height: auto; aspect-ratio: 516 / 466; }
  .store-btn { width: 100%; max-width: 320px; }
  .download__text .store-btn { margin-inline: auto; }
}

/* =========================================================
   Content pages: blog, posts, FAQ, download landing
   ========================================================= */
:root {
  --navy-850: #1c2038;
  --color-bg-card: var(--navy-900);
  --color-bg-card-hover: var(--navy-850);
  --color-text-soft: rgb(255 255 255 / 0.8);
  --color-image-outline: rgb(255 255 255 / 0.1);
  /* accent text on cards: 5.90:1 on the card, 5.38:1 on hover (#087efb is 4.49:1 there) */
  --color-accent-text-on-card: #3d97ff;
}

.page-main { padding-block: 150px 80px; }
.container--narrow { max-width: 760px; }

.page-head { margin-block-end: 48px; }
.page-title {
  font-size: var(--text-display);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-block-end: 32px;
}
.section-heading {
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-block-end: 24px;
}

/* Current page in nav and footer */
.nav__link[aria-current="page"],
.footer__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Review strip */
.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--color-bg-card);
}
.promo__quote { flex: 1 1 320px; }
.promo__stars { color: #ffc93c; letter-spacing: 0.1em; margin-inline-end: 6px; }
.promo__author { color: var(--color-text-muted); white-space: nowrap; }
.promo__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 12px;
  background: var(--gradient-cta);
  font-weight: 700;
  transition: filter 150ms ease-out;
}
@media (hover: hover) {
  .promo__cta:hover { filter: brightness(0.9); }
}

/* Post cards: the title link covers the whole card */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 24px; /* 12px image radius + 12px padding */
  background: var(--color-bg-card);
  transition: background-color 150ms ease-out;
}
@media (hover: hover) {
  .post-card:hover { background: var(--color-bg-card-hover); }
}
.post-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 8px 8px;
}
.post-card__date { color: var(--color-text-muted); font-size: 0.9375rem; }
.post-card__title {
  margin-block: 4px 16px;
  font-size: 1.25rem;
  line-height: 1.3;
}
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card__title a:focus-visible { outline: none; }
.post-card:has(a:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.post-card__more { margin-block-start: auto; color: var(--color-accent-text-on-card); font-weight: 700; }

/* Article */
.article__header { margin-block-end: 32px; }
.article__meta { color: var(--color-text-muted); margin-block-end: 12px; }
.article__meta a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.article__title {
  font-size: var(--text-display);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  margin-block-end: 40px;
}

.prose { font-size: var(--text-body); line-height: 1.7; }
.prose > * { max-width: 68ch; }
.prose p, .prose ol, .prose ul { margin: 0 0 1.25em; }
.prose ol, .prose ul { padding-inline-start: 1.4em; }
.prose li + li { margin-block-start: 0.35em; }
.prose h2 {
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2em 0 0.6em;
}
.prose h3 { font-size: 1.375rem; line-height: 1.3; margin: 1.75em 0 0.5em; }
.prose a {
  color: var(--color-accent-text);
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
}
.prose figure { margin: 2em 0; }
.prose img {
  display: block;
  margin-inline: auto;
  border-radius: 16px;
  outline: 1px solid var(--color-image-outline);
  outline-offset: -1px;
}
.prose .is-portrait img, .prose img.is-portrait { max-width: min(100%, 360px); }

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-block: 64px;
  padding: 40px 24px;
  border-radius: 24px;
  background: var(--color-bg-card);
  text-align: center;
}
.cta-card__title {
  max-width: 22ch;
  font-size: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.related { margin-block-start: 16px; }

/* FAQ: native disclosure widgets */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--color-bg-card); }
.faq__q {
  position: relative;
  display: block;
  padding: 20px 60px 20px 24px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute;
  inset-inline-end: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-block-start: -7px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  rotate: 45deg;
}
.faq__item[open] > .faq__q::after { rotate: -135deg; margin-block-start: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .faq__q::after { transition: rotate 200ms var(--ease-out), margin 200ms var(--ease-out); }
}
.faq__a { padding: 0 24px 8px; color: var(--color-text-soft); font-size: 1rem; }
.faq__more { margin-block-start: 40px; text-align: center; }
.faq__more a { color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Download landing (/get) */
.landing {
  min-height: calc(100svh - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 64px var(--gutter);
  text-align: center;
}
.landing__icon { width: 128px; height: 128px; margin-block-end: 16px; }
.landing__title { font-size: var(--text-display); line-height: 1.2; letter-spacing: -0.01em; }
.landing__tagline { color: var(--color-text-soft); margin-block-end: 24px; }

@media (max-width: 991px) {
  .page-main { padding-block: 120px 64px; }
}
@media (max-width: 600px) {
  .page-main { padding-block: 104px 48px; }
  .page-title, .article__title { font-size: 2rem; }
  .article__cover { margin-block-end: 28px; }
  .cta-card { margin-block: 48px; padding: 32px 16px; }
  .faq__q { padding: 18px 52px 18px 18px; }
  .faq__q::after { inset-inline-end: 22px; }
  .faq__a { padding: 0 18px 4px; }
}
