.at-earwax {
  --ate-navy: #071d2b;
  --ate-navy-2: #0b2c3d;
  --ate-teal: #2f9e94;
  --ate-teal-light: #4db6ac;
  --ate-mint: #e8f5f1;
  --ate-soft: #f5f8f7;
  --ate-warm: #fff7e8;
  --ate-text: #193342;
  --ate-muted: #60727d;
  --ate-line: #dce6e8;
  --ate-white: #fff;
  --ate-shadow: 0 24px 70px rgba(7, 29, 43, .11);
  color: var(--ate-text);
  overflow: hidden;
}

.at-earwax *,
.at-earwax *::before,
.at-earwax *::after {
  box-sizing: border-box;
}

.at-earwax-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.at-earwax h1,
.at-earwax h2,
.at-earwax h3,
.at-earwax p {
  margin-top: 0;
}

.at-earwax h1,
.at-earwax h2,
.at-earwax h3 {
  color: var(--ate-navy);
  letter-spacing: -.035em;
  text-transform: none !important;
}

.at-earwax h1 {
  max-width: 10ch;
  margin-bottom: 26px;
  color: var(--ate-white);
  font-size: clamp(3rem, 5.9vw, 5.9rem);
  line-height: .97;
}

.at-earwax h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.2vw, 4.1rem);
  line-height: 1.04;
}

.at-earwax h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.22;
}

.at-earwax p {
  color: var(--ate-muted);
  line-height: 1.75;
}

.at-earwax-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #bde9e1;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.at-earwax-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.at-earwax-eyebrow-dark {
  color: var(--ate-teal);
}

.at-earwax-eyebrow-warm {
  color: #b26f12;
}

.at-earwax-hero {
  position: relative;
  padding: 88px 0 86px;
  background:
    radial-gradient(circle at 84% 16%, rgba(77, 182, 172, .27), transparent 26%),
    linear-gradient(135deg, var(--ate-navy), var(--ate-navy-2));
}

.at-earwax-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 70px;
  align-items: center;
}

.at-earwax-hero-copy > p {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .76);
  font-size: 1.1rem;
}

.at-earwax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.at-earwax-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.at-earwax-btn:hover {
  transform: translateY(-2px);
}

.at-earwax-btn-primary {
  background: var(--ate-teal-light);
  color: var(--ate-navy) !important;
  box-shadow: 0 14px 34px rgba(77, 182, 172, .22);
}

.at-earwax-btn-secondary {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .04);
  color: var(--ate-white) !important;
}

.at-earwax-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
}

.at-earwax-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.at-earwax-proof i {
  color: var(--ate-teal-light);
}

.at-earwax-hero-visual {
  position: relative;
  min-height: 570px;
  padding: 16px;
  border-radius: 32px;
  background: var(--ate-white);
  box-shadow: var(--ate-shadow);
}

.at-earwax-hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 538px;
  border-radius: 22px;
  object-fit: cover;
}

.at-earwax-hero-note {
  position: absolute;
  right: -28px;
  bottom: 30px;
  width: 290px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--ate-shadow);
}

.at-earwax-hero-note strong,
.at-earwax-hero-note span {
  display: block;
}

.at-earwax-hero-note strong {
  margin-bottom: 7px;
  color: var(--ate-navy);
}

.at-earwax-hero-note span {
  color: var(--ate-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.at-earwax-strip {
  border-bottom: 1px solid var(--ate-line);
  background: var(--ate-white);
}

.at-earwax-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.at-earwax-strip-grid div {
  padding: 25px 22px;
  border-right: 1px solid var(--ate-line);
}

.at-earwax-strip-grid div:first-child {
  border-left: 1px solid var(--ate-line);
}

.at-earwax-strip-grid strong,
.at-earwax-strip-grid span {
  display: block;
}

.at-earwax-strip-grid strong {
  margin-bottom: 4px;
  color: var(--ate-navy);
}

.at-earwax-strip-grid span {
  color: var(--ate-muted);
  font-size: .88rem;
}

.at-earwax-section {
  padding: 108px 0;
}

.at-earwax-soft,
.at-earwax-faq-section {
  background: var(--ate-soft);
}

.at-earwax-section-head {
  display: grid;
  grid-template-columns: 1.05fr .8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

.at-earwax-section-head h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.at-earwax-section-head > p {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.at-earwax-concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.at-earwax-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--ate-line);
  border-radius: 22px;
  background: var(--ate-white);
  box-shadow: 0 12px 40px rgba(7, 29, 43, .05);
}

.at-earwax-card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 52px;
  border-radius: 50%;
  background: var(--ate-mint);
  color: var(--ate-teal);
  font-size: .78rem;
  font-weight: 900;
}

.at-earwax-card p {
  margin-bottom: 0;
}

.at-earwax-check-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 76px;
  align-items: start;
}

.at-earwax-check-copy {
  position: sticky;
  top: 110px;
}

.at-earwax-check-copy > p {
  font-size: 1.04rem;
}

.at-earwax-check-note {
  margin-top: 30px;
  padding: 22px;
  border-radius: 18px;
  background: var(--ate-navy);
}

.at-earwax-check-note strong,
.at-earwax-check-note span {
  display: block;
}

.at-earwax-check-note strong {
  margin-bottom: 6px;
  color: var(--ate-white);
}

.at-earwax-check-note span {
  color: rgba(255, 255, 255, .68);
  line-height: 1.6;
}

