:root {
  --ink: #0b1020;
  --navy: #0c1228;
  --navy-light: #151c38;
  --violet: #655bf5;
  --violet-dark: #4f46d7;
  --mint: #43d8bd;
  --paper: #ffffff;
  --soft: #f5f6fb;
  --muted: #5d667a;
  --line: #dfe3ed;
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(13, 20, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Manrope, Inter, Arial, sans-serif;
  line-height: 1.1;
}

h1 {
  max-width: 11ch;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--violet-dark);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 9px;
  color: white;
  background: var(--violet-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #8b82ff;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(11, 16, 32, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand img {
  width: 218px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav > a:not(.btn) {
  position: relative;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--violet);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 43px;
  padding-inline: 19px;
}

.btn-dark {
  color: white;
  background: var(--navy);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  box-shadow: 0 14px 32px rgba(101, 91, 245, 0.26);
}

.btn-secondary {
  border-color: #c8ccd8;
  background: rgba(255, 255, 255, 0.72);
}

.btn-white {
  color: var(--navy);
  background: white;
}

.btn-outline-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
  background:
    radial-gradient(circle at 88% 14%, rgba(101, 91, 245, 0.2), transparent 28%),
    radial-gradient(circle at 73% 87%, rgba(67, 216, 189, 0.13), transparent 26%),
    linear-gradient(135deg, #f9faff 0%, #ffffff 48%, #f0f4ff 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 16, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 16, 32, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 46%, black);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 72px;
}

.launch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 12px;
  border: 1px solid rgba(79, 70, 215, 0.18);
  border-radius: 999px;
  color: #453dbc;
  background: rgba(101, 91, 245, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(67, 216, 189, 0.16);
}

.launch-label-light {
  color: #ddd9ff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.eyebrow {
  margin: 0 0 17px;
  color: #4f46c7;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #aaa4ff;
}

.hero-lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.13rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #394153;
  font-size: 0.84rem;
  font-weight: 700;
}

.trust-list li::before {
  margin-right: 8px;
  color: #168b79;
  content: "✓";
}

.product-visual {
  position: relative;
}

.visual-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(95px);
  opacity: 0.24;
}

.app-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 27px;
  color: #edf1ff;
  background:
    radial-gradient(circle at 90% 0, rgba(101, 91, 245, 0.33), transparent 30%),
    linear-gradient(145deg, var(--navy-light), var(--navy));
  box-shadow: 0 42px 100px rgba(9, 14, 32, 0.3);
  transform: perspective(1100px) rotateY(-3deg);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.app-top span,
.app-top strong {
  display: block;
}

.app-top span {
  color: #9da9c4;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.app-top strong {
  margin-top: 3px;
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
}

.app-top > b {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #72e5d1;
  font-size: 0.63rem;
}

