:root {
  --bg: #F2EFE9;
  --paper: #FAF8F4;

  --primary: #1E3B3F;
  --primary-hover: #274B50;

  --secondary: #708985;

  --gold: #D99F59;
  --coral: #F29869;

  --ink: #172629;
  --muted: #667377;

  --line: rgba(30, 59, 63, 0.16);
  --line-light: rgba(30, 59, 63, 0.09);

  --white: #FFFFFF;

  --max: 1240px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--ink);

  background: var(--bg);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}


/* =========================================================
   GENERAL
========================================================= */

.container {
  width: min(
    calc(100% - 48px),
    var(--max)
  );

  margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 100;

  background: rgba(242, 239, 233, 0.56);

  border-bottom: 1px solid transparent;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    backdrop-filter 0.28s ease;
}


.site-header.is-scrolled {
  background: rgba(242, 239, 233, 0.82);

  border-bottom-color: var(--line);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}


.nav-wrap {
  min-height: 78px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 24px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  width: max-content;

  font-weight: 700;

  letter-spacing: -0.03em;
}


.brand-mark {
  width: 22px;
  height: 22px;

  display: inline-block;

  background:
    linear-gradient(
      135deg,
      transparent 0 34%,
      var(--primary) 35% 100%
    );

  border: 1px solid var(--primary);

  border-radius: 4px;

  transform: rotate(45deg);
}


.brand-name {
  font-size: 1.02rem;
}


/* =========================================================
   NAV
========================================================= */

.nav {
  display: flex;

  gap: 34px;

  font-size: 0.86rem;

  font-weight: 600;
}


.nav a,
.text-link {
  transition: opacity 0.2s ease;
}


.nav a:hover,
.text-link:hover {
  opacity: 0.58;
}


.nav-actions {
  justify-self: end;

  display: flex;

  align-items: center;

  gap: 20px;

  font-size: 0.86rem;

  font-weight: 600;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
  min-height: 52px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding: 0 24px;

  border: 1px solid transparent;

  border-radius: 999px;

  font-weight: 700;

  font-size: 0.9rem;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}


.button:hover {
  transform: translateY(-1px);
}


.button-small {
  min-height: 44px;

  padding-inline: 20px;
}


.button-dark {
  color: var(--white);

  background: var(--primary);
}


.button-dark:hover {
  background: var(--primary-hover);
}


.button-outline {
  background: rgba(242, 239, 233, 0.55);

  border-color: rgba(23, 38, 41, 0.28);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}


.button-outline:hover {
  border-color: var(--ink);
}


.button-warm {
  color: #342118;

  background: var(--coral);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-button {
  display: none;

  padding: 8px;

  background: transparent;

  border: 0;

  cursor: pointer;
}


.menu-button span {
  display: block;

  width: 24px;
  height: 2px;

  margin: 5px 0;

  background: var(--ink);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 760px;

  display: flex;

  align-items: center;

  padding: 42px 0 82px;

  overflow: hidden;

  /*
   * IMPORTANTE:
   * ya no existe border-bottom.
   * Se elimina la raya de separación.
   */

  border-bottom: 0;

  isolation: isolate;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
  position: relative;

  z-index: 10;
}


.hero-copy {
  position: relative;

  z-index: 10;

  width: min(
    790px,
    68vw
  );

  padding:
    20px
    0
    48px;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
  margin: 0 0 20px;

  color: var(--secondary);

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: 0.16em;
}


/* =========================================================
   HEADINGS
========================================================= */

.hero h1,
.section h2,
.cta-section h2 {
  margin: 0;

  font-size: clamp(
    3.4rem,
    6vw,
    6.7rem
  );

  line-height: 1.01;

  letter-spacing: 0.01em;

  font-weight: 500;
}


.hero h1 {
  max-width: 920px;

  font-size: clamp(
    4.4rem,
    7.1vw,
    7.7rem
  );

  line-height: 0.97;

  letter-spacing: 0.012em;
}


.hero h1 em,
.section h2 em,
.cta-section h2 em {
  font-weight: 400;

  font-style: italic;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-subtitle {
  max-width: 650px;

  margin: 34px 0 0;

  color: var(--muted);

  font-size: 1.1rem;

  line-height: 1.6;
}


.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 34px;
}


.hero-note {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 28px;

  color: var(--muted);

  font-size: 0.88rem;
}


.dot {
  width: 8px;
  height: 8px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--gold);
}


/* =========================================================
   FULL HERO PRODUCT VISUAL
========================================================= */

.hero-ambient-visual {
  position: absolute;

  top: 42px;
  right: 0;
  bottom: 42px;
  left: 0;

  z-index: 1;

  overflow: visible;

  pointer-events: auto;

  perspective: 1400px;

  /*
   * El desvanecimiento evita cortes duros
   * arriba y abajo sin crear líneas laterales.
   */
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      black 7%,
      black 93%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      black 7%,
      black 93%,
      transparent 100%
    );
}


.photo-field {
  position: absolute;

  top: 64px;
  right: 0;
  bottom: 64px;
  left: 0;

  overflow: visible;

  perspective: 1400px;

  transform-style: preserve-3d;

  will-change: transform;
}


/* =========================================================
   READABILITY MASK
========================================================= */

/*
 * Este es el sombreado del MISMO color del fondo.
 * No hay corte.
 *
 * Las fotos siguen pudiendo aparecer detrás del texto,
 * pero se funden suavemente en la zona izquierda.
 */

.hero-readability-fade {
  position: absolute;

  inset: 0;

  z-index: 4;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(242, 239, 233, 0.96) 0%,
      rgba(242, 239, 233, 0.91) 22%,
      rgba(242, 239, 233, 0.70) 39%,
      rgba(242, 239, 233, 0.28) 57%,
      rgba(242, 239, 233, 0.05) 73%,
      rgba(242, 239, 233, 0) 88%
    ),
    linear-gradient(
      180deg,
      rgba(242, 239, 233, 0.48) 0%,
      rgba(242, 239, 233, 0) 18%,
      rgba(242, 239, 233, 0) 79%,
      rgba(242, 239, 233, 0.82) 100%
    );
}


/* =========================================================
   FLOATING PHOTOS
========================================================= */

.floating-photo {
  position: absolute;

  overflow: hidden;

  margin: 0;

  background: #E7E2DA;

  border: 1px solid rgba(30, 59, 63, 0.10);

  border-radius: 18px;

  transform-origin: center;

  transform:
    translate3d(
      var(--tx, 0px),
      var(--ty, 0px),
      var(--tz, 0px)
    )
    rotateZ(
      var(--rotation, 0deg)
    )
    scale(
      var(--scale, 1)
    );

  will-change: transform;

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

  /*
   * IMPORTANTE:
   * no hay transition en transform.
   * El requestAnimationFrame controla todo.
   */

  transition:
    border-color 0.22s ease,
    opacity 0.22s ease;
}


.floating-photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  user-select: none;

  pointer-events: none;

  -webkit-user-drag: none;

  backface-visibility: hidden;

  transform: translateZ(0);

  transition:
    transform 0.45s cubic-bezier(
      0.22,
      1,
      0.36,
      1
    );
}


.floating-photo:hover {
  z-index: 30;

  border-color: rgba(30, 59, 63, 0.32);
}


.floating-photo:hover img {
  transform:
    translateZ(0)
    scale(1.04);
}


/* =========================================================
   PHOTO POSITIONS
========================================================= */

/*
 * Algunas están deliberadamente detrás del área
 * donde está el título.
 *
 * La máscara las fundirá con el fondo.
 */


.photo-1 {
  width: 138px;
  height: 176px;

  left: 4%;
  top: 7%;

  --base-rotation: -6deg;
  --base-z: -80px;

  opacity: 0.40;
}


.photo-2 {
  width: 218px;
  height: 276px;

  right: 5%;
  top: 3%;

  --base-rotation: 5deg;
  --base-z: 130px;
}


.photo-3 {
  width: 118px;
  height: 148px;

  left: 41%;
  top: 3%;

  --base-rotation: 4deg;
  --base-z: -130px;

  opacity: 0.72;
}


.photo-4 {
  width: 266px;
  height: 332px;

  right: 20%;
  top: 29%;

  --base-rotation: -2deg;
  --base-z: 175px;

  z-index: 7;
}


.photo-5 {
  width: 140px;
  height: 178px;

  right: 4%;
  bottom: 6%;

  --base-rotation: 5deg;
  --base-z: -5px;
}


.photo-6 {
  width: 170px;
  height: 216px;

  left: 12%;
  bottom: 3%;

  --base-rotation: 5deg;
  --base-z: 55px;

  opacity: 0.48;
}


.photo-7 {
  width: 98px;
  height: 124px;

  right: 36%;
  top: 8%;

  --base-rotation: -5deg;
  --base-z: -160px;

  opacity: 0.62;
}


.photo-8 {
  width: 132px;
  height: 168px;

  right: 37%;
  bottom: 2%;

  --base-rotation: 4deg;
  --base-z: 95px;
}


.photo-9 {
  width: 92px;
  height: 120px;

  left: 30%;
  top: 42%;

  --base-rotation: -7deg;
  --base-z: -110px;

  opacity: 0.35;
}


.photo-10 {
  width: 120px;
  height: 154px;

  right: 9%;
  top: 43%;

  --base-rotation: -4deg;
  --base-z: 30px;
}


/* =========================================================
   SIGNAL STRIP
========================================================= */

.signal-strip {
  position: relative;

  z-index: 12;

  padding: 0;

  /*
   * mismo fondo del hero:
   * la transición inferior queda limpia.
   */

  background: var(--bg);
}


.signal-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-inline: 1px solid var(--line);
}


.signal-grid > div {
  min-height: 140px;

  padding: 26px 24px;

  border-right: 1px solid var(--line);
}


.signal-grid > div:last-child {
  border-right: 0;
}


.signal-grid span {
  display: block;

  margin-bottom: 20px;

  color: var(--secondary);

  font-size: 0.7rem;

  font-weight: 800;
}


.signal-grid strong {
  display: block;

  font-size: 1rem;
}


.signal-grid p {
  margin: 7px 0 0;

  color: var(--muted);

  font-size: 0.86rem;
}


/* =========================================================
   GENERIC SECTION
========================================================= */

.section {
  padding: 110px 0;
}


/* =========================================================
   DARK SECTION
========================================================= */

.section-dark {
  color: var(--white);

  background: var(--primary);
}


.eyebrow-light {
  color: #BDCCCE;
}


.two-col-section {
  display: grid;

  grid-template-columns:
    0.95fr
    1.05fr;

  align-items: start;

  gap: 110px;
}


.section-heading h2 {
  font-size: clamp(
    3rem,
    5vw,
    5.5rem
  );
}


.section-copy .lead {
  max-width: 600px;

  margin-top: 2px;

  color: var(--white);

  font-size: 1.3rem;

  line-height: 1.5;
}


.section-copy > p:not(.lead) {
  max-width: 650px;

  color: #CAD5D6;

  line-height: 1.7;
}


/* =========================================================
   METRICS
========================================================= */

.metric-row {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 28px;

  margin-top: 54px;

  padding-top: 28px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.2);
}


.metric-row strong {
  display: block;

  font-size: 3.2rem;

  font-weight: 500;

  letter-spacing: -0.015em;
}


