/* Unomi marketing site — styles built from the Unomi design tokens */

.mi {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1;
  user-select: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta-ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--terracotta); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-100);
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.08;
}

p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 15px 26px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-brand-gradient); color: #fff; box-shadow: var(--shadow-button); }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink-100); border: 1px solid var(--border-card); box-shadow: var(--shadow-card); }
.btn-ghost:hover { color: var(--ink-100); border-color: var(--terracotta); }
.btn-ghost .mi { color: var(--terracotta-ink); }
.btn .mi { font-size: 20px; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border-card); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.header-nav { display: flex; align-items: center; gap: 34px; }
.header-nav a { color: var(--ink-70); font-weight: 600; font-size: 15.5px; }
.header-nav a:hover { color: var(--ink-100); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .signin { color: var(--ink-70); font-weight: 700; font-size: 15px; }
.header-cta .signin:hover { color: var(--ink-100); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink-100); }
.nav-toggle .mi { font-size: 30px; }

/* ---------- Hero ---------- */
.hero { padding: 68px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: center; }
.hero-visual { order: 0; }
.hero-copy { order: 1; }
.hero h1 { font-size: 62px; font-weight: 900; letter-spacing: -1.8px; }
.hero .lede { font-size: 20px; color: var(--ink-70); margin-top: 22px; max-width: 30ch; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--ink-55); font-size: 14.5px; font-weight: 600; }
.hero-note .mi { font-size: 18px; color: var(--sage); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lavender-tint); color: var(--lavender);
  font-weight: 800; font-size: 13px; padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill); margin-bottom: 24px;
}
.hero-pill .mi { font-size: 17px; }

/* soft peach glow behind hero phones */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ''; position: absolute; inset: -8% -6% -8% 8%;
  background: radial-gradient(60% 60% at 60% 40%, #f7dfcd 0%, rgba(247,223,205,0) 70%);
  z-index: 0;
}

/* ---------- Phone frame ---------- */
.phone {
  width: 300px;
  background: var(--surface);
  border-radius: 42px;
  border: 11px solid #1f1c18;
  box-shadow: 0 34px 70px rgba(54,50,44,.32);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.phone { text-align: left; }
.phone .screen-scroll { max-height: 620px; overflow: hidden; }
/* render the app at true device width (393px) and scale it down to the frame,
   so UI density matches the real prototype instead of being sized up */
.phone-vp { width: 100%; height: 620px; overflow: hidden; position: relative; }
.phone-device { width: 393px; height: 877px; transform: scale(0.7074); transform-origin: top left; }

/* ---------- Logos strip ---------- */
.trust { padding: 20px 0 8px; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-inner .label { color: var(--ink-40); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-55); font-weight: 700; font-size: 15px; }
.trust-badge .mi { font-size: 20px; color: var(--ink-40); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 620px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: 42px; font-weight: 900; letter-spacing: -1px; }
.section-head .sub { font-size: 19px; color: var(--ink-70); margin-top: 16px; }

/* ---------- Gallery carousel ---------- */
.gallery { overflow: hidden; }
.gallery .section-head { margin-bottom: 44px; }
.gallery-viewport { position: relative; display: flex; align-items: center; }
.gallery-track {
  display: flex; gap: 68px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 8px 0 24px;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-left: calc(50vw - 180px); padding-right: calc(50vw - 180px);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gal-item {
  flex: 0 0 auto; width: 360px; margin: 0; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center;
  opacity: .5; transition: opacity .45s ease, transform .45s ease; transform: scale(.9);
}
.gal-item.is-active { opacity: 1; transform: scale(1); }
/* freeform card vignette (no phone bezel) */
.gal-vignette { position: relative; width: 340px; padding-bottom: 58px; }
.gal-item figcaption {
  margin-top: 26px; max-width: 300px; text-align: center;
  font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--ink-55);
}
.gal-item figcaption b {
  display: block; font-family: var(--font-display); font-weight: 900; font-size: 19px;
  color: var(--ink-100); letter-spacing: -.3px; margin-bottom: 6px;
}
.gal-arrow {
  position: absolute; z-index: 5; top: 300px; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-card);
  background: var(--surface); color: var(--ink-70); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(54,50,44,.12); transition: transform .15s, color .15s;
}
.gal-arrow:hover { color: var(--terracotta-ink); }
.gal-arrow:active { transform: translateY(-50%) scale(.94); }
.gal-arrow .mi { font-size: 24px; }
.gal-arrow.prev { left: max(24px, calc(50vw - 470px)); }
.gal-arrow.next { right: max(24px, calc(50vw - 470px)); }
.gal-arrow[disabled] { opacity: .35; cursor: default; }
.gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 6px; }
.gallery-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--border-quiet); transition: background .2s, width .2s;
}
.gallery-dots button.is-active { background: var(--terracotta); width: 22px; border-radius: 4px; }

