:root {
  --color-brand-primary: #c63133;
  --color-brand-primary-dark: #a9292a;
  --color-brand-ink: #444444;
  --color-white: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-bg-muted: #f0efed;
  --color-border: #e7e7e7;
  --color-text: #1f1f1f;
  --color-text-soft: #666666;
  --color-surface: #fbfbfa;
  --color-shadow: rgba(31, 31, 31, 0.08);

  --font-primary: Inter, "Segoe UI", Arial, sans-serif;

  --text-hero: 56px;
  --text-h1: 44px;
  --text-h2: 32px;
  --text-h3: 24px;
  --text-body-lg: 20px;
  --text-body: 16px;
  --text-small: 14px;
  --text-xs: 12px;

  --line-tight: 1.1;
  --line-base: 1.5;
  --line-relaxed: 1.7;

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;

  --container-xl: 1280px;
  --container-lg: 1120px;
  --container-md: 960px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 40px rgba(31, 31, 31, 0.08);
  --shadow-card: 0 14px 30px rgba(31, 31, 31, 0.06);
  --btn-height: 48px;

  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-body);
  line-height: var(--line-base);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

.d-none {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

.hero-title__focus {
  display: block;
  margin-top: 0.12em;
  color: var(--color-brand-primary);
}

[data-fall-float].has-fall-float [data-fall-float-item] {
  opacity: 0;
  transform: translate3d(var(--fall-shift, 0), calc(var(--fall-distance, 28px) * -1), 0) rotate(var(--fall-rotate, 0deg)) scale(0.94);
  transition:
    opacity var(--fall-duration, 680ms) cubic-bezier(0.16, 1, 0.3, 1) var(--fall-delay, 0ms),
    transform var(--fall-duration, 680ms) cubic-bezier(0.16, 1, 0.3, 1) var(--fall-delay, 0ms);
  will-change: opacity, transform;
  transform-origin: center;
}

[data-fall-float].has-fall-float.is-visible [data-fall-float-item] {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

[data-fall-float].has-fall-float.is-floating [data-fall-float-item] {
  animation: fall-float 4.8s ease-in-out infinite;
  animation-delay: calc(var(--fall-index, 0) * 0.45s);
}

@keyframes fall-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, var(--float-lift, -8px), 0) rotate(calc(var(--fall-rotate, 0deg) * 0.18));
  }
}

:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-16);
  top: -48px;
  z-index: 1000;
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-sm);
  background: var(--color-brand-primary);
  color: var(--color-white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-16);
}

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(68, 68, 68, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(31, 31, 31, 0.08);
  color: var(--color-text);
  transform: translateX(-50%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0s linear 0s,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.scroll-hint:hover,
.scroll-hint:focus-visible {
  border-color: rgba(198, 49, 51, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.scroll-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0s linear 0.24s;
}

.scroll-hint__mouse {
  position: relative;
  width: 20px;
  height: 32px;
  border: 1.6px solid rgba(31, 31, 31, 0.72);
  border-radius: 999px;
  flex: 0 0 auto;
}

.scroll-hint__mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-brand-primary);
  transform: translateX(-50%);
  animation: scroll-hint-wheel 1.6s ease-in-out infinite;
}

.scroll-hint__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  white-space: nowrap;
}

@keyframes scroll-hint-wheel {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-1px);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(9px);
  }
}

.container {
  width: min(100% - 32px, var(--container-xl));
  margin-inline: auto;
}

.section {
  padding: var(--space-96) 0;
}

.section-soft {
  background: var(--color-bg-soft);
}

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.section-tag::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-intro {
  display: grid;
  gap: var(--space-16);
  max-width: 760px;
  margin-bottom: var(--space-48);
}

.section-intro h2 {
  font-size: var(--text-h2);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-intro p {
  font-size: 18px;
  color: var(--color-text-soft);
  line-height: var(--line-relaxed);
}

.partner-loop__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 10px;
}