.metric-row span {
  color: #CAD5D6;

  font-size: 0.86rem;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title-row {
  display: grid;

  grid-template-columns:
    1.25fr
    0.75fr;

  align-items: end;

  gap: 70px;

  margin-bottom: 56px;
}


.section-title-row h2 {
  max-width: 760px;

  font-size: clamp(
    2.6rem,
    4vw,
    4.6rem
  );
}


.section-title-row > p {
  max-width: 420px;

  justify-self: end;

  color: var(--muted);

  line-height: 1.6;
}


.section-title-row.compact {
  margin-bottom: 36px;
}


.strong {
  font-weight: 800;
}


/* =========================================================
   FEATURE TABLE
========================================================= */

.feature-table {
  border-top: 1px solid var(--line);
}


.feature-row {
  display: grid;

  grid-template-columns:
    120px
    1fr
    1fr;

  align-items: start;

  gap: 42px;

  padding: 28px 0;

  border-bottom: 1px solid var(--line);
}


.feature-num {
  color: var(--secondary);

  font-size: 0.75rem;

  font-weight: 800;
}


.feature-row h3 {
  margin: 0;

  font-size: 1.3rem;

  letter-spacing: -0.01em;
}


.feature-row p {
  max-width: 520px;

  margin: 0;

  color: var(--muted);

  line-height: 1.6;
}


/* =========================================================
   SOFT SECTION
========================================================= */

.section-soft {
  background: #E8ECEA;

  border-block: 1px solid var(--line);
}


.insight-grid {
  display: grid;

  grid-template-columns:
    0.9fr
    1.1fr;

  align-items: center;

  gap: 80px;
}


.insight-copy h2 {
  font-size: clamp(
    2.7rem,
    4.3vw,
    4.8rem
  );
}


.insight-copy > p:not(.eyebrow) {
  max-width: 570px;

  margin: 24px 0 30px;

  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   INSIGHT CARD
========================================================= */

.insight-card {
  padding: 28px;

  background: var(--paper);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);
}


.mini-head {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.12em;
}


.insight-stat {
  padding: 48px 0;

  border-bottom: 1px solid var(--line);
}


.insight-label {
  display: block;

  margin-bottom: 10px;

  color: var(--secondary);

  font-size: 0.78rem;

  font-weight: 800;
}


.insight-stat strong {
  display: block;

  max-width: 520px;

  font-size: 2.2rem;

  line-height: 1.08;

  letter-spacing: -0.015em;
}


.insight-stat p {
  max-width: 560px;

  color: var(--muted);

  line-height: 1.6;
}


.insight-actions {
  display: flex;

  gap: 10px;

  padding-top: 20px;
}


.insight-actions button {
  padding: 10px 14px;

  background: transparent;

  border: 1px solid var(--line);

  border-radius: 999px;

  font-weight: 700;

  cursor: pointer;
}


/* =========================================================
   BLOG
========================================================= */

.blog-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 28px;
}


.blog-art {
  height: 310px;

  border: 1px solid var(--line);

  border-radius: var(--radius-md);
}


.blog-art-one {
  background:
    linear-gradient(
      135deg,
      #263B40 0%,
      #708985 44%,
      #D99F59 100%
    );
}


.blog-art-two {
  background:
    linear-gradient(
      135deg,
      #F29869 0%,
      #D99F59 38%,
      #1E3B3F 100%
    );
}


.blog-meta {
  display: flex;

  justify-content: space-between;

  gap: 14px;

  margin-top: 18px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.1em;
}


.blog-card h3 {
  margin: 12px 0 0;

  font-size: 1.3rem;

  line-height: 1.35;

  letter-spacing: -0.01em;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
  padding: 100px 0;

  color: var(--white);

  background: var(--primary);
}


.cta-inner {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: end;

  gap: 40px;
}


.cta-inner .eyebrow {
  grid-column: 1 / -1;

  margin-bottom: -10px;
}


.cta-section h2 {
  max-width: 820px;

  font-size: clamp(
    3.4rem,
    6vw,
    6.3rem
  );
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 34px 0;

  color: #D8E2E3;

  background: #162F33;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.12);
}


.footer-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr
    auto;

  align-items: center;

  gap: 20px;
}


.footer-brand .brand-mark {
  border-color: #D8E2E3;

  background:
    linear-gradient(
      135deg,
      transparent 0 34%,
      #D8E2E3 35% 100%
    );
}


.footer p {
  margin: 0;

  color: #AEBFC2;

  font-size: 0.86rem;
}


.footer-links {
  display: flex;

  gap: 18px;

  font-size: 0.82rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  .nav {
    display: none;
  }


  .nav-wrap {
    grid-template-columns:
      1fr
      auto;
  }


  .nav-actions {
    display: none;
  }


  .menu-button {
    display: block;
  }


  .hero {
    min-height: 850px;

    padding:
      60px
      0
      74px;
  }


  .hero-copy {
    width: min(
      760px,
      88vw
    );
  }


  .hero h1 {
    font-size: clamp(
      4.1rem,
      11vw,
      6.8rem
    );
  }


  .hero-readability-fade {
    background:
      linear-gradient(
        90deg,
        rgba(242, 239, 233, 0.96) 0%,
        rgba(242, 239, 233, 0.86) 35%,
        rgba(242, 239, 233, 0.45) 62%,
        rgba(242, 239, 233, 0.05) 90%
      ),
      linear-gradient(
        180deg,
        rgba(242, 239, 233, 0.42) 0%,
        rgba(242, 239, 233, 0) 20%,
        rgba(242, 239, 233, 0) 75%,
        rgba(242, 239, 233, 0.82) 100%
      );
  }


  .two-col-section,
  .insight-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }


  .signal-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .signal-grid > div:nth-child(2) {
    border-right: 0;
  }


  .signal-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }


  .section-title-row {
    grid-template-columns: 1fr;

    gap: 24px;
  }


  .section-title-row > p {
    justify-self: start;
  }


  .feature-row {
    grid-template-columns:
      70px
      1fr;
  }


  .feature-row p {
    grid-column: 2;
  }


  .cta-inner {
    grid-template-columns: 1fr;
  }


  .blog-grid {
    grid-template-columns: 1fr;
  }


  .footer-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--max)
    );
  }


  .site-header {
    position: sticky;
  }


  .nav-wrap {
    min-height: 68px;
  }


  .hero {
  min-height: auto;

  padding:
    24px
    0
    34px;
}


.hero-copy {
  width: 100%;

  padding:
    8px
    0
    20px;
}

/* =========================================================
   MOBILE HERO PHOTOS
   Hero compacto, pero con presencia visual.
========================================================= */

/*
 * Solo ocultamos tres imágenes.
 * Las demás siguen formando parte del hero.
 */

.photo-5,
.photo-6,
.photo-9 {
  display: none;
}


/*
 * El velo móvil debe proteger la lectura,
 * pero no borrar las fotografías.
 */

.hero-readability-fade {
  background:
    linear-gradient(
      180deg,
      rgba(242, 239, 233, 0.68) 0%,
      rgba(242, 239, 233, 0.52) 25%,
      rgba(242, 239, 233, 0.32) 48%,
      rgba(242, 239, 233, 0.12) 70%,
      rgba(242, 239, 233, 0.38) 100%
    );
}


/*
 * Las imágenes ocupan el hero completo.
 * No crean altura adicional.
 */

.hero-ambient-visual {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}


.photo-field {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}


/* 01 */

.photo-1 {
  width: 74px;
  height: 96px;

  left: -2%;
  top: 11%;

  opacity: 0.58;
}


/* 02 */

.photo-2 {
  width: 108px;
  height: 138px;

  right: -3%;
  top: 9%;

  opacity: 0.88;
}


/* 03 */

.photo-3 {
  width: 66px;
  height: 84px;

  right: 8%;
  top: 35%;

  opacity: 0.66;
}


/* 04 */

.photo-4 {
  display: block;

  width: 118px;
  height: 148px;

  right: 17%;
  top: 55%;

  opacity: 0.82;
}


/* 07 */

.photo-7 {
  width: 64px;
  height: 82px;

  left: 1%;
  top: 47%;

  opacity: 0.56;
}


/* 08 */

.photo-8 {
  display: block;

  width: 82px;
  height: 104px;

  left: 12%;
  top: 68%;

  opacity: 0.72;
}


/* 10 */

.photo-10 {
  display: block;

  width: 70px;
  height: 90px;

  right: -1%;
  top: 72%;

  opacity: 0.68;
}


  .signal-grid {
    grid-template-columns: 1fr;

    border-inline: 0;
  }


  .signal-grid > div {
    min-height: 112px;

    border-right: 0;

    border-bottom: 1px solid var(--line);
  }


  .signal-grid > div:last-child {
    border-bottom: 0;
  }


  .section {
    padding: 74px 0;
  }


  .two-col-section {
    gap: 36px;
  }


  .metric-row {
    grid-template-columns:
      1fr
      1fr;
  }


  .feature-row {
    grid-template-columns:
      44px
      1fr;

    gap: 18px;
  }


  .blog-art {
    height: 220px;
  }


  .cta-section {
    padding: 74px 0;
  }


  .footer {
    padding-bottom: 44px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  .floating-photo {
    transform:
      translate3d(
        0,
        0,
        var(--base-z, 0)
      )
      rotateZ(
        var(--base-rotation, 0deg)
      );
  }


  .button {
    transition: none;
  }

}

/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-page {
  background: var(--bg);
}


/* =========================================================
   LEGAL HERO
========================================================= */

.legal-hero {
  padding:
    110px
    0
    72px;

  border-bottom: 1px solid var(--line);
}


.legal-hero .eyebrow {
  margin-bottom: 26px;
}


.legal-hero h1 {
  max-width: 1000px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    4rem,
    7vw,
    7.4rem
  );

  font-weight: 500;

  line-height: 0.98;

  letter-spacing: 0.012em;
}


.legal-hero-meta {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: end;

  gap: 60px;

  margin-top: 50px;
}


.legal-hero-meta p {
  max-width: 620px;

  margin: 0;

  color: var(--muted);

  font-size: 1.08rem;

  line-height: 1.65;
}


.legal-hero-meta span {
  color: var(--secondary);

  font-size: 0.76rem;

  font-weight: 700;

  letter-spacing: 0.05em;
}


/* =========================================================
   LEGAL BODY
========================================================= */

.legal-body {
  padding:
    76px
    0
    120px;
}


.legal-layout {
  display: grid;

  grid-template-columns:
    250px
    minmax(0, 760px);

  justify-content: space-between;

  align-items: start;

  gap: 100px;
}


/* =========================================================
   LEGAL SIDEBAR
========================================================= */

.legal-sidebar {
  position: sticky;

  top: 112px;
}


.legal-sidebar-label {
  display: block;

  margin-bottom: 22px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.15em;
}


.legal-sidebar nav {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 3px;
}


.legal-sidebar a {
  position: relative;

  display: inline-block;

  padding:
    7px
    0;

  color: var(--muted);

  font-size: 0.84rem;

  line-height: 1.35;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}


.legal-sidebar a:hover {
  color: var(--ink);

  transform: translateX(3px);
}


/* =========================================================
   LEGAL CONTENT
========================================================= */

.legal-content {
  min-width: 0;
}


.legal-section {
  scroll-margin-top: 120px;

  padding:
    0
    0
    64px;

  margin:
    0
    0
    64px;

  border-bottom: 1px solid var(--line);
}


.legal-section:last-child {
  padding-bottom: 0;

  margin-bottom: 0;

  border-bottom: 0;
}


.legal-number {
  display: block;

  margin-bottom: 16px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.1em;
}


.legal-section h2 {
  max-width: 720px;

  margin:
    0
    0
    28px;

  color: var(--ink);

  font-size: clamp(
    2rem,
    3.2vw,
    3.3rem
  );

  font-weight: 500;

  line-height: 1.08;

  letter-spacing: 0.005em;
}


.legal-section h3 {
  margin:
    36px
    0
    12px;

  color: var(--ink);

  font-size: 1rem;

  font-weight: 700;

  letter-spacing: 0;
}


.legal-section p {
  max-width: 720px;

  margin:
    0
    0
    18px;

  color: var(--muted);

  font-size: 1rem;

  line-height: 1.75;
}


.legal-section p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   LEGAL NOTICE
========================================================= */

.legal-notice {
  max-width: 720px;

  margin-top: 32px;

  padding:
    22px
    24px;

  background: rgba(30, 59, 63, 0.055);

  border:
    1px solid
    var(--line);

  border-radius: var(--radius-sm);
}


.legal-notice strong {
  display: block;

  margin-bottom: 8px;

  color: var(--ink);

  font-size: 0.88rem;
}


.legal-notice p {
  margin: 0;

  font-size: 0.9rem;

  line-height: 1.65;
}


/* =========================================================
   LEGAL CONTACT
========================================================= */

.legal-contact {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 8px;

  margin-top: 28px;

  padding-top: 24px;

  border-top: 1px solid var(--line);
}


.legal-contact span {
  color: var(--ink);

  font-weight: 700;
}


.legal-contact a {
  color: var(--primary);

  font-weight: 600;

  text-decoration: underline;

  text-underline-offset: 4px;
}


/* =========================================================
   LEGAL TABLET
========================================================= */

@media (max-width: 980px) {

  .legal-hero {
    padding:
      84px
      0
      60px;
  }


  .legal-layout {
    grid-template-columns:
      190px
      minmax(0, 1fr);

    gap: 54px;
  }


  .legal-sidebar {
    top: 94px;
  }

}


/* =========================================================
   LEGAL MOBILE
========================================================= */

