/* ============================================================
   compareEWA - site styles
   Ported and extended from the SAMPLE HTML design.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink:        #15211C;
  --body:       #44524B;
  --muted:      #6B776F;
  --line:       #E4E9E6;
  --green:      #0E9F5B;
  --green-dk:   #0A6E40;
  --green-tint: #EAF6EF;
  --page:       #EAEDEC;
  --star:       #F5A623;
  --blue:       #315cfd;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(at 20% 100%, #1c6b48 0px, transparent 50%),
    radial-gradient(at 90% 70%, #0e5aa0 0px, transparent 45%),
    #0B2A1E;
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  padding: 44px;
  display: flex;
  justify-content: center;
}

::selection { background: var(--green); color: #FFFFFF; }

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

a { color: inherit; }

.page {
  width: 1180px;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid #DBE1DE;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 44px 100px -24px rgba(0,0,0,.72);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- shared type helpers --- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.on-mobile { display: none; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 100;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img { height: 46px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  align-items: center;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav a i { font-size: 12px; width: 14px; text-align: center; }
.nav a:hover { background: #EFF6F1; color: var(--green); }
.nav a.is-active {
  color: var(--green);
  font-weight: 700;
  border-radius: 0;
  border-bottom: 2px solid var(--green);
  padding: 7px 12px 5px;
}
.nav a.is-active:hover { background: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Buttons / links
   ============================================================ */
