:root {
  --bg: #fbfaf6;
  --bg-soft: #f3efe7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #171717;
  --muted: #66625d;
  --line: rgba(23, 23, 23, 0.08);
  --accent: #171717;
  --accent-soft: rgba(23, 23, 23, 0.08);
  --shadow: 0 24px 70px rgba(40, 32, 22, 0.08);
  --radius: 30px;
  --container: min(1180px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6) 18%, transparent 42%),
    linear-gradient(180deg, #fefdfa 0%, #f7f3ec 40%, #f4efe8 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
}

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

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

button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 85% 12%, rgba(216, 222, 233, 0.36), transparent 18%),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.95), transparent 25%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000'%3E%3Cg fill='none' stroke='rgba(88,88,88,0.10)' stroke-width='1.2'%3E%3Cpath d='M-120 180 C160 20 420 40 720 190 S1240 380 1740 120'/%3E%3Cpath d='M-80 260 C200 110 470 130 790 290 S1280 470 1730 250'/%3E%3Cpath d='M-40 340 C250 210 530 220 860 380 S1320 560 1710 390'/%3E%3Cpath d='M0 420 C300 310 600 320 920 470 S1360 650 1700 530'/%3E%3Cpath d='M40 500 C350 400 650 410 980 560 S1400 750 1690 690'/%3E%3Cpath d='M80 580 C400 500 700 510 1040 660 S1450 840 1670 840'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center top;
  opacity: 1;
  pointer-events: none;
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.38) 28%, rgba(248, 244, 236, 0.82) 56%, rgba(246, 241, 233, 0.98) 100%);
  pointer-events: none;
}

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

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(23, 23, 23, 0.05);
  box-shadow: 0 10px 32px rgba(22, 20, 18, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.brand img {
  width: clamp(140px, 15vw, 180px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: rgba(23, 23, 23, 0.74);
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.82);
  color: #171717;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #171717;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: 0.2s ease;
}

.hero,
.page-hero {
  padding: clamp(5rem, 9vw, 8rem) 0 3.5rem;
}

.hero-grid,
.split-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-copy h2,
.panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 4.9rem);
  max-width: 12ch;
}

.section-heading h2,
.split-copy h2,
.panel h2 {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  max-width: 12ch;
}

.lead,
.hero-copy .lead {
  margin-top: 1.25rem;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.08rem;
}

.eyebrow,
.mini-label,
.step span,
.feature-card span,
.stat strong,
.footer-title {
  font-family: "Space Grotesk", sans-serif;
}

.eyebrow,
.mini-label,
.step span,
.feature-card span {
  margin: 0 0 1rem;
  color: rgba(23, 23, 23, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: #171717;
  color: #faf7ef;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(23, 23, 23, 0.08);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 1.3rem;
}

.hero-wave {
  position: absolute;
  inset: 4% -4% 0 -6%;
  border-radius: 40px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.95), transparent 26%),
    radial-gradient(circle at 82% 15%, rgba(228, 231, 239, 0.6), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='720' viewBox='0 0 900 720'%3E%3Cg fill='none' stroke='rgba(103,103,103,0.14)' stroke-width='1.3'%3E%3Cpath d='M-80 160 C120 40 280 60 480 170 S730 300 980 170'/%3E%3Cpath d='M-60 230 C150 120 330 130 540 240 S770 360 980 270'/%3E%3Cpath d='M-30 300 C180 200 390 220 610 320 S810 430 980 370'/%3E%3Cpath d='M10 370 C230 290 440 300 670 410 S850 515 980 490'/%3E%3Cpath d='M40 440 C280 370 490 380 730 500 S880 590 980 610'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}

.hero-chat,
.hero-mini-card,
.feature-card,
.step,
.panel,
.stat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-chat,
.hero-mini-card {
  z-index: 1;
  padding: 1.45rem 1.6rem;
}

.hero-chat {
  max-width: 560px;
}

.hero-chat-answer {
  margin-left: 3rem;
}

.hero-mini-card {
  max-width: 420px;
  margin-left: 6rem;
}

.chat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  padding: 0 0.95rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #ece7de;
  color: #171717;
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-badge-dark {
  background: #171717;
  color: #faf7ef;
}

.hero-chat p,
.hero-mini-card p {
  margin: 0;
  color: #2a2723;
  line-height: 1.72;
}

.signal-list {
  display: grid;
  gap: 0.9rem;
}

.signal-list article,
.contact-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.signal-list article:first-child,
.contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.signal-list strong,
.feature-card h3,
.step h3 {
  font-size: 1.2rem;
}

.signal-list p,
.feature-card p,
.step p,
.panel p,
.contact-list p,
.contact-list a,
.footer-wrap p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.25rem;
}

.hero-trust p {
  margin: 0;
  color: rgba(23, 23, 23, 0.48);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.75rem;
  color: rgba(23, 23, 23, 0.72);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.section {
  padding: 3rem 0 5.5rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.16));
  border-top: 1px solid rgba(23, 23, 23, 0.04);
  border-bottom: 1px solid rgba(23, 23, 23, 0.04);
}

.section-heading {
  margin-bottom: 1.9rem;
}

.feature-grid,
.steps,
.stats-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step,
.panel,
.stat {
  padding: 1.7rem;
}

.split-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.steps,
.contact-sidebar {
  gap: 1rem;
}

.about-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat strong {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.05em;
}