.partner-loop__viewport::before,
.partner-loop__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 1;
  pointer-events: none;
}

.partner-loop__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 12%, rgba(255, 255, 255, 0));
}

.partner-loop__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 12%, rgba(255, 255, 255, 0));
}

.partner-loop__track {
  display: flex;
  width: max-content;
  gap: var(--space-24);
  animation: partner-loop-marquee 28s linear infinite;
}

.partner-loop__viewport:hover .partner-loop__track {
  animation-play-state: paused;
}

.partner-loop__list {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  flex: 0 0 auto;
}

.partner-loop__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(196px, 19vw, 248px);
  min-height: 108px;
  padding: 20px 26px;
  border: 1px solid rgba(68, 68, 68, 0.08);
  border-radius: 18px;
  background: rgba(250, 249, 248, 0.92);
  box-shadow: 0 12px 28px rgba(31, 31, 31, 0.04);
}

.partner-loop__item img {
  max-width: 189px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
}

@keyframes partner-loop-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - (var(--space-24) / 2)), 0, 0);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-brand-primary);
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(198, 49, 51, 0.18);
}

.button-primary:hover {
  background: var(--color-brand-primary-dark);
}

.button-secondary {
  border-color: rgba(198, 49, 51, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-brand-primary);
}

.button-secondary:hover {
  border-color: rgba(198, 49, 51, 0.45);
  background: rgba(198, 49, 51, 0.05);
}

