@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/noto-sans-sc-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/noto-sans-jp-variable.ttf") format("truetype");
}

:root {
  --font-sans: "DM Sans", "Noto Sans SC", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 1180px;
  --header-height: 72px;
  --shadow-sm: 0 8px 24px rgba(16, 18, 20, 0.08);
  --shadow-lg: 0 24px 70px rgba(16, 18, 20, 0.18);
  --focus-ring: 0 0 0 4px rgba(232, 42, 59, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f6f7f8;
  color: #17191b;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  border: 0;
}

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

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

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid var(--header-border, rgba(255, 255, 255, 0.12));
  background: var(--header-bg, rgba(16, 18, 20, 0.92));
  color: var(--header-color, #fff);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.site-header__inner .language-select {
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 11px;
  font-weight: 700;
  line-height: 1;
}

.brand__mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 7px;
  background: #e92d40;
  box-shadow: 0 8px 18px rgba(233, 45, 64, 0.22);
}

.brand__mark svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.brand__text {
  font-size: 18px;
}

.language-select {
  position: relative;
  flex: 0 0 auto;
}

.language-select svg {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  transform: translateY(-50%);
}

.language-select select {
  width: 118px;
  height: 38px;
  padding: 0 28px 0 32px;
  border: 1px solid var(--language-border, rgba(255, 255, 255, 0.18));
  border-radius: 6px;
  outline: none;
  appearance: none;
  background: var(--language-bg, rgba(255, 255, 255, 0.08));
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.language-select::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.language-select option {
  background: #fff;
  color: #17191b;
}

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

.section-heading__content {
  max-width: 640px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--accent, #e52b3e);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-eyebrow::before {
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
}

.section-heading p {
  margin: 10px 0 0;
  color: #687077;
}

.icon-box {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.faq-list {
  border-top: 1px solid var(--faq-border, #dfe2e5);
}

.faq-item {
  border-bottom: 1px solid var(--faq-border, #dfe2e5);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 650;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 42px 18px 0;
  color: var(--faq-muted, #667078);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--footer-border, #dfe2e5);
  background: var(--footer-bg, #fff);
  color: var(--footer-color, #697178);
}

.site-footer__inner,
.site-footer__links,
.site-footer__brand {
  display: flex;
  align-items: center;
}

.site-footer__inner {
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  gap: 12px;
}

.site-footer__brand .brand__mark {
  width: 30px;
  height: 30px;
}

.site-footer__brand .brand__mark svg {
  width: 18px;
  height: 18px;
}

.site-footer__brand p {
  margin: 0;
  font-size: 13px;
}

.site-footer__links {
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--footer-link-hover, #1b1d1f);
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(9, 11, 12, 0.66);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease;
}

.modal-backdrop.is-visible {
  opacity: 1;
}

.modal {
  position: relative;
  width: min(100%, 430px);
  padding: 36px;
  border-radius: 8px;
  background: #fff;
  color: #17191b;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.modal-backdrop.is-visible .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: #f0f2f3;
  color: #313539;
  cursor: pointer;
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 4px auto 22px;
  place-items: center;
  border-radius: 50%;
  background: #eaf8f2;
  color: #087a55;
}

.modal__icon svg {
  width: 30px;
  height: 30px;
}

.modal h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.modal p {
  margin: 12px 0 0;
  color: #687077;
}

.modal__primary {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border-radius: 6px;
  background: #17191b;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.modal__primary:hover {
  background: #2e3235;
}

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

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .site-header__inner {
    gap: 12px;
  }

  .brand__text {
    display: none;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .language-select select {
    width: 114px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

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

  .site-footer__links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .modal {
    padding: 34px 24px 26px;
  }
}

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

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