:root {
  color-scheme: light;
  --ink: #172236;
  --muted: #5d6c7f;
  --soft: #eef5fa;
  --paper: #ffffff;
  --line: #d9e5ee;
  --blue: #155f9f;
  --blue-dark: #0d3f6c;
  --green: #11835b;
  --amber: #d88a17;
  --shadow: 0 18px 48px rgba(25, 58, 89, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.product-site {
  min-height: 100vh;
  overflow: clip;
}

.product-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 14px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(25, 58, 89, 0.1);
  backdrop-filter: blur(14px);
}

.product-brand {
  display: inline-flex;
  align-items: center;
  min-width: 118px;
}

.product-brand img {
  width: 112px;
  height: auto;
}

.product-nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.product-nav-links a,
.product-nav-cta {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #405066;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-nav-links a:hover {
  background: var(--soft);
  color: var(--blue-dark);
}

.product-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 50px 0 40px;
}

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

.product-kicker {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.9rem, 6.4vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.25;
}

.product-hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.product-button,
.product-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  white-space: nowrap;
}

.product-button-primary,
.product-contact-demo {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(21, 95, 159, 0.22);
}

.product-button-primary:hover,
.product-contact-demo:hover,
.product-nav-cta:hover {
  background: var(--blue-dark);
}

.product-button-secondary,
.product-contact-mail {
  background: #fff;
  border-color: var(--line);
  color: var(--blue-dark);
}

.product-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-proof-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #43546a;
  font-size: 0.9rem;
  font-weight: 750;
}

.product-icon-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #e4f0fa;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-hero-media {
  min-width: 0;
}

.product-app-preview {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #cbdce9;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-preview-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.product-preview-bar strong {
  font-size: 0.95rem;
}

.product-preview-bar span {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-app-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.product-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0;
}

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

.product-section-heading > p:not(.product-kicker) {
  max-width: 790px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-shot-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(25, 58, 89, 0.1);
}

.product-shot-card:first-child {
  grid-column: auto;
}

.product-shot-card img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  object-position: top left;
  background: #eaf3fa;
  border-bottom: 1px solid var(--line);
}

.product-shot-card:not(:first-child) img {
  aspect-ratio: 16 / 8.4;
}

.product-shot-copy {
  padding: 16px;
}

.product-shot-copy p,
.product-why-card p,
.product-capability-card p,
.product-practice-card p,
.product-workflow-step p,
.product-faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.product-why {
  width: 100%;
  max-width: none;
  padding: 62px max(18px, calc((100% - var(--max)) / 2));
  background: #172236;
  color: #fff;
}

.product-why .product-kicker {
  color: #8fc9ff;
}

.product-why .product-section-heading > p {
  color: #cad6e2;
}

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

.product-why-card,
.product-practice-card,
.product-workflow-step,
.product-capability-card,
.product-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-why-card {
  min-height: 220px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.product-why-card p {
  color: #cad6e2;
}

.product-module-icon {
  margin-bottom: 16px;
}

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

.product-capability-card {
  padding: 22px;
  box-shadow: 0 12px 30px rgba(25, 58, 89, 0.08);
}

.product-capability-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.product-capability-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-capability-card li {
  position: relative;
  padding-left: 22px;
  color: #35465b;
  font-weight: 700;
}

.product-capability-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  content: "";
}

.product-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-workflow-step {
  min-height: 198px;
  padding: 20px;
}

.product-workflow-step > span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 950;
}

.product-practice {
  width: 100%;
  max-width: none;
  padding: 62px max(18px, calc((100% - var(--max)) / 2));
  background: #eaf3f2;
}

.product-practice-card {
  min-height: 215px;
  padding: 20px;
}

.product-faq-list {
  display: grid;
  gap: 10px;
}

.product-faq-item {
  padding: 0;
}

.product-faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.product-faq-item p {
  padding: 0 20px 20px;
}

.product-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-contact-copy p:not(.product-kicker) {
  max-width: 670px;
  margin: 14px 0 0;
  color: var(--muted);
}

.product-contact-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.product-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: #5d6c7f;
  border-top: 1px solid var(--line);
}

.product-footer > div {
  display: grid;
  gap: 2px;
}

.product-footer strong {
  color: var(--ink);
}

.product-footer nav {
  display: flex;
  gap: 16px;
}

.legal-page {
  min-height: 100vh;
  background: #f6f9fc;
}

.legal-main {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-main h1 {
  max-width: none;
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.legal-main h2 {
  margin: 34px 0 10px;
  font-size: 1.24rem;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main a {
  color: var(--blue);
  font-weight: 800;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue-dark);
  font-weight: 850;
}

.legal-notice {
  margin: 22px 0;
  padding: 16px 18px;
  background: #fff8ec;
  border: 1px solid rgba(216, 138, 23, 0.32);
  border-radius: var(--radius);
  color: #72500c;
}

@media (max-width: 980px) {
  .product-nav {
    grid-template-columns: 1fr auto;
  }

  .product-nav-links {
    display: none;
  }

  .product-hero,
  .product-contact {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 12ch;
  }

  .product-shot-grid,
  .product-capability-grid,
  .product-workflow-steps,
  .product-why-grid,
  .product-practice-grid {
    grid-template-columns: 1fr;
  }

  .product-shot-card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .product-nav,
  .product-hero,
  .product-section,
  .product-footer {
    width: min(100% - 24px, var(--max));
  }

  .product-nav {
    gap: 10px;
    margin-top: 10px;
  }

  .product-brand {
    min-width: 94px;
  }

  .product-brand img {
    width: 92px;
  }

  .product-nav-cta {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.84rem;
  }

  .product-hero {
    padding: 42px 0 34px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2rem;
  }

  .product-button,
  .product-contact-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .product-proof-row > span {
    width: 100%;
  }

  .product-section,
  .product-why,
  .product-practice {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .product-app-preview img,
  .product-shot-card img,
  .product-shot-card:not(:first-child) img {
    aspect-ratio: 16 / 10;
  }

  .product-contact {
    padding: 24px;
  }
}
