:root {
  --orange: #FF6600;
  --blue: #0457B8;
  --night: #061427;
  --ink: #0B1B33;
  --tile: #EEF3F9;
  --sky: #CFE4FF;
  --white: #FFFFFF;
  --top: 68px;
  --inset: max(clamp(20px, 4vw, 64px), calc((100vw - 1480px) / 2));
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--tile);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--top);
  padding: 0 var(--inset);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 27, 51, 0.1);
}

.top__logo {
  flex: none;
}

.top__logo img {
  width: auto;
  height: 40px;
}

.top__nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}

.top__nav a {
  padding: 6px 0;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent;
  transition: box-shadow 0.2s ease;
}

.top__nav a:hover {
  box-shadow: inset 0 -2px 0 var(--orange);
}

.top__menu {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
}

.top__menu i,
.top__menu i::before,
.top__menu i::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.top__menu i {
  position: relative;
}

.top__menu i::before,
.top__menu i::after {
  content: "";
  position: absolute;
  left: 0;
}

.top__menu i::before {
  top: -6px;
}

.top__menu i::after {
  top: 6px;
}

.menu-open .top__menu i {
  background: transparent;
}

.menu-open .top__menu i::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .top__menu i::after {
  transform: translateY(-6px) rotate(-45deg);
}

.plate {
  display: flex;
  flex: none;
  align-items: stretch;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 9px;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.plate__tag {
  display: grid;
  place-items: center;
  padding: 0 11px;
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
}

.plate__no {
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.switch {
  flex: none;
  width: clamp(148px, 14vw, 204px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.35));
  -webkit-tap-highlight-color: transparent;
}

.switch svg {
  display: block;
  width: 100%;
  height: auto;
}

.switch__plate {
  fill: var(--white);
}

.switch__track {
  fill: var(--ink);
  transition: fill 0.45s ease;
}

.switch__word {
  font-family: "Archivo", sans-serif;
  font-size: 25px;
  font-weight: 800;
  font-stretch: 112%;
  transition: opacity 0.3s ease;
}

.switch__word--off {
  fill: #9FB2CC;
}

.switch__word--on {
  fill: var(--blue);
  opacity: 0;
}

.switch__knob {
  transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.switch__wheel {
  fill: var(--white);
  stroke: var(--orange);
  stroke-width: 13;
  transition: stroke 0.45s ease;
}

.switch__hub {
  fill: var(--orange);
  transition: fill 0.45s ease;
}

.switch[aria-checked="true"] .switch__track {
  fill: var(--sky);
}

.switch[aria-checked="true"] .switch__knob {
  transform: translateX(132px);
}

.switch[aria-checked="true"] .switch__wheel {
  stroke: var(--blue);
}

.switch[aria-checked="true"] .switch__hub {
  fill: var(--blue);
}

.switch[aria-checked="true"] .switch__word--off {
  opacity: 0;
}

.switch[aria-checked="true"] .switch__word--on {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--wa {
  background: var(--orange);
  color: var(--ink);
}

.btn--line {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn--line:hover {
  background: rgba(255, 255, 255, 0.12);
}

.facts {
  padding: clamp(36px, 5vw, 80px) var(--inset);
  background: var(--tile);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 22px);
}

.fact {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: clamp(150px, 14vw, 210px);
  padding: clamp(18px, 2vw, 30px);
  border-radius: 22px;
}

.fact__big {
  font-size: clamp(28px, 17.5cqi, 58px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fact__small {
  max-width: 20ch;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.35;
}

.fact--orange {
  background: var(--orange);
  color: var(--ink);
}

.fact--night {
  background: var(--ink);
  color: var(--white);
}

.fact--white {
  background: var(--white);
  color: var(--blue);
}

.fact--sky {
  background: var(--sky);
  color: var(--ink);
}

.facts__partner {
  margin-top: clamp(12px, 1.4vw, 22px);
  padding: 20px clamp(18px, 2vw, 30px);
  border-left: 8px solid var(--orange);
  border-radius: 16px;
  background: var(--blue);
  color: var(--white);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .top__logo img {
    height: 34px;
  }

  .top__nav {
    gap: 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .plate__no {
    padding: 9px 11px;
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  :root {
    --top: 58px;
  }

  .top {
    gap: 12px;
  }

  .top__logo img {
    height: 28px;
  }

  .top__nav {
    position: absolute;
    top: var(--top);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px 20px 14px;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(11, 27, 51, 0.18);
    font-size: 18px;
  }

  .top__nav a {
    padding: 13px 0;
    border-top: 1px solid rgba(11, 27, 51, 0.1);
  }

  .menu-open .top__nav {
    display: flex;
  }

  .top__menu {
    display: block;
  }

  .plate {
    margin-left: auto;
  }

  .plate__tag {
    padding: 0 8px;
    font-size: 12px;
  }

  .plate__no {
    padding: 8px 10px;
    font-size: 15px;
  }

  .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

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

@media (max-width: 520px) {
  .plate__no {
    display: none;
  }

  .plate__tag {
    min-width: 64px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 15px;
  }
}

@media (max-width: 340px) {
  .top__logo img {
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .switch__knob,
  .switch__track,
  .switch__wheel,
  .switch__hub,
  .switch__word,
  .btn {
    transition: none;
  }
}
