/* v31 — comprehensive typography, hierarchy and conversation design */
:root {
  --remi-ink: #213b54;
  --remi-body: #3f586e;
  --remi-secondary: #536c80;
  --remi-hairline: #dce8f2;
}
.remi-home,
.remi-seo-page {
  color: var(--remi-ink);
  -webkit-font-smoothing: antialiased;
}
.remi-home h1,
.remi-home h2,
.remi-home h3,
.remi-seo-page h1,
.remi-seo-page h2,
.remi-seo-page h3 {
  font-weight: 650 !important;
  letter-spacing: -0.026em !important;
  text-wrap: balance;
}
.remi-home h1 {
  font-size: clamp(2.3rem, 3.7vw, 4.1rem) !important;
  line-height: 1.15 !important;
  max-width: 720px !important;
}
.remi-hero-lead {
  font-size: clamp(1.12rem, 1.38vw, 1.26rem) !important;
  line-height: 1.67 !important;
  color: #3d586e !important;
}
.remi-section h2 {
  font-size: clamp(1.8rem, 2.9vw, 3.15rem) !important;
  line-height: 1.23 !important;
  max-width: 980px;
}
.remi-section {
  padding-top: clamp(49px, 5.5vw, 83px) !important;
  padding-bottom: clamp(49px, 5.5vw, 83px) !important;
}
.remi-section-intro,
.remi-personal p:not(.remi-section-label),
.remi-outcomes p,
.remi-steps p {
  font-size: clamp(1.04rem, 1.13vw, 1.14rem) !important;
  line-height: 1.75 !important;
  color: #425d72 !important;
}
.remi-section-label,
.remi-kicker {
  letter-spacing: 0.055em !important;
  font-size: 0.81rem !important;
  font-weight: 700 !important;
  color: #306a98 !important;
}
.remi-audience-card strong {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
}
.remi-audience-card p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: #496579 !important;
}
.remi-audience-card {
  border-color: #d4e4f1;
  padding: 26px 29px;
}
.remi-tool-list small {
  font-size: 0.95rem !important;
  color: #4f6a7e !important;
  line-height: 1.5;
}
.remi-tool-list strong {
  font-weight: 700;
}
.remi-faq-grid summary {
  font-weight: 650;
  font-size: 1.06rem;
}
.remi-faq-grid p {
  color: #4c647a;
  line-height: 1.72;
}
.remi-price-card .remi-price-ai-credit {
  color: #415d71 !important;
  font-size: 0.91rem !important;
  line-height: 1.6 !important;
}
.remi-price-card h3 {
  font-weight: 700 !important;
}
.remi-cta h2 {
  font-size: clamp(1.85rem, 2.95vw, 3.15rem) !important;
  font-weight: 650 !important;
  line-height: 1.2;
}
/* Editorial SEO rhythm */
.seo-container {
  width: min(1370px, calc(100% - 80px));
}
.seo-hero {
  padding: 72px 0 72px;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 62%, #edf6ff 100%);
}
.seo-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 4.5vw, 78px);
}
.seo-hero h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.55rem) !important;
  line-height: 1.18 !important;
  font-weight: 650 !important;
  max-width: 750px;
}
.seo-lead {
  font-size: clamp(1.09rem, 1.28vw, 1.23rem) !important;
  line-height: 1.76 !important;
  color: #3d586d !important;
  max-width: 680px;
}
.seo-kicker,
.seo-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 750;
}
.seo-hero-note {
  color: #546f83;
  font-size: 0.88rem;
  line-height: 1.6;
}
.seo-section {
  padding: clamp(54px, 6vw, 95px) 0;
}
.seo-section h2 {
  font-size: clamp(1.8rem, 2.65vw, 2.95rem) !important;
  line-height: 1.24 !important;
  max-width: 1050px;
  font-weight: 650 !important;
}
.seo-section-lead {
  font-size: 1.13rem !important;
  line-height: 1.7;
  color: #435e73;
  max-width: 950px;
}
.seo-conversations-section {
  background: #fcfdff;
}
.seo-story {
  gap: clamp(24px, 5vw, 84px);
  padding: 49px 0;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
}
.seo-story-alt {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
}
.seo-story-copy {
  max-width: 505px;
}
.seo-story-copy h3 {
  font-size: clamp(1.5rem, 2.15vw, 2.12rem) !important;
  line-height: 1.24 !important;
  font-weight: 650 !important;
}
.seo-story-copy p {
  font-size: 1.09rem !important;
  line-height: 1.75 !important;
  color: #415e74 !important;
}
.seo-story-role {
  font-size: 0.83rem;
  font-weight: 700;
  background: #e8f3fb;
  color: #256899;
}
.seo-conversation {
  border: 1px solid #d4e4f2;
  border-radius: 21px;
  padding: 0;
  overflow: hidden;
  gap: 0;
  box-shadow: 0 12px 33px rgba(15, 65, 110, 0.055);
  background: #fff;
}
.seo-dialog-head {
  background: #f4f9fd;
  border-bottom: 1px solid #e1ebf4;
  padding: 14px 21px;
  gap: 12px;
  color: #254d6d;
}
.seo-dialog-head img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.seo-dialog-head strong {
  font-weight: 700;
  font-size: 0.99rem;
}
.seo-dialog-head::after {
  content: '●';
  font-size: 0.65rem;
  color: #35ac8d;
  margin-left: auto;
}
.seo-dialog-row {
  margin: 18px 21px 0;
  max-width: 82%;
}
.seo-dialog-row p {
  font-size: 1.04rem !important;
  line-height: 1.61 !important;
  padding: 15px 18px;
  border-radius: 15px;
}
.seo-dialog-who {
  font-size: 0.83rem;
  font-weight: 700;
  color: #45657c;
}
.seo-dialog-user p {
  background: #eaf4fd;
  color: #254d6d;
}
.seo-dialog-remi p {
  background: #f5f8fb;
  color: #243f57;
  border-color: #e0e9f1;
}
.seo-result {
  margin: 13px 21px 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5fafc;
  border: 1px solid #dceae9;
  border-radius: 12px;
  padding: 13px 15px;
  color: #28495b;
}
.seo-result-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e2f3ee;
  color: #217b69;
  font-size: 1.15rem;
}
.seo-result-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.seo-result-content strong {
  font-size: 0.9rem;
  font-weight: 750;
}
.seo-result-content span {
  color: #4b6477;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.seo-dialog-disclaimer {
  padding: 13px 21px 17px;
  color: #61778a;
  font-size: 0.78rem;
  line-height: 1.55;
}
.seo-split {
  gap: 70px;
  grid-template-columns: 1.06fr 0.94fr;
}
.seo-split p {
  font-size: 1.13rem !important;
  line-height: 1.8;
  color: #425f75;
}
.seo-info-panel {
  background: linear-gradient(155deg, #f5faff, #fff);
  border-color: #d7e6f3;
  padding: clamp(24px, 3vw, 43px);
}
.seo-info-panel h3 {
  font-size: 1.33rem;
  font-weight: 700;
}
.seo-info-panel li {
  font-size: 1.01rem;
  line-height: 1.65;
  color: #3c596f;
}
.seo-faq-item {
  padding: 20px 23px;
}
.seo-faq-item summary {
  font-size: 1.05rem;
  font-weight: 650;
  color: #21435c;
  line-height: 1.5;
}
.seo-faq-item p {
  font-size: 1rem;
  line-height: 1.68;
  color: #425d72;
}
.seo-bottom h2 {
  font-size: clamp(1.8rem, 2.9vw, 3.05rem) !important;
  font-weight: 650 !important;
  line-height: 1.23;
}
.seo-bottom p {
  font-size: 1.09rem;
  line-height: 1.66;
}
.seo-faq {
  background: #fff;
}
.seo-faq-grid {
  gap: 19px;
}
.seo-story:nth-of-type(3n + 1) .seo-conversation {
  box-shadow: 0 16px 38px rgba(15, 65, 110, 0.075);
}
.seo-story:nth-of-type(3n + 2) .seo-conversation {
  border-color: #c6e3e8;
}
.seo-story:nth-of-type(3n + 2) .seo-result {
  background: #f2f9f7;
}
@media (max-width: 900px) {
  .seo-container {
    width: min(100% - 40px, 1370px);
  }
  .seo-hero-grid,
  .seo-story,
  .seo-story-alt,
  .seo-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .seo-story-alt .seo-story-copy,
  .seo-story-alt .seo-conversation {
    order: initial;
  }
  .seo-story {
    padding: 36px 0;
  }
  .seo-hero {
    padding: 48px 0;
  }
  .seo-conversation {
    max-width: 780px;
    width: 100%;
  }
}
@media (max-width: 580px) {
  .remi-home h1 {
    font-size: clamp(2.1rem, 8vw, 2.8rem) !important;
  }
  .remi-section h2,
  .seo-section h2 {
    font-size: clamp(1.73rem, 6.7vw, 2.25rem) !important;
  }
  .seo-container {
    width: calc(100% - 32px);
  }
  .seo-hero h1 {
    font-size: clamp(2.02rem, 8vw, 2.7rem) !important;
  }
  .seo-story {
    padding: 30px 0;
  }
  .seo-dialog-row {
    max-width: 89%;
    margin-left: 14px;
    margin-right: 14px;
  }
  .seo-dialog-row p {
    font-size: 0.98rem !important;
    padding: 12px 14px;
  }
  .seo-result {
    margin-left: 14px;
    margin-right: 14px;
  }
  .seo-dialog-disclaimer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .seo-dialog-head {
    padding: 12px 14px;
  }
  .remi-audience-card {
    padding: 21px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .remi-audience-card,
  .seo-conversation {
    animation: none;
    transition: none;
  }
}
