:root {
  --ink: #1a1c3c;
  --muted: #676a80;
  --paper: #f5f7fa;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --line: rgba(26, 28, 60, 0.11);
  --brand: #1a1c3c;
  --brand-dark: #11132f;
  --brand-soft: #dff6f4;
  --turquoise: #52c5c1;
  --turquoise-dark: #368297;
  --magenta: #ed0d6f;
  --lime: #52c5c1;
  --orange: #ed0d6f;
  --shadow: 0 16px 42px rgba(26, 28, 60, 0.09);
  --page-inset: clamp(28px, 4vw, 72px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "Heebo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.page-glow {
  position: fixed;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.page-glow--top {
  inset: -260px -140px auto auto;
  background: radial-gradient(circle, rgba(82, 197, 193, 0.38), transparent 70%);
}

.page-glow--bottom {
  inset: auto auto -300px -120px;
  background: radial-gradient(circle, rgba(237, 13, 111, 0.12), transparent 70%);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(26, 28, 60, 0.07);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.site-footer {
  width: calc(100% - var(--page-inset));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

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

.brand-logo {
  display: block;
  width: clamp(148px, 11vw, 184px);
  height: auto;
  object-fit: contain;
}

.brand-tagline {
  max-width: 100px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.3;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 5px rgba(82, 197, 193, 0.15);
}

.meta-separator {
  width: 1px;
  height: 16px;
  margin-inline: 4px;
  background: var(--line);
}

.current-time {
  min-width: 36px;
  direction: ltr;
  color: var(--ink);
  font-weight: 700;
}

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

.survey-nav {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 5px 6px 5px 13px;
  color: white;
  border-radius: 13px;
  text-decoration: none;
  background: var(--magenta);
  box-shadow: 0 9px 22px rgba(237, 13, 111, 0.22);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.survey-nav.is-awaiting-response {
  animation: survey-attention 5.8s ease-in-out 600ms infinite;
  box-shadow: 0 10px 26px rgba(237, 13, 111, 0.34);
}

.survey-nav.is-awaiting-response::after {
  position: absolute;
  top: -4px;
  inset-inline-start: -4px;
  width: 11px;
  height: 11px;
  border: 2px solid white;
  border-radius: 50%;
  background: #ffcf3d;
  box-shadow: 0 2px 8px rgba(28, 31, 73, 0.24);
  content: "";
}

@keyframes survey-attention {
  0%,
  72%,
  100% {
    transform: translateX(0) rotate(0);
  }
  75% {
    transform: translateX(-4px) rotate(-2deg);
  }
  78% {
    transform: translateX(4px) rotate(2deg);
  }
  81% {
    transform: translateX(-3px) rotate(-1.5deg);
  }
  84% {
    transform: translateX(3px) rotate(1.5deg);
  }
  87% {
    transform: translateX(0) rotate(0);
  }
}

.survey-nav:hover {
  background: #d70c66;
  box-shadow: 0 12px 26px rgba(237, 13, 111, 0.28);
  transform: translateY(-2px);
}

.survey-nav:focus-visible,
.survey-promo-cta:focus-visible {
  outline: 3px solid rgba(82, 197, 193, 0.65);
  outline-offset: 3px;
}

.survey-nav-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--brand);
  border-radius: 10px;
  background: white;
  place-items: center;
}

.survey-nav-icon svg {
  width: 17px;
  height: 17px;
}

.survey-nav-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.survey-nav-copy strong {
  font-size: 0.76rem;
}

.survey-nav-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.61rem;
}

.print-nav {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(26, 28, 60, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.print-nav:hover {
  background: #242750;
  transform: translateY(-2px);
}

.print-nav svg {
  width: 17px;
  height: 17px;
}

.page-shell {
  display: flex;
  gap: clamp(18px, 2vw, 36px);
  align-items: flex-start;
  width: calc(100% - var(--page-inset));
  margin: clamp(22px, 2.5vw, 48px) auto clamp(64px, 7vw, 120px);
}

.main-column {
  flex: 1 1 0;
  min-width: 0;
}

.ad-rail:empty {
  display: none;
}

.ad-rail {
  flex: 0 0 clamp(170px, 14vw, 300px);
  min-width: 0;
  position: sticky;
  top: 104px;
  align-self: start;
}

.ad-stack {
  display: grid;
  gap: 18px;
}

.ad-card {
  position: relative;
  display: flex;
  min-height: clamp(330px, 27vw, 470px);
  padding: clamp(18px, 1.5vw, 26px);
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(82, 197, 193, 0.16);
  border-radius: 24px;
  text-decoration: none;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
}

.ad-card::before,
.ad-card::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.ad-card::before {
  inset: -70px -75px auto auto;
  width: 190px;
  height: 190px;
  border: 34px solid rgba(82, 197, 193, 0.24);
}

.ad-card::after {
  inset: 42px auto auto -35px;
  width: 100px;
  height: 100px;
  background: rgba(237, 13, 111, 0.28);
  filter: blur(2px);
}

.ad-label {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ad-content {
  position: relative;
  z-index: 1;
  color: white;
}

.ad-content small {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
}

.ad-content h3 {
  margin: 8px 0 10px;
  font-family: "Rubik", sans-serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.ad-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
  line-height: 1.55;
}

.ad-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
}

.ad-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.ad-card:hover .ad-cta svg {
  transform: translateX(-4px);
}

.hero {
  position: relative;
  min-height: clamp(480px, 37vw, 660px);
  padding: clamp(34px, 5vw, 92px);
  overflow: hidden;
  border: 1px solid rgba(82, 197, 193, 0.18);
  border-radius: 36px;
  background:
    radial-gradient(circle at 4% 0%, rgba(82, 197, 193, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.96));
  box-shadow: 0 22px 60px rgba(26, 28, 60, 0.1);
}

.hero::after {
  position: absolute;
  inset: auto auto -120px -90px;
  width: 270px;
  height: 270px;
  border: 50px solid rgba(82, 197, 193, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-copy,
.search-wrap {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--turquoise-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  border-radius: 5px;
  background: var(--magenta);
}

.hero h1 {
  max-width: min(1080px, 90%);
  margin: 19px 0 12px;
  font-family: "Rubik", sans-serif;
  font-size: clamp(2.6rem, 5vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--magenta);
  font-style: normal;
}

.hero-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
}

.search-wrap {
  max-width: min(920px, 100%);
  margin-top: 35px;
}

.search-box {
  display: flex;
  height: 66px;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  border: 1px solid rgba(26, 28, 60, 0.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 32px rgba(26, 28, 60, 0.1);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-box:focus-within {
  border-color: rgba(82, 197, 193, 0.72);
  box-shadow: 0 14px 38px rgba(82, 197, 193, 0.18);
  transform: translateY(-2px);
}

.search-box > svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.search-box input {
  min-width: 0;
  height: 100%;
  flex: 1;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
}

.search-box input::placeholder {
  color: #9294a4;
}

.search-box kbd {
  padding: 5px 8px;
  color: #898b9b;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: #f7f8fb;
  font-family: inherit;
  font-size: 0.68rem;
  direction: ltr;
}

.search-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 5px 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.search-hint button {
  padding: 2px 6px;
  color: var(--brand);
  border: 0;
  border-bottom: 1px dashed rgba(82, 197, 193, 0.72);
  background: none;
  cursor: pointer;
}

.survey-promo {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  min-height: 188px;
  padding: clamp(24px, 3vw, 38px);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(82, 197, 193, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 50%, rgba(237, 13, 111, 0.11), transparent 18rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.99), rgba(239, 251, 250, 0.98));
  box-shadow: 0 16px 42px rgba(26, 28, 60, 0.08);
}

.survey-promo::after {
  position: absolute;
  inset: -70px auto auto -55px;
  width: 150px;
  height: 150px;
  content: "";
  border: 28px solid rgba(237, 13, 111, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.survey-promo-icon,
.survey-promo-copy,
.survey-promo-action {
  position: relative;
  z-index: 1;
}

.survey-promo-icon {
  display: grid;
  width: 72px;
  height: 72px;
  color: white;
  border-radius: 22px 22px 22px 8px;
  background: var(--brand);
  box-shadow: 0 12px 25px rgba(26, 28, 60, 0.2);
  place-items: center;
  transform: rotate(2deg);
}

.survey-promo-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.7;
}

.survey-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--turquoise-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.survey-promo-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 5px rgba(237, 13, 111, 0.1);
}

.survey-promo h2 {
  margin: 7px 0 6px;
  font-family: "Rubik", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.survey-promo h2 em {
  color: var(--magenta);
  font-style: normal;
}

.survey-promo-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.survey-promo-action {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}

.survey-time-note {
  color: var(--turquoise-dark);
  font-size: 0.66rem;
  font-weight: 800;
}

.survey-promo-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 18px;
  color: white;
  border-radius: 13px;
  text-decoration: none;
  white-space: nowrap;
  background: var(--magenta);
  box-shadow: 0 10px 24px rgba(237, 13, 111, 0.2);
  font-size: 0.8rem;
  font-weight: 800;
  transition: gap 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.survey-promo-cta:hover {
  gap: 26px;
  box-shadow: 0 13px 28px rgba(237, 13, 111, 0.27);
  transform: translateY(-2px);
}

.survey-promo-cta svg {
  width: 16px;
  height: 16px;
}

.print-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(34px, 4vw, 76px);
  align-items: center;
  min-height: clamp(290px, 24vw, 430px);
  padding: clamp(30px, 5vw, 54px);
  margin-top: 24px;
  overflow: hidden;
  color: white;
  border-radius: 30px;
  background:
    linear-gradient(118deg, rgba(17, 19, 47, 0.99), rgba(26, 28, 60, 0.98)),
    var(--brand);
  box-shadow: 0 18px 45px rgba(26, 28, 60, 0.2);
}

.print-service::before {
  position: absolute;
  inset: -105px auto auto -85px;
  width: 265px;
  height: 265px;
  border: 46px solid rgba(237, 13, 111, 0.2);
  border-radius: 50%;
  content: "";
}

.print-service-copy,
.print-service-steps {
  position: relative;
  z-index: 2;
}

.print-badge {
  display: inline-flex;
  padding: 6px 10px;
  color: white;
  border-radius: 999px;
  background: var(--magenta);
  font-size: 0.68rem;
  font-weight: 800;
}

.print-service h2 {
  max-width: 720px;
  margin: 15px 0 10px;
  font-family: "Rubik", sans-serif;
  font-size: clamp(1.7rem, 3vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.print-service-copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.75;
}

.print-service-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 25px;
  padding: 0 17px;
  margin-top: 22px;
  color: var(--brand-dark);
  border-radius: 12px;
  text-decoration: none;
  background: white;
  font-size: 0.8rem;
  font-weight: 800;
  transition: gap 170ms ease, transform 170ms ease;
}

.print-service-cta:hover {
  gap: 31px;
  transform: translateY(-2px);
}

.print-service-cta svg {
  width: 16px;
  height: 16px;
}

.print-service-steps {
  padding: 8px 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid rgba(255, 255, 255, 0.13);
}

.print-service-steps li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 13px 3px;
}

.print-service-steps li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.print-service-steps li > span {
  display: grid;
  grid-row: span 2;
  width: 35px;
  height: 35px;
  color: var(--brand-dark);
  border-radius: 11px;
  background: var(--turquoise);
  font-family: "Rubik", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  place-items: center;
}

.print-service-steps strong {
  font-size: 0.84rem;
}

.print-service-steps small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

.print-service-art {
  position: absolute;
  inset: auto auto 18px 22px;
  color: rgba(255, 255, 255, 0.055);
  transform: rotate(-8deg);
}

.print-service-art svg {
  width: 155px;
  height: 155px;
  stroke-width: 1.1;
}

.favorites-section,
.directory-section {
  margin-top: 62px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-family: "Rubik", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.section-note,
#results-count {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(12px, 1vw, 20px);
}

.favorite-link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 98px;
  align-items: center;
  gap: 13px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  background: var(--surface);
  box-shadow: 0 7px 20px rgba(26, 28, 60, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.favorite-link::after {
  position: absolute;
  inset: auto auto -28px -28px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent, var(--brand-soft));
  content: "";
  opacity: 0.55;
}

.favorite-link:hover {
  border-color: rgba(82, 197, 193, 0.55);
  box-shadow: 0 12px 30px rgba(26, 28, 60, 0.09);
  transform: translateY(-4px);
}

.favorite-copy {
  min-width: 0;
}

.favorite-copy strong,
.favorite-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-copy strong {
  font-size: 0.94rem;
}

.favorite-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.link-icon {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(26, 28, 60, 0.08);
  border-radius: 13px;
  background: #f5f6f9;
  place-items: center;
}

.link-icon img {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.link-icon span {
  position: absolute;
  display: grid;
  inset: 0;
  color: var(--brand);
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  place-items: center;
}

.category-filters {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 21px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-button {
  flex: 0 0 auto;
  padding: 9px 15px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(390px, 100%), 1fr));
  gap: clamp(14px, 1.2vw, 24px);
}

.category-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(26, 28, 60, 0.055);
  animation: card-in 280ms both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--brand-dark);
  border-radius: 12px;
  background: var(--category-color, var(--brand-soft));
  font-size: 1rem;
  place-items: center;
}

.category-symbol svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.85;
}

.category-card h3 {
  margin: 0;
  font-size: 1rem;
}

.category-count {
  color: #9092a1;
  font-size: 0.69rem;
}

.links-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.site-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 12px;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.site-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateX(-2px);
}

.site-link .link-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: white;
}

