/*
 * Last modified: 09/13/2026 04:03 PM
 *
 * Homepage-only layout and type refinements. Do not override motion,
 * transform, or animation properties used by azt-motion.css.
 */

body.home {
  --azt-home-max: var(--azt-max);
  --azt-home-section-y: clamp(4.5rem, 7vw, 7.5rem);
  --azt-home-title-gap: clamp(1rem, 1.8vw, 1.55rem);
  --azt-home-copy: #545c64;
  --azt-home-label: #c9a227;
  --azt-home-chat-clear: 5.5rem;
}

body.home .azt-wrap {
  width: min(var(--azt-home-max), calc(100% - (var(--azt-pad) * 2)));
}

body.home .azt-section {
  padding-block: var(--azt-home-section-y);
}

body.home .azt-display {
  margin-bottom: var(--azt-home-title-gap);
}

body.home .azt-display--xl {
  font-size: clamp(1.7rem, 1.05rem + 2.4vw, 3.05rem);
  line-height: 1.06;
}

body.home .azt-display--l {
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.55rem);
  line-height: 1.08;
}

body.home .azt-eyebrow {
  margin-bottom: clamp(0.85rem, 1.4vw, 1.2rem);
}

body.home .azt-eyebrow--on-ink {
  color: var(--azt-home-label);
}

body.home .azt-lead,
body.home .azt-quote,
body.home .azt-section__intro,
body.home .azt-split__panel p {
  max-width: 70ch;
}

body.home .azt-lead {
  font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.125rem);
  line-height: 1.65;
}

body.home .azt-lead--follow {
  margin-top: 1rem;
}

body.home .azt-quote {
  margin-top: clamp(1.25rem, 2vw, 2rem);
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.125rem);
}

body.home .azt-hero__copy {
  max-width: min(46rem, 100%);
}

body.home .azt-hero__inner {
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(5.75rem, 10vw, 7.5rem);
}

body.home .azt-hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  font-size: clamp(1.6rem, 0.95rem + 2vw, 2.45rem);
}

body.home .azt-hero__title-line {
  display: block;
  max-width: 100%;
}

@media (min-width: 1081px) {
  body.home .azt-hero__title-line {
    white-space: nowrap;
  }
}

body.home .azt-hero__actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  gap: 12px;
}

body.home .azt-hero__actions .azt-btn {
  min-height: 44px;
}

body.home .azt-section__intro {
  margin: 0;
}

body.home .azt-cards,
body.home .azt-offer,
body.home .azt-posts {
  margin-top: clamp(1.75rem, 3vw, 3rem);
  align-items: stretch;
  container-type: inline-size;
  container-name: azt-home-grid;
}

body.home .azt-cards .azt-card,
body.home .azt-post-card {
  height: 100%;
  min-height: 44px;
  display: flex;
  flex-direction: column;
}

body.home .azt-cards .azt-card__title {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.22;
  margin-bottom: 0.7rem;
}

body.home .azt-card__text {
  color: var(--azt-home-copy);
  font-size: 0.9375rem;
  line-height: 1.55;
}

body.home .azt-card__num {
  color: #5c656e;
}

body.home .azt-offer h3 {
  text-transform: none;
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

body.home .azt-offer p {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--azt-home-copy);
}

body.home .azt-split {
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

body.home .azt-split__panel h3 {
  margin-bottom: 0.85rem;
}

body.home .azt-closer-copy__lead {
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

body.home .azt-post-card__meta {
  margin-bottom: 0.65rem;
}

body.home .azt-post-card time {
  text-transform: none;
  letter-spacing: 0.02em;
  color: #5a636b;
}

body.home .azt-post-card .azt-card__title {
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.3;
  margin: 0 0 0.7rem;
}

body.home .azt-post-card .azt-card__title a {
  color: inherit;
  text-decoration: none;
}

body.home .azt-post-card .azt-card__title a:hover,
body.home .azt-post-card .azt-card__title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

body.home .azt-post-card .azt-card__text {
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 6.2em;
}

body.home .azt-posts-more {
  margin: clamp(1.5rem, 2.5vw, 2.25rem) 0 0;
}

body.home .azt-posts-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

body.home .azt-posts-more a:hover,
body.home .azt-posts-more a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

body.home #main > .azt-section:last-of-type {
  padding-bottom: calc(var(--azt-home-section-y) + var(--azt-home-chat-clear));
}

@container azt-home-grid (max-width: 700px) {
  .azt-card__title {
    font-size: 1.12rem;
  }
}

@supports not (container-type: inline-size) {
  body.home .azt-cards,
  body.home .azt-offer,
  body.home .azt-posts {
    container-type: unset;
  }
}

@media (max-width: 1080px) {
  body.home .azt-hero__inner {
    padding-bottom: calc(var(--azt-home-chat-clear) + 3rem);
  }
}

@media (max-width: 760px) {
  body.home .azt-hero__title {
    max-width: 12.5em;
    font-size: clamp(1.55rem, 5.6vw, 2.05rem);
  }

  body.home .azt-offer p {
    max-width: none;
  }
}