/* feature split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { display: flex; justify-content: center; position: relative; }
.split-copy h3 { font-size: 34px; font-weight: 900; letter-spacing: -.6px; margin-top: 18px; }
.split-copy .body { font-size: 18px; color: var(--ink-70); margin-top: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--radius-pill);
}
.tag.smart { background: var(--lavender-tint); color: var(--lavender); }
.tag.circle { background: var(--sage-tint); color: var(--sage); }
.tag .mi { font-size: 16px; }

.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-list .ic .mi { font-size: 20px; }
.feature-list .ftext strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 16.5px; color: var(--ink-100); margin-bottom: 2px; }
.feature-list .ftext span { font-size: 15px; color: var(--ink-70); }

/* soft glow behind split media */
.glow-lav::before, .glow-sage::before {
  content: ''; position: absolute; inset: -10%; z-index: 0; border-radius: 50%;
}
.glow-lav::before { background: radial-gradient(50% 50% at 50% 45%, #ece0e7 0%, rgba(236,224,231,0) 70%); }
.glow-sage::before { background: radial-gradient(50% 50% at 50% 45%, #d3e3c2 0%, rgba(211,227,194,0) 70%); }

/* ---------- Value cards (3-up) ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.vcard {
  background: var(--card); border-radius: var(--radius-2xl); padding: 30px 28px 32px;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-card);
}
.vcard .ic {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vcard .ic .mi { font-size: 27px; }
.vcard h4 { font-size: 21px; font-weight: 900; letter-spacing: -.3px; }
.vcard p { font-size: 15.5px; color: var(--ink-70); margin-top: 10px; }

/* ---------- How it works ---------- */
.band { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.step .num {
  font-family: var(--font-display); font-weight: 900; font-size: 15px;
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--card); color: var(--terracotta-ink); box-shadow: var(--shadow-card); border: 1px solid var(--border-card);
}
.step h4 { font-size: 21px; font-weight: 900; }
.step p { font-size: 15.5px; color: var(--ink-70); margin-top: 10px; }

/* ---------- Who it's for (personas) ---------- */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.persona-card {
  background: var(--card); border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 28px 26px 30px; overflow: hidden; position: relative;
  transition: transform .2s ease, box-shadow .2s ease; text-align: center;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(54,50,44,.13); }
.persona-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--pc-accent, var(--terracotta));
}
.persona-ic {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--pc-tint); color: var(--pc-accent); margin: 0 auto 20px;
}
.persona-ic .mi { font-size: 28px; }
.persona-card h4 { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: -.3px; color: var(--ink-100); }
.persona-card .pc-sub { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--pc-accent); margin-top: 4px; }
.persona-card p { font-size: 15px; line-height: 1.55; color: var(--ink-70); margin-top: 14px; }
.pc-lav { --pc-accent: var(--lavender); --pc-tint: var(--lavender-tint); }
.pc-sage { --pc-accent: var(--sage); --pc-tint: var(--sage-tint); }
.pc-peach { --pc-accent: var(--terracotta-ink); --pc-tint: #f6e4d6; }

/* ---------- Testimonial ---------- */
.quote-wrap { max-width: 860px; margin: 0 auto; text-align: center; }
.quote { font-family: var(--font-display); font-weight: 800; font-size: 33px; line-height: 1.28; letter-spacing: -.6px; color: var(--ink-100); }
.quote-by { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.q-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lavender-tint); color: var(--lavender); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 17px; }
.quote-by .who { text-align: left; }
.quote-by .who b { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink-100); display: block; }
.quote-by .who span { font-size: 13.5px; color: var(--ink-55); }

