:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e6e8ec;
  --surface: #f7f8fa;
  --white: #ffffff;
  --navy: #0d1730;
  --teal: #06b6d4;
  --cyan: #67e8f9;
  --amber: #84cc16;
  --shadow: 0 30px 90px rgba(17, 24, 39, 0.12);
}

@font-face {
  font-family: "Millik";
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/Millik.ttf") format("truetype");
}

@font-face {
  font-family: "Moderat";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Moderat-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Moderat";
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/Moderat-Bold.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.preload,
html.preload body {
  overflow: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(8, 127, 122, 0.13), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 46%, #ffffff 100%);
  color: var(--ink);
  font-family: "Moderat", "Inter", Arial, sans-serif;
}

a {
  color: inherit;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 34%, rgba(6, 182, 212, 0.13), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

html.preload .intro-loader {
  display: grid;
}

html.preload-done .intro-loader {
  animation: introExit 0.68s ease forwards;
}

.intro-inner {
  display: grid;
  justify-items: center;
  gap: 26px;
  transform: translateY(-12px);
}

.intro-logo {
  width: min(720px, 92vw);
  height: auto;
  overflow: visible;
}

.intro-wire-shadow {
  opacity: 0;
  animation: wireShadow 0.7s ease 0.15s forwards;
}

.intro-wire {
  stroke-dasharray: 820;
  stroke-dashoffset: 820;
  animation: drawWire 2.65s cubic-bezier(0.7, 0, 0.2, 1) 0.35s forwards;
}

.intro-accent {
  opacity: 0;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawAccent 0.7s ease forwards;
}

.intro-accent-one {
  animation-delay: 2.05s;
}

.intro-accent-two {
  animation-delay: 2.45s;
}

.intro-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePop 0.44s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.node-one {
  animation-delay: 0.35s;
}

.node-two {
  animation-delay: 1.35s;
}

.node-three {
  animation-delay: 1.95s;
}

.node-four {
  animation-delay: 2.75s;
}

.intro-wordmark {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: wordmarkIn 0.82s ease 3.15s forwards;
}

.intro-wordmark strong {
  color: var(--ink);
  font-family: "Millik", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: 0;
}

.intro-wordmark span {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

@keyframes drawWire {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawAccent {
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes nodePop {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wordmarkIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wireShadow {
  to {
    opacity: 1;
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
  }
}

.site-header {
  width: min(1180px, calc(100% - 36px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.site-header nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand,
.site-header a,
.button,
.credibility a {
  text-decoration: none;
}

.brand {
  line-height: 0;
}

.brand img {
  display: block;
  width: 192px;
  height: auto;
}

.site-header nav {
  gap: 28px;
  color: #475467;
  font-size: 0.95rem;
  font-weight: 700;
}

.header-action {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  font-weight: 800;
}

.hero,
.credibility,
.positioning,
.solutions,
.products,
.visual-section,
.consultation,
.contact,
footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0 94px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 760px;
  font-family: "Millik", Georgia, serif;
  font-size: clamp(2.3rem, 4.45vw, 4.55rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-grid;
  place-items: center;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
}

.system-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.system-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.system-card-top strong {
  color: var(--ink);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 38px 0;
}

.workflow span {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface);
  color: var(--navy);
  font-weight: 900;
}

.workflow span:first-child,
.workflow span:last-child {
  background: var(--navy);
  color: white;
}

.workflow span:nth-child(3) {
  background: #e8f7f4;
  color: var(--teal);
}

.system-note {
  padding: 24px;
  border-radius: 20px;
  background: #fff7ed;
}

.system-note p {
  margin: 8px 0 0;
  color: #7a5a35;
  line-height: 1.6;
}

.product-stack {
  position: relative;
  min-height: 610px;
}

.people-preview {
  position: relative;
  width: 100%;
  height: 610px;
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.people-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 48, 0) 56%, rgba(13, 23, 48, 0.16) 100%),
    radial-gradient(circle at 18% 18%, rgba(152, 245, 225, 0.2), transparent 24rem);
  pointer-events: none;
}

.people-preview img,
.consultation-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.preview-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.smart-preview {
  left: 0;
  top: 240px;
  width: 76%;
  min-height: 330px;
  background: linear-gradient(135deg, #4b9b30, #6fc03a);
  color: white;
}

.preview-nav {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #252525;
}

.app-icon,
.wim-icon,
.church-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  font-weight: 900;
}

.app-icon {
  background: #58a832;
}

.wim-icon {
  background: #7c55ee;
}

.church-icon {
  background: #6673f1;
}

.preview-body {
  max-width: 460px;
  margin: 58px auto 0;
  text-align: center;
  padding: 0 28px;
}

.preview-body span {
  display: inline-block;
  margin-bottom: 24px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.preview-body h2 {
  margin: 0 0 18px;
  color: white;
  font-family: "Moderat", "Inter", Arial, sans-serif;
  font-size: 2.05rem;
  line-height: 1.08;
  font-weight: 900;
}

.preview-body p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.chat-preview {
  right: 0;
  top: 530px;
  width: 58%;
  min-height: 270px;
}

.chat-head {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #15151f;
  color: white;
}

.chat-head i {
  margin-left: auto;
  color: #8cd7ad;
  font-style: normal;
  font-size: 0.82rem;
}

.chat-bubble {
  width: 74%;
  margin: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #303030;
  line-height: 1.45;
}

.chat-bubble.reply {
  margin-left: auto;
  background: #111;
  color: white;
}

.login-preview {
  left: 34px;
  bottom: 0;
  width: 46%;
  min-height: 270px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 26px;
  background: #f8fafc;
}

.login-preview p {
  margin: 0;
  color: var(--muted);
}

.login-preview div {
  width: 100%;
  height: 42px;
  border: 1px solid #e0e5ee;
  border-radius: 10px;
  background: white;
}

.login-preview button,
.login-mini button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #6673f1;
  color: white;
  font: inherit;
  font-weight: 800;
}

.credibility {
  padding: 32px 0 96px;
  border-top: 1px solid var(--line);
}

.credibility p {
  margin-bottom: 26px;
  color: var(--muted);
  font-weight: 800;
}

.credibility div {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 28px;
  align-items: center;
}

.credibility a,
.credibility span {
  color: rgba(17, 24, 39, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 900;
  white-space: nowrap;
}

.work-showcase {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 18px;
  margin-top: 42px;
}

.work-card {
  min-height: 430px;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}

.work-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
  font-weight: 900;
}

.work-card h3 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.work-card p {
  color: var(--muted);
  line-height: 1.7;
}

.work-card.smart {
  background: linear-gradient(135deg, #4b9b30, #72c43e);
  color: white;
}

.work-card.smart p {
  color: rgba(255, 255, 255, 0.82);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 42px;
}

.mini-stats span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.mini-stats strong {
  color: white;
  font-size: 1.35rem;
}

.work-card.wim {
  background: #fbfaff;
}

.chat-window {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 20px 60px rgba(72, 52, 142, 0.12);
}

.chat-window span,
.chat-window strong {
  padding: 12px;
  border-radius: 12px;
}

.chat-window span {
  border: 1px solid var(--line);
}

.chat-window strong {
  justify-self: end;
  background: #111;
  color: white;
  font-size: 0.9rem;
}

.work-card.church {
  background: #f4f7fb;
}

.login-mini {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: white;
}

.login-mini span {
  height: 40px;
  border: 1px solid #e0e5ee;
  border-radius: 10px;
}

.positioning,
.consultation {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 58px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.consultation-photo {
  height: 360px;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.positioning h2,
.solution h2,
.section-title h2,
.visual-section h2,
.consultation h2,
.contact h2 {
  margin-bottom: 0;
  font-family: "Millik", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}

.positioning > p,
.solution p,
.visual-section p,
.consultation p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.consultation p:not(.eyebrow) {
  margin-top: 24px;
}

.solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 104px 0;
}

.solution {
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.solution.feature {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.solution.dark {
  background: var(--navy);
  color: white;
}

.solution.dark .eyebrow,
.solution.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.solution h3 {
  margin-bottom: 20px;
  font-size: clamp(1.1rem, 1.8vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.products {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 880px;
  margin-bottom: 42px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-list article {
  min-height: 300px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
}

.product-list span {
  color: var(--teal);
  font-weight: 900;
}

.product-list h3 {
  margin: 76px 0 14px;
  font-size: 1.32rem;
}

.product-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.visual-section {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 56px;
  align-items: center;
  padding: 104px 0;
}

.visual-section img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.visual-section p:not(.eyebrow) {
  margin-top: 26px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: 54px;
  align-items: stretch;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.contact address {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 32px;
  border-radius: 24px;
  background: var(--navy);
  color: white;
  font-style: normal;
}

.contact address a {
  color: white;
  font-size: 2rem;
  font-weight: 900;
}

.contact address span {
  color: rgba(255, 255, 255, 0.72);
}

footer {
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer div {
  display: grid;
  gap: 6px;
}

footer strong {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 940px) {
  .site-header nav {
    display: none;
  }

  .hero,
  .positioning,
  .visual-section,
  .consultation,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .product-stack {
    min-height: auto;
  }

  .credibility div,
  .product-list,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card.smart {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .credibility,
  .work-showcase,
  .positioning,
  .solutions,
  .products,
  .visual-section,
  .consultation,
  .contact,
  footer {
    width: calc(100% - 28px);
  }

  .site-header {
    height: 74px;
  }

  .brand {
    max-width: 210px;
  }

  .brand img {
    width: 170px;
  }

  .intro-loader {
    padding: 20px;
  }

  .intro-logo {
    width: 94vw;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: clamp(2.05rem, 9.6vw, 2.9rem);
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .button {
    width: 100%;
  }

  .workflow,
  .credibility div,
  .work-grid,
  .solutions,
  .product-list {
    grid-template-columns: 1fr;
  }

  .product-stack {
    min-height: auto;
  }

  .people-preview {
    height: 360px;
    border-radius: 24px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .positioning h2,
  .solution h2,
  .section-title h2,
  .visual-section h2,
  .consultation h2,
  .contact h2 {
    font-size: clamp(1.4rem, 7.2vw, 2.1rem);
  }

  .solution {
    min-height: auto;
    padding: 26px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-wire,
  .intro-accent,
  .intro-node,
  .intro-wordmark,
  .intro-wire-shadow,
  html.preload-done .intro-loader {
    animation-duration: 0.01ms;
    animation-delay: 0ms;
  }
}