@media (max-width: 640px) {

  .legal-hero {
    padding:
      48px
      0
      44px;
  }


  .legal-hero .eyebrow {
    margin-bottom: 18px;
  }


  .legal-hero h1 {
    font-size: clamp(
      3.1rem,
      15vw,
      4.5rem
    );

    line-height: 0.98;
  }


  .legal-hero-meta {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-top: 30px;
  }


  .legal-hero-meta p {
    font-size: 1rem;

    line-height: 1.6;
  }


  .legal-body {
    padding:
      42px
      0
      80px;
  }


  .legal-layout {
    grid-template-columns: 1fr;

    gap: 46px;
  }


  .legal-sidebar {
    position: relative;

    top: auto;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--line);
  }


  .legal-sidebar nav {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    column-gap: 22px;

    row-gap: 2px;
  }


  .legal-sidebar a {
    font-size: 0.8rem;
  }


  .legal-section {
    padding-bottom: 46px;

    margin-bottom: 46px;
  }


  .legal-section h2 {
    margin-bottom: 22px;

    font-size: clamp(
      1.9rem,
      9vw,
      2.6rem
    );
  }


  .legal-section p {
    font-size: 0.96rem;

    line-height: 1.72;
  }


  .legal-notice {
    padding:
      18px
      18px;
  }

}

/* =========================================================
   RESOURCE / BLOG PAGE
========================================================= */

.resource-page {
  background: var(--bg);
}


/* =========================================================
   SCREEN READER ONLY
========================================================= */

.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;
}


/* =========================================================
   RESOURCE HERO
========================================================= */

.resource-hero {
  position: relative;

  padding:
    76px
    0
    78px;

  overflow: hidden;

  border-bottom: 1px solid var(--line);
}


.resource-hero::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -180px;
  top: -180px;

  border:
    1px solid
    rgba(30, 59, 63, 0.08);

  border-radius: 50%;

  pointer-events: none;
}


.resource-hero-inner {
  position: relative;

  z-index: 2;
}


.resource-hero-copy {
  max-width: 1000px;
}


.resource-hero-copy h1 {
  max-width: 950px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    4rem,
    7vw,
    7.3rem
  );

  font-weight: 500;

  line-height: 0.97;

  letter-spacing: 0.012em;
}


.resource-hero-copy h1 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.resource-hero-description {
  max-width: 660px;

  margin:
    30px
    0
    0;

  color: var(--muted);

  font-size: 1.08rem;

  line-height: 1.65;
}


/* =========================================================
   RESOURCE SEARCH
========================================================= */

.resource-search-area {
  width: min(
    860px,
    100%
  );

  margin-top: 50px;
}


.resource-search {
  margin: 0;
}


.resource-search-box {
  min-height: 72px;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 16px;

  padding:
    9px
    10px
    9px
    22px;

  background:
    rgba(250, 248, 244, 0.82);

  border:
    1px solid
    rgba(30, 59, 63, 0.24);

  border-radius: 18px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.resource-search-box:focus-within {
  background: var(--paper);

  border-color:
    rgba(30, 59, 63, 0.68);

  box-shadow:
    0
    0
    0
    3px
    rgba(30, 59, 63, 0.055);
}


.resource-search-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--secondary);
}


.resource-search-box input {
  min-width: 0;

  padding: 0;

  color: var(--ink);

  background: transparent;

  border: 0;

  outline: 0;

  font-size: 1rem;
}


.resource-search-box input::placeholder {
  color: #86918F;
}


.resource-search-box input::-webkit-search-cancel-button {
  cursor: pointer;
}


.resource-search-submit {
  min-height: 52px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 11px;

  padding:
    0
    20px;

  color: var(--white);

  background: var(--primary);

  border: 0;

  border-radius: 12px;

  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.resource-search-submit:hover {
  background: var(--primary-hover);

  transform: translateY(-1px);
}


.resource-search-submit svg {
  transition: transform 0.2s ease;
}


.resource-search-submit:hover svg {
  transform: translateX(2px);
}


/* =========================================================
   POPULAR SEARCHES
========================================================= */

.resource-popular {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap:
    8px
    16px;

  margin-top: 17px;
}


.resource-popular-label {
  color: var(--secondary);

  font-size: 0.78rem;

  font-weight: 700;
}


.resource-topic {
  padding: 0;

  color: var(--muted);

  background: transparent;

  border: 0;

  font-size: 0.8rem;

  cursor: pointer;

  transition: color 0.2s ease;
}


.resource-topic::after {
  content: "↗";

  margin-left: 5px;

  opacity: 0;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.resource-topic:hover {
  color: var(--ink);
}


.resource-topic:hover::after {
  opacity: 1;
}


/* =========================================================
   BROWSE BY PROBLEM
========================================================= */

.resource-problems {
  padding:
    100px
    0
    110px;
}


.resource-section-head {
  display: grid;

  grid-template-columns:
    1.25fr
    0.75fr;

  align-items: end;

  gap: 80px;

  margin-bottom: 54px;
}


.resource-section-head h2,
.resource-guides-header h2 {
  max-width: 760px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    2.8rem,
    4.8vw,
    5.2rem
  );

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.01em;
}


.resource-section-head h2 em,
.resource-guides-header h2 em {
  font-weight: 400;

  font-style: italic;
}


.resource-section-head > p {
  max-width: 410px;

  margin: 0;

  justify-self: end;

  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   PROBLEM GRID
========================================================= */

.problem-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  border-top: 1px solid var(--line);
}


.problem-card {
  position: relative;

  min-height: 190px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: space-between;

  padding:
    25px
    28px
    27px;

  color: var(--ink);

  text-align: left;

  background: transparent;

  border: 0;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  cursor: pointer;

  transition:
    background 0.22s ease,
    color 0.22s ease;
}


.problem-card:nth-child(3n) {
  border-right: 0;
}


.problem-card:hover {
  color: var(--white);

  background: var(--primary);
}


.problem-card-index {
  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.12em;

  transition: color 0.22s ease;
}


.problem-card:hover .problem-card-index {
  color: #BDCCCE;
}


.problem-card strong {
  max-width: 250px;

  margin-top: 38px;

  font-size: 1.08rem;

  font-weight: 600;

  line-height: 1.35;
}


.problem-card-arrow {
  position: absolute;

  top: 24px;
  right: 26px;

  font-size: 1rem;

  opacity: 0.45;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.problem-card:hover .problem-card-arrow {
  opacity: 1;

  transform:
    translate(
      2px,
      -2px
    );
}


/* =========================================================
   GUIDE SECTION
========================================================= */

.resource-guides {
  padding:
    105px
    0
    120px;

  background: var(--paper);

  border-block: 1px solid var(--line);
}


.resource-guides-header {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: end;

  gap: 40px;

  margin-bottom: 54px;
}


.resource-result-count {
  padding-bottom: 6px;

  color: var(--secondary);

  font-size: 0.8rem;

  font-weight: 700;
}


/* =========================================================
   SEARCH STATE
========================================================= */

.resource-search-state {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 8px;

  margin:
    -14px
    0
    34px;

  padding:
    16px
    0;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-size: 0.86rem;
}


.resource-search-state[hidden] {
  display: none;
}


.resource-search-state strong {
  color: var(--ink);
}


.resource-search-state button {
  margin-left: auto;

  padding: 0;

  color: var(--primary);

  background: transparent;

  border: 0;

  font-size: 0.82rem;

  font-weight: 700;

  cursor: pointer;
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.resource-article-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap:
    54px
    28px;
}


.resource-article-card[hidden] {
  display: none;
}


/* =========================================================
   ARTICLE VISUAL
========================================================= */

.resource-article-visual {
  position: relative;

  height: 270px;

  display: block;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius: var(--radius-md);

  isolation: isolate;
}


.resource-article-visual::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02),
      rgba(23, 38, 41, 0.08)
    );

  pointer-events: none;
}


.article-visual-kicker {
  position: absolute;

  top: 22px;
  left: 22px;

  z-index: 5;

  color: rgba(255, 255, 255, 0.88);

  font-size: 0.64rem;

  font-weight: 800;

  letter-spacing: 0.13em;
}


.article-visual-number {
  position: absolute;

  right: 20px;
  bottom: 17px;

  z-index: 5;

  color: rgba(255, 255, 255, 0.85);

  font-size: 0.68rem;

  font-weight: 800;
}


/* =========================================================
   VISUAL 01
========================================================= */

.resource-visual-one {
  background:
    linear-gradient(
      135deg,
      #1E3B3F,
      #708985
    );
}


.article-visual-shape {
  position: absolute;

  border:
    1px solid
    rgba(255, 255, 255, 0.42);
}


.article-shape-a {
  width: 210px;
  height: 210px;

  right: -50px;
  top: 25px;

  border-radius: 50%;
}


.article-shape-b {
  width: 140px;
  height: 140px;

  right: 55px;
  bottom: -58px;

  border-radius: 28px;

  transform: rotate(24deg);
}


/* =========================================================
   VISUAL 02
========================================================= */

.resource-visual-two {
  background:
    linear-gradient(
      145deg,
      #D99F59,
      #F29869
    );
}


.article-frame {
  position: absolute;

  width: 150px;
  height: 180px;

  left: 50%;
  top: 50%;

  transform:
    translate(
      -50%,
      -45%
    )
    rotate(-4deg);

  display: grid;

  place-items: center;

  background:
    rgba(250, 248, 244, 0.92);

  border-radius: 18px;
}


.article-frame-object {
  width: 76px;
  height: 104px;

  background: var(--primary);

  border-radius:
    36px
    36px
    18px
    18px;
}


/* =========================================================
   VISUAL 03
========================================================= */

.resource-visual-three {
  background:
    linear-gradient(
      145deg,
      #314F53,
      #1E3B3F
    );
}


.price-stack {
  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(
      -50%,
      -44%
    );

  display: flex;

  align-items: flex-end;

  gap: 9px;
}


.price-stack span {
  display: grid;

  place-items: center;

  color: var(--primary);

  background: #F5C985;

  border-radius: 12px;

  font-weight: 800;
}


.price-stack span:nth-child(1) {
  width: 64px;
  height: 70px;
}


.price-stack span:nth-child(2) {
  width: 76px;
  height: 98px;
}


.price-stack span:nth-child(3) {
  width: 88px;
  height: 128px;
}


/* =========================================================
   VISUAL 04
========================================================= */

.resource-visual-four {
  background:
    linear-gradient(
      145deg,
      #E7E2DA,
      #708985
    );
}


.visibility-bars {
  position: absolute;

  left: 50%;
  bottom: 42px;

  transform: translateX(-50%);

  width: 70%;

  height: 150px;

  display: flex;

  align-items: flex-end;

  gap: 10px;
}


.visibility-bars span {
  flex: 1;

  background: var(--primary);

  border-radius:
    7px
    7px
    2px
    2px;
}


.visibility-bars span:nth-child(1) {
  height: 82%;
}


.visibility-bars span:nth-child(2) {
  height: 68%;
}


.visibility-bars span:nth-child(3) {
  height: 48%;
}


.visibility-bars span:nth-child(4) {
  height: 35%;
}


.visibility-bars span:nth-child(5) {
  height: 21%;
}


/* =========================================================
   VISUAL 05
========================================================= */

.resource-visual-five {
  background:
    linear-gradient(
      145deg,
      #708985,
      #263B40
    );
}


.keyword-stack {
  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(
      -50%,
      -42%
    );

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;
}


.keyword-stack span {
  padding:
    9px
    15px;

  color: var(--primary);

  background:
    rgba(250, 248, 244, 0.93);

  border-radius: 9px;

  font-size: 0.82rem;

  font-weight: 700;
}


.keyword-stack span:nth-child(2) {
  transform: translateX(18px);
}


.keyword-stack span:nth-child(3) {
  transform: translateX(-10px);
}


/* =========================================================
   VISUAL 06
========================================================= */

.resource-visual-six {
  background:
    linear-gradient(
      145deg,
      #451911,
      #F29869
    );
}


.priority-list {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 72%;

  transform:
    translate(
      -50%,
      -43%
    );

  display: flex;

  flex-direction: column;
}


.priority-list span {
  display: flex;

  align-items: center;

  gap: 15px;

  padding:
    13px
    0;

  color: rgba(255, 255, 255, 0.92);

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.24);

  font-size: 0.82rem;
}


.priority-list b {
  color: #FFD6C5;

  font-size: 0.68rem;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.resource-article-meta {
  display: flex;

  justify-content: space-between;

  gap: 16px;

  margin-top: 17px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.07em;

  text-transform: uppercase;
}


.resource-article-card h3 {
  margin:
    13px
    0
    0;

  color: var(--ink);

  font-size: 1.28rem;

  line-height: 1.35;

  letter-spacing: -0.005em;
}


.resource-article-card h3 a {
  transition: opacity 0.2s ease;
}


.resource-article-card h3 a:hover {
  opacity: 0.62;
}


.resource-article-card > p {
  margin:
    13px
    0
    0;

  color: var(--muted);

  font-size: 0.9rem;

  line-height: 1.65;
}


.resource-read-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 18px;

  color: var(--primary);

  font-size: 0.82rem;

  font-weight: 700;
}