.cta-btn {
  min-width: 240px;
  height: 60px;
  padding: 0 26px;
  border: 3px solid var(--blue);
  border-radius: 45px;
  transition: all 0.3s;
  cursor: pointer;
  background: var(--blue);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 1.2em;
  font-weight: 550;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.cta-btn:hover {
  background: #FFFFFF;
  color: #000000;
  animation: pulse512 1.5s infinite;
}
@keyframes pulse512 {
  0%   { box-shadow: 0 0 0 0 #05bada66; }
  70%  { box-shadow: 0 0 0 10px rgb(218 103 68 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(218 103 68 / 0%); }
}

.cta-btn--green { background: var(--green); border-color: var(--green); }

.text-link {
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  cursor: pointer;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.inline-link {
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ============================================================
   Gradient-border cards
   ============================================================ */
.grad-card {
  border: 2px solid transparent;
  border-radius: 12px;
  background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(135deg, #0D9488 0%, #38BDF8 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.grad-card:hover {
  background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(135deg, #7A5CFF 0%, #00C2FF 100%);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,0) 100%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  padding: 70px 40px;
  align-items: center;
}
.hero__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--body);
  max-width: 30em;
  margin: 0 0 30px;
}

/* #1 pick card */
.pick-card {
  padding: 22px;
  box-shadow: 0 26px 54px -22px rgba(18,44,31,.4);
}
.pick-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.pick-card__rank { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: var(--green); }
.stars { display: inline-flex; gap: 2px; font-size: 11px; }
.stars i { color: var(--star); }
.stars i.empty { color: #D3D8D5; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating b { font-size: 13px; font-weight: 700; }
.pick-card__logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.pick-card__logo-row img { height: 30px; width: auto; }
.pick-card__note { font-size: 13px; font-weight: 600; color: var(--body); }
.pick-card__blurb { font-size: 13.5px; color: var(--body); margin-bottom: 18px; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.stat {
  background: #F2F6F4;
  border-radius: 9px;
  padding: 14px;
}
.stat__k { font-size: 11px; color: var(--muted); font-weight: 700; }
.stat__v { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; margin-top: 3px; }
.pick-card__cta { text-align: center; margin-bottom: 9px; }
.pick-card__cta .inline-link { color: #1D4ED8; }
.pick-card__fine { text-align: center; font-size: 12px; color: var(--muted); }

/* ============================================================
   Logo wall
   ============================================================ */
.logo-wall {
  padding: 30px 40px;
  background: #F7F9F8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-wall__label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 22px;
}
.logo-wall__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.logo-wall__row img {
  height: 22px;
  width: auto;
  filter: grayscale(1);
  opacity: .55;
}

/* ============================================================
   Promise band
   ============================================================ */
.promise {
  padding: 40px;
  background: var(--green);
  color: #FFFFFF;
}
.promise__inner { max-width: 52em; }
.promise__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.promise p { font-size: 16px; line-height: 1.55; margin: 0; }
.promise .u { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: #FFFFFF; }

/* ============================================================
   Section shell
   ============================================================ */
.section { padding: 54px 40px 44px; }
.section--tight { padding: 8px 40px 48px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -.03em;
  margin: 0 0 6px;
}
.sub { font-size: 15px; color: var(--body); margin: 0 0 22px; }
.section-head .section-title { margin: 0; }

/* ============================================================
   Top ranking rows
   ============================================================ */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-row {
  display: grid;
  grid-template-columns: 46px 1.5fr 1.6fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.rank-row__num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #C2CCC6;
  line-height: 1;
}
.rank-row__logo { height: 24px; width: auto; margin-bottom: 8px; }
.rank-row__logo--lg { height: 31px; }
.rank-row__tag { font-size: 13px; font-weight: 700; color: var(--green); }
.metrics { display: flex; gap: 26px; }
.metric__k { font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.metric__v { font-size: 16px; font-weight: 700; }
.rank-row__score { text-align: right; }
.rank-row__score .stars { justify-content: flex-end; margin-bottom: 5px; }
.rank-row__score b {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--green);
  line-height: 1;
  display: block;
}
.rank-row__score small { font-size: 10px; color: var(--muted); }
.rank-row__cta { margin-top: 8px; }

.rank-cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--green-tint);
  border-radius: 12px;
}
.rank-cta__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 21px; }

/* ============================================================
   Review cards
   ============================================================ */
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review { overflow: hidden; display: flex; flex-direction: column; }
.review__shot {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.review__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.review__shot--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-tint);
}
.review__shot--logo img { width: auto; height: 30px; }
.review__score {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #FFFFFF;
  background: var(--green);
  padding: 5px 10px;
  border-radius: 8px;
}
.review__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.review__logo { height: 18px; width: auto; align-self: flex-start; margin-bottom: 10px; }
.review .stars { margin-bottom: 8px; }
.review__text { font-size: 13.5px; line-height: 1.5; color: var(--body); margin-bottom: 12px; }
.review .text-link { font-size: 13.5px; margin-top: auto; }

/* ============================================================
   What is EWA / explainer
   ============================================================ */
.explainer {
  padding: 48px 40px;
  background: #F1F8F4;
  border-top: 1px solid #E3EEE8;
  border-bottom: 1px solid #E3EEE8;
}
.explainer .section-title { margin-bottom: 14px; }
.explainer__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 52em;
  margin: 0 0 28px;
}
.explainer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.explainer__card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.explainer__card img {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 12px;
  object-fit: cover;
}
.explainer__icon-img {
  width: 104px; height: 104px; margin: 0 auto 18px;
  object-fit: contain; display: block;
}
.explainer__card h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.explainer__card p { font-size: 14.5px; line-height: 1.55; color: var(--body); margin: 0; }

/* ============================================================
   Articles grid
   ============================================================ */
.section--articles { padding: 52px 40px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article { overflow: hidden; display: flex; flex-direction: column; }
.article > img,
.article__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.article__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.article__date {
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--muted); margin-bottom: 8px;
}
.article__body h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.28;
  margin: 0 0 8px;
}
.article__body h3 a { text-decoration: none; }
.article__body p { font-size: 14px; line-height: 1.5; color: var(--body); margin: 0 0 16px; }
.article__meta { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.article .text-link { margin-top: auto; font-size: 14px; display: inline-block; }

/* ============================================================
   Help / CTA band
   ============================================================ */
.help {
  padding: 46px 40px;
  background: var(--green-tint);
  border-top: 1px solid #E3EEE8;
}
.help__inner { max-width: 54em; }
.help__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.help p { font-size: 16px; line-height: 1.55; color: var(--body); margin: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0B2A1E;
  color: #EAF5EE;
  padding: 48px 40px 28px;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}
.site-footer__brand { display: inline-block; margin-bottom: 14px; text-decoration: none; }
.site-footer__brand img { height: 48px; width: auto; display: block; }
.site-footer__about { font-size: 14px; line-height: 1.6; color: #A9C6B6; margin: 0; max-width: 26em; }
.site-footer__h {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6FE6A6;
  margin-bottom: 14px;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #D6E6DC;
}
.site-footer__links a {
  color: inherit;
  text-decoration: none;
  width: fit-content;
}
.site-footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__base span { font-size: 12.5px; color: #8FB6A1; }
.site-footer__disclosure { max-width: 44em; }
.site-footer__base .site-footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer__base .site-footer__legal a { color: #8FB6A1; text-decoration: none; }
.site-footer__base .site-footer__legal a:hover { text-decoration: underline; }

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs {
  padding: 16px 40px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: #FAFBFB;
}
.breadcrumbs a { color: var(--green); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; color: #C2CCC6; }

/* ============================================================
   Page intro (generic sub-page hero)
   ============================================================ */
.page-hero {
  padding: 54px 40px 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #F1F8F4 0%, #FFFFFF 100%);
}
.page-hero__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.page-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 42px; line-height: 1.08;
  letter-spacing: -.03em; margin: 0 0 14px; max-width: 20em;
}
.page-hero p { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 46em; margin: 0; }

/* ============================================================
   Prose (article body, legal, about)
   ============================================================ */
.prose { font-size: 17px; line-height: 1.7; color: var(--body); }
.prose h1 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 38px; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 20px;
}
.prose h2 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -.02em;
  color: var(--ink); margin: 40px 0 14px;
}
.prose h3 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 21px; color: var(--ink);
  margin: 30px 0 10px;
}
.prose h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); margin: 24px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 22px 0; padding: 16px 22px; border-left: 4px solid var(--green);
  background: var(--green-tint); border-radius: 0 10px 10px 0; color: var(--ink);
}
.prose strong { color: var(--ink); }
.prose img { border-radius: 12px; margin: 24px 0; border: 1px solid var(--line); height: auto; }
/* App review screenshot: constrained width, correct aspect on every viewport */
.figure--shot { max-width: 380px; margin: 24px auto; }
.figure--shot img { width: 100%; height: auto; margin: 0 0 8px; }
.prose figure { margin: 24px 0; }
.prose figure img { margin: 0 0 8px; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--green-tint); font-weight: 700; color: var(--ink); }

/* ============================================================
   Article page layout
   ============================================================ */
.article-hero { padding: 40px 40px 0; }
.article-hero__tag { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.article-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 40px; line-height: 1.1;
  letter-spacing: -.02em; margin: 0 0 16px;
}
.article-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.article-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.article-byline__meta { font-size: 14px; color: var(--muted); }
.article-byline__meta a { color: var(--ink); font-weight: 700; text-decoration: none; }
.article-byline__meta a:hover { color: var(--green); }
.article-hero__img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px; }
.article-main { min-width: 0; }
.article-sidebar { }
.sidebar-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 20px;
  position: sticky; top: 96px;
}
.sidebar-card h3 { font-family: 'Sora', sans-serif; font-size: 16px; margin: 0 0 14px; }
.sidebar-pick { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sidebar-pick img { height: 26px; width: auto; }
.sidebar-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sidebar-links a { display: inline-block; }

/* article FAQ: native details/summary accordion */
.article-faq { margin-top: 46px; }
.article-faq .section-title { margin: 0 0 20px; font-size: 26px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FFFFFF;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: #CDE9D9; }
.faq-item[open] {
  border-color: #BBE6CE;
  box-shadow: 0 16px 40px -24px rgba(14,159,91,.45);
}
.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ink);
  transition: color .15s ease;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--green-dk); }