.app-top > b i,
.app-foot span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.portfolio-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.portfolio-summary article {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.portfolio-summary span,
.portfolio-summary strong,
.portfolio-summary small {
  display: block;
}

.portfolio-summary span,
.portfolio-summary small {
  color: #9aa7c0;
  font-size: 0.62rem;
}

.portfolio-summary strong {
  font-size: 1.55rem;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.67rem;
}

.profile-row > span {
  color: #9aa7c0;
}

.profile-row b {
  padding: 4px 8px;
  border: 1px solid rgba(133, 124, 255, 0.38);
  border-radius: 6px;
  color: #c9c5ff;
  background: rgba(101, 91, 245, 0.13);
}

.profile-row small {
  margin-left: auto;
  color: #75dfcd;
}

.routine-list {
  display: grid;
  gap: 9px;
}

.routine-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.routine-list i {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  color: #bab5ff;
  background: rgba(101, 91, 245, 0.16);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.routine-list i.done {
  color: #0b3c35;
  background: var(--mint);
}

.routine-list div {
  flex: 1;
}

.routine-list b,
.routine-list small {
  display: block;
}

.routine-list b {
  font-size: 0.73rem;
}

.routine-list small {
  color: #94a1b8;
  font-size: 0.61rem;
}

.routine-list > article > span {
  color: #71ddca;
  font-size: 0.59rem;
  font-weight: 700;
}

.app-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: #97a4bb;
  font-size: 0.6rem;
}

.app-foot span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.context-strip {
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.context-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.context-grid p {
  margin: 0;
  font-weight: 800;
}

.context-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-grid span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #4a5366;
  background: var(--soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

.profiles-section {
  background:
    radial-gradient(circle at 10% 90%, rgba(67, 216, 189, 0.08), transparent 28%),
    white;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.profile-card {
  min-height: 430px;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 22, 46, 0.07);
}

.profile-card-pj {
  color: #f3f5ff;
  border-color: transparent;
  background:
    radial-gradient(circle at 92% 8%, rgba(101, 91, 245, 0.35), transparent 30%),
    var(--navy);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 63px;
}

.profile-top span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--violet);
  font-weight: 800;
}

.profile-card-pj .profile-top span {
  color: var(--navy);
  background: var(--mint);
}

.profile-top small {
  color: var(--muted);
  font-weight: 700;
}

.profile-card-pj .profile-top small,
.profile-card-pj p {
  color: #aeb9cf;
}

.profile-card p {
  color: var(--muted);
}

.profile-card ul {
  display: grid;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-card li::before {
  margin-right: 9px;
  color: var(--mint);
  content: "✓";
}

.workflow-section {
  color: white;
  background:
    radial-gradient(circle at 0 100%, rgba(67, 216, 189, 0.13), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(101, 91, 245, 0.24), transparent 30%),
    var(--navy);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 88px;
}

.workflow-copy > p:not(.eyebrow) {
  color: #acb7cd;
}

.text-link-light {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--mint);
  color: white;
  font-weight: 800;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list > li > span {
  color: #8d85ff;
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.workflow-list h3 {
  margin-bottom: 7px;
}

.workflow-list p {
  margin: 0;
  color: #aab5ca;
}

.capabilities-section {
  background: var(--soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability-grid article {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.capability-grid article > span {
  display: block;
  margin-bottom: 50px;
  color: var(--violet-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.capability-grid p {
  color: var(--muted);
}

.capability-wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: auto 1fr;
  gap: 27px;
}

.capability-wide > span {
  margin: 5px 0 !important;
}

.capability-dark {
  color: white;
  border: 0 !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(101, 91, 245, 0.36), transparent 32%),
    var(--navy) !important;
}

.capability-dark p {
  color: #adb8cc;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 23px;
}

.chips b {
  padding: 6px 10px;
  border-radius: 7px;
  color: #453dbc;
  background: #eeecff;
  font-size: 0.7rem;
}

.trust-section {
  background: white;
}

.trust-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 15%, rgba(67, 216, 189, 0.14), transparent 30%),
    #fbfcff;
  box-shadow: var(--shadow);
}

.trust-panel > div > p:last-child {
  color: var(--muted);
}

.trust-panel aside {
  padding: 27px;
  border-left: 4px solid var(--mint);
  border-radius: 0 14px 14px 0;
  background: white;
  box-shadow: 0 15px 40px rgba(15, 22, 46, 0.08);
}

.trust-panel aside b {
  color: #453dbc;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-panel aside p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-section {
  background: var(--soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.faq-list details {
  padding: 23px 0;
  border-bottom: 1px solid #d4d9e5;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font: 700 1.02rem Manrope, sans-serif;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  float: right;
  color: var(--violet);
  content: "+";
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 64ch;
  color: var(--muted);
}

.final-cta {
  padding: 38px 0 92px;
  background: var(--soft);
}

.final-panel {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  align-items: center;
  gap: 54px;
  padding: 58px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 86% 15%, rgba(101, 91, 245, 0.5), transparent 34%),
    radial-gradient(circle at 15% 100%, rgba(67, 216, 189, 0.13), transparent 33%),
    var(--navy);
  box-shadow: var(--shadow);
}

.final-panel h2 {
  margin-bottom: 13px;
}

.final-panel p {
  margin: 0;
  color: #b0bbcf;
}

footer {
  padding: 56px 0 22px;
  color: #a9b4c7;
  background: #070b17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 50px;
}

.footer-grid img {
  width: 225px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer-grid p {
  max-width: 36ch;
}

.footer-grid b {
  display: block;
  margin-bottom: 13px;
  color: white;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.motion-ready .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 81px;
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-grid,
  .workflow-grid,
  .trust-panel,
  .faq-grid,
  .final-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 60px;
  }

  .app-card {
    max-width: 640px;
    margin-inline: auto;
    transform: none;
  }

  .workflow-grid,
  .faq-grid {
    gap: 50px;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .brand img {
    width: 188px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    padding: 66px 0 72px;
  }

  .section {
    padding: 82px 0;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .trust-list {
    display: grid;
  }

  .portfolio-summary article:nth-child(3) {
    display: none;
  }

  .portfolio-summary {
    grid-template-columns: 1fr 1fr;
  }

  .app-card {
    padding: 18px;
    border-radius: 20px;
  }

  .app-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .routine-list > article > span,
  .profile-row small {
    display: none;
  }

  .context-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: auto;
    padding: 27px;
  }

  .profile-top {
    margin-bottom: 44px;
  }

  .capability-wide {
    display: block;
    grid-column: auto;
  }

  .capability-wide > span {
    margin-bottom: 50px !important;
  }

  .trust-panel,
  .final-panel {
    gap: 36px;
    padding: 30px;
    border-radius: 21px;
  }

  .workflow-list li {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-ready .reveal,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .site-nav > a::after {
    transition: none;
  }
}
