/* Home: docs/design/Main.dc.html and Mobile-Home.dc.html. */

/* Hero */
.hero { background: #FFFFFF; position: relative; overflow: hidden; }
.hero__inner { max-width: 1200px; margin: 0 auto; padding: 88px 24px 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__subtitle { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--ink-soft); }
.hero__text { font-size: 18px; line-height: 1.65; color: var(--text); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__frame { width: 100%; max-width: 500px; aspect-ratio: 1 / 1; background: var(--cream); border-radius: 40px; display: flex; align-items: center; justify-content: center; position: relative; }
.hero__frame .art { width: 82%; height: auto; }
.hero__image { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

/* Proof strip */
.proof { background: var(--ink); color: #FFFFFF; }
.proof__inner { max-width: 1200px; margin: 0 auto; padding: 36px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.proof__item { display: flex; flex-direction: column; gap: 4px; }
.proof__value { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--yellow); }
.proof__label { font-size: 15px; color: var(--dark-text-soft); }

/* Why choose us */
.why { background: #FFFFFF; }
.why__inner { max-width: 1200px; margin: 0 auto; padding: 112px 24px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.why__art { flex: 1 1 420px; min-width: 0; }
.why__frame { background: var(--blue-tint); border-radius: 40px; aspect-ratio: 1 / 1; max-width: 500px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.why__frame .art { width: 84%; height: auto; }
.why__image { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.why__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.why__head { display: flex; flex-direction: column; gap: 24px; }
.why__text { font-size: 17px; line-height: 1.65; color: var(--text); }
.reasons { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.reason { display: flex; gap: 18px; align-items: flex-start; }
.reason__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.reason h3 { margin: 0 0 6px; font-family: var(--display); font-size: 19px; font-weight: 600; }
.reason p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* AI agents */
.ai { background: var(--ink); color: #FFFFFF; }
.ai__inner { max-width: 1200px; margin: 0 auto; padding: 112px 24px; display: flex; flex-direction: column; gap: 64px; }
.ai__header { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.ai__heading { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.ai__heading h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: #FFFFFF; }
.ai__heading h2 span { color: var(--yellow); }
.ai__intro { flex: 1 1 360px; min-width: 0; font-size: 17px; line-height: 1.65; color: var(--dark-text-soft); max-width: 440px; }
.ai__row { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.capabilities { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.capability { background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.capability .icon { color: var(--yellow); flex: none; }
.capability h3 { font-family: var(--display); font-size: 19px; font-weight: 600; color: #FFFFFF; }
.capability p { font-size: 15px; line-height: 1.6; color: var(--dark-text); }
.trace { flex: 1 1 380px; min-width: 0; background: #1A1A1A; border: 1px solid var(--dark-line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
.trace__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #333333; }
.trace__lights { display: flex; gap: 6px; }
.trace__lights span { width: 10px; height: 10px; border-radius: 99px; background: var(--yellow); }
.trace__lights span:nth-child(2) { background: var(--orange); }
.trace__lights span:nth-child(3) { background: var(--blue); }
.trace__caption { font-size: 12px; color: var(--muted); }
.trace__step { display: flex; gap: 12px; align-items: flex-start; }
.trace__number { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--blue); color: #FFFFFF; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.trace__step.is-last .trace__number { background: var(--yellow); color: var(--ink); }
.trace__body { font-size: 13px; line-height: 1.55; color: #E9E9E9; }
.trace__note { color: var(--muted); }
.trace__code { color: var(--yellow); }
.trace__status { color: #7FD18B; }
.trace__chips { margin-top: auto; padding-top: 14px; border-top: 1px solid #333333; display: flex; gap: 8px; flex-wrap: wrap; font-family: Inter, sans-serif; }
.trace__chips span { font-size: 12px; color: #E9E9E9; border: 1px solid var(--dark-line); padding: 6px 10px; border-radius: 999px; }
.process { display: flex; flex-direction: column; gap: 24px; }
.process__body { display: contents; }
.process h3 { font-family: var(--display); font-size: 22px; font-weight: 600; color: #FFFFFF; }
.process__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.process__step { border-top: 3px solid var(--yellow); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.process__rail, .process__text { display: contents; }
.process__line { display: none; }
.process__number { font-size: 13px; font-weight: 600; color: var(--yellow); }
.process__title { font-family: var(--display); font-size: 17px; font-weight: 600; }
.process__detail { font-size: 14px; line-height: 1.55; color: var(--dark-text); }
.process > .btn { align-self: flex-start; margin-top: 8px; }

/* Services */
.services { background: var(--paper); }
.services__inner { max-width: 1200px; margin: 0 auto; padding: 112px 24px; display: flex; flex-direction: column; gap: 56px; }
.services__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.services__heading { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.services__all { font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.services__all--bottom { display: none; }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card { background: #FFFFFF; border: 1.5px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: all .2s; color: var(--ink); }
.service-card:hover { border-color: var(--yellow); transform: translateY(-4px); color: var(--ink); }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.service-card__icon img { width: 36px; height: 36px; object-fit: contain; }
.service-card__body { display: contents; }
.service-card h3 { font-family: var(--display); font-size: 20px; font-weight: 600; }
.service-card p { font-size: 16px; line-height: 1.6; color: var(--text); }
.service-card__arrow { display: none; }

@media (max-width: 1024px) {
  .hero__inner { gap: 32px; }
  .why__inner { padding: 72px 24px; gap: 40px; }
  .ai__inner { padding: 72px 24px; gap: 40px; }
  .services__inner { padding: 72px 24px; gap: 32px; }
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 700px) and (max-width: 1024px) {
  .hero__copy, .why__copy { flex-basis: 340px; }
  .hero__art, .why__art { flex-basis: 260px; }
}

@media (max-width: 699px) {
  .hero__inner { padding: 28px 20px 40px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px; }
  .hero__copy { display: contents; }
  .hero__art { order: 1; flex: none; }
  .hero__text { order: 2; font-size: 16px; line-height: 1.6; max-width: none; }
  .hero__actions { order: 3; }
  .hero__actions .btn { width: 100%; }
  .hero .page-title { font-size: 44px; }
  .hero__subtitle { font-size: 18px; }
  .hero__frame { max-width: none; aspect-ratio: auto; height: 280px; border-radius: 28px; overflow: hidden; }
  .hero__frame .art { height: 86%; width: auto; }
  .hero .btn, .process > .btn { justify-content: center; height: 52px; width: 100%; box-sizing: border-box; padding: 0; }

  .proof__inner { display: flex; flex-direction: column; gap: 0; padding: 12px 20px; }
  .proof__item { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
  .proof__item + .proof__item { border-top: 1px solid var(--dark-line); }
  .proof__value { font-size: 22px; flex: none; }
  .proof__label { font-size: 13px; text-align: right; max-width: 170px; }

  .why__inner { padding: 56px 20px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 24px; }
  .why__copy { display: contents; }
  .why__head { gap: 10px; }
  .why__art { order: 1; flex: none; }
  .why__text { order: 2; font-size: 15px; line-height: 1.6; }
  .reasons { order: 3; gap: 18px; margin-top: 0; }
  .why__frame { max-width: none; aspect-ratio: auto; height: 220px; border-radius: 28px; overflow: hidden; }
  .why__frame .art { height: 86%; width: auto; }
  .reason { gap: 14px; }
  .reason__icon { width: 44px; height: 44px; border-radius: 12px; }
  .reason__icon .icon { width: 22px; height: 22px; }
  .reason__body { display: flex; flex-direction: column; gap: 4px; }
  .reason h3 { margin: 0; font-size: 17px; line-height: 1.3; }
  .reason p { font-size: 14px; line-height: 1.55; }

  .ai__inner { padding: 56px 20px; gap: 24px; }
  .ai__header, .ai__heading, .ai__row { display: contents; }
  .ai__heading h2 { font-size: 28px; line-height: 1.18; }
  .ai__intro { flex: none; max-width: none; font-size: 15px; line-height: 1.6; }
  .capabilities { flex: none; }
  .capability { padding: 22px; gap: 10px; }
  .capability .icon { width: 26px; height: 26px; }
  .capability h3 { font-size: 17px; line-height: 1.3; }
  .capability p { font-size: 14px; }
  .trace { flex: none; border-radius: 20px; padding: 20px; }
  .process { display: contents; }
  .process__body { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
  .process h3 { font-size: 19px; line-height: 1.3; }
  .process__steps { display: flex; flex-direction: column; gap: 0; }
  .process__step { border-top: 0; padding-top: 0; flex-direction: row; gap: 14px; }
  .process__rail { display: flex; flex-direction: column; align-items: center; }
  .process__number { width: 28px; height: 28px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
  .process__line { display: block; flex: 1; width: 2px; background: var(--dark-line); margin: 4px 0; }
  .process__step:last-child .process__line { display: none; }
  .process__text { display: flex; flex-direction: column; gap: 2px; padding-top: 3px; padding-bottom: 18px; }
  .process__step:last-child .process__text { padding-bottom: 0; }
  .process__title { font-size: 16px; color: #FFFFFF; }
  .process__detail { line-height: 1.5; }
  .process > .btn { margin-top: 0; align-self: stretch; }

  .services__inner { padding: 56px 20px; gap: 24px; }
  .services__heading { gap: 10px; }
  .services__all--top { display: none; }
  .services__all--bottom { display: flex; justify-content: center; height: 52px; width: 100%; box-sizing: border-box; border: 1.5px solid var(--line-input); border-radius: 999px; color: var(--ink); }
  .service-cards { display: flex; flex-direction: column; gap: 0; }
  .service-card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0; flex-direction: row; align-items: flex-start; }
  .service-card:hover { transform: none; }
  .service-card__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; }
  .service-card__icon .icon { width: 22px; height: 22px; }
  .service-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .service-card h3 { font-size: 17px; line-height: 1.3; }
  .service-card p { font-size: 14px; line-height: 1.55; }
  .service-card__arrow { display: block; color: var(--blue); padding-top: 12px; }
}
