:root {
  color-scheme: light;
  --ink: #10231f;
  --muted: #53625d;
  --line: #d9e1dc;
  --paper: #f8faf8;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0b4f49;
  --gold: #c8932b;
  --blue: #1c5d99;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  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;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

nav a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: #e8efeb;
  color: var(--ink);
}

.cover {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: 44px 0 64px;
}

.cover-copy {
  max-width: 720px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 11px 16px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(16, 35, 31, 0.11);
  overflow: hidden;
}

.panel-header {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: #10231f;
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e4eee9;
}

.panel-header span:nth-child(2) {
  background: #f4d35e;
}

.panel-header span:nth-child(3) {
  background: #5bc0be;
}

.panel-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.panel-grid article {
  min-height: 148px;
  padding: 24px;
  background: var(--surface);
}

.panel-grid small {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.panel-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 40px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
}

.work p {
  max-width: 640px;
  color: var(--muted);
}

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

.work-list li {
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 54px 0 76px;
}

.legal-document {
  border-top: 5px solid var(--accent);
  background: var(--surface);
  padding: 44px;
  box-shadow: 0 20px 48px rgba(16, 35, 31, 0.08);
}

.legal-document h1 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

.legal-document p {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 750;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
}

footer a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .cover,
  .work {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: auto;
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4.4rem);
  }
}

@media (max-width: 520px) {
  .site-header,
  .cover,
  .work,
  .legal-page,
  footer {
    width: min(100% - 28px, 1120px);
  }

  nav {
    width: 100%;
  }

  nav a {
    flex: 1 1 0;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .legal-document {
    padding: 28px 22px;
  }
}