.resource-read-link span {
  transition: transform 0.2s ease;
}


.resource-read-link:hover span {
  transform:
    translate(
      2px,
      -2px
    );
}


/* =========================================================
   NO RESULTS
========================================================= */

.resource-no-results {
  max-width: 700px;

  padding:
    74px
    0
    20px;
}


.resource-no-results[hidden] {
  display: none;
}


.resource-no-results-index {
  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.15em;
}


.resource-no-results h3 {
  max-width: 620px;

  margin:
    18px
    0
    14px;

  font-size: clamp(
    2rem,
    4vw,
    3.6rem
  );

  font-weight: 500;

  line-height: 1.1;
}


.resource-no-results p {
  max-width: 520px;

  margin:
    0
    0
    26px;

  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   FEATURED GUIDE
========================================================= */

.resource-featured {
  padding:
    100px
    0;
}


.resource-featured-card {
  display: grid;

  grid-template-columns:
    1fr
    0.9fr;

  min-height: 560px;

  overflow: hidden;

  color: var(--white);

  background: var(--primary);

  border-radius: var(--radius-lg);
}


.resource-featured-copy {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  padding:
    66px
    68px;
}


.resource-featured-copy h2 {
  max-width: 630px;

  margin: 0;

  font-size: clamp(
    3rem,
    4.7vw,
    5rem
  );

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.01em;
}


.resource-featured-copy h2 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.resource-featured-copy > p:not(.eyebrow) {
  max-width: 560px;

  margin:
    28px
    0
    32px;

  color: #CAD5D6;

  line-height: 1.7;
}


/* =========================================================
   FEATURED ART
========================================================= */

.resource-featured-art {
  display: grid;

  place-items: center;

  padding: 58px;

  background:
    linear-gradient(
      145deg,
      #708985,
      #D99F59
    );
}


.featured-analysis-window {
  width: min(
    100%,
    430px
  );

  overflow: hidden;

  color: var(--ink);

  background: var(--paper);

  border-radius: 20px;

  box-shadow:
    0
    24px
    70px
    rgba(23, 38, 41, 0.18);
}


.featured-analysis-head {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding:
    18px
    20px;

  color: var(--secondary);

  border-bottom: 1px solid var(--line);

  font-size: 0.62rem;

  font-weight: 800;

  letter-spacing: 0.1em;
}


.featured-analysis-main {
  padding:
    32px
    24px
    30px;

  border-bottom: 1px solid var(--line);
}


.featured-status {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--coral);

  font-size: 0.64rem;

  font-weight: 800;

  letter-spacing: 0.12em;
}


.featured-analysis-main strong {
  display: block;

  max-width: 300px;

  font-size: 1.5rem;

  line-height: 1.2;
}


.featured-analysis-main p {
  margin:
    12px
    0
    0;

  color: var(--muted);

  font-size: 0.86rem;

  line-height: 1.55;
}


.featured-analysis-row {
  display: grid;

  grid-template-columns:
    38px
    1fr;

  align-items: center;

  gap: 10px;

  padding:
    18px
    22px;

  border-bottom: 1px solid var(--line);
}


.featured-analysis-row:last-child {
  border-bottom: 0;
}


.featured-analysis-row span {
  color: var(--secondary);

  font-size: 0.66rem;

  font-weight: 800;
}


.featured-analysis-row strong {
  font-size: 0.9rem;
}


/* =========================================================
   RESOURCE TABLET
========================================================= */

@media (max-width: 980px) {

  .resource-hero {
    padding:
      64px
      0
      68px;
  }


  .resource-section-head {
    grid-template-columns: 1fr;

    gap: 26px;
  }


  .resource-section-head > p {
    justify-self: start;
  }


  .problem-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .problem-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }


  .problem-card:nth-child(2n) {
    border-right: 0;
  }


  .resource-article-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .resource-featured-card {
    grid-template-columns: 1fr;
  }


  .resource-featured-art {
    min-height: 460px;
  }

}


/* =========================================================
   RESOURCE MOBILE
========================================================= */

@media (max-width: 640px) {

  .resource-hero {
    padding:
      42px
      0
      48px;
  }


  .resource-hero-copy h1 {
    font-size: clamp(
      3.3rem,
      15.5vw,
      5rem
    );

    line-height: 0.94;
  }


  .resource-hero-description {
    margin-top: 24px;

    font-size: 0.98rem;
  }


  .resource-search-area {
    margin-top: 34px;
  }


  .resource-search-box {
    min-height: 62px;

    grid-template-columns:
      auto
      minmax(0, 1fr);

    gap: 11px;

    padding:
      8px
      14px;

    border-radius: 14px;
  }


  .resource-search-submit {
    grid-column:
      1
      / -1;

    width: 100%;

    min-height: 48px;

    margin-top: 2px;
  }


  .resource-popular {
    gap:
      7px
      13px;

    margin-top: 15px;
  }


  .resource-problems {
    padding:
      72px
      0
      76px;
  }


  .resource-section-head {
    margin-bottom: 36px;
  }


  .resource-section-head h2,
  .resource-guides-header h2 {
    font-size: clamp(
      2.5rem,
      12vw,
      3.9rem
    );
  }


  .problem-grid {
    grid-template-columns: 1fr;
  }


  .problem-card,
  .problem-card:nth-child(2n),
  .problem-card:nth-child(3n) {
    min-height: 150px;

    border-right: 0;
  }


  .problem-card strong {
    max-width: 290px;

    margin-top: 28px;
  }


  .resource-guides {
    padding:
      72px
      0
      82px;
  }


  .resource-guides-header {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-bottom: 38px;
  }


  .resource-result-count {
    padding-bottom: 0;
  }


  .resource-search-state {
    align-items: flex-start;

    margin-top: -8px;
  }


  .resource-search-state button {
    width: 100%;

    margin:
      4px
      0
      0;

    text-align: left;
  }


  .resource-article-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }


  .resource-article-visual {
    height: 250px;
  }


  .resource-featured {
    padding:
      72px
      0;
  }


  .resource-featured-card {
    min-height: auto;

    border-radius: 20px;
  }


  .resource-featured-copy {
    padding:
      42px
      26px;
  }


  .resource-featured-copy h2 {
    font-size: clamp(
      2.7rem,
      12vw,
      4rem
    );
  }


  .resource-featured-art {
    min-height: 390px;

    padding:
      34px
      20px;
  }


  .featured-analysis-window {
    border-radius: 16px;
  }

}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
  background: var(--bg);
}


/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
  padding:
    70px
    0
    72px;

  border-bottom: 1px solid var(--line);
}


.contact-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(300px, 0.6fr);

  align-items: end;

  gap: 90px;
}


.contact-hero-copy {
  max-width: 900px;
}


.contact-hero-copy h1 {
  max-width: 850px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    4.2rem,
    7vw,
    7.3rem
  );

  font-weight: 500;

  line-height: 0.97;

  letter-spacing: 0.012em;
}


.contact-hero-copy h1 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.contact-hero-description {
  max-width: 630px;

  margin:
    30px
    0
    0;

  color: var(--muted);

  font-size: 1.08rem;

  line-height: 1.65;
}


/* =========================================================
   RESPONSE CARD
========================================================= */

.contact-response-card {
  padding:
    28px
    28px
    30px;

  background:
    rgba(250, 248, 244, 0.68);

  border:
    1px solid
    var(--line);

  border-radius: var(--radius-md);
}


.contact-response-label {
  display: block;

  margin-bottom: 24px;

  color: var(--secondary);

  font-size: 0.66rem;

  font-weight: 800;

  letter-spacing: 0.14em;
}


.contact-response-card strong {
  display: block;

  max-width: 320px;

  color: var(--ink);

  font-size: 1.55rem;

  font-weight: 500;

  line-height: 1.18;
}


.contact-response-card strong em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.contact-response-card p {
  margin:
    18px
    0
    0;

  color: var(--muted);

  font-size: 0.88rem;

  line-height: 1.6;
}


/* =========================================================
   CONTACT MAIN
========================================================= */

.contact-main {
  padding:
    100px
    0
    120px;
}


.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.78fr)
    minmax(0, 1.22fr);

  align-items: start;

  gap: 90px;
}


/* =========================================================
   HELP TOPICS
========================================================= */

.contact-help {
  min-width: 0;
}


.contact-help .eyebrow {
  margin-bottom: 26px;
}


.contact-topic-list {
  border-top: 1px solid var(--line);
}


.contact-topic {
  position: relative;

  width: 100%;

  display: grid;

  grid-template-columns:
    34px
    minmax(0, 1fr)
    auto;

  align-items: start;

  gap: 14px;

  padding:
    19px
    8px
    19px
    0;

  color: var(--ink);

  text-align: left;

  background: transparent;

  border: 0;
  border-bottom: 1px solid var(--line);

  cursor: pointer;

  transition:
    padding-left 0.2s ease,
    background 0.2s ease;
}


.contact-topic:hover {
  padding-left: 10px;

  background:
    rgba(30, 59, 63, 0.035);
}


.contact-topic-index {
  padding-top: 2px;

  color: var(--secondary);

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 0.08em;
}


.contact-topic-copy {
  display: flex;

  flex-direction: column;

  gap: 5px;
}


.contact-topic-copy strong {
  font-size: 0.94rem;

  font-weight: 700;
}


.contact-topic-copy small {
  max-width: 290px;

  color: var(--muted);

  font-size: 0.76rem;

  line-height: 1.45;
}


.contact-topic-arrow {
  padding-top: 1px;

  color: var(--secondary);

  opacity: 0.48;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.contact-topic:hover .contact-topic-arrow {
  opacity: 1;

  transform:
    translate(
      2px,
      -2px
    );
}


/* =========================================================
   FORM PANEL
========================================================= */

.contact-form-panel {
  padding:
    46px
    48px
    50px;

  background: var(--paper);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);
}


.contact-form-head {
  padding-bottom: 34px;

  margin-bottom: 34px;

  border-bottom: 1px solid var(--line);
}


.contact-form-kicker {
  display: block;

  margin-bottom: 18px;

  color: var(--secondary);

  font-size: 0.67rem;

  font-weight: 800;

  letter-spacing: 0.14em;
}


.contact-form-head h2 {
  max-width: 580px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    2.4rem,
    4vw,
    4.2rem
  );

  font-weight: 500;

  line-height: 1.03;

  letter-spacing: 0.008em;
}


.contact-form-head p {
  max-width: 560px;

  margin:
    18px
    0
    0;

  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 25px;
}


.contact-field-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}


.contact-field {
  min-width: 0;
}


.contact-field label {
  display: block;

  margin-bottom: 9px;

  color: var(--ink);

  font-size: 0.78rem;

  font-weight: 700;
}


.contact-label-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;
}


.contact-label-row span {
  margin-bottom: 9px;

  color: var(--secondary);

  font-size: 0.68rem;
}


.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;

  color: var(--ink);

  background:
    rgba(242, 239, 233, 0.48);

  border:
    1px solid
    rgba(30, 59, 63, 0.18);

  border-radius: 12px;

  outline: 0;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.contact-field input,
.contact-field select {
  min-height: 54px;

  padding:
    0
    15px;
}


.contact-field textarea {
  min-height: 180px;

  padding:
    15px;

  resize: vertical;

  line-height: 1.55;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #899391;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  background: var(--white);

  border-color:
    rgba(30, 59, 63, 0.62);

  box-shadow:
    0
    0
    0
    3px
    rgba(30, 59, 63, 0.055);
}


/* =========================================================
   SELECT
========================================================= */

.contact-select-wrap {
  position: relative;
}


.contact-select-wrap select {
  appearance: none;

  -webkit-appearance: none;

  padding-right: 46px;

  cursor: pointer;
}


.contact-select-arrow {
  position: absolute;

  top: 50%;
  right: 17px;

  transform: translateY(-50%);

  color: var(--secondary);

  pointer-events: none;

  font-size: 0.85rem;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit-row {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr);

  align-items: center;

  gap: 24px;

  padding-top: 4px;
}


.contact-submit {
  min-width: 175px;
}


.contact-submit span {
  transition: transform 0.2s ease;
}


.contact-submit:hover span {
  transform:
    translate(
      2px,
      -2px
    );
}


