:root {
  --bg-deep: #2d0a2a;
  --bg-soft: #5b1836;
  --bg-panel: rgba(78, 10, 59, 0.8);
  --card: #fff5d8;
  --ink: #1d1021;
  --muted: #f8dcc9;
  --accent: #f8d452;
  --accent-strong: #ffb300;
  --gold: #ffcc3f;
  --shadow: rgba(35, 0, 25, 0.35);
  --white: #fff;
  --safe: #eac27c;
  --header-pad: clamp(12px, 2.45vw, 50px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #360826 0%, #580a33 100%);
  color: var(--white);
}

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

button, a {
  font: inherit;
}

.page-shell {
  width: min(1440px, calc(100% - 24px));
  margin: 0 auto;
  padding-bottom: 60px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #561036;
  border-bottom: 4px solid #9f5a0b;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

/* The bar and its content span the full window. */
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px var(--header-pad);
}

.brand-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.site-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, calc(3.09vw - 11px), 52px);
  font-family: "Roboto", "Inter", sans-serif;
}

.site-menu a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}

/* A hidden bold copy reserves the bold width, so the current link never shifts its neighbours. */
.site-menu a::after {
  content: attr(data-text);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--accent);
}

.site-menu a[aria-current] {
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: linear-gradient(180deg, #f8d14e, #f0c114);
  border: 2px solid #a57a00;
  border-radius: 999px;
  color: #2d0d20;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(255, 191, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(255, 191, 0, 0.38);
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-button span {
  width: 26px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Too narrow for the full row of links: they move into a dropdown under the menu button. */
@media (max-width: 1200px) {
  .menu-button {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: var(--header-pad);
    display: none;
    flex: none;
    width: min(100%, 320px);
    padding: 10px;
    background: linear-gradient(180deg, rgba(89, 9, 45, 0.98), rgba(61, 8, 33, 0.98));
    border: 1px solid rgba(255, 220, 130, 0.2);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
  }

  .menu-open .site-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-menu a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff5ef;
    font-size: 1rem;
    font-weight: 700;
  }

  .site-menu a::after {
    display: none;
  }

  .site-menu a:hover,
  .site-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
  }

  .site-menu a[aria-current] {
    color: var(--accent);
  }
}

[hidden] {
  display: none !important;
}

#benefits,
#how-it-works,
#agency-plan,
#agency-benefit,
#how-to-join {
  scroll-margin-top: 110px;
}

/* Hero: measurements follow the live agents.teenpattistars.io layout. */
.hero {
  background: #571037;
  padding: 14px max(var(--header-pad), calc((100% - 1600px) / 2)) 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 46.25fr) minmax(0, 53.75fr);
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding: 30px 10px 0 0;
}

.hero h1 {
  margin: 20px 0 0;
  color: #fff;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: min(74px, 5.9vw);
  font-weight: 600;
  line-height: 1.081;
}

.hero-highlight {
  color: #ffff00;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin: 30px 0 0 10px;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 50px;
  border: 3px solid #f8cc00;
  border-radius: 8px;
  background: #f8cc00;
  color: #fff;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease;
}

.btn-yellow:hover {
  filter: brightness(1.06);
}

.btn-yellow:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn-narrow {
  display: none;
}

.hero-partners-title {
  margin: 60px 0 0;
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.hero-partners {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 31px;
}

/* The logo files are tiny (about 42 x 22), so they show at their natural size and only shrink to fit. */
.hero-partners img {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  width: auto;
  height: auto;
}

.hero-slider {
  min-width: 0;
}

.slider-viewport {
  overflow: hidden;
  aspect-ratio: 958 / 662;
  touch-action: pan-y;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slider-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.slider-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.slider-dot {
  position: relative;
  width: 17px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slider-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.slider-dot[aria-current="true"]::before {
  background: #fff;
}

.slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.hero-strip {
  height: 21px;
  background: #290404;
  border-top: 1px solid #d8d8d8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 247, 218, 0.95), rgba(255, 245, 202, 0.95));
  border-radius: 26px;
  padding: 22px 20px;
  border: 1px solid rgba(77, 36, 17, 0.14);
  box-shadow: 0 12px 26px rgba(32, 0, 23, 0.12);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 188, 37, 0.2), rgba(255, 171, 0, 0.12));
  font-size: 1.8rem;
}

.feature-card h2 {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  color: #2d1124;
}

.feature-card p {
  margin: 0;
  color: rgba(32, 16, 24, 0.9);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 18px, 100%);
  }

  .header-inner {
    gap: 8px;
  }

  .download-btn {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 0.8rem;
  }

  .brand img {
    width: 68px;
  }

  .menu-button {
    width: 46px;
  }

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