.stat p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list span {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.panel-accent {
  background:
    radial-gradient(circle at top right, rgba(227, 225, 218, 0.9), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 240, 0.9));
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.footer-title {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 920px) {
  .hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid,
  .feature-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    margin-top: 1rem;
  }

  .hero-wave {
    inset: 0;
  }

  .hero-chat-answer,
  .hero-mini-card {
    margin-left: 0;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    padding: 0.75rem;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(40, 32, 22, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.25s ease;
  }

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

  .footer-wrap {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

body.splash-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72) 18%, transparent 48%),
    linear-gradient(180deg, #fbfaf7 0%, #f5f1ea 100%);
}

.splash-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 2rem 4.5rem;
  overflow: hidden;
}

.splash-shell {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  width: min(92vw, 1100px);
  min-height: 70vh;
}

.build-field {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  width: min(92vw, 1040px);
  height: min(52vw, 500px);
  transform: translate(-50%, -56%);
  pointer-events: none;
  opacity: 0.3;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 900'%3E%3Cg fill='none' stroke='rgba(126,150,144,0.92)' stroke-width='1.15'%3E%3Cpath d='M-120 96 C84 46 224 56 358 96 S640 152 850 106 S1200 46 1520 136'/%3E%3Cpath d='M-120 154 C80 110 224 122 364 162 S646 222 858 182 S1208 118 1520 208'/%3E%3Cpath d='M-120 220 C84 184 236 198 384 242 S678 312 890 284 S1222 236 1520 320'/%3E%3Cpath d='M-120 296 C98 270 254 286 410 336 S716 410 936 396 S1260 376 1520 446'/%3E%3Cpath d='M-120 384 C118 372 288 390 454 450 S770 534 988 538 S1284 560 1520 608'/%3E%3Cpath d='M-120 492 C144 500 334 520 514 590 S842 682 1044 704 S1318 748 1520 776'/%3E%3Cpath d='M90 -120 C40 72 56 220 104 362 S178 648 128 980'/%3E%3Cpath d='M176 -120 C134 86 148 238 202 392 S286 676 244 980'/%3E%3Cpath d='M274 -120 C244 104 256 262 316 430 S416 710 382 980'/%3E%3Cpath d='M384 -120 C372 122 386 286 454 466 S576 742 554 980'/%3E%3Cpath d='M508 -120 C520 136 534 306 612 492 S760 768 756 980'/%3E%3Cpath d='M648 -120 C684 126 700 292 790 474 S962 746 980 980'/%3E%3Cpath d='M804 -120 C870 118 890 274 990 442 S1182 710 1226 980'/%3E%3Cpath d='M978 -120 C1080 102 1108 250 1214 414 S1414 682 1488 980'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  filter: blur(0.2px);
  animation: meshDrift 12s ease-in-out infinite;
}

.grid-svg {
  display: none;
}

.splash-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  z-index: 1;
  animation: logoFloat 6.5s ease-in-out infinite;
}

.splash-logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(64vw, 560px);
  height: min(18vw, 150px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.12) 34%,
      rgba(255, 255, 255, 0.04) 52%,
      rgba(255, 255, 255, 0) 74%
    );
  filter: blur(18px);
  z-index: 0;
  opacity: 0.9;
}

.splash-logo-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(56vw, 470px);
  height: min(12vw, 104px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(35, 31, 27, 0.16) 0%,
      rgba(35, 31, 27, 0.08) 38%,
      rgba(35, 31, 27, 0.02) 64%,
      rgba(35, 31, 27, 0) 100%
    );
  filter: blur(14px);
  z-index: 0;
  opacity: 0.7;
}

.splash-glow {
  position: absolute;
  top: 58%;
  left: 50%;
  width: min(78vw, 760px);
  height: min(42vw, 360px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(190, 210, 255, 0.18) 0%,
      rgba(190, 210, 255, 0.1) 32%,
      rgba(190, 210, 255, 0.04) 52%,
      rgba(190, 210, 255, 0) 74%
    );
  filter: blur(28px);
  z-index: 0;
  animation: splashGlow 5.5s ease-in-out infinite;
}

.splash-logo {
  width: min(54vw, 460px);
  height: auto;
  position: relative;
  z-index: 1;
}

.splash-tm {
  position: absolute;
  top: 34%;
  right: 13%;
  z-index: 2;
  color: rgba(23, 23, 23, 0.38);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
  letter-spacing: 0.08em;
}

.splash-status {
  margin: 1rem 0 0;
  color: rgba(23, 23, 23, 0.54);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

#status-text {
  display: inline-block;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#status-text.is-changing {
  opacity: 0.25;
  transform: translateY(3px);
}

.splash-footer {
  position: fixed;
  inset: auto 0 1.4rem 0;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.splash-footer a {
  color: rgba(23, 23, 23, 0.32);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.splash-footer a:hover {
  color: rgba(23, 23, 23, 0.54);
}

@keyframes splashGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes meshDrift {
  0%,
  100% {
    transform: translate(-50%, -56%);
  }
  50% {
    transform: translate(-50%, -58.5%);
  }
}

@media (max-width: 920px) {
  .build-field {
    width: min(96vw, 720px);
    height: min(64vw, 360px);
    transform: translate(-50%, -60%);
  }

  .splash-logo {
    width: min(74vw, 360px);
  }

  .splash-tm {
    right: 12%;
  }
}