.contact-privacy-note {
  max-width: 470px;

  margin: 0;

  color: var(--muted);

  font-size: 0.72rem;

  line-height: 1.55;
}


.contact-privacy-note a {
  color: var(--primary);

  font-weight: 700;

  text-decoration: underline;

  text-underline-offset: 3px;
}


/* =========================================================
   FORM STATUS
========================================================= */

.contact-form-status {
  margin-top: 24px;

  padding:
    16px
    18px;

  background:
    rgba(30, 59, 63, 0.06);

  border:
    1px solid
    var(--line);

  border-radius: 12px;

  color: var(--ink);

  font-size: 0.86rem;
}


.contact-form-status[hidden] {
  display: none;
}


/* =========================================================
   CONTACT LOWER
========================================================= */

.contact-lower {
  color: var(--white);

  background: var(--primary);
}


.contact-lower-grid {
  min-height: 200px;

  display: grid;

  grid-template-columns:
    0.8fr
    1.2fr;

  align-items: center;

  gap: 80px;

  padding-top: 34px;
  padding-bottom: 34px;
}


.contact-lower-label {
  display: block;

  margin-bottom: 11px;

  color: #BDCCCE;

  font-size: 0.66rem;

  font-weight: 800;

  letter-spacing: 0.14em;
}


.contact-lower strong {
  display: block;

  max-width: 450px;

  font-size: 1.55rem;

  font-weight: 500;

  line-height: 1.2;
}


.contact-lower p {
  max-width: 610px;

  margin: 0;

  color: #CAD5D6;

  line-height: 1.65;
}


/* =========================================================
   CONTACT TABLET
========================================================= */

@media (max-width: 980px) {

  .contact-hero-grid {
    grid-template-columns:
      1fr
      320px;

    gap: 50px;
  }


  .contact-layout {
    grid-template-columns:
      280px
      minmax(0, 1fr);

    gap: 50px;
  }


  .contact-form-panel {
    padding:
      38px
      34px
      42px;
  }

}


/* =========================================================
   CONTACT MOBILE
========================================================= */

@media (max-width: 640px) {

  .contact-hero {
    padding:
      42px
      0
      48px;
  }


  .contact-hero-grid {
    grid-template-columns: 1fr;

    gap: 34px;
  }


  .contact-hero-copy h1 {
    font-size: clamp(
      3.4rem,
      15vw,
      5rem
    );

    line-height: 0.94;
  }


  .contact-hero-description {
    margin-top: 24px;

    font-size: 0.98rem;
  }


  .contact-response-card {
    padding:
      23px
      22px
      25px;
  }


  .contact-main {
    padding:
      72px
      0
      78px;
  }


  .contact-layout {
    grid-template-columns: 1fr;

    gap: 54px;
  }


  .contact-topic {
    padding:
      17px
      4px
      17px
      0;
  }


  .contact-form-panel {
    padding:
      32px
      20px
      34px;

    border-radius: 20px;
  }


  .contact-form-head {
    padding-bottom: 28px;

    margin-bottom: 28px;
  }


  .contact-form-head h2 {
    font-size: clamp(
      2.35rem,
      11vw,
      3.6rem
    );
  }


  .contact-field-row {
    grid-template-columns: 1fr;
  }


  .contact-label-row {
    align-items: flex-start;

    flex-direction: column;

    gap: 0;
  }


  .contact-label-row span {
    margin-top: -4px;
  }


  .contact-submit-row {
    grid-template-columns: 1fr;

    gap: 17px;
  }


  .contact-submit {
    width: 100%;
  }


  .contact-lower-grid {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 22px;

    padding-top: 48px;
    padding-bottom: 48px;
  }

}

/* =========================================================
   FAQ PAGE
========================================================= */

.faq-page {
  background: var(--bg);
}


/* =========================================================
   FAQ HERO
========================================================= */

.faq-hero {
  padding:
    70px
    0
    72px;

  border-bottom: 1px solid var(--line);
}


.faq-hero-copy {
  max-width: 950px;
}


.faq-hero-copy h1 {
  max-width: 900px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    4.3rem,
    7vw,
    7.4rem
  );

  font-weight: 500;

  line-height: 0.97;

  letter-spacing: 0.012em;
}


.faq-hero-copy h1 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.faq-hero-description {
  max-width: 650px;

  margin:
    30px
    0
    0;

  color: var(--muted);

  font-size: 1.08rem;

  line-height: 1.65;
}


/* =========================================================
   FAQ SEARCH
========================================================= */

.faq-search-wrap {
  width: min(
    820px,
    100%
  );

  margin-top: 48px;
}


.faq-search-box {
  min-height: 68px;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 14px;

  padding:
    8px
    18px
    8px
    21px;

  background:
    rgba(250, 248, 244, 0.78);

  border:
    1px solid
    rgba(30, 59, 63, 0.22);

  border-radius: 16px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.faq-search-box:focus-within {
  background: var(--paper);

  border-color:
    rgba(30, 59, 63, 0.62);

  box-shadow:
    0
    0
    0
    3px
    rgba(30, 59, 63, 0.05);
}


.faq-search-icon {
  display: flex;

  color: var(--secondary);
}


.faq-search-box input {
  min-width: 0;

  padding: 0;

  color: var(--ink);

  background: transparent;

  border: 0;

  outline: 0;

  font-size: 1rem;
}


.faq-search-box input::placeholder {
  color: #88928F;
}


.faq-search-clear {
  padding: 8px 5px;

  color: var(--primary);

  background: transparent;

  border: 0;

  font-size: 0.78rem;

  font-weight: 700;

  cursor: pointer;
}


.faq-search-clear[hidden] {
  display: none;
}


.faq-search-suggestions {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap:
    8px
    16px;

  margin-top: 16px;
}


.faq-search-suggestions > span {
  color: var(--secondary);

  font-size: 0.78rem;

  font-weight: 700;
}


.faq-search-suggestions button {
  padding: 0;

  color: var(--muted);

  background: transparent;

  border: 0;

  font-size: 0.8rem;

  cursor: pointer;

  transition: color 0.2s ease;
}


.faq-search-suggestions button:hover {
  color: var(--ink);
}


/* =========================================================
   FAQ MAIN
========================================================= */

.faq-main {
  padding:
    92px
    0
    120px;
}


.faq-layout {
  display: grid;

  grid-template-columns:
    230px
    minmax(0, 780px);

  justify-content: space-between;

  align-items: start;

  gap: 100px;
}


/* =========================================================
   FAQ SIDEBAR
========================================================= */

.faq-sidebar {
  position: sticky;

  top: 108px;
}


.faq-sidebar-label {
  display: block;

  margin-bottom: 20px;

  color: var(--secondary);

  font-size: 0.67rem;

  font-weight: 800;

  letter-spacing: 0.15em;
}


.faq-sidebar nav {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 3px;
}


.faq-sidebar a {
  padding:
    7px
    0;

  color: var(--muted);

  font-size: 0.84rem;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}


.faq-sidebar a:hover {
  color: var(--ink);

  transform: translateX(3px);
}


/* =========================================================
   FAQ GROUP
========================================================= */

.faq-group {
  scroll-margin-top: 110px;

  margin-bottom: 82px;
}


.faq-group:last-of-type {
  margin-bottom: 0;
}


.faq-group[hidden] {
  display: none;
}


.faq-group-head {
  display: grid;

  grid-template-columns:
    42px
    minmax(0, 1fr);

  gap: 18px;

  align-items: start;

  margin-bottom: 28px;
}


.faq-group-head > span {
  padding-top: 6px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;
}


.faq-group-head .eyebrow {
  margin-bottom: 11px;
}


.faq-group-head h2 {
  margin: 0;

  color: var(--ink);

  font-size: clamp(
    2rem,
    3vw,
    3rem
  );

  font-weight: 500;

  line-height: 1.08;

  letter-spacing: 0.005em;
}


/* =========================================================
   FAQ ITEMS
========================================================= */

.faq-list {
  border-top: 1px solid var(--line);
}


.faq-item {
  border-bottom: 1px solid var(--line);
}


.faq-item[hidden] {
  display: none;
}


.faq-question {
  width: 100%;

  min-height: 76px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    32px;

  align-items: center;

  gap: 25px;

  padding:
    22px
    4px;

  color: var(--ink);

  text-align: left;

  background: transparent;

  border: 0;

  cursor: pointer;
}


.faq-question > span:first-child {
  max-width: 660px;

  font-size: 1rem;

  font-weight: 700;

  line-height: 1.45;
}


/* =========================================================
   FAQ PLUS / MINUS
========================================================= */

.faq-toggle {
  position: relative;

  width: 28px;
  height: 28px;

  display: block;

  border:
    1px solid
    var(--line);

  border-radius: 50%;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}


.faq-toggle::before,
.faq-toggle::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 10px;
  height: 1px;

  background: var(--ink);

  transform:
    translate(
      -50%,
      -50%
    );

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


.faq-toggle::after {
  transform:
    translate(
      -50%,
      -50%
    )
    rotate(90deg);
}


.faq-item.is-open .faq-toggle {
  background: var(--primary);

  border-color: var(--primary);
}


.faq-item.is-open .faq-toggle::before,
.faq-item.is-open .faq-toggle::after {
  background: var(--white);
}


.faq-item.is-open .faq-toggle::after {
  opacity: 0;

  transform:
    translate(
      -50%,
      -50%
    )
    rotate(0deg);
}


/* =========================================================
   FAQ ANSWER
========================================================= */

.faq-answer {
  display: grid;

  grid-template-rows: 0fr;

  opacity: 0;

  transition:
    grid-template-rows 0.3s ease,
    opacity 0.25s ease;
}


.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;

  opacity: 1;
}


.faq-answer-inner {
  min-height: 0;

  overflow: hidden;
}


.faq-answer-inner > *:first-child {
  margin-top: 0;
}


.faq-answer-inner {
  padding:
    0
    54px
    0
    0;
}


.faq-item.is-open .faq-answer-inner {
  padding-bottom: 28px;
}


.faq-answer p {
  max-width: 680px;

  margin:
    0
    0
    15px;

  color: var(--muted);

  font-size: 0.94rem;

  line-height: 1.72;
}


.faq-answer p:last-child {
  margin-bottom: 0;
}


.faq-inline-link {
  display: inline-block;

  margin-top: 14px;

  color: var(--primary);

  font-size: 0.85rem;

  font-weight: 700;
}


/* =========================================================
   FAQ NO RESULTS
========================================================= */

.faq-no-results {
  max-width: 680px;

  padding:
    30px
    0;
}


.faq-no-results[hidden] {
  display: none;
}


.faq-no-results > span {
  color: var(--secondary);

  font-size: 0.67rem;

  font-weight: 800;

  letter-spacing: 0.14em;
}


.faq-no-results h2 {
  margin:
    20px
    0
    15px;

  font-size: clamp(
    2.2rem,
    4vw,
    3.7rem
  );

  font-weight: 500;

  line-height: 1.08;
}


