:root {
  --container-width: 1344px;
  --color-main: #9e278a29;
  --color-dark: #000000;
  --color-white: #ffffff;
  --color-surface-muted: #fafafa;
  --color-bg-page: #f8f6f8;
  --color-text: #161b25;
  --color-text-muted: #888888;
  --color-placeholder: #9f9f9f;
  --status-unchanged-text: #000000;
  --status-unchanged-bg: #0000000a;
  --status-unchanged-light: #0000007a;
  --status-renamed-text: #009b00;
  --status-renamed-bg: #009b000a;
  --status-renamed-light: #009b007a;
  --status-moved-text: #0047f9;
  --status-moved-bg: #0047f90a;
  --status-moved-light: #0047f97a;
  --status-split-text: #ff5900;
  --status-split-bg: #ff59000a;
  --status-split-light: #ff59007a;
  --radius: 16px;
  --transition: 250ms;
  --font-main: "FixelText", -apple-system, "Helvetica Neue", "Arial", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  --border: 1px dashed #000000;
  --border-dotted-bottom: repeating-linear-gradient(
      90deg,
      #000 0,
      #000 1px,
      transparent 1px,
      transparent 5px
    )
    0 100% / 5px 1px repeat-x;
  --border-dotted-top: repeating-linear-gradient(
      90deg,
      #000 0,
      #000 1px,
      transparent 1px,
      transparent 5px
    )
    0 0 / 5px 1px repeat-x;
  --border-dotted-svg: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='%23000000' stroke-width='1' stroke-dasharray='1%2c4' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3e%3c/svg%3e");
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -2%;
  color: var(--color-text);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
}

.container {
  margin: 0 auto;
  max-width: var(--container-width);
  padding: 0 24px;
  width: 100%;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.16px;
  text-decoration: none;
}

.arrow-link span {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}

.arrow-link svg {
  transition: all.3s;
}

.arrow-link:hover svg {
  transform: translateX(5px);
}

/* ── Site header ── */

header {
  width: 100%;
  background: var(--color-bg-page);
}

.header {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  background: var(--border-dotted-bottom);
}

.header-logo svg {
  display: block;
  height: 16px;
  width: auto;
}

.header-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-main);
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  font: 600 16px/24px var(--font-main);
  letter-spacing: -0.01em;
  color: #161b25;
}

.header-button svg {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 430px) {
  .header-button {
    padding: 8px 12px;
  }
}

.wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 80px;
}

/* ── Hero ── */

.main {
  display: contents;
}

.hero {
  order: 1;
}

.search-wrapper {
  order: 2;
}

.info {
  order: 3;
  padding-top: 64px;
  background: var(--border-dotted-top);
}

@media (min-width: 1023px) {
  .info {
    background: none;
    padding-top: 0;
  }
}

.hero {
  padding-bottom: 64px;
  background: var(--border-dotted-bottom);
  font-size: 18px;
  letter-spacing: -2%;
}

h1 {
  font-size: 48px;
  color: var(--color-dark);
  padding-bottom: 32px;
  letter-spacing: -1%;
  line-height: 1;
}

.hero p {
  margin-bottom: 16px;
  line-height: 1.4;

  strong {
    font-weight: 600;
  }
}

.socials p {
  font: 400 14px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: -5%;
  color: var(--color-grey);
  margin-bottom: 16px;
  margin-top: 48px;
}

.socials-list {
  display: flex;
  gap: 8px;
}

.socials-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-main);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition);
  padding: 0;
}

.socials-btn:hover {
  opacity: 0.7;
}

.socials-btn svg {
  display: block;
}

.socials-btn .icon-check {
  display: none;
}

.socials-btn.is-copied .icon-link {
  display: none;
}

.socials-btn.is-copied .icon-check {
  display: block;
}

h2 {
  font: 700 32px/1.1 var(--font-main);
  color: var(--color-dark);
  margin-bottom: 16px;
}

