:root {
  color-scheme: light;
  --ink: #10201d;
  --muted: #5f6f69;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d9ddd2;
  --green: #456f62;
  --green-dark: #27483f;
  --coral: #b85b39;
  --gold: #c49a55;
  --blue: #2f6f92;
}

* {
  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.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(16, 32, 29, 0.08);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-size: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px) clamp(40px, 7vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 32, 29, 0.92) 0%, rgba(16, 32, 29, 0.68) 42%, rgba(16, 32, 29, 0.12) 100%),
    url("hero-workspace.svg") center / cover no-repeat;
  color: white;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #f1d4b7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 700;
}

.hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.hero-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.54);
  color: white;
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 64px);
}

.section.alt {
  background: #eef3ef;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 56px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card h3 {
  font-size: 21px;
}

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

.accent {
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--coral);
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.screen {
  border: 1px solid rgba(16, 32, 29, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #f8faf7;
  box-shadow: 0 20px 50px rgba(16, 32, 29, 0.12);
}

.screen-top {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.screen-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 330px;
}

.sidebar {
  padding: 18px;
  background: var(--green-dark);
}

.sidebar span,
.row span {
  display: block;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.content {
  padding: 20px;
}

.row {
  display: grid;
  grid-template-columns: 80px 1fr 90px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.row span {
  margin: 0;
  background: #d7e4dc;
}

.row span:nth-child(2) {
  background: #cfdce7;
}

.row span:nth-child(3) {
  background: #ecd9c8;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) clamp(20px, 5vw, 48px);
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(40px, 7vw, 70px);
}

.legal-page h2 {
  margin-top: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

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

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 560px;
    background-position: center right;
  }

  .grid,
  .workflow,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .screen-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}
