:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #667085;
  --paper: #fffaf2;
  --surface: #fffdf8;
  --warm: #f3dfbd;
  --gold: #d8a13a;
  --teal: #247c82;
  --rose: #b65456;
  --line: rgba(35, 44, 55, 0.14);
  --shadow: 0 24px 70px rgba(40, 31, 19, 0.14);
  font-family: ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 56px;
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #475467;
  font-size: 0.95rem;
  font-weight: 800;
}

.language-select {
  min-width: 126px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 7px;
  padding: 9px 10px;
  font: inherit;
  font-weight: 800;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 54px;
  align-items: center;
  padding: 86px 72px 64px;
}

.hero-copy {
  max-width: 760px;
}

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

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: 4.35rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 650;
}

.hero-panel {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-columns: repeat(3, 88px);
  grid-auto-rows: 88px;
  align-content: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 161, 58, 0.18), rgba(36, 124, 130, 0.14)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.16);
}

.hero-panel img:nth-child(1) {
  transform: translateY(-26px);
}

.hero-panel img:nth-child(2) {
  transform: translateY(28px);
}

.hero-panel img:nth-child(3) {
  transform: translateY(-8px);
}

.apps-section {
  padding: 30px 56px 90px;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.app-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(40, 31, 19, 0.09);
}

.app-media {
  height: 230px;
  display: block;
  overflow: hidden;
  background: #e9eef0;
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.app-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.app-icon {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(31, 41, 51, 0.14);
}

.app-heading h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.18;
}

.app-heading p,
.app-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
  font-weight: 650;
}

.app-heading p {
  margin-top: 4px;
  font-size: 0.93rem;
}

.app-description {
  font-size: 0.98rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  background: rgba(255, 250, 242, 0.74);
  color: #475467;
  font-size: 0.82rem;
  font-weight: 850;
}

.app-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.app-card:nth-child(1) .tag-list span:first-child {
  color: #8a5b00;
  border-color: rgba(216, 161, 58, 0.38);
}

.app-card:nth-child(2) .tag-list span:first-child {
  color: #4d3aaa;
  border-color: rgba(77, 58, 170, 0.32);
}

.app-card:nth-child(3) .tag-list span:first-child {
  color: var(--teal);
  border-color: rgba(36, 124, 130, 0.32);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 56px;
  border-top: 1px solid var(--line);
  background: #1f2933;
  color: rgba(255, 250, 242, 0.86);
}

.site-footer strong {
  display: block;
  color: white;
}

.site-footer span {
  display: inline-block;
  margin-top: 5px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 24px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 62px 28px 42px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-panel {
    min-height: 230px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .apps-section {
    padding: 24px 24px 70px;
  }

  .app-media {
    height: 280px;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .language-select {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.42rem;
    line-height: 1.05;
  }

  .hero p:not(.eyebrow) {
    font-size: 1.03rem;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 70px);
    grid-auto-rows: 70px;
    gap: 12px;
  }

  .hero-panel img {
    width: 70px;
    height: 70px;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .app-media {
    height: 220px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }
}