.faq-no-results p {
  max-width: 540px;

  margin:
    0
    0
    26px;

  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   FAQ CONTACT CTA
========================================================= */

.faq-contact-strip {
  padding:
    86px
    0;

  color: var(--white);

  background: var(--primary);
}


.faq-contact-grid {
  display: grid;

  grid-template-columns:
    1.1fr
    0.9fr;

  align-items: end;

  gap: 80px;
}


.faq-contact-grid h2 {
  max-width: 650px;

  margin: 0;

  font-size: clamp(
    3rem,
    5vw,
    5.4rem
  );

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.01em;
}


.faq-contact-grid h2 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.faq-contact-action {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}


.faq-contact-action p {
  max-width: 500px;

  margin:
    0
    0
    28px;

  color: #CAD5D6;

  line-height: 1.65;
}


/* =========================================================
   FAQ TABLET
========================================================= */

@media (max-width: 980px) {

  .faq-layout {
    grid-template-columns:
      190px
      minmax(0, 1fr);

    gap: 54px;
  }


  .faq-sidebar {
    top: 94px;
  }


  .faq-contact-grid {
    gap: 50px;
  }

}


/* =========================================================
   FAQ MOBILE
========================================================= */

@media (max-width: 640px) {

  .faq-hero {
    padding:
      42px
      0
      48px;
  }


  .faq-hero-copy h1 {
    font-size: clamp(
      3.5rem,
      15.5vw,
      5rem
    );

    line-height: 0.94;
  }


  .faq-hero-description {
    margin-top: 24px;

    font-size: 0.98rem;
  }


  .faq-search-wrap {
    margin-top: 34px;
  }


  .faq-search-box {
    min-height: 60px;

    padding:
      8px
      14px;

    border-radius: 14px;
  }


  .faq-search-suggestions {
    gap:
      7px
      13px;
  }


  .faq-main {
    padding:
      58px
      0
      78px;
  }


  .faq-layout {
    grid-template-columns: 1fr;

    gap: 52px;
  }


  .faq-sidebar {
    position: relative;

    top: auto;

    padding-bottom: 28px;

    border-bottom: 1px solid var(--line);
  }


  .faq-sidebar nav {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      2px
      20px;
  }


  .faq-sidebar a {
    font-size: 0.8rem;
  }


  .faq-group {
    margin-bottom: 64px;
  }


  .faq-group-head {
    grid-template-columns:
      34px
      minmax(0, 1fr);

    gap: 12px;

    margin-bottom: 22px;
  }


  .faq-group-head h2 {
    font-size: clamp(
      1.9rem,
      8.5vw,
      2.6rem
    );
  }


  .faq-question {
    min-height: 70px;

    grid-template-columns:
      minmax(0, 1fr)
      30px;

    gap: 16px;

    padding:
      19px
      2px;
  }


  .faq-question > span:first-child {
    font-size: 0.94rem;
  }


  .faq-answer-inner {
    padding-right: 12px;
  }


  .faq-item.is-open .faq-answer-inner {
    padding-bottom: 24px;
  }


  .faq-answer p {
    font-size: 0.9rem;
  }


  .faq-contact-strip {
    padding:
      68px
      0;
  }


  .faq-contact-grid {
    grid-template-columns: 1fr;

    gap: 32px;
  }


  .faq-contact-grid h2 {
    font-size: clamp(
      2.8rem,
      12vw,
      4.2rem
    );
  }

}

/* =========================================================
   SHOP ANALYZER
========================================================= */

.shop-analyzer-page {
  background: var(--bg);
}


/* =========================================================
   HERO
========================================================= */

.shop-analyzer-hero {
  padding:
    66px
    0
    84px;

  border-bottom: 1px solid var(--line);
}


.shop-analyzer-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.18fr)
    minmax(390px, 0.82fr);

  align-items: center;

  gap: 90px;
}


/* =========================================================
   HERO COPY
========================================================= */

.shop-analyzer-copy h1 {
  max-width: 810px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    4.2rem,
    6.6vw,
    7.1rem
  );

  font-weight: 500;

  line-height: 0.97;

  letter-spacing: 0.012em;
}


.shop-analyzer-copy h1 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.shop-analyzer-description {
  max-width: 620px;

  margin:
    30px
    0
    0;

  color: var(--muted);

  font-size: 1.06rem;

  line-height: 1.65;
}


/* =========================================================
   TRUST POINTS
========================================================= */

.shop-analyzer-trust {
  display: flex;

  flex-wrap: wrap;

  gap:
    10px
    22px;

  margin-top: 30px;
}


.shop-analyzer-trust > div {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--muted);

  font-size: 0.78rem;

  font-weight: 600;
}


.shop-analyzer-check {
  width: 20px;
  height: 20px;

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  color: var(--primary);

  border:
    1px solid
    rgba(30, 59, 63, 0.25);

  border-radius: 50%;

  font-size: 0.68rem;

  font-weight: 800;
}


/* =========================================================
   ANALYZER PANEL
========================================================= */

.shop-analyzer-panel {
  padding:
    30px
    30px
    32px;

  background: var(--paper);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);
}


.shop-analyzer-panel-head {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-bottom: 22px;

  border-bottom: 1px solid var(--line);

  color: var(--secondary);

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 0.12em;
}


.shop-analyzer-panel-copy {
  padding:
    30px
    0
    28px;
}


.shop-analyzer-panel-copy h2 {
  margin: 0;

  color: var(--ink);

  font-size: 2rem;

  font-weight: 500;

  line-height: 1.08;
}


.shop-analyzer-panel-copy p {
  max-width: 440px;

  margin:
    13px
    0
    0;

  color: var(--muted);

  font-size: 0.9rem;

  line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.shop-analyzer-form {
  display: flex;

  flex-direction: column;

  gap: 22px;
}


.shop-url-field label {
  display: block;

  margin-bottom: 9px;

  color: var(--ink);

  font-size: 0.78rem;

  font-weight: 700;
}


.shop-url-input-wrap {
  min-height: 58px;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr);

  align-items: center;

  gap: 12px;

  padding:
    0
    16px;

  background:
    rgba(242, 239, 233, 0.55);

  border:
    1px solid
    rgba(30, 59, 63, 0.2);

  border-radius: 12px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.shop-url-input-wrap:focus-within {
  background: var(--white);

  border-color:
    rgba(30, 59, 63, 0.65);

  box-shadow:
    0
    0
    0
    3px
    rgba(30, 59, 63, 0.055);
}


.shop-url-icon {
  display: flex;

  color: var(--secondary);
}


.shop-url-input-wrap input {
  min-width: 0;

  padding: 0;

  color: var(--ink);

  background: transparent;

  border: 0;

  outline: 0;

  font-size: 0.92rem;
}


.shop-url-input-wrap input::placeholder {
  color: #87918F;
}


.shop-url-helper {
  display: block;

  margin-top: 8px;

  color: var(--secondary);

  font-size: 0.7rem;

  line-height: 1.5;
}


.shop-analyzer-submit {
  width: 100%;

  min-height: 56px;

  border-radius: 12px;
}


.shop-analyzer-submit svg {
  transition: transform 0.2s ease;
}


.shop-analyzer-submit:hover svg {
  transform: translateX(3px);
}


.shop-analyzer-form-note {
  margin: 0;

  color: var(--muted);

  font-size: 0.69rem;

  line-height: 1.55;
}


.shop-analyzer-form-note a {
  color: var(--primary);

  font-weight: 700;

  text-decoration: underline;

  text-underline-offset: 3px;
}


/* =========================================================
   STATUS
========================================================= */

.shop-analyzer-status {
  margin-top: 22px;

  padding:
    15px
    17px;

  color: var(--ink);

  background:
    rgba(30, 59, 63, 0.055);

  border: 1px solid var(--line);

  border-radius: 11px;

  font-size: 0.82rem;

  line-height: 1.5;
}


.shop-analyzer-status[hidden] {
  display: none;
}


/* =========================================================
   SIGNALS
========================================================= */

.shop-analyzer-signals {
  padding:
    100px
    0
    110px;
}


.shop-analyzer-section-head {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);

  align-items: end;

  gap:
    12px
    80px;

  margin-bottom: 52px;
}


.shop-analyzer-section-head .eyebrow {
  grid-column: 1 / -1;
}


.shop-analyzer-section-head h2 {
  max-width: 760px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    3rem,
    4.8vw,
    5.2rem
  );

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.01em;
}


.shop-analyzer-section-head h2 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.shop-analyzer-section-head > p {
  max-width: 430px;

  margin: 0;

  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   SIGNAL GRID
========================================================= */

.shop-signal-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.shop-signal-item {
  min-height: 210px;

  padding:
    25px
    25px
    28px;

  border-right: 1px solid var(--line);
}


.shop-signal-item:last-child {
  border-right: 0;
}


.shop-signal-item > span {
  display: block;

  margin-bottom: 54px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;
}


.shop-signal-item strong {
  display: block;

  color: var(--ink);

  font-size: 1.05rem;
}


.shop-signal-item p {
  margin:
    10px
    0
    0;

  color: var(--muted);

  font-size: 0.84rem;

  line-height: 1.55;
}


/* =========================================================
   REPORT PREVIEW
========================================================= */

.shop-analyzer-preview {
  padding:
    105px
    0;

  color: var(--white);

  background: var(--primary);
}


.shop-analyzer-preview-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(420px, 1.1fr);

  align-items: center;

  gap: 100px;
}


.shop-analyzer-preview-copy h2 {
  max-width: 650px;

  margin: 0;

  font-size: clamp(
    3.2rem,
    5vw,
    5.5rem
  );

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.01em;
}


.shop-analyzer-preview-copy h2 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.shop-analyzer-preview-copy > p:not(.eyebrow) {
  max-width: 550px;

  margin:
    28px
    0
    0;

  color: #CAD5D6;

  line-height: 1.7;
}


/* =========================================================
   REPORT CARD
========================================================= */

.shop-report-preview {
  overflow: hidden;

  color: var(--ink);

  background: var(--paper);

  border-radius: 22px;
}


.shop-report-preview-head {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding:
    18px
    22px;

  color: var(--secondary);

  border-bottom: 1px solid var(--line);

  font-size: 0.63rem;

  font-weight: 800;

  letter-spacing: 0.11em;
}


.shop-report-score {
  padding:
    29px
    24px
    31px;

  border-bottom: 1px solid var(--line);
}


.shop-report-score > span {
  display: block;

  margin-bottom: 9px;

  color: var(--secondary);

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 0.1em;
}


.shop-report-score strong {
  font-size: 4rem;

  font-weight: 500;

  line-height: 1;
}


.shop-report-score small {
  color: var(--secondary);

  font-size: 1rem;

  font-weight: 600;
}


.shop-report-priority {
  display: grid;

  grid-template-columns:
    42px
    minmax(0, 1fr);

  gap: 17px;

  padding:
    26px
    24px
    28px;

  border-bottom: 1px solid var(--line);
}


.shop-report-priority-number {
  padding-top: 3px;

  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;
}


.shop-report-priority small {
  display: block;

  margin-bottom: 9px;

  color: var(--coral);

  font-size: 0.64rem;

  font-weight: 800;

  letter-spacing: 0.11em;
}


.shop-report-priority strong {
  display: block;

  font-size: 1.3rem;

  line-height: 1.25;
}


.shop-report-priority p {
  max-width: 420px;

  margin:
    10px
    0
    0;

  color: var(--muted);

  font-size: 0.84rem;

  line-height: 1.55;
}


.shop-report-row {
  display: grid;

  grid-template-columns:
    42px
    minmax(0, 1fr);

  align-items: center;

  gap: 17px;

  padding:
    19px
    24px;

  border-bottom: 1px solid var(--line);
}


.shop-report-row:last-child {
  border-bottom: 0;
}


.shop-report-row span {
  color: var(--secondary);

  font-size: 0.68rem;

  font-weight: 800;
}


.shop-report-row strong {
  font-size: 0.9rem;
}


/* =========================================================
   NO ACCOUNT WALL
========================================================= */

.shop-analyzer-no-wall {
  padding:
    100px
    0;
}


.shop-analyzer-no-wall-grid {
  display: grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  align-items: end;

  gap: 100px;
}


.shop-analyzer-no-wall h2 {
  max-width: 720px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(
    3rem,
    4.8vw,
    5.2rem
  );

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.01em;
}


.shop-analyzer-no-wall h2 em {
  display: block;

  font-weight: 400;

  font-style: italic;
}


.shop-analyzer-no-wall-copy p {
  max-width: 550px;

  margin:
    0
    0
    24px;

  color: var(--muted);

  line-height: 1.7;
}


.shop-analyzer-guide-link {
  display: inline-block;

  color: var(--primary);

  font-size: 0.86rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  .shop-analyzer-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.8fr);

    gap: 48px;
  }


  .shop-analyzer-section-head {
    grid-template-columns: 1fr;

    gap: 24px;
  }


  .shop-signal-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .shop-signal-item:nth-child(2) {
    border-right: 0;
  }


  .shop-signal-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }


  .shop-analyzer-preview-grid {
    grid-template-columns:
      0.85fr
      1.15fr;

    gap: 54px;
  }


  .shop-analyzer-no-wall-grid {
    gap: 55px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .shop-analyzer-hero {
    padding:
      42px
      0
      54px;
  }


  .shop-analyzer-hero-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .shop-analyzer-copy h1 {
    font-size: clamp(
      3.35rem,
      15vw,
      5rem
    );

    line-height: 0.94;
  }


  .shop-analyzer-description {
    margin-top: 24px;

    font-size: 0.98rem;
  }


  .shop-analyzer-trust {
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
  }


  .shop-analyzer-panel {
    padding:
      25px
      20px
      24px;

    border-radius: 20px;
  }


  .shop-analyzer-panel-copy {
    padding:
      25px
      0;
  }


  .shop-analyzer-panel-copy h2 {
    font-size: 1.7rem;
  }


  .shop-url-input-wrap {
    min-height: 56px;
  }


  .shop-analyzer-signals {
    padding:
      72px
      0
      76px;
  }


  .shop-analyzer-section-head {
    margin-bottom: 36px;
  }


  .shop-analyzer-section-head h2 {
    font-size: clamp(
      2.65rem,
      12vw,
      4rem
    );
  }


  .shop-signal-grid {
    grid-template-columns: 1fr;

    border-bottom: 0;
  }


  .shop-signal-item,
  .shop-signal-item:nth-child(2) {
    min-height: 150px;

    border-right: 0;
    border-bottom: 1px solid var(--line);
  }


  .shop-signal-item > span {
    margin-bottom: 30px;
  }


  .shop-analyzer-preview {
    padding:
      72px
      0;
  }


  .shop-analyzer-preview-grid {
    grid-template-columns: 1fr;

    gap: 44px;
  }


  .shop-analyzer-preview-copy h2 {
    font-size: clamp(
      2.8rem,
      12vw,
      4.2rem
    );
  }


  .shop-report-preview {
    border-radius: 18px;
  }


  .shop-analyzer-no-wall {
    padding:
      72px
      0;
  }


  .shop-analyzer-no-wall-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  .shop-analyzer-no-wall h2 {
    font-size: clamp(
      2.7rem,
      12vw,
      4rem
    );
  }

}

