:root {
  --ink: #171412;
  --muted: #6f6861;
  --paper: #f8f6f0;
  --surface: #ffffff;
  --line: #ded8cf;
  --green: #1f6a57;
  --red: #c63d2f;
  --blue: #335f9b;
  --gold: #e1a738;
  --shadow: 0 22px 60px rgba(31, 24, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 13, 11, 0.74), rgba(14, 13, 11, 0));
}

.brand,
.nav,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.nav {
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.84;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.language-switch {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.language-button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-button.is-active {
  color: var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #19120f;
  isolation: isolate;
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.88), rgba(13, 12, 10, 0.5) 52%, rgba(13, 12, 10, 0.26)),
    linear-gradient(0deg, rgba(13, 12, 10, 0.82), rgba(13, 12, 10, 0.08) 48%, rgba(13, 12, 10, 0.4));
}

.hero-content {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 clamp(46px, 9vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 11vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #1a120f;
  background: #fff;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-item {
  display: grid;
  gap: 6px;
  min-height: 118px;
  align-content: center;
  padding: 24px clamp(18px, 3vw, 34px);
}

.intro-item + .intro-item {
  border-left: 1px solid var(--line);
}

.intro-value {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.intro-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading.compact {
  display: block;
  margin-bottom: 0;
}

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

.feature-card {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

.feature-number {
  display: block;
  margin-bottom: 68px;
  color: var(--red);
  font-weight: 900;
}

.feature-card p,
.contact-band p,
.visual-copy p,
.process-list span {
  color: var(--muted);
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.visual-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.visual-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e3ddd3;
  box-shadow: var(--shadow);
}

.visual-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

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

.use-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 850;
}

.use-row::before {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  margin-right: 18px;
  border-radius: 3px;
  background: var(--green);
  transform: rotate(12deg);
}

.process-section {
  padding-bottom: clamp(68px, 9vw, 118px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 236px;
  padding: 76px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 26px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: #f0e7d6;
}

.contact-band h2 {
  max-width: 850px;
}

.email-link {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 48px);
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    padding-top: 112px;
  }

  .intro,
  .feature-grid,
  .visual-section,
  .split-section,
  .process-list,
  .contact-band,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-item + .intro-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-card,
  .process-list li {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 42px;
  }

  .visual-media {
    order: -1;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px;
    padding: 14px;
  }

  .brand {
    font-size: 0.9rem;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 12, 10, 0.96), rgba(13, 12, 10, 0.78) 62%, rgba(13, 12, 10, 0.52)),
      linear-gradient(0deg, rgba(13, 12, 10, 0.86), rgba(13, 12, 10, 0.22) 48%, rgba(13, 12, 10, 0.55));
  }

  .language-button {
    min-width: 36px;
    height: 30px;
  }

  h1 {
    font-size: clamp(2.9rem, 17vw, 4.7rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@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;
  }
}
