:root {
  --page: #f7f3eb;
  --page-alt: #fffdf8;
  --card: rgba(255, 255, 255, 0.88);
  --card-strong: #ffffff;
  --ink: #10243e;
  --ink-soft: #4f6178;
  --line: rgba(16, 36, 62, 0.1);
  --line-strong: rgba(16, 36, 62, 0.18);
  --accent: #2457f5;
  --accent-soft: #e5ecff;
  --accent-warm: #ff935c;
  --accent-warm-soft: #fff0e5;
  --shadow: 0 24px 60px rgba(38, 63, 102, 0.12);
  --shadow-soft: 0 16px 34px rgba(38, 63, 102, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 147, 92, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 87, 245, 0.12), transparent 32%),
    linear-gradient(180deg, #fcf8f1 0%, #f7f3eb 46%, #fffdf8 100%);
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  color: #fff;
  background: var(--accent);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 78px;
  background: rgba(247, 243, 235, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition:
    height 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.site-header.scrolled {
  height: 70px;
  background: rgba(255, 253, 248, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(38, 63, 102, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(208px, 21vw, 260px);
  height: 58px;
  overflow: hidden;
}

.brand-wordmark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-footer strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.lang-toggle {
  min-height: 36px;
  padding: 0 14px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-toggle.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(38, 63, 102, 0.12);
}

.site-nav > a:not(.button) {
  color: var(--ink-soft);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.site-nav > a:not(.button):hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #2457f5, #5b87ff);
  box-shadow: 0 18px 34px rgba(36, 87, 245, 0.24);
}

.button-primary:hover {
  box-shadow: 0 22px 38px rgba(36, 87, 245, 0.32);
}

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

.button-secondary:hover,
.button-outline:hover {
  border-color: rgba(36, 87, 245, 0.28);
  background: #fff;
}

.button-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button-full {
  width: 100%;
}

.hero {
  padding-top: 138px;
  overflow: hidden;
}

.hero-grid,
.experience-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: 50px;
  align-items: center;
}

.hero-copy,
.hero-stage,
.section-head,
.feature-card,
.experience-copy,
.experience-board,
.workflow-step,
.faq-card,
.contact-copy,
.contact-form,
.signal-grid {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible,
.section-head.visible,
.feature-card.visible,
.workflow-step.visible,
.faq-card.visible,
.signal-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero-orb-one {
  top: 60px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(84, 135, 255, 0.12);
}

.hero-orb-two {
  top: 120px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: rgba(186, 104, 255, 0.12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 36, 62, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.eyebrow-soft {
  background: rgba(36, 87, 245, 0.08);
  box-shadow: none;
}

.hero-copy h1,
.section-head h2,
.experience-copy h2,
.contact-copy h2 {
  margin: 22px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  color: var(--ink);
  margin-top: 0;
  transform: translateX(-8px);
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, #2e72ff 0%, #556dff 45%, #a64cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead,
.section-head p,
.experience-copy p,
.contact-copy p,
.feature-card p,
.workflow-step p,
.faq-card p,
.signal-band p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-lead {
  max-width: 54ch;
}

.moment-list div,
.board-column,
.workflow-step,
.faq-card,
.feature-card,
.contact-form,
.signal-grid {
  backdrop-filter: blur(14px);
}

.assistant-head,
.footer-shell,
.signal-grid,
.experience-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-shot {
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(38, 63, 102, 0.16);
}

.hero-stage {
  align-self: start;
  margin-top: 16px;
  transform: translateX(16px);
}

.hero-shot-clean {
  border: 1px solid rgba(16, 36, 62, 0.08);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.moment-list div,
.board-column,
.workflow-step,
.feature-card,
.faq-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.moment-list strong,
.experience-list strong,
.board-column strong,
.workflow-step h3,
.feature-card h3,
.faq-card h3 {
  display: block;
  margin: 4px 0 0;
}

.signal-band {
  padding: 20px 0 0;
}

.signal-grid {
  gap: 24px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(36, 87, 245, 0.08);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.signal-grid p {
  max-width: 540px;
  margin: 0;
}

.signal-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.signal-grid li {
  padding: 10px 14px;
  background: rgba(36, 87, 245, 0.08);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.experience-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.feature-grid,
.workflow-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

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

.feature-card {
  padding: 24px;
  min-height: 220px;
}

.feature-index {
  display: inline-block;
  padding: 6px 10px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.42));
}

.experience-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.experience-list div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 36, 62, 0.08);
}

.experience-list div:last-child {
  border-bottom: 0;
}

.experience-list span,
.board-column span,
.contact-form label,
.form-message {
  color: var(--ink-soft);
}

.experience-board {
  gap: 16px;
  align-items: stretch;
}

.board-column {
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.board-column.emphasis {
  color: #fff;
  background: linear-gradient(165deg, #1d4fea, #4f7cff);
  border-color: transparent;
  box-shadow: 0 24px 44px rgba(36, 87, 245, 0.24);
}

.board-column.emphasis small,
.board-column.emphasis span {
  color: rgba(255, 255, 255, 0.82);
}

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

.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--accent);
  border-radius: 14px;
  font-weight: 700;
}

.workflow-step h3,
.faq-card h3 {
  margin: 20px 0 10px;
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(16, 36, 62, 0.12);
  border-radius: 16px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: rgba(36, 87, 245, 0.42);
  box-shadow: 0 0 0 5px rgba(36, 87, 245, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-size: 0.94rem;
}

.form-message.visible {
  color: var(--accent);
}

.site-footer {
  padding: 30px 0 46px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.footer-shell {
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .hero-grid,
  .experience-grid,
  .contact-grid,
  .workflow-grid,
  .faq-list,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .experience-board {
    flex-direction: column;
  }

  .hero-copy h1 {
    max-width: none;
    transform: none;
  }

  .hero-stage {
    margin-top: 0;
    transform: none;
  }

  .signal-grid,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-nav {
    position: fixed;
    top: 78px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 122px;
  }

  .section {
    padding: 88px 0;
  }

  .brand-wordmark {
    width: 100%;
    height: 100%;
  }

  .brand {
    width: clamp(170px, 48vw, 220px);
    height: 46px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .chart-row {
    flex-direction: column;
  }

  .signal-grid ul {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form {
    padding: 20px;
  }

  .signal-grid {
    padding: 18px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .site-footer {
    padding-bottom: 34px;
  }
}
