:root {
  --canvas: #f1f3f7;
  --canvas-deep: #edf0f6;
  --surface: #ffffff;
  --text: #20232b;
  --muted: #59616e;
  --soft: #818896;
  --brand: #5272df;
  --brand-deep: #4666d4;
  --link: #1766ce;
  --success: #66846f;
  --danger: #c84747;
  --line: rgba(32, 35, 43, 0.11);
  --line-strong: rgba(32, 35, 43, 0.44);
  --shadow-soft: 0 14px 40px rgba(33, 42, 65, 0.08);
  --radius-card: 14px;
  --radius-large: 24px;
  --ease: 180ms cubic-bezier(.2, .7, .2, 1);
  --header-height: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 62% 13%, rgba(225, 229, 245, 0.84), transparent 29rem),
    var(--canvas);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  color: inherit;
}

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

p,
h1,
h2,
h3 {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--link);
}

.skip-link:focus {
  transform: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(32, 35, 43, 0.055);
  background: rgba(249, 250, 253, 0.86);
  backdrop-filter: blur(20px) saturate(150%);
}

.header-inner {
  width: min(1220px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.brand img {
  width: 29px;
  height: 29px;
  display: block;
  border-radius: 8px;
}

.brand span {
  font-size: 16px;
  font-weight: 720;
  letter-spacing: .22em;
}

.desktop-nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--muted);
  font-weight: 570;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--ease);
}

.nav-button:hover,
.nav-button:focus-visible,
.nav-button.active {
  color: var(--brand);
}

.nav-button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--brand);
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.language-button,
.account-button,
.menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  padding: 8px 0;
  font-weight: 560;
}

.language-button svg,
.menu-button svg {
  width: 20px;
  height: 20px;
}

.chevron {
  color: #9ca2ad;
  font-size: 13px;
}

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7eaf2;
  color: #536076;
  font-size: 12px;
  font-weight: 650;
}

.menu-button {
  display: none;
  padding: 8px;
  border-radius: 8px;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: rgba(32, 35, 43, .05);
}

.mobile-nav {
  display: none;
}

.page-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

.page-title {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 43px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 760;
}

.page-subtitle {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-title {
  margin: 0;
  font-size: clamp(27px, 2.2vw, 35px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

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

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 70px auto 0;
  min-height: 92px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.site-footer .tagline {
  text-align: center;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--link);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.primary-button,
.outline-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 26px;
  cursor: pointer;
  font-weight: 620;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), opacity var(--ease);
}

.primary-button {
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
}

.outline-button {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
}

.outline-button:hover,
.outline-button:focus-visible {
  background: rgba(82, 114, 223, .07);
}

.text-button {
  min-height: 38px;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--link);
}

.arrow {
  font-size: 19px;
  line-height: 1;
  transform: translateY(-1px);
}

/* Home */
.home-main {
  width: 100%;
}

.hero {
  position: relative;
  width: min(1290px, calc(100% - 48px));
  min-height: 540px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: #f7f8fb;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(249,250,252,.96) 3%, rgba(249,250,252,.84) 28%, rgba(249,250,252,.18) 54%, rgba(249,250,252,.02) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 96px;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(45px, 4.8vw, 66px);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 790;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: var(--brand);
}

.hero-copy {
  max-width: 410px;
  margin: 30px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.home-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-section {
  padding: 62px 0 66px;
  border-top: 1px solid var(--line);
}

.home-section-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.use-card {
  min-height: 226px;
  padding: 28px;
  border: 1px solid rgba(32, 35, 43, .06);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
}

.use-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0f1fa;
  color: #687eae;
  font-size: 18px;
  font-weight: 600;
}

.use-card:nth-child(2) .use-icon {
  background: #f1eef9;
  color: #786c9d;
}

.use-card:nth-child(3) .use-icon {
  background: #edf5f5;
  color: #668087;
}

.use-card h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.use-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.connection-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255,255,255,.64);
}

.connection-panel h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -.03em;
}

.connection-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.connection-list {
  display: grid;
}

.connection-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.connection-item:last-child {
  border-bottom: 0;
}

.connection-item strong {
  display: block;
  margin-bottom: 5px;
}

.connection-item p {
  margin: 0;
  font-size: 13px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 92px;
}

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

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

.faq-question {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  font-weight: 620;
  cursor: pointer;
}

.faq-plus {
  color: #9299a5;
  font-size: 22px;
  font-weight: 300;
  transition: transform var(--ease);
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 42px 22px 0;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.home-cta h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

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

