:root {
  color-scheme: light;
  --ink: #10141f;
  --muted: #667085;
  --soft: #f5f6f8;
  --panel: #ffffff;
  --line: #e5e8ef;
  --accent: #0c7a5b;
  --accent-soft: #e9f7f1;
  --gold: #b88a35;
  --blue: #365b82;
  --shadow: 0 24px 70px rgba(18, 25, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfbfa;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 251, 250, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(16, 20, 31, 0.08);
  box-shadow: 0 10px 30px rgba(16, 20, 31, 0.05);
}

.brand {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  font-weight: 900;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: calc(100svh - 80px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.68fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  padding: 44px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7.4vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.15;
}

.hero-text,
.section-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
}

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

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

.button.compact {
  min-height: 42px;
  white-space: nowrap;
}

.portrait-panel {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  filter: saturate(0.95) contrast(1.02);
}

.portrait-card {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: flex;
  max-width: 278px;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(16, 20, 31, 0.15);
  backdrop-filter: blur(14px);
}

.portrait-card strong,
.portrait-card span {
  display: block;
  font-size: 13px;
}

.portrait-card span {
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.signal-strip {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto 88px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.signal-strip div {
  padding: 22px;
  background: var(--panel);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.signal-strip span {
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: clamp(34px, 7vw, 84px);
  padding: 42px 0 94px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.timeline article span,
.product-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline article p,
.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.products {
  position: relative;
  overflow: hidden;
  padding: 94px 0 104px;
  background:
    radial-gradient(circle at 20% 0%, rgba(12, 122, 91, 0.09), transparent 34%),
    linear-gradient(180deg, #f7f8fa 0%, #f1f3f6 100%);
  border-block: 1px solid var(--line);
}

.products-head {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(229, 232, 239, 0.92);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    var(--panel);
  box-shadow: 0 18px 55px rgba(18, 25, 38, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 122, 91, 0.22);
  box-shadow: 0 30px 80px rgba(18, 25, 38, 0.13);
}

.product-card.featured {
  display: grid;
  min-height: 360px;
  grid-column: span 3;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(16, 20, 31, 0.97), rgba(28, 42, 59, 0.95)),
    var(--ink);
  color: white;
  box-shadow: 0 34px 95px rgba(16, 20, 31, 0.22);
}

.product-card.featured::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.06);
  content: "AI";
  font-size: 160px;
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.product-icon-wrap {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.88),
    0 18px 36px rgba(16, 20, 31, 0.14);
}

.product-card.featured .product-icon-wrap {
  width: 154px;
  height: 154px;
  margin-bottom: 0;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 28px 70px rgba(0, 0, 0, 0.28);
}

.product-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.product-card h3 {
  margin: 10px 0 10px;
  font-size: 27px;
  letter-spacing: 0;
}

.product-card.featured h3 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.95;
}

.product-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.product-card.featured p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.product-copy {
  position: relative;
  z-index: 1;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card.featured .product-meta span {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.product-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: #3f4655;
  font-size: 12px;
  font-weight: 800;
}

.product-card.featured .product-tags span {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.76);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.store-button {
  display: inline-flex;
  min-width: 148px;
  min-height: 50px;
  flex-direction: column;
  justify-content: center;
  border-radius: 13px;
  padding: 8px 14px 9px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  line-height: 1.05;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.product-card.featured .store-button {
  background: white;
  color: var(--ink);
}

.store-button:hover {
  transform: translateY(-1px);
  background: #1f2937;
}

.product-card.featured .store-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.store-button small {
  font-size: 10px;
  font-weight: 700;
}

.store-button strong {
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.product-card.featured .text-link {
  color: rgba(255, 255, 255, 0.86);
}

.stack-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 72px);
  padding: 94px 0;
  align-items: start;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stack-grid span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: #343b4a;
  font-size: 14px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.legal-page {
  padding-bottom: 76px;
}

.legal-hero {
  padding: 84px 0 26px;
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 76px);
}

.legal-document {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(18, 25, 38, 0.08);
}

.legal-document h2 {
  margin: 30px 0 10px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 16px;
}

.legal-document a {
  color: var(--accent);
  font-weight: 800;
}

.legal-document ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.support-grid section {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfa;
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .stack-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .portrait-panel {
    max-width: 520px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

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

  .product-card.featured {
    grid-column: span 2;
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
  }

  h1 {
    font-size: 43px;
  }

  .portrait-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .product-grid,
  .product-card.featured,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: span 1;
  }

  .products-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card.featured .product-icon-wrap {
    width: 112px;
    height: 112px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}
