:root {
  --bg: #ffffff;
  --bg-muted: #f4f6f8;
  --bg-soft: #fafbfc;
  --text: #163042;
  --text-muted: #516271;
  --border: #d7e0e7;
  --accent: #2f6789;
  --accent-dark: #234e69;
  --shadow: 0 14px 32px rgba(17, 42, 58, 0.08);
  --radius: 18px;
  --max-width: 1180px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

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

iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner,
.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.logo img {
  width: auto;
  height: 48px;
  border-radius: 0;
}

.logo-mark {
  display: block;
}

.logo-text {
  display: block;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent);
}

main {
  flex: 1;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.trust-strip {
  padding: 0.9rem 0;
  background: #f8fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
}

.trust-item {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid,
.split-grid,
.media-grid,
.contact-grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-copy .lead {
  max-width: 56ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button,
button,
input,
textarea {
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-card,
.panel,
.feature-card,
.step-card,
.use-case-card,
.report-card,
.contact-card,
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1rem;
}

.hero-card img {
  width: 100%;
}

.hero-card.hero-image-card img,
.image-card img,
.report-highlight img,
.contact-image-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-lockup img {
  width: auto;
  height: 108px;
  border-radius: 0;
}

.product-lockup span {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.product-lockup--home {
  margin-bottom: 1.1rem;
}

.product-lockup--home img {
  height: 150px;
}

.product-hero-grid {
  align-items: center;
}

.product-hero-grid h1 {
  max-width: none;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
}

.product-hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-hero-logo img {
  width: min(100%, 500px);
  height: auto;
  border-radius: 0;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.title-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.25rem;
  border-radius: 14px;
  background: #edf3f7;
  border: 1px solid #d5e1e9;
  color: var(--accent);
}

.title-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke: currentColor;
}

.application-section .title-icon {
  width: 4.25rem;
  height: 4.25rem;
  flex: 0 0 4.25rem;
  border-radius: 16px;
}

.application-section .title-icon svg {
  width: 2rem;
  height: 2rem;
}

.caption {
  padding: 0.9rem 0.4rem 0 0.4rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 2.2rem;
}

.grid-4,
.grid-3,
.grid-2,
.report-grid {
  display: grid;
  gap: 1.4rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.method-grid {
  align-items: stretch;
}

.method-grid .method-row + .method-row {
  margin-top: 0;
}

.method-card {
  height: 100%;
}

.feature-card,
.step-card,
.use-case-card,
.report-card,
.contact-card,
.stat-card {
  padding: 1.5rem;
}

.feature-card h3,
.step-card h3,
.use-case-card h3,
.report-card h3,
.contact-card h3,
.stat-card h3 {
  margin-bottom: 0.6rem;
}

.icon-badge,
.step-number {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.icon-badge {
  background: #edf3f7;
  color: var(--accent);
}

.step-number {
  background: var(--accent);
  color: #ffffff;
}

.media-frame {
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame iframe {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.video-fallback {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 0.9rem;
  padding: 2rem;
}

.video-fallback p {
  max-width: 44ch;
  margin-bottom: 0;
}

.video-preview {
  position: relative;
  display: block;
  width: min(100%, 760px);
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.video-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-preview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(22, 48, 66, 0.86);
  color: #ffffff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.list-clean li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric {
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.metric strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cta-band {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: #edf3f7;
  border: 1px solid #d7e3ea;
  border-radius: var(--radius);
}

.page-hero {
  padding: 4.5rem 0 3rem;
}

.page-hero .lead {
  max-width: 66ch;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-hero-grid h1 {
  max-width: none;
}

.about-hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(47, 103, 137, 0.16);
}

.about-hero-graphic svg {
  width: min(100%, 420px);
  height: auto;
}

.contact-hero-simple {
  max-width: 780px;
  text-align: center;
}

.contact-hero-simple .lead {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-contact {
  padding-bottom: 1.75rem;
}

.page-hero-contact h1 {
  max-width: none;
  white-space: nowrap;
}

.image-stack {
  display: grid;
  gap: 1.2rem;
}

.image-card {
  padding: 1rem;
}

.image-card p {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
}

.application-section + .application-section,
.method-row + .method-row {
  margin-top: 2rem;
}

.report-highlight {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form-card {
  max-width: 780px;
  margin: 0 auto;
}

.contact-image-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  height: 100%;
}

.contact-image-card img {
  flex: 1;
  width: 100%;
  min-height: 100%;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-hero-grid h1 {
  max-width: none;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(47, 103, 137, 0.15);
  border-color: var(--accent);
}

.form-message {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #bdd3c4;
  background: #eef7f1;
  color: #1f5131;
  font-weight: 600;
}

.form-message.is-visible {
  display: block;
}

.site-footer {
  margin-top: 4rem;
  background: #f8fafb;
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.6rem 0 2.2rem;
}

.footer-inner p {
  margin: 0.2rem 0;
  color: var(--text-muted);
}

.footer-inner .footer-note {
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .media-grid,
  .contact-grid,
  .product-hero-grid,
  .about-hero-grid,
  .report-highlight,
  .grid-4,
  .grid-3,
  .grid-2,
  .report-grid,
  .metric-row,
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo img {
    height: 40px;
  }

  .logo-text {
    white-space: normal;
    line-height: 1.2;
  }

  .section,
  .hero,
  .page-hero {
    padding: 4rem 0;
  }
}