.at-earwax-check-list {
  display: grid;
}

.at-earwax-check-list > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ate-line);
}

.at-earwax-check-list > div:first-child {
  padding-top: 0;
}

.at-earwax-check-list > div > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--ate-mint);
  color: var(--ate-teal);
  font-size: .76rem;
  font-weight: 900;
}

.at-earwax-check-list h3,
.at-earwax-check-list p {
  margin-bottom: 0;
}

.at-earwax-process {
  padding: 108px 0;
  background: var(--ate-navy);
}

.at-earwax-section-head-light h2 {
  color: var(--ate-white);
}

.at-earwax-section-head-light > p {
  color: rgba(255, 255, 255, .66);
}

.at-earwax-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.at-earwax-process-grid > div {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
}

.at-earwax-process-grid > div > span {
  display: block;
  margin-bottom: 46px;
  color: var(--ate-teal-light);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.at-earwax-process-grid h3 {
  color: var(--ate-white);
}

.at-earwax-process-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
}

.at-earwax-safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.at-earwax-safety-card,
.at-earwax-guidance-card {
  padding: 36px;
  border-radius: 24px;
}

.at-earwax-safety-card {
  border: 1px solid #f1dfbd;
  background: var(--ate-warm);
}

.at-earwax-guidance-card {
  background: var(--ate-mint);
}

.at-earwax-safety-card h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.at-earwax-guidance-card h3 {
  font-size: 1.65rem;
}

.at-earwax-guidance-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--ate-teal) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.at-earwax-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.at-earwax-faq-grid article {
  padding: 28px;
  border: 1px solid var(--ate-line);
  border-radius: 20px;
  background: var(--ate-white);
}

.at-earwax-faq-grid article p {
  margin-bottom: 0;
}

.at-earwax-book {
  padding: 110px 0;
  background: #f6f3ec;
}

.at-earwax-book-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 76px;
  align-items: start;
}

.at-earwax-contact-links {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.at-earwax-contact-links a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(7, 29, 43, .1);
  color: var(--ate-text) !important;
  text-decoration: none !important;
}

.at-earwax-contact-links i {
  width: 22px;
  color: var(--ate-teal);
}

.at-earwax-contact-links strong,
.at-earwax-contact-links span {
  display: block;
}

.at-earwax-contact-links strong {
  color: var(--ate-navy);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.at-earwax-form {
  padding: 34px;
  border: 1px solid rgba(7, 29, 43, .08);
  border-radius: 26px;
  background: var(--ate-white);
  box-shadow: var(--ate-shadow);
}

.at-earwax-form label {
  display: block;
  color: var(--ate-navy);
  font-weight: 700;
}

.at-earwax-form input:not([type="submit"]),
.at-earwax-form select,
.at-earwax-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cad8dc;
  border-radius: 12px;
  background: #fbfdfd;
  color: var(--ate-text);
}

.at-earwax-form input:not([type="submit"]),
.at-earwax-form select {
  min-height: 50px;
}

.at-earwax-form textarea {
  min-height: 120px;
}

.at-earwax-form input[type="submit"],
.at-earwax-form button[type="submit"] {
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ate-navy);
  color: var(--ate-white);
  font-weight: 800;
}

.at-earwax-form-note {
  margin: 14px 0 0;
  font-size: .82rem;
}

.at-earwax a:focus-visible,
.at-earwax button:focus-visible,
.at-earwax input:focus-visible,
.at-earwax select:focus-visible,
.at-earwax textarea:focus-visible {
  outline: 3px solid rgba(77, 182, 172, .58);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .at-earwax-hero-grid,
  .at-earwax-check-grid,
  .at-earwax-book-grid {
    grid-template-columns: 1fr;
  }

  .at-earwax-hero-copy {
    max-width: 760px;
  }

  .at-earwax-check-copy {
    position: static;
  }

  .at-earwax-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .at-earwax-book-grid {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .at-earwax-container {
    width: min(100% - 28px, 1180px);
  }

  .at-earwax-hero,
  .at-earwax-section,
  .at-earwax-process,
  .at-earwax-book {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .at-earwax h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .at-earwax h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .at-earwax-actions {
    display: grid;
  }

  .at-earwax-btn {
    width: 100%;
  }

  .at-earwax-proof {
    display: grid;
  }

  .at-earwax-hero-visual {
    min-height: 430px;
  }

  .at-earwax-hero-visual > img {
    min-height: 398px;
  }

  .at-earwax-hero-note {
    right: 12px;
    bottom: 16px;
    width: min(280px, calc(100% - 40px));
  }

  .at-earwax-strip-grid,
  .at-earwax-concern-grid,
  .at-earwax-section-head,
  .at-earwax-process-grid,
  .at-earwax-safety-grid,
  .at-earwax-faq-grid {
    grid-template-columns: 1fr;
  }

  .at-earwax-strip-grid div,
  .at-earwax-strip-grid div:first-child {
    border-left: 1px solid var(--ate-line);
    border-right: 1px solid var(--ate-line);
    border-bottom: 1px solid var(--ate-line);
  }

  .at-earwax-section-head {
    gap: 12px;
  }

  .at-earwax-card {
    min-height: 0;
  }

  .at-earwax-card-number {
    margin-bottom: 30px;
  }

  .at-earwax-safety-card,
  .at-earwax-guidance-card,
  .at-earwax-form {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .at-earwax *,
  .at-earwax *::before,
  .at-earwax *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