/* ---------- CTA ---------- */
.cta-final { text-align: center; }
.cta-box {
  background: var(--color-brand-gradient); border-radius: var(--radius-3xl);
  padding: 72px 40px; box-shadow: var(--shadow-button); position: relative; overflow: hidden;
}
.cta-box h2 { color: #fff; font-size: 44px; font-weight: 900; letter-spacing: -1px; }
.cta-box p { color: rgba(255,255,255,.9); font-size: 19px; margin-top: 16px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn-onwhite { background: #fff; color: var(--terracotta-ink); box-shadow: 0 10px 22px rgba(54,50,44,.18); }
.btn-onwhite:hover { color: var(--terracotta-deep); }
.btn-clear { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-clear:hover { color: #fff; background: rgba(255,255,255,.22); }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--border-card); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--ink-55); font-size: 14.5px; margin-top: 16px; max-width: 30ch; }
.footer-col h5 { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--ink-100); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--ink-70); font-size: 14.5px; font-weight: 500; margin-bottom: 11px; }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border-card); color: var(--ink-40); font-size: 13.5px; }
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom .socials a { color: var(--ink-40); }
.footer-bottom .socials a:hover { color: var(--terracotta); }
.footer-bottom .socials .mi { font-size: 20px; }

/* store badges */
.brand-ic { display: block; flex-shrink: 0; }
.btn .brand-ic { width: 18px; height: 18px; }
.store-badge .brand-ic { width: 22px; height: 22px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-100); color: #fff; border-radius: 13px; padding: 10px 16px;
  transition: transform .12s ease;
}
.store-badge:hover { color: #fff; transform: translateY(-1px); }
.store-badge .mi { font-size: 26px; }
.store-badge .st { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .st small { font-size: 10px; font-weight: 600; opacity: .8; }
.store-badge .st b { font-family: var(--font-display); font-weight: 800; font-size: 16px; }

/* reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-copy { order: 0; }
  .hero-visual { order: 1; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { margin-top: 12px; }
  .trust { padding-top: 40px; }
  .hero h1 { font-size: 50px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split-copy { text-align: center; }
  .split-copy .tag { }
  .feature-list { text-align: left; max-width: 440px; margin-left: auto; margin-right: auto; }
  .cards3 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; gap: 32px; }
  .personas { grid-template-columns: 1fr 1fr; }
  .step { text-align: center; }
  .step-head { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero .lede { font-size: 18px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 32px; }
  .cta-box { padding: 52px 26px; }
  .cta-box h2 { font-size: 32px; }
  .quote { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .header-cta .signin { display: none; }
}

/* ============================================================
   PAGE HERO (pricing / resources)
   ============================================================ */
.page-hero { padding: 72px 0 8px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: 54px; font-weight: 900; letter-spacing: -1.4px; margin-top: 14px; }
.page-hero .sub { font-size: 20px; color: var(--ink-70); margin: 20px auto 0; max-width: 46ch; }

/* note banner (TBD placeholder callout) */
.note-banner {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--lavender-tint); color: var(--lavender);
  font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: var(--radius-pill);
  margin: 26px auto 0;
}
.note-banner .mi { font-size: 18px; }

/* ---------- billing toggle ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--card); border: 1px solid var(--border-card); box-shadow: var(--shadow-card);
  border-radius: var(--radius-pill); padding: 5px; margin: 30px auto 0;
}
.billing-toggle button {
  font-family: var(--font-display); font-weight: 800; font-size: 14.5px;
  border: none; background: transparent; color: var(--ink-55); cursor: pointer;
  padding: 9px 20px; border-radius: var(--radius-pill); transition: color .15s ease, background .15s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button.active { background: var(--color-brand-gradient); color: #fff; box-shadow: var(--shadow-button); }
.billing-toggle .save { font-size: 11px; font-weight: 800; background: var(--sage-tint); color: var(--sage); padding: 3px 8px; border-radius: var(--radius-pill); }
.billing-toggle button.active .save { background: rgba(255,255,255,.25); color: #fff; }

/* ---------- pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: start; }
.tiers.duo { grid-template-columns: 1fr 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }
.tier .t-feats.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; }
.tier .t-feats.two-col .head { grid-column: 1 / -1; }
.tier {
  background: var(--card); border-radius: var(--radius-2xl); border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card); padding: 32px 28px 34px; position: relative; display: flex; flex-direction: column;
}
.tier.featured {
  border: 1.5px solid var(--terracotta); box-shadow: 0 18px 40px rgba(196,114,74,.16);
  transform: translateY(-8px);
}
.tier .popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--color-brand-gradient); color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 12px; letter-spacing: .04em; padding: 6px 15px; border-radius: var(--radius-pill); box-shadow: var(--shadow-button);
  white-space: nowrap;
}
.tier .t-name { display: flex; align-items: center; gap: 10px; }
.tier .t-name .mi { font-size: 22px; }
.tier .t-name h3 { font-size: 22px; font-weight: 900; }
.tier .t-tagline { font-size: 14.5px; color: var(--ink-55); margin-top: 10px; min-height: 42px; }
.tier .t-price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.tier .t-price .amt { font-family: var(--font-display); font-weight: 900; font-size: 46px; letter-spacing: -1.5px; color: var(--ink-100); }
.tier .t-price .per { font-size: 15px; font-weight: 700; color: var(--ink-55); }
.tier .t-billed { font-size: 13px; color: var(--ink-40); margin-top: 4px; min-height: 18px; }
.tier .btn { width: 100%; margin-top: 22px; }
.tier .t-feats { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border-card); display: flex; flex-direction: column; gap: 13px; }
.tier .t-feats .head { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40); margin-bottom: -2px; }
.tier .t-feats li:not(.head) { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-70); }
.tier .t-feats li .mi { font-size: 19px; flex-shrink: 0; margin-top: 1px; }
.tier .t-feats li .mi.yes { color: var(--sage); }
.tier .t-feats li .mi.smart { color: var(--lavender); }

/* ---------- comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; margin-top: 44px; background: var(--card); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border-card); }
.compare th, .compare td { text-align: center; padding: 16px 18px; border-bottom: 1px solid var(--border-card); font-size: 15px; }
.compare thead th { background: var(--surface); font-family: var(--font-display); font-weight: 900; font-size: 16px; color: var(--ink-100); }
.compare thead th:first-child, .compare td:first-child { text-align: left; }
.compare tbody td:first-child { font-weight: 600; color: var(--ink-70); }
.compare .grp td { background: var(--surface); font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40); }
.compare .mi { font-size: 20px; }
.compare .mi.yes { color: var(--sage); }
.compare .dash { color: var(--ink-40); }
.compare .cell-txt { font-weight: 700; color: var(--ink-100); font-size: 14px; }
.compare tbody tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--card); border: 1px solid var(--border-card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--ink-100);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mi { font-size: 24px; color: var(--terracotta-ink); transition: transform .2s ease; flex-shrink: 0; }
.faq[open] summary .mi { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; font-size: 15.5px; color: var(--ink-70); line-height: 1.55; max-width: 62ch; }

/* ============================================================
   RESOURCES
   ============================================================ */
/* search + category chips */
.res-search {
  display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 30px auto 0;
  background: var(--input-fill); border: 1px solid var(--border-card); border-radius: var(--radius-pill);
  padding: 13px 20px;
}
.res-search .mi { font-size: 21px; color: var(--ink-40); }
.res-search input { border: none; background: transparent; outline: none; flex: 1; font-family: var(--font-body); font-size: 15.5px; color: var(--ink-100); }
.res-search input::placeholder { color: var(--ink-40); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.chip {
  font-family: var(--font-display); font-weight: 800; font-size: 14px; cursor: pointer;
  background: var(--card); border: 1px solid var(--border-card); color: var(--ink-70);
  padding: 9px 18px; border-radius: var(--radius-pill); transition: all .15s ease; display: inline-flex; align-items: center; gap: 7px;
}
.chip .mi { font-size: 17px; }
.chip:hover { border-color: var(--terracotta); color: var(--ink-100); }
.chip.active { background: var(--ink-100); color: #fff; border-color: var(--ink-100); }

/* featured article */
.featured-article {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-top: 20px;
  background: var(--card); border: 1px solid var(--border-card); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.featured-article .fa-media {
  background: linear-gradient(135deg, #f8e4d3, #efd0b6); position: relative; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.featured-article .fa-media .glyph { font-size: 120px; color: var(--terracotta-ink); opacity: .55; }
.featured-article .fa-body { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-article .fa-body .kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--lavender); }
.featured-article .fa-body h2 { font-size: 34px; font-weight: 900; letter-spacing: -.6px; margin-top: 16px; }
.featured-article .fa-body p { font-size: 17px; color: var(--ink-70); margin-top: 14px; }
.featured-article .fa-body .meta { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--ink-55); font-weight: 600; }
.featured-article .fa-body .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-40); }

/* article grid */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.article-card {
  background: var(--card); border: 1px solid var(--border-card); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.article-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(54,50,44,.1); color: inherit; }
.article-card .ac-media { height: 168px; display: flex; align-items: center; justify-content: center; }
.article-card .ac-media .mi { font-size: 58px; }
.article-card .ac-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card .ac-kicker { font-weight: 800; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.article-card h3 { font-size: 20px; font-weight: 900; letter-spacing: -.3px; margin-top: 12px; line-height: 1.2; }
.article-card p { font-size: 14.5px; color: var(--ink-70); margin-top: 10px; flex: 1; }
.article-card .ac-meta { font-size: 13px; color: var(--ink-40); font-weight: 600; margin-top: 18px; }

/* help quick-links */
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.help-card {
  background: var(--card); border: 1px solid var(--border-card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card); padding: 26px 24px; transition: transform .15s ease, border-color .15s ease;
}
a.help-card:hover { transform: translateY(-2px); border-color: var(--terracotta); color: inherit; }
.help-card .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.help-card .ic .mi { font-size: 24px; }
.help-card h4 { font-size: 17px; font-weight: 900; }
.help-card p { font-size: 14px; color: var(--ink-70); margin-top: 8px; }
.help-card .link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-weight: 800; font-size: 13.5px; color: var(--terracotta-ink); }
.help-card .link .mi { font-size: 16px; }

@media (max-width: 940px) {
  .page-hero h1 { font-size: 42px; }
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .tier.featured { transform: none; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .fa-media { min-height: 200px; }
  .featured-article .fa-body { padding: 32px 30px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare { min-width: 620px; }
}
@media (max-width: 560px) {
  .page-hero h1 { font-size: 34px; }
  .page-hero .sub { font-size: 17px; }
  .article-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .help-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .personas { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .featured-article .fa-body h2 { font-size: 27px; }
}