h3 {
  font: 600 15px/1.4 var(--font-main);
  margin-bottom: 6px;
}

/* ── Search ── */

.search-hint {
  margin-bottom: 32px;
}

.search {
  position: relative;
}

.search-input {
  position: relative;
  width: 100%;
  height: 64px;
  padding: 20px 50px 20px 52px;
  border: 2px solid var(--color-dark);
  border-radius: var(--radius);
  background: var(--color-bg-page);
  font-size: 16px;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-dark);
  pointer-events: none;
  z-index: 2;
}

.search-input::placeholder {
  color: var(--color-placeholder);
}

.search-input:hover,
.search-input:focus {
  box-shadow: 0 0 16px 0 var(--status-unchanged-light);
}

#search:has(.search-list:not([hidden])) .search-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.search--status-unchanged .search-input:hover,
.search--status-unchanged .search-input:focus {
  box-shadow: 0 0 16px 0 var(--status-unchanged-light);
}

.search--status-renamed .search-input:hover,
.search--status-renamed .search-input:focus {
  box-shadow: 0 0 16px 0 var(--status-renamed-light);
}

.search--status-moved .search-input:hover,
.search--status-moved .search-input:focus {
  box-shadow: 0 0 16px 0 var(--status-moved-light);
}

.search--status-split .search-input:hover,
.search--status-split .search-input:focus {
  box-shadow: 0 0 16px 0 var(--status-split-light);
}

.search-input:disabled {
  background: var(--color-surface-muted);
  cursor: wait;
}

.search-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-dark);
  font-size: 20px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.search-clear:hover {
  transform: translateY(-50%) scale(1.2);
  transform-origin: center;
}

.search--has-value .search-clear {
  display: flex;
}

.search--has-value .search-chevron {
  display: none;
}

.search-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  z-index: 20;
  border: 2px solid #000;
  box-shadow: 20px 32px 32px 0 rgba(0, 0, 0, 0.16);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  max-height: 420px;
  overflow-y: auto;
  list-style: none;
  background: var(--color-bg-page);
  gap: 12px;
  padding: 8px 0;
}

.search-list::-webkit-scrollbar {
  width: 2px;
}

.search-list::-webkit-scrollbar-thumb {
  width: 2px;
  height: 100px;
  background: #000;
  border-radius: 2px;
}

.search-option {
  display: flex;
  padding: 16px;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  margin: 0 8px;
}

.search-option:last-child {
  border-bottom: none;
}

.search-option:hover,
.search-option.is-active {
  background: var(--color-main);
  border-radius: 8px;
  margin: 0 8px;
}

.search-option--current {
  position: relative;
  border-radius: 8px;
  margin: 0 8px;
}

.search-option--current .svg-border rect {
  rx: 7.5px;
  ry: 7.5px;
}

.search-option-code {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 14px;
}

.search-option mark {
  background: var(--color-main);
  border-radius: 2px;
  padding: 0 1px;
  color: inherit;
}

.search-empty {
  padding: 14px 16px;
  font: 400 13px/1.5 var(--font-main);
  color: var(--color-text-muted);
}

.search-empty a {
  color: var(--color-dark);
  text-decoration: underline;
}

/* ── Result card ── */

.result {
  margin-top: 16px;
}

.result-empty,
.result-notfound {
  position: relative;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
}

.result-empty p {
  font: 400 16px/1.5 var(--font-main);
  color: var(--color-text-muted);
  b {
    font-weight: 500;
  }
}

.result-notfound svg {
  margin: 0 auto 12px;
  display: block;
  color: var(--color-dark);
}

.result-notfound p {
  font: 400 16px/1.5 var(--font-main);
  b {
    font-weight: 500;
  }
}

.result-notfound a {
  font-weight: 500;
  color: var(--color-text);
  text-decoration: underline;
}

