:root {
  --bg: #f4fffb;
  --paper: #fbfffd;
  --ink: #0b2f3a;
  --muted: #55737a;
  --line: #c7e5df;
  --green: #13c8a2;
  --green-soft: #c7fff1;
  --blue: #1387d4;
  --blue-soft: #d8f2ff;
  --shadow: rgba(4, 44, 54, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: 86px;
  overflow-x: hidden;
  color: var(--ink);
  font: 16px/1.5 Inter, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 84% 8%, rgba(19, 200, 162, 0.22), transparent 23rem),
    radial-gradient(circle at 18% 32%, rgba(19, 135, 212, 0.16), transparent 28rem),
    var(--bg);
}

[hidden] {
  display: none !important;
}

[data-progressive-card].is-progressive-hidden {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: relative;
  top: 50px;
  width: min(980px, calc(100% - 28px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.paper-toggle {
  display: none;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.brand__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--ink), #0f6e7a);
  box-shadow: 5px 6px 0 var(--green-soft);
  transform: rotate(-4deg);
}

.brand__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero,
.directory,
.region,
.why,
.epilogue {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.7fr);
  column-gap: clamp(32px, 7vw, 88px);
  row-gap: 18px;
  align-items: start;
  padding: 56px 0 84px;
}

.hero__copy {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  margin: 0 0 10px;
  padding-right: 10px;
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.eyebrow--fragment {
  color: #000;
}

.eyebrow--rainbow {
  color: transparent;
  background:
    linear-gradient(
      33deg,
      #13ffb5 0%,
      #2ccfff 18%,
      #5267ff 36%,
      #9b5cff 54%,
      #ff5dc8 72%,
      #c7fff1 88%,
      #13ffb5 100%
    );
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 6px rgba(82, 103, 255, 0.34))
    drop-shadow(0 0 13px rgba(19, 255, 181, 0.24));
  animation: rainbowTextLoop 6.8s linear infinite;
}

.hero__eyebrow {
  position: relative;
  top: 30px;
  left: -10px;
  text-align: center;
}

.hero__eyebrow span {
  position: relative;
  top: -3px;
  display: inline-block;
  transform: rotate(-11deg);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 36px;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.h1-drop {
  display: inline-block;
  transform: translateY(20px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.47rem);
  line-height: 1.44;
}

.ask {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 760px;
  min-height: 150px;
  padding: 16px 18px 14px;
  border: 2px solid var(--ink);
  border-radius: 32px 18px 30px 18px / 18px 30px 18px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(223, 244, 255, 0.7)),
    var(--paper);
  box-shadow:
    9px 10px 0 var(--green-soft),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.ask__label {
  position: relative;
  display: block;
  width: max-content;
  max-width: calc(100% - 245px);
  margin-bottom: 0;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ask__label::after {
  position: absolute;
  left: clamp(120px, 24vw, 185px);
  top: 5px;
  width: 82px;
  height: 58px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='96' height='64' viewBox='0 0 96 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M83 9C70 24 57 31 43 38C35 42 29 47 23 55' fill='none' stroke='%2313c8a2' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M23 55L29 34M23 55L45 54' fill='none' stroke='%2313c8a2' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M80 12C68 25 55 32 42 39C35 43 29 48 23 55' fill='none' stroke='%23f4fffb' stroke-width='2' stroke-linecap='round' opacity='.82'/%3E%3Ccircle cx='82' cy='9' r='3' fill='%230b2f3a'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
  transform: rotate(7deg);
}

.ask__filters {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(620px, calc(100% - 24px));
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: 220px;
  border: 1px solid rgba(11, 47, 58, 0.26);
  border-radius: 22px 10px 20px 10px / 10px 20px 10px 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(199, 255, 241, 0.44)),
    var(--paper);
  box-shadow:
    4px 5px 0 rgba(199, 255, 241, 0.82),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.filter-chip[hidden] {
  display: none;
}

.filter-chip > span {
  display: grid;
  align-self: stretch;
  place-items: center;
  min-width: 38px;
  padding: 0 8px;
  border-right: 1px solid rgba(11, 47, 58, 0.12);
  color: #087769;
  background: rgba(199, 255, 241, 0.54);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-chip::after {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  content: "";
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.filter-chip:focus-within {
  border-color: var(--green);
  box-shadow:
    4px 5px 0 rgba(199, 255, 241, 0.92),
    0 0 0 4px rgba(19, 200, 162, 0.12);
}

.filter-chip select {
  width: 100%;
  min-width: 128px;
  max-width: 178px;
  min-height: 38px;
  border: 0;
  color: var(--ink);
  background: transparent;
  padding: 0 27px 0 9px;
  font-size: 0.78rem;
  font-weight: 850;
  outline: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.ask input,
.paper input,
.paper textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.ask input[type="hidden"] {
  display: none;
}

.ask__composer-wrap {
  position: relative;
  margin-top: 8px;
}

.ask__composer {
  position: relative;
  min-height: 70px;
  max-width: 100%;
  margin-top: 0;
  padding: 12px 3px 4px;
  border-bottom: 1px solid rgba(11, 47, 58, 0.24);
  color: var(--ink);
  font-size: clamp(1.18rem, 2.6vw, 1.78rem);
  font-weight: 760;
  line-height: 1.74;
  outline: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ask__composer::before {
  position: absolute;
  top: 12px;
  right: 3px;
  left: 3px;
  display: block;
  max-width: 100%;
  color: rgba(85, 115, 122, 0.72);
  content: attr(data-placeholder);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ask__composer.has-text::before {
  display: none;
}

.ask__composer,
.ask__composer:focus {
  border-color: var(--green);
  box-shadow: 0 7px 0 -6px rgba(19, 200, 162, 0.72);
  caret-color: var(--green);
}

.smart-suggest {
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.smart-suggest:not(:empty) {
  min-height: 36px;
}

.smart-suggest button {
  border: 1px solid rgba(19, 200, 162, 0.45);
  border-radius: 999px;
  color: #073d42;
  background: rgba(199, 255, 241, 0.68);
  padding: 7px 10px;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.smart-suggest button:hover,
.smart-suggest button:focus-visible {
  border-color: var(--ink);
  background: white;
}

.ask__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin-top: 2px;
  padding-top: 7px;
}

.quick {
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  gap: 8px;
  width: 100%;
  margin-top: 0;
}

.quick button,
.more,
.paper button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 850;
  cursor: pointer;
}

.quick button {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  min-height: 34px;
  padding: 7px 10px;
  transition:
    color 0.18s ease,
    text-shadow 0.18s ease,
    transform 0.18s ease;
}

.quick button.is-swapping {
  color: #075849;
  text-shadow:
    0 0 8px rgba(19, 200, 162, 0.42),
    0 0 14px rgba(19, 135, 212, 0.24);
  transform: translateY(-1px);
}

.quick button.is-suggestion {
  border-color: rgba(19, 200, 162, 0.58);
  background:
    linear-gradient(135deg, rgba(199, 255, 241, 0.92), rgba(216, 242, 255, 0.58)),
    var(--paper);
}

.quick button:hover,
.more:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-results {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition:
    max-height 0.58s cubic-bezier(0.2, 0.8, 0.18, 1),
    opacity 0.34s ease,
    transform 0.34s ease;
}

.hero-results.is-open {
  max-height: 24000px;
  opacity: 1;
  transform: translateY(0);
}

.results.results--hero {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 12px;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.results-status {
  width: min(760px, 100%);
  margin: auto 0 0 4px;
  padding: 12px 0 11px;
  border-bottom: 1px solid rgba(199, 229, 223, 0.92);
  color: rgba(85, 115, 122, 0.92);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-align: left;
}

.results.results--hero.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.search-loading {
  width: min(760px, 100%);
  min-height: 45px;
  padding: 9px 16px 8px;
  border: 1px solid rgba(199, 229, 223, 0.95);
  border-left: 4px solid var(--green);
  border-radius: 20px 8px 20px 8px / 8px 20px 8px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(216, 242, 255, 0.48)),
    var(--paper);
  box-shadow:
    0 12px 28px rgba(4, 44, 54, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  cursor: default;
}

.search-loading__bar {
  position: relative;
  width: min(380px, 100%);
  height: 5px;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(85, 115, 122, 0.18);
}

.search-loading__bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #13c8a2, #8dffd9);
  box-shadow: 0 0 15px rgba(19, 200, 162, 0.46);
  transition: width 0.18s ease;
}

.search-loading__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #075849;
  font-size: 0.9rem;
  font-weight: 900;
}

.search-loading__percent {
  color: rgba(85, 115, 122, 0.9);
  font-size: 0.82rem;
  font-weight: 850;
}

.search-loading__dots {
  display: inline-flex;
  width: 1.3em;
  margin-left: 1px;
}

.search-loading__dots span {
  animation: loadingDot 1.05s ease-in-out infinite;
}

.search-loading__dots span:nth-child(2) {
  animation-delay: 0.14s;
}

.search-loading__dots span:nth-child(3) {
  animation-delay: 0.28s;
}

.results.results--hero .card {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 18px min(260px, 28vw) 18px 22px;
  border-left: 4px solid var(--green);
  border-radius: 20px 8px 20px 8px / 8px 20px 8px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(216, 242, 255, 0.38)),
    var(--paper);
  box-shadow:
    0 12px 28px rgba(4, 44, 54, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.results.results--hero .card__meta {
  position: absolute;
  right: 18px;
  top: 16px;
  bottom: 16px;
  display: grid;
  grid-template-rows: min-content minmax(0, 1fr);
  gap: 10px;
  width: min(320px, 39vw);
  justify-items: end;
  margin-bottom: 0;
  font-size: 0.86rem;
  text-align: right;
}

.results.results--hero .card__meta button,
.results.results--hero .card__meta span {
  padding: 6px 8px;
  border: 1px solid rgba(19, 200, 162, 0.28);
  border-radius: 999px;
  background: rgba(199, 255, 241, 0.48);
  color: #075849;
  font: inherit;
}

.results.results--hero .card__meta button {
  cursor: pointer;
}

.results.results--hero .card__meta button:hover,
.results.results--hero .card__meta button:focus-visible {
  border-color: var(--ink);
  outline: 0;
  background: white;
}

.card__place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.results.results--hero .card__meta .card__place {
  align-self: end;
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
}

.results.results--hero .card__meta .card__separator {
  padding: 0;
  border: 0;
  color: rgba(11, 47, 58, 0.54);
  background: transparent;
  font-weight: 950;
}

.results.results--hero .card__meta .card__tag {
  display: inline-flex;
  align-self: start;
  justify-self: end;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-color: rgba(92, 107, 113, 0.26);
  border-radius: 999px;
  color: #65727a;
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.94), rgba(226, 232, 234, 0.88)),
    #eef2f2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1;
  text-transform: lowercase;
}

.results.results--hero .card__meta .card__tag:hover,
.results.results--hero .card__meta .card__tag:focus-visible {
  border-color: rgba(82, 96, 102, 0.4);
  color: #4f5d64;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(219, 225, 228, 0.92)),
    #e8ecee;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--blue);
}

.results.results--hero .card h3 {
  margin-bottom: 7px;
  color: #075849;
  font-size: clamp(1.14rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.results.results--hero .card__answer {
  max-width: 820px;
  font-size: 0.95rem;
  line-height: 1.43;
}

.results.results--hero .card__answer-paragraph {
  margin: 0 0 0.56em;
}

.results.results--hero .card__answer-paragraph:last-child {
  margin-bottom: 0;
}

.results.results--hero .card-more {
  position: static;
  width: max-content;
  margin-top: 14px;
  min-height: 30px;
  pointer-events: none;
  font-size: 0.82rem;
}

.more--hero {
  margin-top: 12px;
  border-radius: 18px 8px 17px 9px / 9px 17px 8px 18px;
  box-shadow: 4px 5px 0 rgba(199, 255, 241, 0.82);
}

.paper {
  position: relative;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 34% 13% 31% 14% / 13% 31% 16% 28%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(216, 242, 255, 0.65)),
    var(--paper);
  box-shadow: 18px 22px 70px var(--shadow);
}

.paper::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 112px;
  height: 112px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='128' height='128' viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='64' cy='64' r='49' fill='none' stroke='%2313c8a2' stroke-width='3' stroke-dasharray='5 5'/%3E%3Ccircle cx='64' cy='64' r='37' fill='none' stroke='%231387d4' stroke-width='2' opacity='.7'/%3E%3Ctext x='64' y='61' text-anchor='middle' font-family='Arial,sans-serif' font-size='31' font-weight='900' fill='%230b2f3a'%3E%D0%9F%D0%91%3C/text%3E%3Ctext x='64' y='83' text-anchor='middle' font-family='Arial,sans-serif' font-size='18' font-weight='800' fill='%2313c8a2'%3E.%D0%B5%D1%8E%3C/text%3E%3Cpath d='M31 95c18 13 47 14 67 0' fill='none' stroke='%2313c8a2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.78;
  pointer-events: none;
  transform: rotate(-13deg);
  mix-blend-mode: multiply;
}

.paper h2 {
  margin-bottom: 30px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.paper__eyebrow {
  padding-right: 42px;
  color: #075849;
  text-shadow: 0 0 0 transparent;
  animation: lightningNotice 11.7s ease-out infinite;
}

.paper label {
  display: block;
  margin-bottom: 14px;
}

.paper label span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paper input,
.paper textarea {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.paper textarea {
  min-height: 128px;
  resize: none;
  border: 1px solid rgba(11, 47, 58, 0.08);
  border-radius: 26px 12px 24px 12px / 14px 26px 12px 24px;
  background:
    linear-gradient(transparent 0 30px, rgba(19, 135, 212, 0.14) 31px),
    linear-gradient(105deg, rgba(255, 255, 255, 0.92), rgba(199, 255, 241, 0.28));
  background-size: 100% 32px, auto;
  caret-color: var(--green);
  color: #123d48;
  font-family: "Segoe Print", "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: 1.02rem;
  line-height: 32px;
  padding: 0 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.paper button {
  width: 100%;
  margin-top: -7px;
  border: 1px solid rgba(11, 47, 58, 0.7);
  border-radius: 28px 12px 26px 14px / 14px 26px 12px 28px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(199, 255, 241, 0.92), rgba(223, 244, 255, 0.86)),
    var(--paper);
  box-shadow: 6px 7px 0 rgba(19, 200, 162, 0.28);
}

.paper button:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.paper__preview {
  display: block;
  min-height: 56px;
  margin-top: 30px;
  margin-left: 30px;
  padding-right: 112px;
  padding-top: 16px;
  padding-bottom: 12px;
  padding-left: 14px;
  border: 1px solid rgba(19, 200, 162, 0.35);
  border-radius: 24px 10px 22px 10px / 10px 22px 10px 24px;
  border-bottom-left-radius: 45px 25px;
  color: #164852;
  background:
    linear-gradient(135deg, rgba(199, 255, 241, 0.6), rgba(216, 242, 255, 0.46)),
    rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.42);
  font-size: 0.95rem;
  font-weight: 720;
  white-space: pre-line;
}

.directory {
  position: relative;
  padding: 70px clamp(18px, 4vw, 44px) 54px;
  border: 1px solid rgba(19, 200, 162, 0.28);
  border-radius: 34px 14px 34px 14px / 14px 34px 14px 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(216, 242, 255, 0.48)),
    repeating-linear-gradient(90deg, rgba(19, 200, 162, 0.06) 0 1px, transparent 1px 56px),
    var(--paper);
  box-shadow:
    0 22px 60px rgba(4, 44, 54, 0.08);
  overflow: visible;
}

.directory::before {
  position: absolute;
  z-index: 1;
  top: 27px;
  right: clamp(18px, 4vw, 44px);
  color: rgba(19, 200, 162, 0.72);
  content: "наша стратегия это белое SEO";
  font-size: 1.47rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.directory::after {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(199, 255, 241, 0.68);
  border-radius: inherit;
  background: rgba(199, 255, 241, 0.72);
  box-shadow: 0 0 24px rgba(19, 200, 162, 0.2);
  content: "";
  pointer-events: none;
  transform: rotate(-2deg);
}

.directory-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  counter-reset: directory-card;
}

.directory-grid > div {
  position: relative;
  min-height: 260px;
  padding: 30px 28px 28px;
  border: 1px solid rgba(11, 47, 58, 0.14);
  border-left: 5px solid var(--green);
  border-radius: 26px 10px 24px 10px / 10px 24px 10px 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(199, 255, 241, 0.3)),
    var(--paper);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 12px 28px rgba(4, 44, 54, 0.07);
  counter-increment: directory-card;
}

.directory-grid > .directory-grid__hashtags {
  border-left-color: rgba(92, 107, 113, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 234, 0.48)),
    var(--paper);
}

.directory-grid > div::after {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(11, 47, 58, 0.16);
  content: "0" counter(directory-card);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 950;
  line-height: 0.8;
}

.directory-grid h3 {
  max-width: 72%;
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  align-items: flex-start;
}

.link-cloud a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(19, 200, 162, 0.34);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(216, 242, 255, 0.45)),
    rgba(216, 242, 255, 0.55);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 3px 4px 0 rgba(199, 255, 241, 0.7);
}

.link-cloud__country {
  border-color: rgba(19, 135, 212, 0.46);
  color: #073d42;
  background:
    linear-gradient(135deg, rgba(199, 255, 241, 0.92), rgba(188, 226, 255, 0.76)),
    var(--paper);
}

.link-cloud a:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.hashtag-cloud a,
.detail-meta a[href*="/tema/"],
.card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-color: rgba(92, 107, 113, 0.26);
  border-style: solid;
  border-radius: 999px;
  color: #65727a;
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.94), rgba(226, 232, 234, 0.88)),
    #eef2f2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1;
  text-transform: lowercase;
}

