:root {
  --bg: #ffffff;
  --text: #111318;
  --muted: #5e6878;
  --soft-bar: #f1f4f8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.partners-row img {
  opacity: 1;
  filter: none;
}

.page-shell {
  width: min(1020px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 88px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: 4px;
}

.brand-logo {
  width: 154px;
  height: auto;
}

.brand-subtitle {
  margin-top: -4px;
  font-size: 14px;
  line-height: 1;
  color: #7a8494;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: -2px;
}

.lang-flag {
  border: 1px solid transparent;
  background: transparent;
  padding: 2px;
  border-radius: 999px;
  font-size: 17px;
  line-height: 1;
  opacity: 0.68;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.lang-flag:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.lang-flag.active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: #d9e1ec;
  background: #f6f8fb;
}

.topbar-copy {
  margin: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  text-align: center;
  color: #5d6675;
  background: var(--soft-bar);
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 0;
  font-weight: 400;
}

.hero-card {
  position: relative;
  overflow: hidden;
  margin: 56px auto 0;
  width: min(820px, 100%);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(22, 30, 45, 0.11);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #ffd7ea 0%, #d8e6ff 35%, #abf0ff 72%, #a5f6df 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 58px 48px 42px;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.hero-subtitle {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.35;
  color: #202632;
  font-weight: 400;
}

.start-section {
  padding-top: 38px;
  text-align: center;
}

.start-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.flow-section {
  padding-top: 42px;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1.05fr auto 1.05fr auto 1.2fr auto 1.24fr;
  align-items: center;
  gap: 28px;
}

.flow-step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
}

.flow-step h3 {
  margin: 0;
  color: #111318;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.text-near {
  gap: 8px;
}

.long-step h3 {
  max-width: 190px;
  white-space: normal;
}

.flow-step-boxed {
  justify-content: stretch;
}

.flow-step-boxed .flow-arrow {
  margin-left: 0;
  justify-self: end;
}

.flow-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.flow-arrow span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #111111;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 214, 233, 0.95) 0%, rgba(212, 232, 255, 0.95) 42%, rgba(162, 245, 228, 0.95) 100%);
  box-shadow: 0 12px 24px rgba(28, 33, 45, 0.08);
}

.icon-glow-wrap {
  position: relative;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
}

.icon-glow-orb {
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 121, 71, 0.92) 0%, transparent 42%),
    radial-gradient(circle at 82% 24%, rgba(49, 131, 255, 0.92) 0%, transparent 44%),
    radial-gradient(circle at 50% 86%, rgba(216, 53, 255, 0.98) 0%, transparent 52%);
  filter: blur(20px);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.24s ease, transform 0.24s ease, filter 0.24s ease;
}

.flow-icon-image {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.icon-glow-wrap:hover .icon-glow-orb {
  opacity: 1;
  transform: scale(1.24);
  filter: blur(26px);
}

.partners-section {
  padding-top: 40px;
}

.legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.4;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.legal-links a:hover {
  color: #5e6878;
}

.legal-links a:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: #c3cad5;
}

.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px;
  flex-wrap: wrap;
}

.partner-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  flex: 0 0 auto;
}

.partner-logo.openai {
  width: 162px;
  height: auto;
}

.partner-logo.meta {
  width: 138px;
  height: auto;
}

.partner-logo.gemini {
  width: 176px;
  height: auto;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 28px, 1020px);
    padding: 18px 0 64px;
  }

  .brand-logo {
    width: 138px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .lang-switcher {
    gap: 8px;
  }

  .lang-flag {
    font-size: 16px;
  }

  .topbar-copy {
    font-size: 13px;
    padding: 12px 16px;
  }

  .hero-card {
    width: 100%;
    margin-top: 34px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 40px 22px 30px;
  }

  .hero-content h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-top: 10px;
    font-size: 18px;
  }

  .start-section {
    padding-top: 28px;
  }

  .start-section h2 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .flow-section {
    padding-top: 30px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
  }

  .flow-step,
  .flow-step-boxed {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }

  .step-label-box {
    min-height: 70px;
    padding: 0 14px;
  }

  .flow-step h3 {
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
  }

  .long-step h3 {
    max-width: none;
  }

  .flow-arrow {
    justify-self: center;
    margin: -2px 0;
  }

  .flow-arrow span {
    transform: rotate(90deg);
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .icon-glow-wrap {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
  }

  .flow-icon-image {
    width: 28px;
    height: 28px;
  }

  .partners-section {
    padding-top: 30px;
  }

  .partners-row {
    gap: 30px;
  }

  .partner-logo.openai {
    width: 138px;
    height: auto;
  }

  .partner-logo.meta {
    width: 114px;
    height: auto;
  }

  .partner-logo.gemini {
    width: 152px;
    height: auto;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: calc(100% - 22px);
    padding-top: 14px;
  }

  .topbar {
    gap: 12px;
  }

  .brand-logo {
    width: 126px;
  }

  .brand-subtitle {
    margin-top: -6px;
    font-size: 12px;
  }

  .lang-switcher {
    gap: 7px;
    flex-wrap: wrap;
    max-width: 240px;
  }

  .lang-flag {
    font-size: 15px;
  }

  .topbar-copy {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-card {
    margin-top: 26px;
    border-radius: 22px;
  }

  .hero-content {
    padding: 32px 16px 24px;
  }

  .hero-content h1 {
    font-size: 34px;
    letter-spacing: -0.05em;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .start-section {
    padding-top: 24px;
  }

  .start-section h2 {
    font-size: 28px;
  }

  .flow-section {
    padding-top: 24px;
  }

  .flow-grid {
    gap: 12px;
  }

  .flow-step {
    gap: 12px;
  }

  .icon-glow-wrap {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .flow-icon-image {
    width: 24px;
    height: 24px;
  }

  .flow-step h3 {
    font-size: 14px;
  }

  .partners-row {
    gap: 24px;
    justify-content: center;
  }

  .legal-links {
    gap: 10px;
    margin-top: 22px;
    font-size: 11px;
  }

  .legal-links a:not(:last-child)::after {
    margin-left: 10px;
  }

  .partner-logo.openai {
    width: 126px;
  }

  .partner-logo.meta {
    width: 102px;
  }

  .partner-logo.gemini {
    width: 138px;
  }
}


.legal-links-section {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 10px;
}
