:root {
  color-scheme: light;
  --bg: #f4f3ee;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #171918;
  --muted: #6b716c;
  --soft: #e7e1d6;
  --line: #d8d2c8;
  --green: #17634f;
  --blue: #315d9a;
  --red: #a6413f;
  --gold: #9a711d;
  --shadow: 0 24px 80px rgba(23, 25, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 210, 200, 0.82);
  background: rgba(244, 243, 238, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.filters,
.footer,
.card-top,
.card-actions,
.platforms,
.panel-header,
.panel-metric {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark,
.product-icon,
.app-icon {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 820;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  font-size: 13px;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a,
.footer a,
.card-actions a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.card-actions a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: calc(100svh - 67px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(42px, 7vw, 84px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #ebe6dc;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #b8afa2;
}

.panel-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.featured-app {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.featured-app h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.featured-app p {
  margin: 8px 0 0;
  color: var(--muted);
}

.status {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-icon,
.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.featured-app .product-icon {
  width: 72px;
  height: 72px;
  border-radius: 19px;
  font-size: 24px;
}

.syncnext,
.theme-syncnext {
  background: var(--blue);
}

.adict,
.theme-adict {
  background: var(--green);
}

.nomad,
.theme-nomad-drive {
  background: var(--gold);
}

.eison,
.theme-eison-ai {
  background: var(--red);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.mini-grid > div {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.mini-grid > div:last-child {
  border-right: 0;
}

.mini-grid small {
  color: var(--muted);
  font-size: 13px;
}

.panel-metric {
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.filters {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-weight: 730;
  cursor: pointer;
}

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

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

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: #bfb6aa;
  box-shadow: 0 18px 50px rgba(23, 25, 24, 0.1);
}

.card-top {
  justify-content: space-between;
  gap: 14px;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.platforms {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.platforms span {
  padding: 5px 8px;
  border-radius: 7px;
  background: #ebe6dc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.card-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.card-actions a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-list article,
.support {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.note-list article {
  padding: 18px;
}

.note-list span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.note-list p,
.support p {
  margin: 0;
  color: var(--muted);
}

.support {
  margin: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
  padding: clamp(28px, 5vw, 52px);
}

.support h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.support p {
  max-width: 840px;
  font-size: 20px;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .editorial {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-panel {
    border-radius: 14px;
  }

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

  .mini-grid > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mini-grid > div:last-child {
    border-bottom: 0;
  }

  .panel-metric {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-card {
    min-height: 0;
  }
}