.hashtag-cloud a::before,
.detail-meta a[href*="/tema/"]::before,
.card__tag::before {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2365727a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6.2 3.1 4.9 14.9'/%3E%3Cpath d='M12.7 3.1l-1.4 11.8'/%3E%3Cpath d='M3.3 6.4c3.2-.5 7.3-.8 11.4-.6'/%3E%3Cpath d='M2.9 11.8c3.9-.4 8-.5 12.2-.2'/%3E%3C/g%3E%3C/svg%3E");
  content: "";
}

.hashtag-cloud a:hover,
.detail-meta a[href*="/tema/"]:hover,
.card__tag:hover,
.card__tag:focus-visible {
  border-color: rgba(82, 96, 102, 0.4);
  color: #4f5d64;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(219, 225, 228, 0.92)),
    #e8ecee;
}

.section-head {
  display: block;
  margin-bottom: 28px;
}

.section-head > div,
.section-head h2 {
  width: 100%;
  max-width: none;
}

.section-head p {
  color: var(--muted);
}

.directory .section-head .directory__eyebrow {
  position: absolute;
  top: -10px;
  left: 0;
  margin: 0;
  padding: 25px;
  color: #075849;
  text-align: left;
  text-shadow: 0 0 0 transparent;
  animation: directoryFlash 13.6s ease-out infinite;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stats > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

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

.card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(4, 44, 54, 0.08);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  border-color: var(--green);
  outline: 0;
  box-shadow:
    0 16px 42px rgba(4, 44, 54, 0.1),
    4px 5px 0 rgba(199, 255, 241, 0.72);
  transform: translateY(-3px);
}