/* =========================================================
   SHOP ANALYSIS RESULT — BASE
========================================================= */

.analysis-result-page {
  background: #f2efe9;
  min-height: 100vh;
  color: #1e3b3f;
}


.analysis-result-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.analysis-result-hero {
  padding: 132px 0 50px;
}


.analysis-result-eyebrow {
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #66787a;
}


.analysis-shop-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}


.analysis-shop-avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: #1e3b3f;
  color: #ffffff;

  font-size: 1.35rem;
  font-weight: 700;

  overflow: hidden;
}


.analysis-shop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.analysis-shop-name {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #183538;
}


.analysis-shop-subtitle {
  margin: 8px 0 0;
  color: #748183;
  font-size: 0.96rem;
}


/* =========================================================
   DEVELOPMENT NOTICE
========================================================= */

.analysis-dev-notice {
  display: none;

  margin-bottom: 28px;
  padding: 14px 16px;

  border: 1px solid rgba(30, 59, 63, 0.14);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.42);

  color: #5f7072;
  font-size: 0.82rem;
  line-height: 1.5;
}


.analysis-dev-notice.is-visible {
  display: block;
}


/* =========================================================
   OVERVIEW
========================================================= */

.analysis-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  margin-bottom: 22px;
}


.analysis-card {
  border: 1px solid rgba(30, 59, 63, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  overflow: hidden;
}


.analysis-card-inner {
  padding: 30px;
}


.analysis-card-label {
  display: block;
  margin-bottom: 14px;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;

  color: #748183;
}


.analysis-score-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}


.analysis-score {
  display: flex;
  align-items: flex-end;
  gap: 6px;

  color: #183538;
}


.analysis-score strong {
  font-size: clamp(4rem, 8vw, 7.3rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 600;
}


.analysis-score span {
  padding-bottom: 8px;
  font-size: 1rem;
  color: #748183;
}


.analysis-score-copy {
  max-width: 280px;
  margin: 0;

  color: #58696b;
  font-size: 0.96rem;
  line-height: 1.6;
}


/* =========================================================
   SUMMARY
========================================================= */

.analysis-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}


.analysis-summary-item {
  padding: 18px;

  border-radius: 15px;
  background: rgba(30, 59, 63, 0.055);
}


.analysis-summary-item strong {
  display: block;
  margin-bottom: 4px;

  font-size: 1.65rem;
  letter-spacing: -0.04em;
  color: #183538;
}


.analysis-summary-item span {
  color: #6c7b7d;
  font-size: 0.8rem;
  line-height: 1.35;
}


/* =========================================================
   SECTION
========================================================= */

.analysis-section {
  margin-top: 22px;
}


.analysis-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;

  padding: 34px 0 18px;
}


.analysis-section-heading h2 {
  margin: 0;

  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;

  color: #183538;
}


.analysis-section-heading p {
  max-width: 440px;
  margin: 0;

  color: #718082;
  font-size: 0.9rem;
  line-height: 1.55;
}


/* =========================================================
   SCORES
========================================================= */

.analysis-score-list {
  border-top: 1px solid rgba(30, 59, 63, 0.12);
}


.analysis-score-item {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 2fr) 70px;
  align-items: center;
  gap: 24px;

  padding: 22px 0;

  border-bottom: 1px solid rgba(30, 59, 63, 0.12);
}


.analysis-score-item-name {
  font-weight: 600;
  color: #29474b;
}


.analysis-progress {
  position: relative;
  height: 7px;

  border-radius: 100px;
  background: rgba(30, 59, 63, 0.10);

  overflow: hidden;
}


.analysis-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;

  width: 0;

  border-radius: inherit;
  background: #1e3b3f;

  transition: width 600ms ease;
}


.analysis-score-value {
  text-align: right;
  font-weight: 700;
  color: #29474b;
}


/* =========================================================
   PRIORITIES
========================================================= */

.analysis-priority-list {
  display: grid;
  gap: 14px;
}


.analysis-priority {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;

  padding: 26px 28px;

  border: 1px solid rgba(30, 59, 63, 0.12);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.5);
}


.analysis-priority-rank {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;
  background: #1e3b3f;

  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}


.analysis-priority-content small {
  display: block;
  margin-bottom: 7px;

  color: #778789;

  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}


.analysis-priority-content h3 {
  margin: 0 0 8px;

  color: #183538;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}


.analysis-priority-content p {
  max-width: 650px;
  margin: 0;

  color: #667679;
  font-size: 0.9rem;
  line-height: 1.55;
}


.analysis-priority-count {
  padding-top: 5px;

  white-space: nowrap;

  color: #667679;
  font-size: 0.78rem;
  font-weight: 600;
}


/* =========================================================
   LISTINGS
========================================================= */

.analysis-listings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


.analysis-listing {
  padding: 18px;

  border: 1px solid rgba(30, 59, 63, 0.12);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.5);
}


.analysis-listing-image {
  aspect-ratio: 4 / 3;

  margin-bottom: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      rgba(30, 59, 63, 0.08),
      rgba(30, 59, 63, 0.02)
    );

  overflow: hidden;
}


.analysis-listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.analysis-listing-image span {
  color: #8a9798;
  font-size: 0.75rem;
}


.analysis-listing small {
  display: block;
  margin-bottom: 6px;

  color: #788789;

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}


.analysis-listing h3 {
  margin: 0 0 8px;

  color: #213f43;
  font-size: 1rem;
  letter-spacing: -0.02em;
}


.analysis-listing p {
  margin: 0;

  color: #6a797b;
  font-size: 0.83rem;
  line-height: 1.5;
}


/* =========================================================
   MARKET CONTEXT
========================================================= */

.analysis-market-card {
  padding: 30px;

  border-radius: 20px;

  background: #183538;
  color: #ffffff;
}


.analysis-market-card .analysis-card-label {
  color: rgba(255, 255, 255, 0.58);
}


.analysis-market-card h3 {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: 1.35rem;
  letter-spacing: -0.03em;
}


.analysis-market-card p {
  max-width: 680px;
  margin: 0;

  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.9rem;
}


/* =========================================================
   CTA
========================================================= */

.analysis-connect-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  margin: 24px 0 70px;
  padding: 34px;

  border-radius: 22px;

  background: #e35336;
  color: #ffffff;
}


.analysis-connect-card h2 {
  margin: 0 0 8px;

  color: #ffffff;

  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}


.analysis-connect-card p {
  max-width: 620px;
  margin: 0;

  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 0.9rem;
}


.analysis-connect-button {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 20px;

  border: 0;
  border-radius: 12px;

  background: #ffffff;
  color: #183538;

  text-decoration: none;

  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;

  cursor: pointer;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.analysis-empty {
  padding: 160px 20px 100px;
  text-align: center;
}


.analysis-empty h1 {
  margin: 0 0 12px;

  color: #183538;

  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.055em;
}


.analysis-empty p {
  max-width: 500px;
  margin: 0 auto 24px;

  color: #718082;
  line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .analysis-overview {
    grid-template-columns: 1fr;
  }


  .analysis-listings {
    grid-template-columns: 1fr 1fr;
  }


  .analysis-connect-card {
    align-items: flex-start;
    flex-direction: column;
  }

}


@media (max-width: 640px) {

  .analysis-result-shell {
    width: min(100% - 28px, 1180px);
  }


  .analysis-result-hero {
    padding: 100px 0 32px;
  }


  .analysis-shop-heading {
    align-items: flex-start;
  }


  .analysis-shop-avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;

    border-radius: 15px;
  }


  .analysis-card-inner {
    padding: 22px;
  }


  .analysis-score-row {
    align-items: flex-start;
    flex-direction: column;
  }


  .analysis-summary-grid {
    grid-template-columns: 1fr 1fr;
  }


  .analysis-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }


  .analysis-score-item {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
  }


  .analysis-progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }


  .analysis-priority {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;

    padding: 20px;
  }


  .analysis-priority-rank {
    width: 40px;
    height: 40px;
  }


  .analysis-priority-count {
    grid-column: 2;
    padding-top: 4px;
  }


  .analysis-listings {
    grid-template-columns: 1fr;
  }


  .analysis-market-card {
    padding: 24px;
  }


  .analysis-connect-card {
    padding: 26px 22px;
  }

}

/* =========================================================
   RESULT PAGE — VISUAL ENERGY / CATEGORY COLORS
========================================================= */

/*
 * Category palette
 *
 * Coral     → visual / high attention
 * Gold      → pricing
 * Sage      → consistency
 * Deep      → strong / healthy
 */

.analysis-result-page {
  --result-coral: #F29869;
  --result-coral-soft: rgba(242, 152, 105, 0.14);

  --result-gold: #D99F59;
  --result-gold-soft: rgba(217, 159, 89, 0.15);

  --result-sage: #608C83;
  --result-sage-soft: rgba(96, 140, 131, 0.14);

  --result-green: #084032;
  --result-green-soft: rgba(8, 64, 50, 0.09);

  --result-warm: #E35336;
}


/* =========================================================
   HERO / SHOP IDENTITY
========================================================= */

.analysis-shop-avatar {
  background:
    linear-gradient(
      145deg,
      #084032 0%,
      #315f56 100%
    );

  box-shadow:
    0 12px 34px rgba(8, 64, 50, 0.14);
}


.analysis-result-eyebrow {
  color: #608C83;
}


/* =========================================================
   DEVELOPMENT NOTICE
========================================================= */

.analysis-dev-notice {
  border-color: rgba(217, 159, 89, 0.28);

  background:
    linear-gradient(
      90deg,
      rgba(217, 159, 89, 0.10),
      rgba(242, 152, 105, 0.05)
    );

  color: #6e654f;
}


/* =========================================================
   MAIN SCORE CARD
========================================================= */

.analysis-overview .analysis-card:first-child {
  position: relative;

  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(242, 152, 105, 0.12),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.64);
}


.analysis-overview .analysis-card:first-child::before {
  content: "";

  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;

  height: 4px;

  border-radius: 0 0 999px 999px;

  background:
    linear-gradient(
      90deg,
      #F29869,
      #D99F59
    );
}


.analysis-score strong {
  color: #084032;
}


.analysis-score-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  padding: 8px 12px;

  border-radius: 999px;

  background: var(--result-coral-soft);

  color: #9a4f31;

  font-weight: 700;
  font-size: 0.78rem;
}


.analysis-score-copy::before {
  content: "";

  width: 7px;
  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: var(--result-coral);
}


/* =========================================================
   SHOP OVERVIEW CARDS
========================================================= */

.analysis-summary-item {
  position: relative;

  overflow: hidden;

  border:
    1px solid
    rgba(30, 59, 63, 0.05);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}


.analysis-summary-item:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 30px rgba(30, 59, 63, 0.06);
}


/* Priority opportunities */

.analysis-summary-item:nth-child(1) {
  background:
    linear-gradient(
      145deg,
      rgba(242, 152, 105, 0.17),
      rgba(242, 152, 105, 0.07)
    );
}


.analysis-summary-item:nth-child(1) strong {
  color: #C85D37;
}


/* Listings worth reviewing */

.analysis-summary-item:nth-child(2) {
  background:
    linear-gradient(
      145deg,
      rgba(8, 64, 50, 0.11),
      rgba(8, 64, 50, 0.045)
    );
}


.analysis-summary-item:nth-child(2) strong {
  color: #084032;
}


/* Visual opportunities */

.analysis-summary-item:nth-child(3) {
  background:
    linear-gradient(
      145deg,
      rgba(96, 140, 131, 0.18),
      rgba(96, 140, 131, 0.07)
    );
}


