:root {
  --ink: #111111;
  --ink-soft: #333333;
  --muted: #6f6f6f;
  --line: #e7e2da;
  --line-strong: #d6d0c7;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --panel-warm: #f5f1ea;
  --accent: #e45849;
  --accent-deep: #96382f;
  --teal: #0f9f92;
  --blue: #3457d5;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.09);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -44px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 64px;
  background: rgba(251, 250, 247, 0.84);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  backdrop-filter: blur(18px);
  transition: padding 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.solid {
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
}

.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.brand.compact .brand-mark {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.nav-cta::after {
  display: none;
}

.hero-minimal {
  padding: 150px 64px 104px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy-block {
  max-width: 880px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-minimal h1,
.product-hero h1 {
  margin-bottom: 24px;
  font-size: 86px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.16);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
}

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

.button.secondary:hover {
  border-color: var(--ink);
}

.detail-number {
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 86px 64px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.compact-heading {
  display: block;
  max-width: 780px;
}

.section h2,
.product-hero h1 {
  color: var(--ink);
}

.section h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-note {
  margin-bottom: 4px;
  font-size: 15px;
}

.intro-section {
  border-bottom: 1px solid var(--line);
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-title span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-title h3,
.app-card h3,
.detail-card h2 {
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0;
}

.service-title h3 {
  max-width: 460px;
  margin-bottom: 0;
  font-size: 24px;
}

.service-item p {
  max-width: 640px;
  margin-bottom: 0;
  padding-top: 27px;
  font-size: 16px;
}

.apps-section {
  padding-top: 92px;
}

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

.app-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--teal), var(--blue));
  opacity: 0;
  transition: opacity 180ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.app-icon {
  display: block;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.06);
}

.app-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.upcoming-badge {
  border-color: rgba(228, 88, 73, 0.35);
  color: var(--accent-deep);
}

.app-card h3 {
  min-height: 54px;
  font-size: 21px;
}

.app-card p {
  margin-bottom: 24px;
  font-size: 15px;
}

.app-card a {
  margin-top: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.app-card a:hover {
  color: var(--accent-deep);
  text-decoration-color: currentColor;
}

.app-card.upcoming {
  background: var(--panel-warm);
}

.custom-section {
  padding-top: 44px;
}

.custom-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.custom-panel h2 {
  max-width: 720px;
  color: #fff;
}

.custom-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.custom-panel .section-kicker {
  color: #86d8cf;
}

.custom-panel .button.primary {
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}

.custom-panel .button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.product-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 154px 64px 70px;
}

.product-hero .hero-copy {
  max-width: 760px;
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 32px;
}

.detail-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.detail-card h2 {
  margin-top: 28px;
  font-size: 26px;
}

.detail-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.capability-table {
  padding-top: 34px;
}

.capability-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.capability-row:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.capability-row strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 34px 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  text-decoration: none;
}

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

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.policy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 150px 64px 80px;
}

.policy-page h1 {
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: 0;
}

.policy-page h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.policy-page p,
.policy-page li {
  color: var(--muted);
  line-height: 1.68;
}

.policy-page a {
  color: var(--accent-deep);
}

@media (max-width: 1040px) {
  .site-header,
  .hero-minimal,
  .section,
  .product-hero,
  .site-footer,
  .policy-page {
    padding-left: 34px;
    padding-right: 34px;
  }

  .section-heading,
  .custom-panel,
  .service-item {
    grid-template-columns: 1fr;
  }

  .hero-minimal h1,
  .product-hero h1 {
    font-size: 72px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 22px;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero-minimal,
  .section,
  .product-hero,
  .site-footer,
  .policy-page {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-minimal {
    padding-top: 76px;
    padding-bottom: 58px;
  }

  .product-hero {
    padding-top: 72px;
  }

  .hero-minimal h1,
  .product-hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section h2,
  .policy-page h1 {
    font-size: 34px;
  }

  .app-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .app-card,
  .detail-card {
    min-height: 0;
  }

  .service-item {
    gap: 12px;
    padding: 26px 0;
  }

  .service-title h3 {
    font-size: 22px;
  }

  .service-item p {
    padding-top: 0;
    font-size: 15px;
  }

  .app-card h3 {
    min-height: 0;
  }

  .custom-panel {
    padding: 26px;
  }

  .custom-panel .button.primary,
  .custom-panel .button.secondary {
    width: 100%;
    white-space: normal;
  }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