.result-card {
  border-radius: var(--radius);
  padding: 20px;
  border: 2px solid var(--color-text);
}
@media (min-width: 1024px) {
  .result-card {
    max-height: 60vh;
    overflow-y: auto;
  }
  .result-card::-webkit-scrollbar {
    width: 2px;
  }
  .result-card::-webkit-scrollbar-track {
    background: transparent;
    margin: 16px 0;
  }
  .result-card::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 2px;
  }
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font: 400 14px/1.3 var(--font-mono);
  display: inline-flex;
  padding: 6px 8px;
  gap: 8px;
  border-radius: 4px;
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.badge--unchanged {
  background: var(--status-unchanged-bg);
  color: var(--status-unchanged-text);
  border: 1px solid var(--status-unchanged-light);
}

.badge--renamed {
  background: var(--status-renamed-bg);
  color: var(--status-renamed-text);
  border: 1px solid var(--status-renamed-light);
}

.badge--moved {
  background: var(--status-moved-bg);
  color: var(--status-moved-text);
  border: 1px solid var(--status-moved-light);
}

.badge--split {
  background: var(--status-split-bg);
  color: var(--status-split-text);
  border: 1px solid var(--status-split-light);
}

.copy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: 400 14px/1.3 var(--font-main);
  color: var(--color-text);
  text-decoration: underline;
}

.copy-link svg {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.copy-link .icon-check {
  display: none;
  color: var(--status-renamed-text);
}

.copy-link.is-copied .icon-link {
  display: none;
}

.copy-link.is-copied .icon-check {
  display: block;
}

.result-meta {
  font: 500 14px/1.3 var(--font-mono);
}

.result-card--unchanged .result-meta-code {
  color: var(--status-unchanged-text);
}

.result-card--renamed .result-meta-code {
  color: var(--status-renamed-text);
}

.result-card--moved .result-meta-code {
  color: var(--status-moved-text);
}

.result-card--split .result-meta-code {
  color: var(--status-split-text);
}

.result-lead {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.result-lead-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.result-card--unchanged .result-lead-icon {
  color: var(--status-unchanged-text);
}

.result-card--renamed .result-lead-icon {
  color: var(--status-renamed-text);
}

.result-card--moved .result-lead-icon {
  color: var(--status-moved-text);
}

.result-card--split .result-lead-icon {
  color: var(--status-split-text);
}

.result-lead-text {
  font: 400 16px/1.3 var(--font-main);
  color: var(--color-text);
}

.result-lead-text strong {
  font-weight: 700;
}

.code-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.code-row {
  border-radius: 8px;
  border: 1px solid transparent;
}

.result-card--unchanged .code-row {
  border-color: var(--status-unchanged-light);
  background: var(--status-unchanged-bg);
}

.result-card--renamed .code-row {
  border-color: var(--status-renamed-light);
  background: var(--status-renamed-bg);
}

.result-card--moved .code-row {
  border-color: var(--status-moved-light);
  background: var(--status-moved-bg);
}

.result-card--split .code-row {
  border-color: var(--status-split-light);
  background: var(--status-split-bg);
}

.code-row-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  font: 500 14px/1.3 var(--font-main);
  color: var(--color-text);
}

.code-row-code {
  font-family: var(--font-mono);
  flex-shrink: 0;
  width: 42px;
}

.result-card--unchanged .code-row-code {
  color: var(--status-unchanged-text);
}

.result-card--renamed .code-row-code {
  color: var(--status-renamed-text);
}

.result-card--moved .code-row-code {
  color: var(--status-moved-text);
}

.result-card--split .code-row-code {
  color: var(--status-split-text);
}

.code-row-name {
  flex: 1;
  min-width: 0;
}

.result-card--split details.code-row:not([open]) .code-row-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

details.code-row {
  cursor: pointer;
}

details.code-row summary {
  list-style: none;
  cursor: pointer;
}

details.code-row summary::-webkit-details-marker {
  display: none;
}

details.code-row summary.code-row-main::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cg clip-path='url(%23clip0_10459_14768)'%3E%3Cpath d='M13 6L8 11L3 6' stroke='black' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_10459_14768'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E")
    no-repeat center / contain;
  transition: transform var(--transition);
}

