:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5f6368;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --line: #dadce0;
  --accent: #174ea6;
  --accent-dark: #0b3d91;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
}

.site-header {
  position: static;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 48px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header.solid {
  position: static;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: none;
}

.brand-mark {
  font-size: 0.96rem;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.88rem;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  padding: clamp(72px, 10vw, 128px) 0;
  margin: 0 auto;
  color: var(--ink);
}

.company-label,
.section-kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-label {
  color: var(--muted);
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  max-width: 840px;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--paper);
  backdrop-filter: none;
}

.identity-section,
.product-section,
.final-section,
.text-page,
.contact-page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.identity-section {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(42px, 8vw, 112px);
  padding: clamp(64px, 10vw, 112px) 0;
}

.section-kicker {
  color: var(--accent);
}

.company-details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-details div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 650;
}

dd a,
.text-link {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  padding: clamp(64px, 10vw, 112px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-copy p {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
}

.product-link {
  display: grid;
  gap: 8px;
  padding: 28px 0 4px;
  border-top: 2px solid var(--ink);
  text-decoration: none;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.product-link:hover {
  color: var(--accent-dark);
  transform: translateX(6px);
}

.product-link span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  text-transform: uppercase;
}

.product-link strong {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 760;
  line-height: 1;
}

.final-section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.final-section h2 {
  margin-bottom: 28px;
}

.text-link {
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  font-weight: 740;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

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

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

.page-main {
  min-height: calc(100svh - 168px);
}

.text-page,
.contact-page {
  padding: clamp(70px, 10vw, 128px) 0;
}

.text-page {
  max-width: 820px;
}

.text-page h1,
.contact-page h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.text-page h2 {
  margin-top: 46px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.text-page p,
.contact-page p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-page {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(42px, 8vw, 108px);
}

.contact-details {
  align-self: start;
}

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

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

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

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

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    padding: 22px 20px;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(3.9rem, 19vw, 6.2rem);
  }

  .identity-section,
  .product-section,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .company-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    max-width: 120px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
