:root {
  --ink: #0e1726;
  --muted: #536177;
  --paper: #f8fbff;
  --panel: #ffffff;
  --deep: #071224;
  --deep-2: #10213b;
  --line: #dbe5f2;
  --aqua: #16d1ad;
  --gold: #f5a63f;
  --rose: #ee6f74;
  --shadow: 0 18px 48px rgba(10, 23, 46, 0.16);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 18, 36, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Outfit", sans-serif;
  color: #fff;
  font-weight: 800;
  font-size: 1.08rem;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  color: #d7e5f8;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-cta {
  color: #071224;
  background: var(--aqua);
  padding: 8px 13px;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(110deg, rgba(3, 8, 20, 0.94) 0%, rgba(7, 18, 36, 0.76) 48%, rgba(10, 20, 35, 0.88) 100%),
    radial-gradient(circle at 72% 28%, rgba(22, 209, 173, 0.35), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 0 120px;
}

.hero-proof {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof span {
  padding: 16px 18px;
  background: rgba(7, 18, 36, 0.62);
  font-weight: 700;
  text-align: center;
}

.origin-section {
  padding: clamp(42px, 6vw, 78px) 0;
  color: #fff;
  background: linear-gradient(135deg, #10213b 0%, #0b1729 58%, #0f342f 100%);
}

.origin-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 34px;
  align-items: start;
}

.origin-grid .eyebrow {
  color: var(--gold);
  margin-top: 8px;
}

.origin-grid h2 {
  max-width: 920px;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.origin-grid p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

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

h1, h2, h3 {
  font-family: "Outfit", sans-serif;
  line-height: 1.08;
  margin: 0 0 14px;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p { margin: 0 0 14px; }
.lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  color: #06201d;
  background: var(--aqua);
  box-shadow: 0 14px 28px rgba(22, 209, 173, 0.25);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card,
.faq-item,
.steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.service-card.featured {
  border-color: rgba(245, 166, 63, 0.45);
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 72%);
}

.service-topline {
  margin-bottom: 18px;
  color: var(--rose);
  font-weight: 800;
  font-size: 0.9rem;
}

.service-card p { color: var(--muted); }
.service-card ul,
.portrait-card ul {
  margin: 10px 0 22px;
  padding-left: 20px;
}

.service-card li + li,
.portrait-card li + li {
  margin-top: 8px;
}

.text-link {
  margin-top: auto;
  color: #0c5f53;
  font-weight: 800;
}

.audience-section {
  background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.audience-cards article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.audience-cards p {
  color: var(--muted);
}

.audience-cards ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.audience-cards li + li {
  margin-top: 8px;
}

.trust-band {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(16, 33, 59, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(16, 33, 59, 0.12);
}

.trust-band span {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.app-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.92)),
    url("./assets/img/ai-portrait.jpg") right center / auto 100% no-repeat;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.app-grid > div:first-child {
  max-width: 690px;
}

.app-grid p:not(.eyebrow) {
  color: var(--muted);
}

.app-actions {
  margin-top: 28px;
}

.app-panel {
  border: 1px solid rgba(16, 33, 59, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 26px;
  backdrop-filter: blur(8px);
}

.app-list {
  display: grid;
  gap: 14px;
}

.app-list article {
  padding: 16px;
  border-radius: var(--radius);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.app-list span {
  display: block;
  margin-bottom: 6px;
  color: #0c5f53;
  font-weight: 800;
}

.app-list p {
  margin: 0;
}

.section-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
}

.section-dark p { color: rgba(255, 255, 255, 0.78); }

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.portrait-card {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 32% center;
  border-radius: var(--radius);
}

.steps-section {
  background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  padding: 24px;
  box-shadow: none;
}

.steps span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.steps p,
.faq-item p {
  color: var(--muted);
}

.book-section {
  background: #fff;
}

.book-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.book-visual {
  max-width: 370px;
  margin-inline: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 26px 36px rgba(10, 23, 46, 0.22));
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #fff4e3;
  color: #593b12;
  font-weight: 700;
}

.faq-section {
  background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 24px;
  box-shadow: none;
}

.contact-block {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 18, 36, 0.92), rgba(12, 35, 56, 0.9)),
    url("./assets/img/ai-portrait.jpg") center / cover;
}

.contact-inner {
  max-width: 760px;
  text-align: center;
}

.contact-inner .eyebrow {
  color: var(--gold);
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.07rem;
}

.site-footer {
  background: #030814;
  color: #b7c7df;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.93rem;
}

.footer-inner p { margin: 0; }

.landing-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(3, 8, 20, 0.94), rgba(7, 18, 36, 0.72)),
    url("./assets/img/hero-bg.jpg") center / cover;
}

.landing-hero .container {
  position: relative;
  z-index: 1;
}

.landing-hero h1 {
  max-width: 15ch;
}

.landing-lead {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.landing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.content-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.content-panel p {
  color: var(--muted);
}

.check-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.check-list li + li {
  margin-top: 10px;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list article {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.proof-list h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.proof-list p {
  margin: 0;
  color: var(--muted);
}

.repo-section {
  background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%);
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.repo-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.repo-kicker {
  margin-bottom: 14px;
  color: var(--rose);
  font-weight: 800;
  font-size: 0.9rem;
}

.repo-card p {
  color: var(--muted);
}

.repo-card ul {
  margin: 14px 0;
  padding-left: 20px;
}

.repo-card li + li {
  margin-top: 8px;
}

.repo-value {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.process-section {
  background: #fff;
}

.build-section {
  background: #fff;
}

@media (max-width: 920px) {
  .service-grid,
  .audience-cards,
  .trust-band,
  .landing-grid,
  .repo-grid,
  .app-grid,
  .steps,
  .faq-grid,
  .split-grid,
  .book-grid,
  .origin-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    grid-template-columns: 1fr;
  }

  .portrait-card img {
    max-height: 360px;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    justify-content: flex-start;
    gap: 10px 13px;
  }

  nav a {
    font-size: 0.88rem;
  }

  .nav-cta {
    padding: 6px 10px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    padding: 92px 0 78px;
  }

  .service-card,
  .faq-item,
  .steps article {
    padding: 20px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
