:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-soft: #f8f9fd;
  --text: #171b34;
  --muted: #66708e;
  --muted-strong: #525b79;
  --line: rgba(23, 27, 52, 0.08);
  --shadow: 0 22px 56px rgba(20, 31, 74, 0.10);
  --shadow-soft: 0 16px 36px rgba(20, 31, 74, 0.08);
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.84);
  --hero-subtle: rgba(255, 255, 255, 0.70);
  --button-dark: #101632;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid #8fb6e8;
  outline-offset: 3px;
}

.shell {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  color: var(--hero-text);
  background: linear-gradient(180deg, rgba(4, 12, 58, 0.04), rgba(4, 12, 58, 0.14));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.08)),
    url("/assets/hero.svg") center center / cover no-repeat;
  transform: scale(1.01);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 0;
}

.brand {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-links a {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.86);
}

.topbar-links a:hover {
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 620px;
  padding: 72px 0 104px;
}

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

.hero-title {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.hero-subtitle {
  margin: 26px auto 0;
  max-width: 740px;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--hero-muted);
  letter-spacing: -0.02em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.hero-status {
  margin: 22px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--hero-subtle);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: transform 120ms ease, background-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #ffffff;
  color: var(--button-dark);
  box-shadow: 0 12px 28px rgba(17, 22, 50, 0.16);
}

.button-primary:hover {
  background: #f6f8ff;
}

.overview {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding-bottom: 16px;
}

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

.overview-card {
  padding: 24px 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.overview-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.overview-card p {
  margin: 9px 0 0;
  color: var(--muted-strong);
  font-size: 0.98rem;
  line-height: 1.6;
}

.product {
  background:
    radial-gradient(circle at 10% 24%, rgba(139, 160, 255, 0.10), transparent 36%),
    linear-gradient(180deg, #f4f5fb 0%, #f7f8fc 100%);
  padding: 72px 0 92px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.section-label {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #66719b;
  letter-spacing: 0.02em;
}

.product-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 650;
  max-width: 620px;
}

.product-copy p {
  color: var(--muted-strong);
  font-size: 1.04rem;
  line-height: 1.7;
}

.product-copy h2 + p {
  margin-top: 18px;
  max-width: 560px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #767e9b;
  font-size: 0.98rem;
}

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

.contact-email {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.contact-email a:hover {
  color: var(--text);
}

.copyright {
  margin: 52px 0 0;
  color: #8b92ac;
  font-size: 0.96rem;
}

.product-visual {
  display: flex;
  justify-content: center;
}

.surface-card {
  position: relative;
  width: min(620px, 100%);
  min-height: 420px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,247,255,0.88)),
    radial-gradient(circle at 18% 20%, rgba(123, 146, 255, 0.12), transparent 34%);
  border: 1px solid rgba(255,255,255,0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.surface-block {
  position: absolute;
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(96, 112, 188, 0.08);
  box-shadow: 0 16px 40px rgba(52, 72, 154, 0.10);
  padding: 22px;
}

.surface-block-primary {
  left: 24px;
  top: 28px;
  width: 48%;
  transform: rotate(-7deg);
}

.surface-block-secondary {
  right: 24px;
  top: 72px;
  width: 40%;
}

.surface-block-tertiary {
  left: 88px;
  bottom: 28px;
  width: 50%;
  transform: rotate(7deg);
}

.surface-kicker {
  font-size: 0.86rem;
  color: #6a7294;
  font-weight: 600;
}

.surface-title {
  margin-top: 10px;
  font-size: 1.14rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #1a2144;
}

.surface-amount {
  margin-top: 14px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #182042;
}

.surface-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.surface-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(78, 97, 191, 0.10);
}

.surface-bars {
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 18px;
  height: 64px;
}

.surface-bars span {
  display: block;
  width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #90a7ff, #4d6df2);
}

.surface-bars span:nth-child(1) { height: 18px; }
.surface-bars span:nth-child(2) { height: 28px; }
.surface-bars span:nth-child(3) { height: 42px; }
.surface-bars span:nth-child(4) { height: 56px; }

.legal-page {
  background: #f7f8fc;
}

.legal {
  max-width: 820px;
  padding: 52px 0 80px;
}

.legal-header {
  margin-bottom: 36px;
}

.legal-header h1 {
  margin: 18px 0 8px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.legal-header p,
.legal p {
  color: var(--muted-strong);
  line-height: 1.75;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

@media (max-width: 1100px) {
  .overview-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    min-height: 580px;
    padding-top: 64px;
  }

  .surface-card {
    min-height: 380px;
  }

  .surface-block-primary {
    left: 16px;
    width: 52%;
  }

  .surface-block-secondary {
    right: 16px;
    width: 42%;
  }

  .surface-block-tertiary {
    left: 52px;
    width: 56%;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 32px, 1120px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    min-height: 520px;
    padding: 56px 0 88px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 11vw, 4.4rem);
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-top: 22px;
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .overview {
    margin-top: -18px;
  }

  .overview-card {
    padding: 20px;
  }

  .product {
    padding: 60px 0 76px;
  }

  .surface-card {
    min-height: 320px;
  }

  .surface-block {
    padding: 16px;
  }

  .surface-block-primary {
    left: 8px;
    top: 18px;
    width: 56%;
  }

  .surface-block-secondary {
    right: 8px;
    top: 58px;
    width: 42%;
  }

  .surface-block-tertiary {
    left: 28px;
    bottom: 16px;
    width: 62%;
  }

  .surface-amount {
    font-size: 1.55rem;
  }

  .copyright {
    margin-top: 40px;
  }
}