.card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card__meta a,
.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card__meta a:hover,
.card__meta a:focus-visible,
.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--green);
  outline: 0;
}

.card__meta .card__separator {
  color: rgba(11, 47, 58, 0.54);
  font-weight: 950;
}

.card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.22rem, 2.3vw, 1.7rem);
  line-height: 1.12;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card__answer {
  color: var(--muted);
}

.card__answer-paragraph {
  margin: 0 0 0.74em;
  color: inherit;
}

.card__answer-paragraph:last-child {
  margin-bottom: 0;
}

.more {
  margin-top: 18px;
}

.region {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  padding: 90px 0;
}

.region p {
  max-width: 650px;
  padding-left: 20px;
  border-left: 4px solid #13ffb5;
  color: var(--muted);
  font-size: 1.12rem;
}

.region .eyebrow {
  position: relative;
  top: -30px;
  padding-left: 0;
  border-left: 0;
}

.love-graph {
  min-height: 380px;
  position: relative;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(19, 200, 162, 0.16), rgba(19, 135, 212, 0.13)),
    var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.love-graph::before {
  position: absolute;
  inset: 18%;
  border: 2px solid var(--green);
  border-radius: 52% 48% 45% 55% / 55% 45% 55% 45%;
  content: "";
  transform: rotate(-10deg);
}

