:root {
  color-scheme: light;
  --ink: #17181b;
  --muted: #656973;
  --canvas: #f6f6f4;
  --surface: #ffffff;
  --surface-soft: #efeeff;
  --line: #e4e4e8;
  --brand: #625ce3;
  --brand-deep: #4741bd;
  --highlight: #ff856f;
  --shadow: 0 22px 60px rgba(43, 39, 92, 0.1);
  --content: 1080px;
  --reading: 760px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% -8%, rgba(98, 92, 227, 0.16), transparent 33rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(98, 92, 227, 0.3);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(228, 228, 232, 0.8);
  background: rgba(246, 246, 244, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 70px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(71, 65, 189, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
}

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

.hero {
  display: grid;
  min-height: 520px;
  padding: 88px 0 72px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1,
.legal-document h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 730;
  text-decoration: none;
  transition: transform 140ms var(--ease-out), background-color 140ms ease, border-color 140ms ease;
}

.button:active,
.link-card:active {
  transform: scale(0.975);
}

.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 28px rgba(98, 92, 227, 0.24);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.brand-stage {
  position: relative;
  display: grid;
  width: min(100%, 390px);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  overflow: hidden;
  border-radius: 34%;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(145deg, #756ff0 0%, #625ce3 52%, #514bd0 100%);
  box-shadow: 0 36px 80px rgba(58, 52, 161, 0.28);
}

.brand-stage img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(45, 40, 122, 0.18));
}

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

.section-heading {
  max-width: 670px;
  margin-bottom: 32px;
}

.section-heading h2,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p,
.page-intro > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  min-height: 194px;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(228, 228, 232, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 29, 58, 0.04);
  transition: transform 160ms var(--ease-out), border-color 160ms ease, box-shadow 160ms ease;
}

.link-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.link-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.link-card .arrow {
  color: var(--brand);
  font-size: 22px;
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(98, 92, 227, 0.3);
    box-shadow: 0 18px 44px rgba(48, 43, 127, 0.09);
  }
}

.operator {
  display: grid;
  padding: 30px;
  border-radius: 24px;
  background: #211f3d;
  color: white;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
  gap: 32px;
}

.operator h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.operator p,
.operator address {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.operator a {
  color: white;
}

.page-intro {
  max-width: var(--reading);
  padding: 72px 0 36px;
}

.content-grid {
  display: grid;
  padding: 24px 0 80px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.info-card h2,
.info-card h3 {
  margin: 0;
  letter-spacing: -0.025em;
}

.info-card p:last-child,
.info-card ul:last-child,
.info-card ol:last-child {
  margin-bottom: 0;
}

.info-card address {
  font-style: normal;
}

.contact-list {
  display: grid;
  margin: 22px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.contact-list div {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}

.contact-list dt {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 720;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 14px;
}

.info-card-wide {
  grid-column: 1 / -1;
}

.step-list {
  margin: 16px 0 0;
  padding-left: 22px;
}

.step-list li + li {
  margin-top: 9px;
}

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: var(--surface-soft);
}

.legal-wrap {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.legal-document h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.legal-document h2 {
  margin: 52px 0 14px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-document h3 {
  margin: 32px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-document p,
.legal-document li {
  color: #35363c;
}

.legal-document ul,
.legal-document ol {
  padding-left: 24px;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document code {
  padding: 0.12em 0.35em;
  border-radius: 6px;
  background: #eceaf5;
  color: #39346f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

.legal-document > p:nth-of-type(-n + 2) {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 112px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 64px 0;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .brand-stage {
    width: min(76vw, 330px);
  }

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

  .link-card {
    min-height: 152px;
  }

  .operator,
  .content-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .info-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 62px;
  }

  .nav-links a:not([aria-current="page"]):not(:first-child) {
    display: none;
  }

  .page-shell,
  .nav,
  .footer-inner,
  .legal-wrap {
    width: min(calc(100% - 32px), var(--content));
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .section {
    padding: 56px 0;
  }

  .page-intro {
    padding-top: 52px;
  }

  .operator {
    padding: 24px;
  }

  .legal-wrap {
    padding-top: 52px;
  }

  .footer-inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button,
  .link-card {
    transition: none;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .site-footer {
    display: none;
  }

  .legal-wrap {
    width: 100%;
    padding: 0;
  }
}