details.code-row[open] summary.code-row-main::after {
  transform: rotate(180deg);
}

.code-row-details {
  padding: 0 14px 14px;
}

.code-row-details-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 400 12px/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.code-row-details-label svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.desc-list {
  list-style: none;
}

.desc-list > li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  font: 400 13px/1.5 var(--font-main);
}

.desc-list > li:last-child {
  margin-bottom: 0;
}

.desc-list > li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

.desc-sublist {
  list-style: none;
  padding: 4px 0 2px 14px;
  margin: 0;
}

.desc-sublist li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.desc-sublist li::before {
  content: "•";
  position: absolute;
  left: 0;
}

/* ── CTA  ── */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-page);
  border-radius: var(--radius);
  border: 2px solid rgba(158, 39, 138, 0.16);
  margin-top: 16px;
  margin-bottom: 80px;
  padding: 32px;
}

.cta-pattern {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.cta-pattern path {
  opacity: 0;
  transform-origin: center;
  animation: cta-triangle-in 4000ms cubic-bezier(0.68, -0.2, 0, 0.99) infinite;
}

@keyframes cta-triangle-in {
  0% {
    opacity: 0;
    animation-timing-function: ease;
  }

  50% {
    opacity: 1;
    animation-timing-function: cubic-bezier(0.76, 0, 1, 0.25);
  }

  100% {
    opacity: 0;
  }
}

.cta-pattern path:nth-child(1) {
  animation-delay: 0ms;
}
.cta-pattern path:nth-child(2) {
  animation-delay: 80ms;
}
.cta-pattern path:nth-child(3) {
  animation-delay: 160ms;
}
.cta-pattern path:nth-child(4) {
  animation-delay: 240ms;
}
.cta-pattern path:nth-child(5) {
  animation-delay: 320ms;
}
.cta-pattern path:nth-child(6) {
  animation-delay: 400ms;
}
.cta-pattern path:nth-child(7) {
  animation-delay: 480ms;
}
.cta-pattern path:nth-child(8) {
  animation-delay: 560ms;
}
.cta-pattern path:nth-child(9) {
  animation-delay: 640ms;
}
.cta-pattern path:nth-child(10) {
  animation-delay: 720ms;
}
.cta-pattern path:nth-child(11) {
  animation-delay: 800ms;
}
.cta-pattern path:nth-child(12) {
  animation-delay: 880ms;
}
.cta-pattern path:nth-child(13) {
  animation-delay: 960ms;
}
.cta-pattern path:nth-child(14) {
  animation-delay: 1040ms;
}
.cta-pattern path:nth-child(15) {
  animation-delay: 1120ms;
}
.cta-pattern path:nth-child(16) {
  animation-delay: 1200ms;
}
.cta-pattern path:nth-child(17) {
  animation-delay: 1280ms;
}

.cta p {
  font: 400 14px/1.4 var(--font-mono);
  margin-bottom: 32px;
}

/* ── Next  ── */

.info-section {
  background: var(--border-dotted-top);
  margin-top: 64px;
  padding-top: 64px;
}

.next {
  margin-top: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 300 14px/1.4 var(--font-mono);
  letter-spacing: -4%;
  margin-bottom: 24px;
}

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

.section-text {
  font-size: 18px;
  line-height: 1.4;
}

.next-card {
  border-radius: var(--radius);
  padding: 32px;
  background-color: var(--color-white);
}

.next a {
  display: inline-block;
  color: var(--color-dark);
  font-weight: 600;
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  svg {
    flex-shrink: 0;
    transition: all.3s;
  }
}

.next a:hover {
  text-decoration: none;
  svg {
    transform: scale(1.2);
  }
}

/* ── Explain  ── */

.explain {
  padding-bottom: 64px;
  padding-top: 64px;
  background: var(--border-dotted-bottom), var(--border-dotted-top);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 48px;
  font-family: var(--font-mono);
}

.stats-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius);
  padding: 20px;
}

