@font-face {
  font-family: "TTNorms";
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/TTNormsRegularNormal.ttf") format("truetype");
}

@font-face {
  font-family: "TTNorms";
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/TTNormsMediumNormal.ttf") format("truetype");
}

@font-face {
  font-family: "TTNorms";
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/TTNormsBoldNormal.ttf") format("truetype");
}

:root {
  --text: #141618;
  --muted: #5d626d;
  --border: #e6e8ee;
  --bg: #f7f8fb;
  --accent: #5766ec;
  --card: #ffffff;
  --container: 1120px;
  --timeline-gap: 22px;
}

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

body {
  margin: 0;
  font-family: "TTNorms", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__cta {
  font-weight: 600;
  color: var(--text);
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  background: var(--bg);
  padding: 54px 0 72px;
  text-align: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 54px);
}

.hero__subtitle {
  font-size: 20px;
  color: var(--muted);
}

.hero__image {
  margin-top: 28px;
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 18px 32px rgba(20, 22, 24, 0.08));
}

/* Support */
.support {
  padding: 90px 0;
  background: #ffffff;
}

.support__grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.support h2 {
  font-size: clamp(26px, 4vw, 32px);
  margin-bottom: 12px;
}

.support p {
  color: var(--muted);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 30px -18px rgba(87, 102, 236, 0.9);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(87, 102, 236, 1);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.support__image {
  max-width: 240px;
  margin: 0 auto;
}

/* Timeline */
.section {
  padding: 90px 0;
}

.section__heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section__heading h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

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

.timeline {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: var(--timeline-gap);
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: calc(180px + 12px + 16px);
  top: 9px;
  bottom: 80px;
  width: 2px;
  background: #cbd3ff;
}

.timeline__item {
  display: grid;
  grid-template-columns: 180px 32px 1fr;
  align-items: start;
  gap: 12px;
  position: relative;
}

.timeline__date {
  text-align: right;
  font-weight: 600;
  color: #495167;
  padding-top: 6px;
}

.timeline__track {
  position: relative;
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60px;
}

.timeline__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8ecff;
  border: 2px solid var(--accent);
  position: relative;
  margin-top: 2px;
}

.timeline__dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
}

.timeline__line {
  display: none;
}

.timeline__card {
  background: #f9fbff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #eef1ff;
  box-shadow: 0 14px 32px -30px rgba(20, 22, 24, 0.6);
}

.timeline__card h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

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

.timeline__card--stack {
  display: grid;
  gap: 12px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.timeline__card--stack > div {
  background: #f9fbff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #eef1ff;
  box-shadow: 0 14px 32px -30px rgba(20, 22, 24, 0.7);
}

/* FAQ */
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff;
  transition: box-shadow 0.15s ease;
}

details[open] {
  box-shadow: 0 12px 34px -30px rgba(20, 22, 24, 0.8);
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 22px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.15s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

details a {
  color: var(--accent);
}

/* Footer */
.footer {
  background: var(--bg);
  padding: 40px 0 70px;
  margin-top: 30px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 18px 0 12px;
}

.footer__legal {
  color: var(--muted);
  font-size: 15px;
}

/* Terms page */
.hero--sub {
  padding: 48px 0 32px;
  text-align: center;
}

.hero--sub .title-main {
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

.hero--sub .title-sub {
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.hero--sub .last-update {
  margin: 0 0 18px;
  color: #8b9099;
}

.notice {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.notice-heading {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 16px 0 12px;
}

.notice-body {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 16px;
}

.notice-footer {
  margin: 0;
  color: var(--muted);
}

.terms {
  padding: 40px 0 80px;
  background: #ffffff;
}

.terms article {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.terms h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.terms h4 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.terms p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.terms ul {
  margin: 8px 0 12px 18px;
  color: var(--muted);
  line-height: 1.5;
}

.terms strong {
  color: var(--text);
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero__image {
    max-width: 380px;
  }

  .support__grid {
    text-align: center;
    justify-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "track"
      "date"
      "card";
  }

  .timeline__track {
    height: 18px;
  }

  .timeline__date {
    text-align: left;
    padding-top: 0;
  }

  .nav {
    gap: 14px;
  }

  .timeline::before {
    display: none;
  }
}

@media (min-width: 900px) {
  .support__image {
    margin-left: auto;
    margin-right: 0;
  }
}