.site-link .link-icon img {
  width: 17px;
  height: 17px;
}

.site-link .link-icon span {
  font-size: 0.72rem;
}

.site-link > span:last-child {
  overflow: hidden;
  font-size: 0.79rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed rgba(26, 28, 60, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.45);
}

.empty-icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  color: var(--brand);
  border-radius: 18px;
  background: var(--brand-soft);
  place-items: center;
}

.empty-state h3 {
  margin: 0 0 5px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.empty-state button {
  padding: 10px 17px;
  color: white;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 0 45px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.site-footer > div > p {
  margin: 8px 0 0;
}

.brand--footer .brand-logo {
  width: 142px;
}

.footer-credit {
  margin: 0;
  text-align: left;
}

@media (max-width: 1240px) {
  .page-shell {
    display: block;
  }

  .ad-rail {
    display: none;
  }
}

@media (max-width: 780px) {
  .header-inner,
  .site-footer,
  .page-shell {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 70px;
  }

  .header-meta {
    font-size: 0.76rem;
  }

  .header-actions {
    gap: 8px;
  }

  .survey-nav,
  .print-nav {
    width: 40px;
    min-height: 40px;
    justify-content: center;
    padding: 0;
  }

  .survey-nav-copy,
  .print-nav span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .survey-nav-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    color: white;
    background: transparent;
  }

  #current-date,
  .meta-separator {
    display: none;
  }

  .brand-tagline {
    display: none;
  }

  .brand-logo {
    width: 128px;
  }

  .page-shell {
    margin-top: 22px;
  }

  .hero {
    min-height: auto;
    padding: 34px 24px;
    border-radius: 27px;
  }

  .search-box {
    height: 58px;
  }

  .search-box kbd,
  .search-hint > span {
    display: none;
  }

  .search-hint {
    flex-wrap: wrap;
  }

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

  .survey-promo {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    min-height: auto;
    padding: 26px 24px;
    border-radius: 25px;
  }

  .survey-promo-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px 17px 17px 7px;
  }

  .survey-promo-icon svg {
    width: 25px;
    height: 25px;
  }

  .survey-promo-action {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .print-service {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 24px;
    border-radius: 25px;
  }

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

  .directory-heading {
    align-items: end;
  }

  .section-note {
    display: none;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .footer-credit {
    text-align: right;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 12vw, 2.55rem);
  }

  .favorites-grid,
  .links-list {
    grid-template-columns: 1fr;
  }

  .favorite-link {
    min-height: 80px;
  }

  .survey-promo {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .survey-promo h2 {
    font-size: 1.75rem;
  }

  .survey-promo-action {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .survey-time-note {
    align-self: flex-start;
  }

  .category-card {
    padding: 18px;
  }
}

.survey-dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 42px 34px 24px;
  overflow-y: auto;
  color: var(--ink);
  border: 1px solid rgba(82, 197, 193, 0.3);
  border-radius: 28px;
  background: radial-gradient(ellipse at top right, #dff6f4, transparent 65%), #fff;
  box-shadow: 0 28px 90px rgba(17, 19, 47, 0.25);
  text-align: center;
}

.survey-dialog::backdrop {
  background: rgba(17, 19, 47, 0.52);
  backdrop-filter: blur(5px);
}

body.survey-dialog-open { overflow: hidden; }

.survey-dialog-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 28, 60, 0.06);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

.survey-dialog-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 22px;
  background: var(--brand);
  color: white;
  transform: rotate(-6deg);
}

.survey-dialog-icon svg { width: 30px; height: 30px; }
.survey-dialog-kicker { color: var(--turquoise-dark); font-size: .85rem; font-weight: 700; }
.survey-dialog h2 { margin: 12px 0; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.25; }
.survey-dialog h2 em { color: var(--magenta); font-style: normal; }
.survey-dialog p { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.survey-dialog .survey-dialog-reward { padding: 12px 16px; border-radius: 14px; color: var(--ink); background: var(--brand-soft); font-weight: 500; }

.survey-dialog-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 15px;
  color: white;
  background: var(--magenta);
  box-shadow: 0 8px 22px rgba(237, 13, 111, .2);
  text-decoration: none;
  font-weight: 700;
}

.survey-dialog-cta svg { width: 19px; height: 19px; }
.survey-dialog-cta:hover { background: #d70c66; }
.survey-dialog-later { margin-top: 10px; min-height: 44px; padding: 8px 22px; border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; }
.survey-dialog :focus-visible { outline: 3px solid var(--turquoise-dark); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