.svg-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.svg-border rect {
  x: 0.5px;
  y: 0.5px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  rx: 15.5px;
  ry: 15.5px;
  fill: none;
  stroke: #000;
  stroke-width: 1px;
  stroke-dasharray: 1 4;
  stroke-linecap: butt;
}

.stats-item .svg-border rect {
  animation: border-march 0.5s linear infinite;
}

@keyframes border-march {
  to {
    stroke-dashoffset: -5;
  }
}

.stats-item svg:not(.svg-border) {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 12px;
  color: var(--status-unchanged-text);
}

.stats-item--renamed .stats-icon {
  color: var(--status-renamed-text);
}

.stats-item--moved .stats-icon {
  color: var(--status-moved-text);
}

.stats-item--split .stats-icon {
  color: var(--status-split-text);
}

.stats-label {
  font-size: 14px;
  margin-bottom: 32px;
}

.stats-value {
  font: 500 32px/1 var(--font-mono);
  margin-top: auto;
}

.stats-item--renamed .stats-value {
  color: var(--status-renamed-text);
}

.stats-item--moved .stats-value {
  color: var(--status-moved-text);
}

.stats-item--split .stats-value {
  color: var(--status-split-text);
}

/* ── CTA banner  ── */

.info .banner {
  margin: 32px 0;
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius);
  border: none;
  padding: 0;
  flex-direction: column;
}

.banner-text {
  padding: 32px;
}

.banner-title {
  font: 700 24px/1.1 var(--font-main);
  margin-bottom: 34px;
}

.banner-pill {
  width: fit-content;
  align-self: flex-start;
  background: var(--color-main);
  font: 500 16px/1.1 var(--font-mono);
  margin-bottom: 36px;
  padding: 2px 4px;
  letter-spacing: -0.8px;
}

.banner-image {
  position: relative;
  aspect-ratio: 734 / 530;

  svg {
    z-index: 0;
  }
  svg:last-child {
    z-index: 2;
  }
}

.banner-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 367px;
}

