.tips-body {
  background: var(--paper);
}

.tips-main {
  overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--dot) 4px, transparent 4px);
  background-size: 36px 36px;
}

.tips-nav-link.is-active {
  background: var(--yellow);
}

.tips-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding: 150px clamp(36px, 8vw, 140px) 90px;
}

.tips-hero-copy {
  max-width: 720px;
}

.tips-eyebrow,
.tips-start-intro > p:first-child,
.tips-library-heading > p,
.tips-coming div > p {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 800;
}

.tips-eyebrow {
  display: inline-flex;
  padding: 10px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--ink);
}

.tips-hero h1 {
  margin: 34px 0 22px;
  font-size: clamp(4.4rem, 8.3vw, 8.7rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.tips-hero h1 span {
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}

.tips-hero-copy > p:last-of-type {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.tips-primary {
  width: fit-content;
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 7px 8px 0 var(--ink);
  background: #fff;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tips-primary:hover,
.tips-primary:focus-visible {
  transform: translateY(3px);
  box-shadow: 4px 5px 0 var(--ink);
}

.tips-primary img {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

.tips-hero-art {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.tips-board {
  position: relative;
  width: min(100%, 430px);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 46px;
  border: 5px solid var(--ink);
  border-radius: 52% 48% 48% 52% / 46% 54% 46% 54%;
  box-shadow: 17px 19px 0 var(--ink);
  background: #fff;
  text-align: center;
  transform: rotate(-2deg);
}

.tips-board-star {
  position: absolute;
  top: -42px;
  right: 18px;
  width: 88px;
  animation: tips-star-spin 16s linear infinite;
}

.tips-board-kicker {
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 800;
}

.tips-board strong {
  font-size: clamp(3.3rem, 5.4vw, 5.3rem);
  line-height: 0.9;
}

.tips-board p {
  margin: 22px 0 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.tips-note {
  position: absolute;
  z-index: 2;
  padding: 12px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 6px 7px 0 var(--ink);
  background: var(--yellow);
  font-weight: 800;
  white-space: nowrap;
}

.note-one { top: 12%; left: -7%; transform: rotate(6deg); }
.note-two { bottom: 5%; right: -6%; transform: rotate(-5deg); }

.tips-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  padding: 32px 24px;
  border-block: 4px solid var(--ink);
  background: var(--yellow);
}

.tips-categories a {
  padding: 11px 19px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 5px 0 var(--ink);
  background: var(--paper);
  font-weight: 800;
}

.tips-start {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 8vw, 130px);
  padding: 110px clamp(36px, 8vw, 140px);
  background: var(--ink);
  color: var(--paper);
}

.tips-start-intro h2,
.tips-library-heading h2,
.tips-coming h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  line-height: 0.9;
}

.tips-start-intro > p:last-child {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 1.25rem;
  line-height: 1.55;
}

.start-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  list-style: none;
}

.start-steps li {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 25px;
  border: 3px solid var(--paper);
  border-radius: 28px;
}

.start-steps li > span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Chewy", cursive;
  font-size: 2rem;
}

.start-steps strong {
  font-size: 1.35rem;
}

.start-steps p {
  margin: 5px 0 0;
  line-height: 1.4;
  opacity: 0.82;
}

.tips-library {
  padding: 110px clamp(36px, 8vw, 140px) 130px;
}

.tips-library-heading {
  margin-bottom: 65px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.tips-library-heading > p {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: 9px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.tips-library-heading h2 {
  grid-column: 1 / -1;
  grid-row: 1;
}

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

.tip-card {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 4px solid var(--ink);
  border-radius: 30px;
  box-shadow: 9px 10px 0 var(--ink);
  background: #fff;
}

.tip-card.is-yellow {
  background: var(--yellow);
}

.tip-tag {
  width: fit-content;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
}

.tip-time {
  margin: 22px 0 8px;
  font-size: 0.78rem;
  opacity: 0.58;
}

.tip-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1;
}

.tip-card > p:last-of-type {
  margin: 18px 0 24px;
  line-height: 1.42;
}

.tip-card details {
  margin-top: auto;
  border-top: 2px dashed rgba(5, 5, 5, 0.45);
  padding-top: 18px;
}

.tip-card summary {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.tip-card summary::-webkit-details-marker { display: none; }
.tip-card summary::after { content: "+"; font-family: Arial, sans-serif; font-size: 1.2rem; }
.tip-card details[open] summary::after { content: "-"; }

.tip-body {
  padding-top: 17px;
  line-height: 1.5;
}

.tip-body p { margin: 0; }

.tips-coming {
  display: grid;
  grid-template-columns: 110px 1fr minmax(280px, 0.7fr);
  align-items: center;
  gap: 34px;
  padding: 90px clamp(36px, 8vw, 140px);
  border-top: 4px solid var(--ink);
  background: var(--yellow);
}

.tips-coming > img {
  width: 96px;
  animation: tips-star-spin 16s linear infinite;
}

.tips-coming > p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

@keyframes tips-star-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1060px) {
  .tips-hero { grid-template-columns: 1fr 0.75fr; gap: 35px; }
  .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .tips-hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    text-align: center;
  }

  .tips-hero-copy { margin-inline: auto; }
  .tips-primary { margin-inline: auto; }
  .tips-hero-art { min-height: 450px; }
  .tips-board { max-width: 390px; min-height: 390px; }
  .tips-start { grid-template-columns: 1fr; }
  .tips-library-heading { display: block; }
  .tips-library-heading > p { width: fit-content; margin-bottom: 20px; }
  .tips-coming { grid-template-columns: 80px 1fr; }
  .tips-coming > p { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .tips-hero { padding: 118px 20px 65px; }
  .tips-hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .tips-hero h1 span { -webkit-text-stroke-width: 2px; }
  .tips-hero-art { min-height: 390px; }
  .tips-board { width: min(84vw, 340px); min-height: 340px; padding: 35px; box-shadow: 11px 12px 0 var(--ink); }
  .tips-board strong { font-size: 3.4rem; }
  .tips-board p { font-size: 1.08rem; }
  .tips-board-star { width: 66px; top: -31px; }
  .tips-note { padding: 9px 12px; font-size: 0.78rem; }
  .note-one { left: 0; }
  .note-two { right: 0; }
  .tips-categories { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .tips-categories a { flex: 0 0 auto; }
  .tips-start,
  .tips-library,
  .tips-coming { padding-inline: 20px; }
  .start-steps li { grid-template-columns: 54px 1fr; padding: 18px; }
  .start-steps li > span { width: 50px; height: 50px; }
  .tips-grid { grid-template-columns: 1fr; }
  .tip-card { min-height: 0; }
  .tips-coming { grid-template-columns: 64px 1fr; gap: 18px; }
  .tips-coming > img { width: 62px; }
}

@media (max-width: 420px) {
  .tips-header .brand { width: 52px; }
  .tips-header .desktop-nav { gap: 3px; }
  .tips-header .nav-menu-trigger,
  .tips-header .tips-nav-link { padding: 8px 7px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tips-board-star,
  .tips-coming > img { animation: none; }
}