/* Hero, tablet */
@media (max-width: 1024px) {
  .hero-copy {
    padding-top: 20px;
  }

  .hero h1 {
    margin-top: 0;
    font-size: 30px;
    line-height: 1.4;
  }

  .hero-buttons {
    gap: 20px;
  }

  .btn-yellow {
    padding: 8px 20px;
    font-size: 15px;
  }

  .hero-partners-title {
    margin-top: 30px;
    font-size: 20px;
  }

  .hero-partners {
    margin-top: 21px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

/* Hero, phone: the slider moves above the text and the two buttons become one. */
@media (max-width: 767px) {
  .hero {
    padding: 0 0 50px;
  }

  .hero::before {
    content: "";
    display: block;
    height: 21px;
    background: #290404;
    border-top: 1px solid #d8d8d8;
  }

  .hero-strip {
    display: none;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-slider {
    order: -1;
  }

  .hero-copy {
    padding: 0 var(--header-pad);
    text-align: center;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .hero-buttons {
    justify-content: center;
    margin: 20px 0 0;
  }

  .btn-wide {
    display: none;
  }

  .btn-narrow {
    display: inline-flex;
    padding: 10px 70px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 800;
  }

  .hero-partners-title {
    margin-top: 20px;
    font-size: 22px;
  }

  .hero-partners {
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
  }
}

/* Big Agency Plan: a light, full-width band between the dark page and the footer. */
.agency-plan,
.agency-benefit,
.big-agent,
.install-guide {
  --plan-maroon: #591036;
  --plan-width: 1330px;
  --plan-gutter: max(24px, calc((100% - var(--plan-width)) / 2));
}

.agency-plan {
  background: #fff;
  color: #111;
  font-family: "Roboto", sans-serif;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: 52px var(--plan-gutter) 64px;
}

.plan-head h2 {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(2.1rem, 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--plan-maroon);
}

.plan-head p {
  flex: 1 1 0;
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
}

.plan-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(24px, 2.8vw, 55px);
  padding: 24px var(--plan-gutter) 72px;
  background: #f3eae7;
}

.plan-highlight img {
  width: 90px;
  height: 90px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.plan-highlight p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

.plan-how {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
  padding: 60px var(--plan-gutter) 72px;
}

.plan-image {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.plan-how-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: #111;
}

.plan-steps {
  margin: 0;
  padding: 0;
  list-style: decimal inside;
  font-size: 1.05rem;
  line-height: 1.55;
}

.plan-steps li {
  margin-bottom: 16px;
}

.plan-steps strong {
  font-weight: 700;
}

.plan-notes {
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.plan-notes p {
  margin: 0 0 14px;
}

.plan-button {
  display: block;
  width: min(312px, 100%);
  margin: 30px auto 0;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--plan-maroon);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

.plan-button:hover {
  background: #3f0a25;
}

.plan-button:focus-visible {
  outline: 3px solid #ffb300;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .plan-head {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 44px;
  }

  .plan-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
    padding-bottom: 48px;
  }

  .plan-how {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
    padding-bottom: 52px;
  }
}

@media (max-width: 520px) {
  .plan-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Agency Benefit: a white heading above a maroon band with expandable items beside a chart. */
.agency-benefit {
  background: #fff;
  font-family: "Roboto", sans-serif;
}

.benefit-title {
  margin: 0;
  padding: 8px 24px 20px;
  text-align: center;
  font-size: clamp(2.1rem, 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--plan-maroon);
}

.benefit-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  padding: 72px var(--plan-gutter);
  background: var(--plan-maroon);
  color: #fff;
}

.benefit-list {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.benefit-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.benefit-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.benefit-item summary::-webkit-details-marker {
  display: none;
}

.benefit-item summary::after {
  content: "";
  flex: 0 0 12px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 13' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l4 4 4-4M2 7l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}

.benefit-item[open] summary::after {
  transform: rotate(180deg);
}

.benefit-item summary:focus-visible {
  outline: 2px solid #ffcb50;
  outline-offset: -2px;
}

.benefit-body {
  padding: 2px 12px 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.benefit-body p {
  margin: 0 0 10px;
}

.benefit-body p:last-child {
  margin-bottom: 0;
}

.benefit-image {
  width: 100%;
  max-width: 560px;
  height: auto;
  justify-self: center;
}

@media (max-width: 980px) {
  .benefit-band {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 48px;
    padding-bottom: 56px;
  }
}

/* How to Become a Big Agent: heading and intro above a grey band of six icon cards. */
.big-agent {
  background: #fff;
  color: #222;
  font-family: "Roboto", sans-serif;
}

.agent-head {
  display: flex;
  align-items: center;
  gap: clamp(32px, 7vw, 130px);
  padding: 52px var(--plan-gutter) 56px;
}

.agent-head h2 {
  flex: 0 1 44%;
  margin: 0;
  font-size: clamp(2.1rem, 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--plan-maroon);
}

.agent-head p {
  flex: 1 1 0;
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
}

.agent-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px clamp(32px, 4vw, 64px);
  padding: 40px calc(var(--plan-gutter) + 32px) 60px;
  background: #f0f0f0;
}

/* Every icon sits in the same 78px-high slot so the headings line up across a row. */
.agent-card img {
  display: block;
  width: auto;
  max-width: 92px;
  height: 78px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left top;
}

.agent-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 1.7vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--plan-maroon);
}

.agent-card p {
  max-width: 340px;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
  color: #14122e;
}

@media (max-width: 980px) {
  .agent-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 40px;
  }

  .agent-head h2 {
    flex-basis: auto;
  }

  .agent-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 36px max(24px, var(--plan-gutter)) 48px;
  }
}

@media (max-width: 560px) {
  .agent-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Install guide: phone screenshots in a row that scrolls sideways, with dots that jump a page. */
.install-guide {
  padding: 8px var(--plan-gutter) 48px;
  background: #fff;
  color: #111;
  font-family: "Roboto", sans-serif;
}

.install-title {
  margin: 0 0 44px;
  text-align: center;
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--plan-maroon);
}

.install-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.install-viewport::-webkit-scrollbar {
  display: none;
}

.install-viewport:focus-visible {
  outline: 2px solid var(--plan-maroon);
  outline-offset: 6px;
}

.install-slide {
  --per-view: 3;
  display: flex;
  flex: 0 0 calc(100% / var(--per-view));
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0 clamp(12px, 2vw, 28px);
  text-align: center;
  scroll-snap-align: start;
}

.install-slide img {
  width: min(200px, 100%);
  height: auto;
}

.install-slide figcaption {
  max-width: 380px;
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.install-dots {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.install-dots:empty {
  display: none;
}

/* A 24px target around a 10px dot keeps it easy to tap. */
.install-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.install-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d5d5;
  transition: background 0.2s ease;
}

.install-dot[aria-current="true"]::before {
  background: #8b8e90;
}

.install-dot:focus-visible {
  outline: 2px solid var(--plan-maroon);
  outline-offset: 0;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .install-slide {
    --per-view: 2;
  }
}

@media (max-width: 560px) {
  .install-slide {
    --per-view: 1;
  }

  .install-title {
    margin-bottom: 32px;
  }
}

/* Social sidebar: icons float on the right edge, centred vertically, on every page. */
.social-bar {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  transform: translateY(-50%);
}

.social-bar a {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 5px;
  border-radius: 10px 0 0 10px;
  background: #555;
  box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: min-width 0.18s ease, filter 0.18s ease;
}

.social-bar a:hover,
.social-bar a:focus-visible {
  min-width: 56px;
  filter: brightness(1.08);
}

.social-bar a:focus-visible {
  outline: 3px solid #ffcb50;
  outline-offset: -3px;
}

.social-bar svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* With the icon drawn, the name is only for screen readers (the tooltip comes from title). */
.social-bar svg + span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.social-bar a[data-network="telegram"] { background: #229ed9; }
.social-bar a[data-network="youtube"] { background: #f00; }
.social-bar a[data-network="facebook"] { background: #1877f2; }
.social-bar a[data-network="twitter"] { background: #1da1f2; }
.social-bar a[data-network="whatsapp"] { background: #25d366; }
.social-bar a[data-network="instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

@media (max-width: 680px) {
  .social-bar a {
    min-width: 38px;
    height: 38px;
    border-radius: 8px 0 0 8px;
  }

  .social-bar svg {
    width: 18px;
    height: 18px;
  }

  .social-bar a:hover,
  .social-bar a:focus-visible {
    min-width: 44px;
  }
}

@media print {
  .social-bar {
    display: none;
  }
}

/* Footer: measurements follow the live agents.teenpattistars.io footer. */
.site-footer {
  background: #571037;
  color: #fff;
  font-family: "Roboto", "Inter", sans-serif;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  padding: 0 10px 83px;
}

.footer-col {
  min-width: 0;
  padding: 10px;
}

.footer-col h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  line-height: 25px;
}

.footer-col--about {
  flex: 0 0 22.24%;
}

.footer-col--links {
  flex: 0 0 25.24%;
  margin: 2px 0 0 7.38%;
}

.footer-text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
}

.footer-links a {
  display: block;
  width: fit-content;
  color: #1bb0ce;
  font: 700 18px/25.2px Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 30px;
  margin-left: 8.05%;
  padding-top: 35px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 33px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  opacity: 0.8;
}

.footer-social svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-copy {
  margin: 0;
  padding: 10px 20px 30px 56px;
  font-size: 15px;
  line-height: 15px;
  text-align: center;
}

/* Footer, wide screens: the live site fixes the links column at x=680 and puts the social
   links 116px after it, so on big monitors these positions are copied exactly. */
@media (min-width: 1700px) {
  .footer-main {
    position: relative;
    min-height: 291px;
    padding: 0;
  }

  .footer-col--about {
    flex: 0 0 22.04%;
    margin-left: 10px;
  }

  .footer-col--links {
    position: absolute;
    top: 2px;
    left: 680px;
    width: 25%;
    margin: 0;
  }

  .footer-social {
    position: absolute;
    top: 0;
    left: calc(796px + 25%);
    margin: 0;
  }
}

/* Footer, tablet */
@media (max-width: 1024px) {
  .footer-main {
    padding-bottom: 40px;
  }

  .footer-col--about {
    flex-basis: 22%;
  }

  .footer-col--links {
    flex-basis: 30%;
    margin-left: 10%;
  }

  .footer-social {
    flex: 1;
    justify-content: flex-end;
    margin-left: 2%;
    gap: 0 20px;
  }

  .footer-social a {
    font-size: 18px;
  }

  .footer-social svg {
    width: 20px;
    height: 20px;
  }
}

/* Footer, phone: everything stacks and centers. */
@media (max-width: 767px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    padding-bottom: 51px;
  }

  .footer-col {
    width: 100%;
    text-align: center;
  }

  .footer-col--about,
  .footer-col--links {
    flex: none;
    margin: 0 0 15px;
  }

  .footer-col--links {
    margin-bottom: 27px;
  }

  .footer-col h2 {
    font-size: 20px;
    line-height: 20px;
  }

  .footer-text {
    width: min(100%, 250px);
    margin: 0 auto;
    text-align: left;
  }

  .footer-text p {
    font-size: 12px;
    line-height: 18px;
  }

  .footer-links {
    width: fit-content;
    margin: 0 auto;
    text-align: left;
  }

  .footer-links a {
    font-size: 14px;
    line-height: 19px;
  }

  .footer-social {
    justify-content: center;
    margin: 0;
    padding-top: 0;
  }

  .footer-social a {
    font-size: 15px;
  }

  .footer-copy {
    font-size: 11px;
    line-height: 11px;
  }
}