.button-compact {
  min-height: 44px;
  padding-inline: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 25px rgba(31, 31, 31, 0.05);
  background: rgba(255, 255, 255, 0.94);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-brand img {
  width: 100px;
}

.site-header__nav-shell {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.site-nav a {
  font-size: 15px;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text);
}

.site-nav a[aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

body.nav-open {
  overflow: hidden;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 120;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(31, 31, 31, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-footer {
  padding: var(--space-64) 0 var(--space-24);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.7fr;
  gap: var(--space-32);
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: var(--space-16);
}

.site-footer__brand img {
  width: 178px;
}

.site-footer__brand p,
.site-footer__group span,
.site-footer__bottom p {
  color: var(--color-text-soft);
  font-size: var(--text-small);
}

.site-footer__brand p a {
  color: inherit;
  text-decoration: none;
}

.site-footer__brand p a:hover,
.site-footer__brand p a:focus-visible {
  color: var(--color-text);
}

.site-footer__group {
  display: grid;
  gap: var(--space-12);
  justify-items: start;
}

.site-footer__group img {
  width: 132px;
  opacity: 0.75;
  filter: grayscale(1);
}

.site-footer__links {
  display: grid;
  gap: var(--space-12);
  justify-items: start;
}

.site-footer__links a {
  font-size: var(--text-small);
  color: var(--color-text-soft);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--color-text);
}

.site-footer__links a[aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

.site-footer__trust {
  margin-top: var(--space-40);
  padding-top: var(--space-32);
  border-top: 1px solid rgba(68, 68, 68, 0.08);
  display: grid;
  gap: var(--space-20);
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(16px, calc((100vw - var(--container-xl)) / 2));
  padding-right: max(16px, calc((100vw - var(--container-xl)) / 2));
}

.site-footer__trust-copy {
  display: grid;
  gap: var(--space-8);
  max-width: 780px;
}

.site-footer__trust-copy p {
  color: var(--color-text-soft);
  font-size: var(--text-small);
}

.site-footer__trust .partner-loop__item {
  min-width: clamp(222px, 19vw, 272px);
  min-height: 120px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.92);
}

.site-footer__trust .partner-loop__item img {
  max-width: 216px;
  max-height: 59px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  flex-wrap: wrap;
  padding-top: var(--space-32);
  margin-top: var(--space-32);
  border-top: 1px solid var(--color-border);
}

.site-footer__policies {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.site-footer__policies > div {
  min-height: 1px;
}

@media (min-width: 981px) and (max-width: 1440px) and (max-height: 900px),
  (min-width: 981px) and (max-width: 1280px) {
  :root {
    --text-hero: 50px;
    --text-h1: 40px;
    --text-h2: 30px;
    --text-h3: 22px;
    --text-body-lg: 18px;
    --space-96: 80px;
    --space-80: 64px;
    --space-64: 56px;
    --header-height: 84px;
  }

  .container {
    width: min(100% - 40px, 1160px);
  }

  .section {
    padding: var(--space-80) 0;
  }

  .section-intro {
    margin-bottom: var(--space-40);
  }

  .section-intro p {
    font-size: 17px;
  }

  .site-header__inner {
    gap: 18px;
  }

  .site-header__nav-shell,
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .button {
    min-height: 46px;
    padding-inline: 18px;
  }

  .site-footer {
    padding: 56px 0 var(--space-24);
  }

  .site-footer__trust .partner-loop__item {
    min-width: 206px;
    min-height: 108px;
    padding: 18px 22px;
  }

  .site-footer__trust .partner-loop__item img {
    max-width: 192px;
    max-height: 54px;
  }

  .site-footer__trust {
    padding-left: max(20px, calc((100vw - 1160px) / 2));
    padding-right: max(20px, calc((100vw - 1160px) / 2));
  }

  .site-footer__bottom {
    gap: 12px 20px;
  }
}

@media (max-width: 1080px) {
  :root {
    --text-hero: 48px;
    --text-h1: 38px;
    --text-h2: 30px;
    --header-height: 84px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__trust {
    margin-top: var(--space-32);
    padding-top: var(--space-24);
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 920px) {
  :root {
    --text-hero: 42px;
    --text-h1: 34px;
    --text-h2: 28px;
    --space-96: 80px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    position: relative;
    z-index: 120;
  }

  .site-brand,
  .site-brand img {
    position: relative;
    z-index: 120;
  }

  .site-header__nav-shell {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: 100dvh;
    padding: calc(var(--header-height) + 12px) 24px 32px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0s linear 0.28s;
    z-index: 110;
  }

  .site-header__nav-shell.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0s linear 0s;
  }

  .site-nav {
    width: min(100%, 420px);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .site-nav a {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.26s ease, transform 0.26s ease;
  }

  .site-header__nav-shell.is-open .site-nav a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header__nav-shell.is-open .site-nav a:nth-child(1) {
    transition-delay: 0.06s;
  }

  .site-header__nav-shell.is-open .site-nav a:nth-child(2) {
    transition-delay: 0.1s;
  }

  .site-header__nav-shell.is-open .site-nav a:nth-child(3) {
    transition-delay: 0.14s;
  }

  .site-header__nav-shell.is-open .site-nav a:nth-child(4) {
    transition-delay: 0.18s;
  }

  .site-header__nav-shell.is-open .site-nav a:nth-child(5) {
    transition-delay: 0.22s;
  }

  .site-header__nav-shell.is-open .site-nav a:nth-child(6) {
    transition-delay: 0.26s;
  }

  .header-cta {
    width: min(100%, 320px);
    margin-top: var(--space-8);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.26s ease, transform 0.26s ease;
  }

  .site-header__nav-shell.is-open .header-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
  }

  .scroll-hint {
    left: auto;
    right: 14px;
    bottom: 18px;
    padding: 9px 12px;
    transform: none;
  }

  .scroll-hint.is-hidden {
    transform: translateY(10px);
  }

  .scroll-hint__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.16em;
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  :root {
    --text-hero: 36px;
    --text-h1: 32px;
    --text-h2: 26px;
    --text-h3: 22px;
    --space-96: 72px;
    --space-80: 64px;
  }

  .section {
    padding: var(--space-80) 0;
  }

  .site-brand img {
    width: 100px;
  }

  .section-intro p {
    font-size: 17px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-hint__mouse::before {
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
