:root {
  --paper: #f4f2ec;
  --surface: #fbfaf7;
  --ink: #17201f;
  --muted: #5e6865;
  --line: #d7dad3;
  --accent: #0b6f6b;
  --accent-dark: #075653;
  --focus: #d88620;
  --shell: 1120px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-inner {
  min-height: 80px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 680;
  letter-spacing: -.035em;
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  width: 58px;
  height: auto;
}

.wordmark-name {
  transform: translateY(-1px);
}

.languages {
  display: flex;
  gap: .4rem;
}

.languages a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
}

.languages a[aria-current="page"] {
  background: var(--ink);
  color: white;
}

.hero {
  padding: clamp(3.75rem, 7vw, 6.5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
  gap: clamp(2.75rem, 7vw, 6rem);
  align-items: end;
}

.eyebrow,
.platform {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 6vw, 6.25rem);
  font-weight: 610;
  letter-spacing: -.065em;
  line-height: .95;
}

.lead {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 52px;
  padding: .75rem 1.2rem;
  border-radius: 5px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.principles {
  border-top: 1px solid var(--ink);
}

.principles > p {
  margin-bottom: 0;
  padding: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: .92rem;
}

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

.principles li {
  display: flex;
  gap: 1.1rem;
  padding: .72rem 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.principles li span {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
}

.products {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.3rem;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  border: 1px solid #ced5d0;
  border-radius: 10px;
  background: #e6eeea;
  box-shadow: 0 18px 40px rgba(31, 57, 52, .07);
}

.product-icon-link {
  display: block;
  width: 112px;
  border-radius: 23px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(11, 111, 107, .16);
}

.product-icon-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.product-copy h3 {
  margin-bottom: .55rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.product-copy p:last-child {
  max-width: 550px;
  margin-bottom: 0;
  color: #4f5e59;
}

.platform {
  margin-bottom: .8rem;
}

.product-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: .65rem;
}

.text-link,
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  min-height: 44px;
  font-weight: 750;
  text-decoration-thickness: 1px;
}

.store-link {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
}

.text-link:hover,
.store-link:hover {
  color: var(--accent-dark);
}

.contact {
  padding: clamp(3.75rem, 6vw, 5.75rem) 0;
}

.contact-inner > a {
  color: var(--accent-dark);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .wordmark-mark {
    width: 52px;
  }

  .hero {
    padding-block: 3.25rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 3.8rem);
  }

  .section-heading {
    display: block;
  }

  .product-card {
    grid-template-columns: 76px 1fr;
  }

  .product-icon-link {
    width: 76px;
    border-radius: 16px;
  }

  .product-actions {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: .8rem;
    border-top: 1px solid #c7d1cc;
  }

  .text-link,
  .store-link {
    width: 100%;
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .product-card {
    grid-template-columns: 68px 1fr;
  }

  .product-icon-link {
    width: 68px;
    border-radius: 14px;
  }

  .product-copy h3 {
    font-size: 1.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
