:root {
  --color-primary: #171717;
  --color-background: #ffffff;
  --color-body: #4d4d4d;
  --color-muted: #666666;
  --color-line: #ebebeb;
  --color-focus: hsla(212, 100%, 48%, 1);
  --font-sans: "Geist", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, "Roboto Mono", Menlo, Monaco, Consolas, monospace;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-background);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-feature-settings: "liga" 1;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.32px;
}

.brand img,
.footer-brand img {
  display: block;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links > a:not(.nav-cta),
.dropdown-toggle {
  color: var(--color-body);
  transition: color 160ms ease;
}

.nav-links > a:not(.nav-cta):hover,
.dropdown-toggle:hover {
  color: var(--color-primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  cursor: pointer;
}

.dropdown-chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
  transform: translateY(2px) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 184px;
  padding: 8px;
  display: none;
  background: var(--color-background);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

.language-dropdown .dropdown-menu {
  right: -16px;
  left: auto;
  min-width: 144px;
}

.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #fafafa;
}

.nav-cta,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--color-primary);
  color: var(--color-background);
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-cta:hover,
.button-primary:hover {
  background: #333333;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: auto;
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1100px;
  margin: 32px 0 0;
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: clamp(-4px, -0.04em, -2px);
}

.hero-copy {
  max-width: 620px;
  margin: 40px 0 0;
  color: var(--color-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.text-link {
  font-size: 14px;
  font-weight: 500;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-mark {
  margin-top: auto;
  padding-top: 80px;
  display: flex;
  justify-content: space-between;
  color: #808080;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}

.section {
  padding-block: 120px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
  scroll-margin-top: 72px;
}

.statement {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.statement-content {
  max-width: 780px;
}

.statement h2,
.section-heading h2,
.approach h2,
.contact h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

.statement-content p {
  max-width: 680px;
  margin: 40px 0 0;
  color: var(--color-body);
  font-size: 20px;
  line-height: 1.8;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 80px;
}

.service-list {
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 40px;
  align-items: baseline;
  padding-block: 32px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.service-number {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.service-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: -0.96px;
}

.service-row p {
  margin: 0;
  color: var(--color-body);
  font-size: 16px;
  line-height: 1.5;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 80px;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: process;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.process-list li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding-block: 32px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.process-list span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
}

.process-list p {
  margin: 0;
  color: var(--color-body);
  font-size: 16px;
  line-height: 1.5;
}

.contact-content {
  margin-top: 80px;
}

.contact-content a {
  display: inline-block;
  margin-top: 40px;
  color: var(--color-body);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -1.28px;
  box-shadow: 0 1px 0 var(--color-body);
  transition: color 160ms ease;
}

.contact-content a:hover {
  color: var(--color-primary);
}

.site-footer {
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.footer-inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  color: var(--color-muted);
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
}

.product-hero {
  min-height: auto;
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-symbol {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-background);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.product-identity p,
.product-status {
  margin: 0;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.product-hero h1 {
  margin: 72px 0 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.product-tagline {
  margin: 56px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -2.4px;
}

.product-intro {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  gap: 48px;
  align-items: end;
  justify-content: space-between;
}

.product-intro p {
  margin: 0;
  color: var(--color-body);
  font-size: 20px;
  line-height: 1.8;
}

.product-status {
  margin-top: auto;
  padding-top: 80px;
  display: flex;
  justify-content: space-between;
}

.product-overview {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.product-overview-copy {
  max-width: 820px;
}

.product-overview h2,
.product-capabilities h2,
.product-contact h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

.product-overview-copy > p {
  max-width: 680px;
  margin: 40px 0 0;
  color: var(--color-body);
  font-size: 20px;
  line-height: 1.8;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.capability-row {
  min-height: 320px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    1px 0 0 rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.08);
}

.capability-row:first-child {
  box-shadow:
    1px 0 0 rgba(0, 0, 0, 0.08),
    -1px 0 0 rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.08);
}

.capability-row > span {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.capability-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: -0.96px;
}

.capability-row p {
  margin: 16px 0 0;
  color: var(--color-body);
  font-size: 16px;
  line-height: 1.5;
}

.product-principle {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.product-principle blockquote {
  max-width: 880px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -2.8px;
}

.product-contact {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.product-contact > div {
  max-width: 820px;
}

.product-contact a {
  display: inline-block;
  margin-top: 40px;
  color: var(--color-body);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -1.28px;
  box-shadow: 0 1px 0 var(--color-body);
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .nav {
    min-height: 64px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-background);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 16px;
    height: 1px;
    background: var(--color-primary);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    inset: 64px 0 auto;
    padding: 24px 20px 32px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--color-background);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    padding: 12px 0;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0 0 0 16px;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-menu a {
    padding: 10px 0;
    color: var(--color-muted);
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--color-primary);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding-block: 80px 48px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(40px, 10vw, 52px);
    line-height: 1.04;
    letter-spacing: -2px;
  }

  .hero-copy {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.56;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
  }

  .button-primary {
    width: 100%;
  }

  .hero-mark {
    padding-top: 64px;
  }

  .section {
    padding-block: 80px;
    scroll-margin-top: 64px;
  }

  .statement,
  .section-heading,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-heading,
  .approach-grid,
  .contact-content {
    margin-top: 0;
    margin-bottom: 48px;
  }

  .statement h2,
  .section-heading h2,
  .approach h2,
  .contact h2 {
    font-size: 40px;
    letter-spacing: -2.4px;
  }

  .statement-content p {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.56;
  }

  .service-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .service-row p {
    grid-column: 2;
  }

  .approach-grid {
    margin-top: 48px;
  }

  .process-list li {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .contact-content {
    margin-top: 48px;
    margin-bottom: 0;
  }

  .footer-inner {
    min-height: auto;
    padding-block: 40px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-hero {
    min-height: auto;
    padding-block: 64px 40px;
  }

  .product-hero h1 {
    margin-top: 56px;
    font-size: clamp(40px, 12vw, 56px);
  }

  .product-tagline {
    margin-top: 40px;
    font-size: 32px;
    letter-spacing: -1.28px;
  }

  .product-intro {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .product-intro p {
    font-size: 18px;
    line-height: 1.56;
  }

  .product-status {
    padding-top: 64px;
  }

  .product-overview,
  .product-principle,
  .product-contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-overview h2,
  .product-capabilities h2,
  .product-contact h2,
  .product-principle blockquote {
    font-size: 40px;
    letter-spacing: -2.4px;
  }

  .product-overview-copy > p {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.56;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-row,
  .capability-row:first-child {
    min-height: 240px;
    padding: 24px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 400px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand span {
    max-width: 130px;
  }

  .hero-mark span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
