:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5f6b68;
  --line: #d9dfdc;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --teal: #0b8f86;
  --teal-dark: #076a64;
  --gold: #f4b51c;
  --red: #c6543f;
  --shadow: 0 20px 60px rgba(23, 33, 31, 0.12);
}

* {
  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;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 252, 250, 0.82);
  border-bottom: 1px solid rgba(217, 223, 220, 0.72);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.filters,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--gold);
}

nav {
  gap: clamp(14px, 3vw, 30px);
}

nav a,
footer a,
.tool-card a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
footer a:hover,
.tool-card a:hover {
  color: var(--teal-dark);
}

.hero {
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: 116px clamp(20px, 4vw, 56px) 72px;
  background:
    linear-gradient(90deg, rgba(251, 252, 250, 0.96) 0%, rgba(251, 252, 250, 0.78) 38%, rgba(251, 252, 250, 0.14) 72%),
    url("assets/hero-workspace.png") center / cover no-repeat;
}

.hero-content {
  min-width: 0;
  max-width: 690px;
}

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

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

h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: 6.25rem;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

h1 span {
  display: inline;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: #31403d;
  font-size: 1.3rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
}

.button:hover,
.filter:hover {
  transform: translateY(-1px);
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.overview div {
  min-height: 112px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.overview div:last-child {
  border-right: 0;
}

.overview strong,
.overview span {
  display: block;
}

.overview strong {
  margin-bottom: 8px;
}

.overview span,
.tool-card p,
.principles span {
  color: var(--muted);
}

.section {
  padding: 88px clamp(20px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.filters {
  gap: 8px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 760;
  line-height: 1;
}

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

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.showcase {
  background: #edf5f3;
  border-bottom: 1px solid var(--line);
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  transition: transform 220ms ease;
}

.carousel-slide {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(120deg, rgba(23, 33, 31, 0.92), rgba(11, 143, 134, 0.74)),
    url("assets/hero-workspace.png") center / cover no-repeat;
  border-radius: 8px;
  color: white;
}

.carousel-slide:nth-child(2) {
  background:
    linear-gradient(120deg, rgba(23, 33, 31, 0.9), rgba(198, 84, 63, 0.68)),
    url("assets/hero-workspace.png") center / cover no-repeat;
}

.carousel-slide:nth-child(3) {
  background:
    linear-gradient(120deg, rgba(23, 33, 31, 0.92), rgba(244, 181, 28, 0.52)),
    url("assets/hero-workspace.png") center / cover no-repeat;
}

.carousel-slide .tool-status {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.carousel-slide h3 {
  max-width: 620px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.carousel-slide p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dot {
  width: 34px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 33, 31, 0.22);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--teal);
}

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

.tool-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-card.is-hidden {
  display: none;
}

.tool-status {
  width: fit-content;
  margin-bottom: 34px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #eef7f5;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.tool-card p {
  flex: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  background: #15211f;
  color: white;
}

.split .eyebrow {
  color: var(--gold);
}

.principles {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.principles li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.principles strong,
.principles span {
  display: block;
}

.principles strong {
  margin-bottom: 6px;
}

.principles span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 64px clamp(20px, 4vw, 56px);
  background: #f6f0df;
  border-top: 1px solid var(--line);
}

.contact-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

  .hero {
    min-height: 84svh;
    background:
      linear-gradient(180deg, rgba(251, 252, 250, 0.97) 0%, rgba(251, 252, 250, 0.84) 52%, rgba(251, 252, 250, 0.2) 100%),
      url("assets/hero-workspace.png") center bottom / cover no-repeat;
  }

  .overview,
  .tool-grid,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.7rem;
    white-space: normal;
  }

  h1 .tld {
    display: block;
  }

  h2 {
    font-size: 2.55rem;
  }

  .overview div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .overview div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
  }

  .filters,
  .carousel-controls,
  .hero-actions {
    width: 100%;
  }

  .filter,
  .button {
    width: 100%;
  }

  .carousel-button {
    flex: 1;
  }

  .carousel-slide {
    min-height: 360px;
  }

  .button {
    padding-inline: 12px;
  }

  h1 {
    font-size: 3rem;
    line-height: 0.96;
  }

  .hero-copy {
    font-size: 1.05rem;
  }
}