.love-graph span {
  position: absolute;
  min-width: 92px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 6px 7px 0 var(--green-soft);
  font-weight: 850;
  text-align: center;
}

.love-graph span:nth-child(1) { left: 10%; top: 13%; }
.love-graph span:nth-child(2) { right: 12%; top: 18%; }
.love-graph span:nth-child(3) { left: 25%; top: 48%; }
.love-graph span:nth-child(4) { right: 19%; bottom: 19%; }
.love-graph span:nth-child(5) { left: 8%; bottom: 14%; }

.why {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.45fr);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
  padding: clamp(38px, 7vw, 82px);
  border-radius: 40px;
  color: #eaffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(19, 200, 162, 0.24), transparent 18rem),
    radial-gradient(circle at 86% 76%, rgba(19, 135, 212, 0.34), transparent 20rem),
    linear-gradient(135deg, #071f2a 0%, #0b3946 48%, #083442 100%);
  box-shadow:
    0 0 0 1px rgba(199, 255, 241, 0.34),
    0 0 38px rgba(19, 200, 162, 0.18),
    0 30px 86px rgba(11, 47, 58, 0.24);
  overflow: visible;
}

.why::before {
  position: absolute;
  z-index: 0;
  inset: 16px;
  border: 1px solid rgba(199, 255, 241, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(199, 255, 241, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(199, 255, 241, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(115deg, black, transparent 76%);
  -webkit-mask-image: linear-gradient(115deg, black, transparent 76%);
  content: "";
  pointer-events: none;
}

.why::after {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(199, 255, 241, 0.48);
  border-radius: inherit;
  background: rgba(199, 255, 241, 0.34);
  box-shadow: 0 0 30px rgba(19, 135, 212, 0.14);
  content: "";
  pointer-events: none;
  transform: rotate(-2deg);
}

.why__copy,
.why__signals {
  position: relative;
  z-index: 1;
}

.why h2 {
  max-width: 940px;
  text-wrap: balance;
}

.why__eyebrow {
  right: -200px;
  position: relative;
  top: -30px;
  transform: rotate(7deg);
}

.why p {
  max-width: 820px;
  color: #cde8e9;
  font-size: clamp(1.06rem, 1.8vw, 1.22rem);
}

.why p + p {
  margin-top: 18px;
}

.why a {
  color: #c7fff1;
  font-weight: 900;
  text-decoration-color: rgba(199, 255, 241, 0.44);
  text-underline-offset: 5px;
  text-shadow: 0 0 18px rgba(19, 200, 162, 0.46);
}

.why__signals {
  display: grid;
  gap: 12px;
}

.why__signals span {
  display: grid;
  gap: 8px;
  min-height: 88px;
  padding: 17px 18px;
  border: 1px solid rgba(199, 255, 241, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(251, 255, 253, 0.12), rgba(216, 242, 255, 0.05)),
    rgba(7, 31, 42, 0.2);
  box-shadow:
    inset 0 0 28px rgba(199, 255, 241, 0.08),
    0 0 24px rgba(19, 135, 212, 0.12);
  color: #dff4ff;
  font-weight: 850;
}

.why__signals b {
  color: #c7fff1;
  font-size: clamp(1.32rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(19, 200, 162, 0.55);
}

.epilogue {
  position: relative;
  padding: 82px 0 48px;
  overflow: hidden;
  text-align: center;
}

.epilogue strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  font: italic 760 4.7rem/1.05 Georgia, serif;
  letter-spacing: -0.05em;
}

.ellipsis {
  letter-spacing: 0;
}

.magic-dots {
  position: absolute;
  pointer-events: none;
}

.magic-dots i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--green));
  box-shadow:
    0 0 18px var(--dot, var(--green)),
    0 0 34px rgba(19, 135, 212, 0.34);
  animation: magicPulse 2.8s ease-in-out infinite;
}

