:root {
  --ink: #121820;
  --muted: #59626d;
  --line: #dce2e8;
  --paper: #f7f4ec;
  --white: #ffffff;
  --night: #07111b;
  --teal: #097d80;
  --teal-dark: #065e62;
  --gold: #d59a2f;
  --sky: #d9edf2;
  --shadow: 0 18px 50px rgba(17, 24, 32, 0.13);
}

* {
  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;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 17, 27, 0.88), rgba(7, 17, 27, 0));
}

.brand,
.nav,
.language-switch,
.hero-actions,
.hero-metrics,
.cta,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.nav {
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.service-link {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.language-switch {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  color: rgba(255, 255, 255, 0.78);
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.language-switch button:hover,
.language-switch button:focus-visible,
.language-switch button.is-active {
  color: var(--night);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 80px) 64px;
  color: var(--white);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 11, 18, 0.92) 0%, rgba(4, 11, 18, 0.78) 34%, rgba(4, 11, 18, 0.2) 70%),
    linear-gradient(0deg, rgba(7, 17, 27, 0.72), rgba(7, 17, 27, 0.1) 42%);
}

.hero-content {
  position: relative;
  width: min(850px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(40px, 5vw, 64px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.button svg,
.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(9, 125, 128, 0.28);
}

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.button-muted {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics div {
  min-width: 132px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics strong {
  display: block;
  font-size: 24px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.intro,
.functions,
.workflow,
.pricing,
.cta {
  padding: 86px clamp(20px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding-top: 54px;
  background: var(--white);
}

.intro > p,
.workflow-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.functions {
  background: var(--paper);
}

.section-heading {
  max-width: 780px;
}

.pricing-note {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

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

.feature-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 24, 32, 0.04);
}

.feature-card {
  padding: 28px;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--teal);
  border-radius: 8px;
  background: var(--sky);
}

.feature-card p,
.price-card p,
.price-card li {
  color: var(--muted);
}

.feature-card p {
  margin: 12px 0 0;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 100px);
  align-items: center;
  color: var(--white);
  background: var(--night);
}

.workflow .eyebrow,
.pricing .eyebrow,
.cta .eyebrow {
  color: var(--gold);
}

.workflow-copy p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.timeline b {
  font: inherit;
}

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--night);
  border-radius: 8px;
  background: var(--gold);
  font-size: 14px;
}

.pricing {
  background: var(--white);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.price-card.featured {
  color: var(--white);
  background: #0b2831;
  border-color: #0b2831;
  box-shadow: var(--shadow);
}

.plan {
  margin: 0;
  font-weight: 900;
}

.price-card h3 {
  margin-top: 14px;
  font-size: 44px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
}

.price-card.featured h3 span,
.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.price-card > p:not(.plan) {
  margin: 12px 0 0;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.price-card.featured li::before {
  color: var(--gold);
}

.price-card .button {
  margin-top: auto;
}

.cta {
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: linear-gradient(90deg, #0b2831, #164f53);
}

.cta h2 {
  font-size: clamp(28px, 3vw, 42px);
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer p {
  margin: 0;
}

.footer-origin {
  display: grid;
  gap: 2px;
  text-align: right;
}

.footer-origin strong {
  color: var(--teal-dark);
  font-weight: 800;
}

.footer-origin span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .language-switch {
    margin-left: auto;
  }

  .intro,
  .workflow,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 901px) and (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    padding: 16px;
  }

  .nav {
    justify-content: flex-start;
    font-size: 13px;
  }

  .language-switch {
    margin-left: 0;
    width: max-content;
  }

  .nav a {
    padding: 8px;
  }

  .hero {
    padding: 206px 18px 42px;
  }

  h1 {
    font-size: 40px;
  }

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

  .footer-origin {
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .intro,
  .functions,
  .workflow,
  .pricing,
  .cta {
    padding: 58px 18px;
  }

  .feature-card,
  .price-card {
    padding: 22px;
  }
}
