:root {
  --bg: #f5f5f2;
  --bg-soft: #eceee8;
  --bg-elevated: rgba(255, 255, 255, 0.9);
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.16);
  --text: #171a22;
  --muted: #667085;
  --muted-strong: #475467;
  --accent: #1664ff;
  --accent-deep: #114ecc;
  --accent-soft: rgba(22, 100, 255, 0.08);
  --warm: #b97a2b;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 100, 255, 0.08), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(185, 122, 43, 0.08), transparent 24%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(245, 245, 242, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-icon,
.footer-icon,
.not-found-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--shadow-soft);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted-strong);
  transition: color 180ms ease, opacity 180ms ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.nav-cta:hover {
  color: #fff;
  background: var(--accent-deep);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--text);
}

.section-shell {
  width: var(--container);
  margin: 0 auto;
}

.hero-section {
  padding: 60px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  text-align: left;
}

.eyebrow,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.difference-copy h2,
.cta-copy h2,
.legal-hero h1,
.not-found-shell h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero-copy h1 {
  margin-top: 16px;
  max-width: 10ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.hero-text,
.section-heading p,
.difference-copy p,
.story-card p,
.legal-hero p,
.legal-block p,
.contact-card p,
.not-found-shell p,
.footer-subtitle,
.footer-meta {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 34ch;
  font-size: 1.15rem;
}

.hero-actions,
.trust-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

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

.button-secondary:hover {
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 244, 252, 0.9)),
    var(--bg-elevated);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-visual::before {
  width: 210px;
  height: 210px;
  top: -44px;
  right: -34px;
  background: rgba(22, 100, 255, 0.12);
}

.hero-visual::after {
  width: 220px;
  height: 220px;
  bottom: -64px;
  left: -30px;
  background: rgba(185, 122, 43, 0.12);
}

.hero-orbit {
  position: relative;
  height: 100%;
  min-height: 378px;
}

.hero-abstract {
  position: relative;
  height: 100%;
  min-height: 308px;
}

.abstract-line,
.abstract-glow,
.abstract-tile,
.abstract-dot {
  position: absolute;
}

.abstract-line {
  border-radius: 999px;
  background: rgba(22, 100, 255, 0.14);
}

.abstract-line-a {
  top: 62px;
  left: 34px;
  width: 62%;
  height: 1px;
}

.abstract-line-b {
  right: 34px;
  bottom: 92px;
  width: 48%;
  height: 1px;
  background: rgba(185, 122, 43, 0.18);
}

.abstract-glow {
  border-radius: 50%;
  filter: blur(18px);
}

.abstract-glow-a {
  top: 58px;
  right: 48px;
  width: 132px;
  height: 132px;
  background: rgba(22, 100, 255, 0.18);
}

.abstract-glow-b {
  bottom: 48px;
  left: 44px;
  width: 152px;
  height: 152px;
  background: rgba(185, 122, 43, 0.16);
}

.abstract-tile {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.abstract-tile-a {
  top: 24px;
  left: 12px;
  width: 150px;
  height: 104px;
}

.abstract-tile-b {
  top: 68px;
  right: 18px;
  width: 132px;
  height: 132px;
}

.abstract-tile-c {
  bottom: 14px;
  left: 118px;
  width: 172px;
  height: 84px;
}

.abstract-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.abstract-dot-a {
  top: 84px;
  left: 188px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(22, 100, 255, 0.12);
}

.abstract-dot-b {
  right: 72px;
  bottom: 98px;
  background: var(--warm);
  box-shadow: 0 0 0 8px rgba(185, 122, 43, 0.1);
}

.orbit-ring {
  position: absolute;
  inset: 44px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}

.hero-card-center,
.orbit-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-card-center {
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  padding: 24px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-card-center strong {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.hero-card-center span {
  margin-top: 8px;
  max-width: 12ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.orbit-card {
  width: 170px;
  padding: 18px;
  border-radius: 20px;
}

.orbit-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.orbit-card-time {
  top: 22px;
  left: 10px;
}

.orbit-card-money {
  top: 76px;
  right: 0;
}

.orbit-card-review {
  bottom: 16px;
  left: 46px;
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 30px;
  max-width: 14ch;
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: right;
}

.story-section,
.trust-section,
.cta-section {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading h2,
.difference-copy h2,
.cta-copy h2,
.legal-hero h1,
.not-found-shell h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-heading p,
.difference-copy p,
.cta-copy p {
  margin: 18px auto 0;
  max-width: 34ch;
  font-size: 1rem;
}

.story-grid,
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.story-card,
.cta-panel,
.legal-block,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.story-card,
.legal-block,
.contact-card {
  padding: 28px;
}

.story-card {
  min-height: 210px;
}

.story-card h3,
.legal-block h2,
.contact-card h2 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.story-card p,
.legal-block p,
.contact-card p {
  margin: 0;
  font-size: 1rem;
}

.difference-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 250, 0.94)),
    var(--bg-elevated);
}

.trust-grid .story-card {
  min-height: 200px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.cta-copy p {
  margin-left: 0;
}

.site-footer {
  width: var(--container);
  margin: 42px auto 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 18px 24px;
  align-items: start;
}

.footer-title {
  font-size: 1rem;
  font-weight: 650;
}

.footer-subtitle {
  margin-top: 6px;
  max-width: 28ch;
}

.footer-links {
  justify-content: flex-start;
  align-self: center;
}

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

.footer-meta {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  text-align: right;
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(22, 100, 255, 0.06), transparent 24%),
    var(--bg);
}

.legal-links {
  margin-left: auto;
}

.legal-shell {
  width: min(900px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero p {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 1.06rem;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.legal-section {
  padding: 26px 30px;
}

.legal-section + .legal-section {
  border-top: 1px solid var(--line);
}

.legal-block {
  display: grid;
  gap: 12px;
}

.legal-block h2,
.legal-section h2,
.contact-card h2 {
  margin-top: 0;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-block a,
.legal-section a,
.contact-link {
  color: var(--accent);
  font-weight: 600;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-link {
  margin-top: 4px;
}

.legal-footer {
  width: min(900px, calc(100vw - 40px));
}

.not-found-shell {
  width: min(600px, calc(100vw - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .hero-section,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100vw - 32px, 1000px);
  }

  .site-header {
    padding: 14px 0;
  }

  .site-nav {
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links.legal-links {
    position: static;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero-section,
  .story-section,
  .trust-section,
  .cta-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-copy h1 {
    max-width: 9ch;
  }

  .hero-actions,
  .trust-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
    padding: 22px;
  }

  .hero-abstract {
    min-height: 268px;
  }

  .abstract-tile-a {
    top: 20px;
    left: 8px;
    width: 128px;
    height: 92px;
  }

  .abstract-tile-b {
    top: 56px;
    right: 10px;
    width: 118px;
    height: 118px;
  }

  .abstract-tile-c {
    left: 54px;
    width: 154px;
    height: 82px;
  }

  .abstract-dot-a {
    top: 72px;
    left: 154px;
  }

  .abstract-dot-b {
    right: 52px;
    bottom: 88px;
  }

  .story-card,
  .cta-panel,
  .legal-block,
  .contact-card {
    padding: 24px;
  }

  .site-footer {
    margin-top: 28px;
  }
}