.magic-dots--right {
  top: -29px;
  right: max(-42px, calc(50% - 490px));
  width: 188px;
  height: 82px;
}

.magic-dots--right i:nth-child(1) { top: 20px; left: 10px; --dot: #13c8a2; }
.magic-dots--right i:nth-child(2) { top: 4px; left: 42px; --dot: #1387d4; animation-delay: 0.3s; }
.magic-dots--right i:nth-child(3) { top: 32px; left: 68px; --dot: #ff4fd8; animation-delay: 0.7s; }
.magic-dots--right i:nth-child(4) { top: 12px; left: 102px; --dot: #f8ff7a; animation-delay: 1.1s; }
.magic-dots--right i:nth-child(5) { top: 50px; left: 124px; --dot: #52ffe0; animation-delay: 1.5s; }
.magic-dots--right i:nth-child(6) { top: 26px; left: 152px; --dot: #b882ff; animation-delay: 1.9s; }
.magic-dots--right i:nth-child(7) { top: 62px; left: 174px; --dot: #ff8f3d; animation-delay: 2.2s; }

.magic-dots--left {
  top: calc(100% + 30px);
  left: max(-108px, calc(50% - 480px));
  width: 116px;
  height: 56px;
}

.magic-dots--left i:nth-child(1) { top: 10px; left: 42px; --dot: #13c8a2; animation-delay: 0.2s; }
.magic-dots--left i:nth-child(2) { top: 30px; left: 12px; --dot: #1387d4; animation-delay: 0.8s; }
.magic-dots--left i:nth-child(3) { top: 22px; left: 70px; --dot: #ff4fd8; animation-delay: 1.4s; }
.magic-dots--left i:nth-child(4) { top: 40px; left: 94px; --dot: #f8ff7a; animation-delay: 2s; }
}

.magic-line {
  width: min(360px, 74vw);
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--green), transparent);
  background-size: 200% 100%;
  filter: drop-shadow(0 0 10px rgba(19, 200, 162, 0.62));
  animation: magicLine 3.8s linear infinite;
}

.epilogue p {
  max-width: 740px;
  margin-right: auto;
  margin-left: auto;
  color: transparent;
  background: linear-gradient(90deg, #0a5be8 0%, #1387d4 24%, #13c8a2 52%, #7ef7e1 68%, #1387d4 84%, #0a5be8 100%);
  background-size: 155% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(19, 200, 162, 0.3)) drop-shadow(0 0 18px rgba(19, 135, 212, 0.28));
  font-weight: 760;
  transform: rotate(1deg);
  animation: epilogueNeonDrift 13.7s cubic-bezier(0.42, 0, 0.22, 1) infinite;
}

.detail {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.detail-card {
  padding: clamp(28px, 6vw, 74px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 16%, rgba(19, 200, 162, 0.2), transparent 20rem),
    var(--paper);
  box-shadow: 14px 16px 0 var(--green-soft);
}

.detail-card h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
}

.city-story {
  max-width: 920px;
}

.answer-big {
  max-width: 850px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.62rem);
  line-height: 1.56;
}

.answer-big p {
  margin: 0 0 0.9em;
}

.answer-big p:last-child {
  margin-bottom: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.detail-meta a,
.detail-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.detail-meta a:hover {
  color: var(--ink);
  border-color: var(--green);
}

.detail-meta a[href*="/tema/"] {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-color: rgba(92, 107, 113, 0.26);
  border-radius: 999px;
  color: #65727a;
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.94), rgba(226, 232, 234, 0.88)),
    #eef2f2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1;
  text-transform: lowercase;
}

.detail-meta__topic {
  margin-left: auto;
}

.related-section {
  margin-top: 46px;
}

.related-section h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

.related-section .results {
  grid-template-columns: 1fr;
}

.related-section .card--with-top-tag {
  position: relative;
  padding-top: 56px;
}

.related-section .card__meta--tag-only {
  position: absolute;
  top: 16px;
  right: 16px;
  justify-content: flex-end;
  margin-bottom: 0;
  text-align: right;
}

.related-section .card__meta--tag-only .card__tag {
  margin-left: auto;
}

.entity-detail .lead {
  max-width: 880px;
}

.city-story {
  display: grid;
  gap: 16px;
}

.city-story p {
  margin: 0;
}

.topic-question-eyebrow {
  margin-top: 46px;
}

.entity-empty {
  max-width: 820px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 24px;
  box-shadow: 8px 10px 0 var(--green-soft);
}

.related-section .card {
  position: relative;
  width: 100%;
  min-height: 0;
  padding-bottom: 64px;
}

.related-section .card h3 {
  margin-bottom: 18px;
}

.city-entrances,
.city-sections,
.city-question-map {
  position: relative;
  scroll-margin-top: 28px;
}

.city-entrances {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(19, 135, 212, 0.2);
  border-radius: 28px 9px 26px 11px / 11px 26px 9px 28px;
  background:
    linear-gradient(135deg, rgba(216, 242, 255, 0.62), rgba(199, 255, 241, 0.5)),
    rgba(255, 255, 255, 0.54);
  box-shadow: 8px 10px 0 rgba(19, 200, 162, 0.22);
  overflow: hidden;
}

.city-entrances::after {
  position: absolute;
  right: -40px;
  bottom: -32px;
  width: 190px;
  height: 110px;
  border: 1px solid rgba(11, 47, 58, 0.13);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 38%, rgba(19, 200, 162, 0.28), transparent 34px),
    radial-gradient(circle at 68% 52%, rgba(19, 135, 212, 0.2), transparent 42px);
  content: "";
  transform: rotate(-7deg);
  pointer-events: none;
}

.city-rubric-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.city-rubric-chip {
  position: relative;
  display: grid;
  min-height: 88px;
  align-content: space-between;
  gap: 8px;
  padding: 13px 46px 12px 13px;
  border: 1px solid rgba(92, 107, 113, 0.22);
  border-radius: 19px 7px 18px 8px / 8px 18px 7px 19px;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 249, 0.9)),
    var(--paper);
  text-decoration: none;
  box-shadow: 3px 4px 0 rgba(255, 255, 255, 0.58);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.city-rubric-chip:hover,
.city-rubric-chip:focus-visible {
  border-color: rgba(19, 200, 162, 0.5);
  box-shadow:
    4px 5px 0 rgba(199, 255, 241, 0.8),
    0 0 22px rgba(19, 200, 162, 0.15);
  outline: 0;
  transform: translateY(-2px);
}

.city-rubric-chip span {
  color: #516269;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: lowercase;
  overflow-wrap: anywhere;
}

.city-rubric-chip strong {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #075849;
  font-size: 1.28rem;
  line-height: 1;
}

.city-rubric-chip em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.25;
}

.city-sections,
.city-question-map {
  padding: clamp(20px, 4vw, 34px) 0 0;
}

.city-rubric-section,
.city-question-cluster {
  scroll-margin-top: 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed rgba(92, 107, 113, 0.24);
}

.city-rubric-section:first-of-type,
.city-question-cluster:first-of-type {
  margin-top: 0;
}

.city-rubric-section header,
.city-question-cluster header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.city-rubric-section h3,
.city-question-cluster h3 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(1.42rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.city-rubric-section .card__tag,
.city-question-cluster .card__tag {
  flex: 0 0 auto;
}

.city-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.city-mini-card {
  display: grid;
  min-height: 126px;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(199, 229, 223, 0.9);
  border-radius: 20px 8px 19px 8px / 8px 19px 8px 20px;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 253, 252, 0.92)),
    var(--paper);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(4, 44, 54, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.city-mini-card:hover,
.city-mini-card:focus-visible {
  border-color: rgba(19, 200, 162, 0.48);
  box-shadow:
    0 14px 32px rgba(4, 44, 54, 0.08),
    3px 4px 0 rgba(199, 255, 241, 0.62);
  outline: 0;
  transform: translateY(-2px);
}

.city-mini-card--question {
  border-color: rgba(83, 166, 181, 0.34);
  background:
    linear-gradient(135deg, rgba(237, 250, 255, 0.94), rgba(247, 255, 251, 0.92)),
    var(--paper);
  box-shadow:
    0 12px 28px rgba(4, 44, 54, 0.06),
    inset 0 0 0 1px rgba(19, 200, 162, 0.08);
}

.city-mini-card--question:hover,
.city-mini-card--question:focus-visible {
  border-color: rgba(19, 200, 162, 0.58);
  box-shadow:
    0 16px 34px rgba(4, 44, 54, 0.09),
    4px 5px 0 rgba(169, 236, 255, 0.58),
    inset 0 0 0 1px rgba(19, 200, 162, 0.16);
}

.city-mini-card strong {
  font-size: clamp(1.06rem, 1.7vw, 1.34rem);
  line-height: 1.14;
}

.city-mini-card span {
  display: -webkit-box;
  max-height: 4.26em;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.city-question-results {
  grid-template-columns: 1fr;
}

.city-question-card {
  min-height: 0;
  padding: 52px 22px 58px;
}

.city-question-card h3 {
  max-width: min(880px, calc(100% - 136px));
  font-size: clamp(1.14rem, 1.9vw, 1.5rem);
  line-height: 1.16;
}

.city-question-card p {
  display: -webkit-box;
  max-width: 900px;
  max-height: 4.44em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.place-question-pack {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(19, 135, 212, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(199, 255, 241, 0.42), rgba(230, 241, 255, 0.68)),
    rgba(255, 255, 255, 0.42);
  box-shadow: 8px 10px 0 rgba(199, 255, 241, 0.66);
}

.place-question-pack::before {
  position: absolute;
  top: 18px;
  right: 22px;
  width: min(220px, 34vw);
  height: 58px;
  border-top: 2px solid rgba(19, 135, 212, 0.36);
  border-bottom: 2px solid rgba(19, 200, 162, 0.34);
  border-radius: 999px;
  content: "";
  opacity: 0.72;
  transform: rotate(-2deg);
  pointer-events: none;
}

.place-question-pack__lead {
  max-width: 720px;
  margin: -14px 0 26px;
  color: #315863;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.place-question-pack__card {
  border-color: rgba(19, 135, 212, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 252, 250, 0.9)),
    var(--paper);
  box-shadow: 4px 5px 0 rgba(19, 200, 162, 0.18);
}

.place-question-pack__card h3 {
  max-width: 900px;
}

.place-question-pack__card p {
  max-width: 880px;
}

.card-more {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-grid;
  min-width: 76px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(19, 200, 162, 0.52);
  border-radius: 18px 7px 17px 8px / 8px 17px 7px 18px;
  color: #075849;
  background:
    linear-gradient(135deg, rgba(199, 255, 241, 0.94), rgba(216, 242, 255, 0.72)),
    var(--paper);
  box-shadow: 4px 5px 0 rgba(199, 255, 241, 0.74);
  font-weight: 950;
  text-transform: lowercase;
}

.read-more {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.project-credit {
  position: relative;
  display: inline-block;
  order: -1;
  flex: 0 0 auto;
  align-self: flex-end;
  margin-left: 0;
  padding: 2px 5px 8px;
  color: #075849;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.project-credit::after {
  position: absolute;
  right: -2px;
  bottom: 0;
  left: 0;
  height: 8px;
  background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg width='220' height='18' viewBox='0 0 220 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10c35-5 72-4 109-6 34-2 63 0 94 3 7 .7 10 3 7 7-3 3-8 3-14 1' fill='none' stroke='%23075849' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='.78'/%3E%3Cpath d='M6 12c42-3 84-5 127-5 27 0 53 2 78 5' fill='none' stroke='%2313c8a2' stroke-width='1.1' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

.back-top {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  display: inline-flex;
  min-width: 190px;
  max-width: calc(100vw - 28px);
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 5px 15px 6px 12px;
  border: 1px solid rgba(199, 255, 241, 0.72);
  border-radius: 22px 8px 20px 8px / 8px 20px 8px 22px;
  color: #c7fff1;
  background:
    linear-gradient(135deg, rgba(11, 47, 58, 0.96), rgba(10, 85, 103, 0.92)),
    var(--ink);
  box-shadow:
    0 0 18px rgba(19, 200, 162, 0.62),
    0 0 42px rgba(19, 135, 212, 0.38),
    0 14px 0 rgba(199, 255, 241, 0.32);
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.2, 0.8, 0.18, 1),
    box-shadow 0.42s ease;
}

.back-top__arrows {
  display: grid;
  gap: 0;
  color: #13c8a2;
  font-size: 1.3rem;
  line-height: 0.38;
  text-shadow:
    0 0 12px rgba(19, 200, 162, 0.86),
    0 0 22px rgba(19, 135, 212, 0.58);
  transform: translateY(2px);
  animation: backTopArrows 1.8s ease-in-out infinite;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.back-top:hover,
.back-top:focus-visible {
  outline: 0;
  box-shadow:
    0 0 24px rgba(19, 200, 162, 0.8),
    0 0 58px rgba(19, 135, 212, 0.48),
    0 14px 0 rgba(199, 255, 241, 0.46);
}

@media (max-width: 820px) {
  .city-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero,
  .region,
  .why,
  .section-head,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero__copy {
    display: block;
  }

  .results-status {
    margin: 14px 0 10px 4px;
  }

  .paper-toggle {
    position: absolute;
    top: 100px;
    right: 0;
    order: -1;
    display: inline-flex;
    min-width: min(280px, calc(100vw - 56px));
    min-height: 52px;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    margin-right: 40px;
    margin-bottom: 8px;
    padding: 10px 22px 11px;
    border: 1px solid rgba(11, 47, 58, 0.72);
    border-radius: 28px 10px 26px 10px / 10px 26px 10px 28px;
    color: var(--ink);
    background:
      linear-gradient(135deg, rgba(199, 255, 241, 0.94), rgba(216, 242, 255, 0.86)),
      var(--paper);
    box-shadow:
      6px 7px 0 rgba(19, 200, 162, 0.28),
      0 0 20px rgba(19, 200, 162, 0.16);
    cursor: pointer;
    transform: rotate(4deg);
    font-size: 21px;
    font-weight: 950;
    letter-spacing: 0.02em;
  }

  .paper-toggle[aria-expanded="true"] {
    border-color: var(--green);
    color: #075849;
    box-shadow:
      6px 7px 0 rgba(19, 200, 162, 0.36),
      0 0 32px rgba(19, 200, 162, 0.28);
  }

  .paper {
    display: none;
    order: -1;
    width: min(560px, 100%);
    justify-self: stretch;
  }

  body.is-paper-open .paper {
    display: block;
  }

  body.is-paper-open .hero__eyebrow {
    display: none;
  }

  .region h2 {
    padding-left: 30px;
  }

  .why__eyebrow {
    right: auto;
    top: 0;
    max-width: 100%;
    transform: rotate(3deg);
  }

  .epilogue strong {
    font-size: clamp(2.55rem, 10vw, 4.7rem);
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .magic-dots--right {
    right: 0;
  }

  .magic-dots--left {
    left: 0;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .hero__eyebrow {
    top: 22px;
    left: -70px;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 56px;
    padding: 18px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__eyebrow {
    left: -160px;
  }

  .paper-toggle {
    width: 160px;
    min-width: 160px;
  }

  .ask {
    min-height: 198px;
    padding-top: 58px;
  }

  .ask__label {
    max-width: none;
  }

  .ask__label::after {
    left: 118px;
    right: auto;
    top: 20px;
    width: 56px;
    height: 42px;
  }

  .ask__filters {
    left: 12px;
    right: 12px;
    justify-content: flex-end;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 4px);
    max-width: none;
  }

  .filter-chip select {
    max-width: none;
  }

  .quick button {
    flex: 1 1 calc(50% - 4px);
    width: auto;
  }

  .paper__preview {
    padding-right: 0;
  }

  .results.results--hero .card {
    padding: 56px 16px 18px;
  }

  .results.results--hero .card__meta {
    position: absolute;
    right: 12px;
    top: 12px;
    bottom: auto;
    display: block;
    min-height: 64px;
    width: calc(100% - 24px);
    margin-bottom: 0;
    text-align: left;
  }

  .results.results--hero .card__meta .card__tag {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    max-width: calc(100% - 12px);
  }

  .results.results--hero .card__meta .card__place {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    text-align: left;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .hero__eyebrow {
    top: 20px;
  }

  .h1-drop {
    transform: translateY(10px);
  }

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

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

  .city-rubric-section header,
  .city-question-cluster header {
    display: grid;
    justify-items: start;
    gap: 10px;
  }

  .city-rubric-section .card__tag,
  .city-question-cluster .card__tag {
    justify-self: end;
  }

}

@media (max-width: 570px) {
  .city-entrances {
    padding: 18px;
  }

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

  .city-rubric-chip {
    min-height: 78px;
    padding: 12px 38px 11px 11px;
  }

  .city-rubric-chip strong {
    top: 11px;
    right: 11px;
    font-size: 1.08rem;
  }

  .city-rubric-chip em {
    font-size: 0.7rem;
  }

  .city-question-card {
    padding: 50px 16px 58px;
  }

  .city-question-card h3 {
    max-width: 100%;
    font-size: clamp(1.12rem, 5.3vw, 1.34rem);
  }

  .city-question-card p {
    max-height: 2.96em;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .directory::before {
    font-size: 1.2rem;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .paper-toggle {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .paper-toggle {
    top: 70px;
    margin-right: 25px;
  }

  .hero__eyebrow {
    left: -110px;
  }

  .epilogue strong {
    font-size: 9vw;
  }
}

@media (max-width: 470px) {
  .directory::before {
    top: 35px;
    font-size: 0.96rem;
  }

  .paper-toggle {
    top: 85px;
    height: 36px;
    min-height: 36px;
    margin-right: 5px;
  }

  body.is-paper-open .paper {
    top: -25px;
  }
}

@media (max-width: 420px) {
  .hero__eyebrow {
    left: -60px;
  }

  .directory::before {
    font-size: 0.79rem;
  }
}

@media (max-width: 360px) {
  .city-rubric-strip {
    grid-template-columns: 1fr;
  }
}

@keyframes magicPulse {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(-50%) scale(0.7);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.35);
  }
}

@keyframes loadingDot {
  0%, 72%, 100% {
    opacity: 0.24;
    transform: translateY(0);
  }

  34% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes magicLine {
  0% {
    background-position: -360px 0;
  }

  100% {
    background-position: 360px 0;
  }
}

@keyframes epilogueNeonDrift {
  0%, 14% {
    background-position: 18% 50%;
  }

  31%, 43% {
    background-position: 72% 50%;
  }

  58%, 66% {
    background-position: 46% 50%;
  }

  82%, 100% {
    background-position: 18% 50%;
  }
}

@keyframes backTopArrows {
  0%, 100% {
    transform: translateY(1px);
  }

  50% {
    transform: translateY(-1.5px);
  }
}

@keyframes lightningNotice {
  0%, 3.8%, 7.4%, 41%, 46.7%, 83%, 88.5%, 100% {
    color: #075849;
    text-shadow: 0 0 0 transparent;
  }

  4.1% {
    color: #ffffff;
    text-shadow:
      0 0 10px rgba(230, 255, 249, 1),
      0 0 24px rgba(19, 200, 162, 0.96),
      0 0 42px rgba(19, 135, 212, 0.42);
  }

  4.7% {
    color: #075849;
    text-shadow: 0 0 0 transparent;
  }

  5.3% {
    color: #e8fff9;
    text-shadow:
      0 0 8px rgba(199, 255, 241, 0.88),
      0 0 18px rgba(19, 200, 162, 0.76);
  }

  8.8%, 45.3%, 86.6% {
    color: #f6fffd;
    text-shadow:
      0 0 9px rgba(199, 255, 241, 0.78),
      0 0 22px rgba(19, 135, 212, 0.36);
  }

  11.5%, 49.5%, 91% {
    color: #13c8a2;
    text-shadow:
      0 0 8px rgba(19, 200, 162, 0.54),
      0 0 18px rgba(19, 135, 212, 0.24);
  }

  18%, 56%, 94% {
    color: #087769;
    text-shadow: 0 0 6px rgba(19, 200, 162, 0.22);
  }
}

@keyframes directoryFlash {
  0%, 12%, 16.8%, 42%, 45.6%, 76%, 81.5%, 100% {
    color: #075849;
    text-shadow: 0 0 0 transparent;
    filter: none;
  }

  13.1% {
    color: #f7fffd;
    text-shadow:
      0 0 8px rgba(237, 255, 251, 0.95),
      0 0 18px rgba(19, 200, 162, 0.58),
      0 0 32px rgba(19, 135, 212, 0.3);
    filter: brightness(1.18);
  }

  14.4%, 43.8%, 78.9% {
    color: #bffff3;
    text-shadow:
      0 0 6px rgba(199, 255, 241, 0.72),
      0 0 16px rgba(19, 200, 162, 0.42);
  }

  44.7% {
    color: #ffffff;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.95),
      0 0 24px rgba(188, 226, 255, 0.5);
    filter: brightness(1.22);
  }

  79.8% {
    color: #dff8ff;
    text-shadow:
      0 0 9px rgba(216, 242, 255, 0.82),
      0 0 22px rgba(19, 135, 212, 0.42);
  }
}

@keyframes rainbowTextLoop {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 260% 50%;
  }
}