.faq-item[open] .faq-item__q { color: var(--green-dk); }
.faq-item__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.faq-item__icon::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-item__icon::after  { top: 3px; left: 10px; width: 2px; height: 16px; }
.faq-item[open] .faq-item__icon::after { transform: scaleY(0); opacity: 0; }
.faq-item__a {
  padding: 0 22px 20px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq-item__a p { margin: 0; }
.faq-item[open] .faq-item__a { animation: faq-reveal .24s ease; }
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* related articles */
.related { padding: 0 40px 48px; }
.related .section-title { margin-bottom: 20px; }

/* ============================================================
   Featured #1 pick (rankings page)
   ============================================================ */
.top-pick {
  display: grid;
  grid-template-columns: 88px 1fr 260px;
  gap: 28px;
  align-items: center;
  padding: 30px 32px;
  margin-bottom: 16px;
  box-shadow: 0 26px 54px -26px rgba(18,44,31,.38);
}
.top-pick__rank {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 72px; line-height: .9;
  color: var(--green); text-align: center;
}
.top-pick__rank small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.top-pick__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.top-pick__logo { height: 44px; width: auto; }
.top-pick__tag { font-size: 13px; font-weight: 800; color: var(--green); background: var(--green-tint); padding: 5px 12px; border-radius: 999px; }
.top-pick__blurb { font-size: 16px; line-height: 1.55; color: var(--body); margin: 0 0 16px; max-width: 40em; }
.top-pick__stats { margin-bottom: 0; max-width: 460px; }
.top-pick__aside { text-align: center; }
.top-pick__score { margin-bottom: 14px; }
.top-pick__score .stars { justify-content: center; font-size: 14px; margin-bottom: 4px; }
.top-pick__score b { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 40px; color: var(--green); line-height: 1; }
.top-pick__score small { color: var(--muted); font-size: 16px; }
.top-pick__aside .cta-btn { width: 100%; min-width: 0; margin-bottom: 10px; }

/* ============================================================
   Rankings / comparison table
   ============================================================ */
.rank-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rank-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.rank-table th, .rank-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.rank-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 800; }
.rank-table tbody tr:hover { background: #FAFBFB; }
.rank-table__rank { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: #C2CCC6; }
.rank-table__app { display: flex; align-items: center; gap: 10px; }
.rank-table__app img { height: 22px; width: auto; max-width: 90px; object-fit: contain; }
.rank-table__app a { font-weight: 700; text-decoration: none; color: var(--ink); }
.rank-table__app a:hover { color: var(--green); }
.rank-table__score { font-family: 'Sora', sans-serif; font-weight: 800; color: var(--green); }

/* ============================================================
   Review (app detail) page
   ============================================================ */
.review-hero { padding: 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F1F8F4 0%, #FFFFFF 100%); }
.review-hero__grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.review-hero__rank { font-family: 'Sora', sans-serif; font-weight: 800; color: var(--green); font-size: 15px; margin: 0 0 12px; }
.review-hero__logo { height: 40px; width: auto; margin-bottom: 18px; }
.review-hero h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 38px; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.1; }
.review-hero__lede { font-size: 18px; line-height: 1.55; color: var(--body); margin: 0 0 22px; }
.review-scorecard { border: 2px solid transparent; border-radius: 12px; padding: 22px; background-image: linear-gradient(#FFFFFF,#FFFFFF), linear-gradient(135deg,#0D9488,#38BDF8); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 26px 54px -22px rgba(18,44,31,.4); }
.review-scorecard__score { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 46px; color: var(--green); line-height: 1; }
.review-scorecard__score small { font-size: 16px; color: var(--muted); }
.review-cta-row { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; text-align: center; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.proscons__col { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.proscons__col h3 { font-family: 'Sora', sans-serif; margin: 0 0 12px; font-size: 18px; }
.proscons__col ul { margin: 0; padding-left: 20px; }
.proscons__col li { margin-bottom: 8px; color: var(--body); }
.proscons__pros { background: var(--green-tint); border-color: #CDE9D9; }
.proscons__cons { background: #FDF3F1; border-color: #F3D9D2; }

.keystats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.keystats .stat { text-align: left; }

.disclosure-note {
  font-size: 13px; color: var(--muted); background: #FAFBFB; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; margin: 20px 0;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 8px 40px 52px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--body);
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .is-current { background: var(--green); color: #FFFFFF; border-color: var(--green); }

/* ============================================================
   Blog index intro
   ============================================================ */
.blog-intro { padding: 46px 40px 10px; }
.blog-intro .prose { max-width: 52em; }

/* ============================================================
   Author page
   ============================================================ */
.author-hero { display: flex; gap: 28px; align-items: center; padding: 44px 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#F1F8F4,#FFFFFF); }
.author-hero img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #FFFFFF; box-shadow: 0 10px 30px -12px rgba(0,0,0,.3); }
.author-hero__name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 32px; margin: 0 0 6px; }
.author-hero__title { color: var(--green); font-weight: 700; margin: 0 0 10px; }
.author-hero__bio { color: var(--body); max-width: 44em; margin: 0; line-height: 1.6; }
.authors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.author-card { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-card h3 { font-family: 'Sora', sans-serif; margin: 0 0 4px; font-size: 18px; }
.author-card h3 a { text-decoration: none; }
.author-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Contact / forms
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 40px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #FFFFFF;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.field textarea { min-height: 150px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--muted); }
.alert { padding: 16px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 600; }
.alert--ok { background: var(--green-tint); border: 1px solid #CDE9D9; color: var(--green-dk); }
.alert--err { background: #FDF3F1; border: 1px solid #F3D9D2; color: #B23A2A; }
.contact-aside { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #FAFBFB; }
.contact-aside h3 { font-family: 'Sora', sans-serif; margin: 0 0 12px; }
.contact-aside p { color: var(--body); line-height: 1.6; font-size: 14.5px; }

/* ============================================================
   Callout / disclosure banner (rankings, reviews)
   ============================================================ */
.affiliate-banner {
  padding: 16px 40px; background: #FFF8EC; border-bottom: 1px solid #F1E4C7;
  font-size: 13.5px; color: #7A6320; text-align: center;
}
.affiliate-banner strong { color: #5E4C15; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  body { padding: 20px; }
  .hero__grid { gap: 30px; padding: 50px 30px; }
  .hero__title { font-size: 42px; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .review-hero__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { padding: 0; }
  .page { border-radius: 0; border-left: none; border-right: none; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #FFFFFF; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.is-active { border-bottom: none; background: var(--green-tint); border-radius: 8px; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .brand img { height: 38px; }

  .hero__grid { grid-template-columns: 1fr; padding: 40px 22px; }
  .hero__title { font-size: 34px; }
  .hero__lede { font-size: 17px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(255,255,255,.70) 0%, rgba(255,255,255,.60) 100%); }

  .section, .section--articles, .explainer, .promise, .help, .review-hero, .article-layout, .form-grid, .page-hero { padding-left: 22px; padding-right: 22px; }
  .section { padding-top: 40px; padding-bottom: 34px; }
  .section-title { font-size: 25px; }
  .page-hero h1 { font-size: 32px; }
  .article-hero h1, .review-hero h1, .prose h1 { font-size: 30px; }

  .rank-row { grid-template-columns: 40px 1fr; gap: 14px; row-gap: 14px; }
  .rank-row__score { grid-column: 1 / -1; text-align: left; }
  .rank-row__score .stars { justify-content: flex-start; }
  .metrics { grid-column: 1 / -1; gap: 18px; flex-wrap: wrap; }
  .rank-cta { flex-direction: column; align-items: flex-start; }

  .top-pick { grid-template-columns: 1fr; gap: 18px; text-align: center; padding: 24px 22px; }
  .top-pick__rank { font-size: 48px; }
  .top-pick__head, .top-pick__stats { justify-content: center; }
  .top-pick__blurb { margin-left: auto; margin-right: auto; }
  .card-grid-3, .explainer__grid, .proscons, .authors-grid { grid-template-columns: 1fr; }

  /* article hero: tighter side padding, image full-bleed edge to edge */
  .article-hero { padding: 40px 20px 0; }
  .article-hero__img {
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .keystats { grid-template-columns: 1fr 1fr; }

  /* mobile text-swap utility */
  .on-mobile { display: inline; }
  .on-desktop { display: none; }

  /* #01 breadcrumbs: keep to one line, truncate the current page name */
  .breadcrumbs { white-space: nowrap; overflow: hidden; }
  .breadcrumbs span { margin: 0 5px; }
  .breadcrumbs .breadcrumbs__current {
    display: inline-block; max-width: 11ch; margin: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
  }

  /* #04 logo wall: show only the first 6 logos */
  .logo-wall__row img:nth-child(n+7) { display: none; }

  /* #06 rankings table: drop the detail columns, show rank + logo + review only */
  .rank-table { min-width: 0; }
  .rank-table-wrap { overflow-x: visible; }
  .rank-table th:nth-child(n+3):nth-child(-n+7),
  .rank-table td:nth-child(n+3):nth-child(-n+7) { display: none; }
  .rank-table__app a { display: none; }
  .rank-table__app { justify-content: center; }

  .site-footer, .breadcrumbs, .affiliate-banner, .blog-intro { padding-left: 22px; padding-right: 22px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer__base { flex-direction: column; }
  .site-footer__base span:last-child { text-align: left; }
  .author-hero { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .card-grid-4 { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .hero__title { font-size: 29px; }
  .cta-btn { width: 100%; min-width: 0; }
  .keystats { grid-template-columns: 1fr; }
}

/* ============================================================
   Error page
   ============================================================ */
.error-page { padding: 70px 40px; text-align: center; }
.error-page h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 38px; letter-spacing: -.02em; margin: 6px 0 14px; }
.error-page p { color: var(--body); max-width: 40em; margin: 0 auto 24px; font-size: 17px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