.analysis-summary-item:nth-child(3) strong {
  color: #416E65;
}


/* Pricing opportunities */

.analysis-summary-item:nth-child(4) {
  background:
    linear-gradient(
      145deg,
      rgba(217, 159, 89, 0.19),
      rgba(217, 159, 89, 0.07)
    );
}


.analysis-summary-item:nth-child(4) strong {
  color: #A66D27;
}


/* =========================================================
   SCORE BARS
========================================================= */

.analysis-progress {
  height: 9px;

  background:
    rgba(30, 59, 63, 0.09);

  box-shadow:
    inset 0 1px 2px rgba(8, 64, 50, 0.05);
}


.analysis-progress-fill {
  box-shadow:
    0 2px 8px rgba(30, 59, 63, 0.12);
}


/*
 * 1 — Product presentation
 */

.analysis-score-item:nth-child(1)
.analysis-progress-fill {
  background:
    linear-gradient(
      90deg,
      #E9784E,
      #F29869
    );
}


.analysis-score-item:nth-child(1)
.analysis-score-value {
  color: #D86540;
}


/*
 * 2 — Visual consistency
 */

.analysis-score-item:nth-child(2)
.analysis-progress-fill {
  background:
    linear-gradient(
      90deg,
      #608C83,
      #80A99F
    );
}


.analysis-score-item:nth-child(2)
.analysis-score-value {
  color: #527D74;
}


/*
 * 3 — Listing clarity
 */

.analysis-score-item:nth-child(3)
.analysis-progress-fill {
  background:
    linear-gradient(
      90deg,
      #084032,
      #2E695B
    );
}


.analysis-score-item:nth-child(3)
.analysis-score-value {
  color: #084032;
}


/*
 * 4 — Pricing consistency
 */

.analysis-score-item:nth-child(4)
.analysis-progress-fill {
  background:
    linear-gradient(
      90deg,
      #C88637,
      #D99F59
    );
}


.analysis-score-item:nth-child(4)
.analysis-score-value {
  color: #A66D27;
}


/*
 * 5 — Catalog health
 */

.analysis-score-item:nth-child(5)
.analysis-progress-fill {
  background:
    linear-gradient(
      90deg,
      #3E7468,
      #084032
    );
}


.analysis-score-item:nth-child(5)
.analysis-score-value {
  color: #315F56;
}


/* =========================================================
   PRIORITY CARDS
========================================================= */

.analysis-priority {
  position: relative;

  overflow: hidden;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}


.analysis-priority:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 34px rgba(30, 59, 63, 0.07);
}


/* Priority 1 */

.analysis-priority:nth-child(1) {
  border-color:
    rgba(242, 152, 105, 0.34);

  background:
    linear-gradient(
      90deg,
      rgba(242, 152, 105, 0.075),
      rgba(255, 255, 255, 0.58) 35%
    );
}


.analysis-priority:nth-child(1)::before {
  content: "";

  position: absolute;
  inset: 0 auto 0 0;

  width: 4px;

  background: var(--result-coral);
}


.analysis-priority:nth-child(1)
.analysis-priority-rank {
  background:
    linear-gradient(
      145deg,
      #E8754D,
      #F29869
    );

  box-shadow:
    0 8px 20px rgba(242, 152, 105, 0.24);
}


.analysis-priority:nth-child(1)
.analysis-priority-content small {
  color: #CB633E;
}


.analysis-priority:nth-child(1)
.analysis-priority-count {
  color: #CB633E;
}


/* Priority 2 */

.analysis-priority:nth-child(2) {
  border-color:
    rgba(217, 159, 89, 0.30);

  background:
    linear-gradient(
      90deg,
      rgba(217, 159, 89, 0.07),
      rgba(255, 255, 255, 0.58) 35%
    );
}


.analysis-priority:nth-child(2)::before {
  content: "";

  position: absolute;
  inset: 0 auto 0 0;

  width: 4px;

  background: var(--result-gold);
}


.analysis-priority:nth-child(2)
.analysis-priority-rank {
  background:
    linear-gradient(
      145deg,
      #BD7A2E,
      #D99F59
    );

  box-shadow:
    0 8px 20px rgba(217, 159, 89, 0.21);
}


.analysis-priority:nth-child(2)
.analysis-priority-content small {
  color: #A66D27;
}


.analysis-priority:nth-child(2)
.analysis-priority-count {
  color: #A66D27;
}


/* Priority 3 */

.analysis-priority:nth-child(3) {
  border-color:
    rgba(96, 140, 131, 0.30);

  background:
    linear-gradient(
      90deg,
      rgba(96, 140, 131, 0.07),
      rgba(255, 255, 255, 0.58) 35%
    );
}


.analysis-priority:nth-child(3)::before {
  content: "";

  position: absolute;
  inset: 0 auto 0 0;

  width: 4px;

  background: var(--result-sage);
}


.analysis-priority:nth-child(3)
.analysis-priority-rank {
  background:
    linear-gradient(
      145deg,
      #4E7D73,
      #6D9C92
    );

  box-shadow:
    0 8px 20px rgba(96, 140, 131, 0.20);
}


.analysis-priority:nth-child(3)
.analysis-priority-content small {
  color: #527D74;
}


.analysis-priority:nth-child(3)
.analysis-priority-count {
  color: #527D74;
}


/* =========================================================
   LISTING CARDS
========================================================= */

.analysis-listing {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}


.analysis-listing:hover {
  transform: translateY(-3px);

  box-shadow:
    0 16px 36px rgba(30, 59, 63, 0.07);
}


/*
 * Listing 1 — visual
 */

.analysis-listing:nth-child(1) {
  border-color:
    rgba(242, 152, 105, 0.24);
}


.analysis-listing:nth-child(1)
.analysis-listing-image {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(255, 255, 255, 0.7),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(242, 152, 105, 0.23),
      rgba(242, 152, 105, 0.07)
    );
}


.analysis-listing:nth-child(1) small {
  color: #C8623E;
}


/*
 * Listing 2 — pricing
 */

.analysis-listing:nth-child(2) {
  border-color:
    rgba(217, 159, 89, 0.24);
}


.analysis-listing:nth-child(2)
.analysis-listing-image {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(255, 255, 255, 0.7),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(217, 159, 89, 0.24),
      rgba(217, 159, 89, 0.07)
    );
}


.analysis-listing:nth-child(2) small {
  color: #A66D27;
}


/*
 * Listing 3 — clarity
 */

.analysis-listing:nth-child(3) {
  border-color:
    rgba(96, 140, 131, 0.24);
}


.analysis-listing:nth-child(3)
.analysis-listing-image {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(255, 255, 255, 0.7),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(96, 140, 131, 0.23),
      rgba(96, 140, 131, 0.07)
    );
}


.analysis-listing:nth-child(3) small {
  color: #527D74;
}


/* Placeholder label */

.analysis-listing-image span {
  padding: 7px 11px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.64);

  color: #617476;

  font-size: 0.69rem;
  font-weight: 700;

  backdrop-filter: blur(7px);
}


/* =========================================================
   MARKET CONTEXT
========================================================= */

.analysis-market-card {
  position: relative;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(96, 140, 131, 0.32),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #163D40,
      #0E3235
    );
}


.analysis-market-card::after {
  content: "";

  position: absolute;
  width: 180px;
  height: 180px;

  right: -70px;
  bottom: -110px;

  border-radius: 50%;

  background:
    rgba(217, 159, 89, 0.13);

  filter: blur(2px);

  pointer-events: none;
}


/* =========================================================
   CONNECT CTA
========================================================= */

.analysis-connect-card {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      120deg,
      #E35336 0%,
      #EF704E 55%,
      #F29869 100%
    );

  box-shadow:
    0 18px 46px rgba(227, 83, 54, 0.14);
}


.analysis-connect-card::after {
  content: "";

  position: absolute;

  width: 280px;
  height: 280px;

  right: -110px;
  top: -150px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.11);

  pointer-events: none;
}


.analysis-connect-card > * {
  position: relative;
  z-index: 1;
}


.analysis-connect-button {
  box-shadow:
    0 8px 24px rgba(102, 44, 29, 0.14);
}


/* =========================================================
   SUBTLE SECTION RHYTHM
========================================================= */

.analysis-section-heading .analysis-result-eyebrow {
  position: relative;
  width: fit-content;
}


.analysis-section-heading .analysis-result-eyebrow::after {
  content: "";

  display: inline-block;

  width: 24px;
  height: 2px;

  margin-left: 9px;
  margin-bottom: 3px;

  border-radius: 99px;

  background: var(--result-coral);
}


/* Different second/third section accents */

.analysis-section:nth-of-type(4)
.analysis-result-eyebrow::after {
  background: var(--result-gold);
}


.analysis-section:nth-of-type(5)
.analysis-result-eyebrow::after {
  background: var(--result-sage);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .analysis-overview .analysis-card:first-child::before {
    left: 22px;
    right: 22px;
  }


  .analysis-score-copy {
    padding: 7px 10px;
  }


  .analysis-priority {
    background-size: 100% 100%;
  }


  .analysis-listing-image {
    min-height: 220px;
  }

}

.footer .etsy-disclaimer {
  max-width: 920px;
  margin: 24px 0 0;
  color: #AEBFC2;
  font-size: 0.72rem;
  line-height: 1.6;
}

/* =========================================================
   SHOP ANALYSIS RESULT — SECTION RHYTHM
   Matches the main site architecture
========================================================= */


/* =========================================================
   RESULT HERO
========================================================= */

.analysis-result-hero {
  padding:
    54px
    0
    76px;
}


.analysis-shop-heading {
  margin-bottom: 34px;
}


.analysis-dev-notice {
  margin-bottom: 64px;
}


/* =========================================================
   OVERVIEW
========================================================= */

.analysis-overview {
  margin-bottom: 104px;
}


/* =========================================================
   MAIN RESULT SECTIONS
========================================================= */

.analysis-section {
  margin-top: 0;

  padding:
    0
    0
    104px;
}


/*
 * Separation between major sections.
 */

.analysis-section + .analysis-section {
  padding-top: 18px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.analysis-section-heading {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);

  align-items: end;

  gap: 70px;

  padding:
    0
    0
    46px;
}


/*
 * Same visual hierarchy as the main landing.
 */

.analysis-section-heading h2 {
  max-width: 760px;

  margin: 0;

  font-size:
    clamp(
      2.6rem,
      4vw,
      4.6rem
    );

  font-weight: 500;

  line-height: 1.02;

  letter-spacing: -0.045em;
}


.analysis-section-heading > p {
  max-width: 420px;

  justify-self: end;

  margin: 0;

  padding-bottom: 4px;

  color: var(--muted);

  font-size: 0.95rem;

  line-height: 1.65;
}


/*
 * More separation between eyebrow and title.
 */

.analysis-section-heading .analysis-result-eyebrow {
  margin:
    0
    0
    22px;
}


/* =========================================================
   INTERNAL CONTENT SPACING
========================================================= */

.analysis-score-list {
  margin-top: 4px;
}


.analysis-priority-list {
  gap: 20px;
}


.analysis-listings {
  gap: 22px;
}


/* =========================================================
   MARKET CONTEXT
========================================================= */

.analysis-market-card {
  padding:
    38px
    36px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.analysis-connect-card {
  margin:
    0
    0
    90px;

  padding:
    42px
    36px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  .analysis-result-hero {
    padding:
      46px
      0
      62px;
  }


  .analysis-overview {
    margin-bottom: 82px;
  }


  .analysis-section {
    padding-bottom: 82px;
  }


  .analysis-section-heading {
    grid-template-columns: 1fr;

    gap: 24px;

    padding-bottom: 36px;
  }


  .analysis-section-heading > p {
    justify-self: start;

    max-width: 560px;

    padding-bottom: 0;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .analysis-result-hero {
    padding:
      36px
      0
      46px;
  }


  .analysis-shop-heading {
    margin-bottom: 26px;
  }


  .analysis-dev-notice {
    margin-bottom: 48px;
  }


  .analysis-overview {
    margin-bottom: 68px;
  }


  .analysis-section {
    padding-bottom: 68px;
  }


  .analysis-section-heading {
    gap: 18px;

    padding-bottom: 30px;
  }


  .analysis-section-heading .analysis-result-eyebrow {
    margin-bottom: 16px;
  }


  .analysis-section-heading h2 {
    font-size:
      clamp(
        2.15rem,
        10vw,
        3rem
      );

    line-height: 1.04;
  }


  .analysis-section-heading > p {
    font-size: 0.92rem;
  }


  .analysis-connect-card {
    margin-bottom: 64px;
  }

}