.banner-pattern {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.banner-pattern path {
  animation: banner-triangle-fill 2400ms ease-in-out alternate infinite;
}

@keyframes banner-triangle-fill {
  to {
    fill: #fff;
    fill-opacity: 1;
  }
}

.banner-pattern path:nth-child(1) {
  animation-delay: 300ms;
}
.banner-pattern path:nth-child(2) {
  animation-delay: 600ms;
}
.banner-pattern path:nth-child(3) {
  animation-delay: 900ms;
}
.banner-pattern path:nth-child(4) {
  animation-delay: 1200ms;
}
.banner-pattern path:nth-child(5) {
  animation-delay: 1500ms;
}
.banner-pattern path:nth-child(6) {
  animation-delay: 1800ms;
}
.banner-pattern path:nth-child(7) {
  animation-delay: 2100ms;
}
.banner-pattern path:nth-child(8) {
  animation-delay: 2400ms;
}
.banner-pattern path:nth-child(9) {
  animation-delay: 2700ms;
}
.banner-pattern path:nth-child(10) {
  animation-delay: 3000ms;
}
.banner-pattern path:nth-child(11) {
  animation-delay: 3300ms;
}
.banner-pattern path:nth-child(12) {
  animation-delay: 3600ms;
}
.banner-pattern path:nth-child(13) {
  animation-delay: 3900ms;
}
.banner-pattern path:nth-child(14) {
  animation-delay: 4200ms;
}
.banner-pattern path:nth-child(15) {
  animation-delay: 4500ms;
}
.banner-pattern path:nth-child(16) {
  animation-delay: 4800ms;
}
.banner-pattern path:nth-child(17) {
  animation-delay: 5100ms;
}
.banner-pattern path:nth-child(18) {
  animation-delay: 5400ms;
}
.banner-pattern path:nth-child(19) {
  animation-delay: 5700ms;
}
.banner-pattern path:nth-child(20) {
  animation-delay: 6000ms;
}
.banner-pattern path:nth-child(21) {
  animation-delay: 6300ms;
}
.banner-pattern path:nth-child(22) {
  animation-delay: 6600ms;
}
.banner-pattern path:nth-child(23) {
  animation-delay: 6900ms;
}
.banner-pattern path:nth-child(24) {
  animation-delay: 7200ms;
}

@media (min-width: 768px) {
  .info .banner {
    flex-direction: row;
  }

  .banner-text {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .banner-title {
    font-size: 26xpx;
  }
}

/* ── FAQ ── */

.info .faq {
  margin-top: 32px;
}

.faq-item-wrap {
  position: relative;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.faq-item-wrap:last-child {
  margin-bottom: 130px;
}

.faq-item-wrap.is-open .svg-border rect {
  stroke-dasharray: none;
}

.faq-item {
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  width: 100%;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: 600 16px/1.3 var(--font-main);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  display: none;
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  flex-grow: 0;
  color: var(--color-dark);
  transition: transform 0.5s ease;
}

.faq-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
}

.faq-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: currentColor;
  transform: translateX(-50%);
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-item p {
  margin-top: 16px;
}

[hidden] {
  display: none !important;
}

/* ── Desktop ── */
@media (min-width: 1024px) {
  .wrapper {
    position: relative;
  }

  .card {
    padding: 28px;
  }

  .wrapper {
    grid-template-columns: 1fr 526px;
    gap: clamp(64px, 7vw, 132px);
    align-items: start;
  }

  .main {
    display: flex;
    flex-direction: column;
    gap: clamp(64px, 80px, 80px) clamp(64px, 5vw, 80px);
    grid-column: 1;
  }

  .hero,
  .info {
    order: initial;
  }

  .search-wrapper {
    grid-column: 2;
    order: initial;
    position: sticky;
    top: 80px;
    margin-bottom: 80px;
  }

  .hero {
    padding-bottom: 80px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 40px;
  }

  .info-section {
    margin-top: 80px;
    padding-top: 80px;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-item {
    padding: 24px;
  }

  .faq-item summary {
    font-size: 18px;
  }
}

/* ── Footer ── */

.footer {
  --color-white: #fff;
  --color-grey: rgba(122, 122, 122, 1);
  --grid-gap: clamp(16px, 4vw, 32px);
}

.gh-outer {
  padding: 0 max(3vmin, 16px);
}

.gh-outer .gh-outer {
  padding: 0;
}

.gh-inner {
  margin: 0 auto 0;
  max-width: var(--container-width);
  width: 100%;
}

.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-top: 32px;
  padding-bottom: 32px;

  .footer-info p {
    color: var(--color-grey);
    font-size: 13px;
  }

  .footer-info {
    margin-bottom: 1.6rem;
  }

  .footer-links a {
    display: block;
    font-size: 14px;
    color: var(--color-white);
    padding-bottom: 2rem;
    text-decoration: none;

    &:last-child {
      padding-bottom: 0;
    }

    &:hover {
      text-decoration: underline;
    }
  }

  .footer-info p,
  .footer-links a {
    padding: 20px 0;
  }
}

@media (min-width: 1024px) {
  .footer {
    .gh-inner {
      margin: 0 auto;
      justify-content: space-between;
    }

    .gh-inner,
    .footer-info,
    .footer-links {
      display: flex;
      flex-direction: row;
      gap: var(--grid-gap);
    }

    .footer-info {
      margin-bottom: 0;
    }
  }
}
