:root {
  --ink: #17211d;
  --muted: #5f6d66;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dde5df;
  --forest: #14392f;
  --moss: #6f8f65;
  --copper: #b96f3b;
  --gold: #d9b35f;
  --teal: #1f6f6a;
  --shadow: 0 18px 55px rgba(18, 31, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #ffffff;
  background: rgba(13, 28, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.brand-vault {
  color: #f1cb73;
}

.brand-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  min-height: 1.5em;
  padding: 0 0.34em;
  color: #11201b;
  background: linear-gradient(135deg, #f7d675, #c99638);
  border-radius: 5px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.68em;
  font-weight: 900;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 72px) 80px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 22, 19, 0.92) 0%, rgba(9, 22, 19, 0.68) 42%, rgba(9, 22, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 22, 19, 0.78) 0%, rgba(9, 22, 19, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #f1cb73;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.4rem, 8.4vw, 7rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-brand-lockup {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 34px);
}

.hero-logo-image {
  flex: 0 0 auto;
  width: clamp(92px, 13vw, 162px);
  height: auto;
  margin-bottom: 0.24em;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.34));
}

.wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 0.18em;
  padding-bottom: 0.12em;
  border-bottom: 4px solid rgba(247, 214, 117, 0.72);
  width: fit-content;
  text-transform: none;
}

.wordmark-line {
  display: inline-block;
  white-space: nowrap;
}

.wordmark-inner {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.wordmark-vault {
  color: #f7d675;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 12px 38px rgba(217, 179, 95, 0.18);
}

.wordmark-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.72em;
  height: 0.86em;
  margin-left: 0.06em;
  margin-bottom: 0.03em;
  padding: 0 0.18em;
  color: #11201b;
  background: linear-gradient(135deg, #f7d675, #c99638);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 0.62em;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #111d19;
  background: var(--gold);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 6vw, 72px);
}

.section-heading {
  max-width: 850px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.platform-section {
  background: #f3f1ea;
}

.office-ai-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 57, 47, 0.98), rgba(31, 111, 106, 0.9)),
    var(--forest);
}

.office-ai-section .section-heading > p:not(.eyebrow),
.office-ai-section .office-panel li,
.office-ai-section .tier-card p {
  color: rgba(255, 255, 255, 0.78);
}

.office-ai-section .eyebrow {
  color: #f1cb73;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  margin-top: 42px;
}

.office-panel,
.tier-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(3, 13, 11, 0.18);
}

.office-panel {
  padding: 30px;
}

.office-panel h3,
.tier-card h3 {
  color: #ffffff;
}

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

.tier-card {
  min-height: 300px;
  padding: 28px;
}

.tier-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  color: #13221d;
  background: var(--gold);
  border-radius: 8px;
  font-weight: 800;
}

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

.feature-card {
  min-height: 258px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  background: var(--forest);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card p,
.use-case-copy p,
.process p {
  margin: 0;
  color: var(--muted);
}

.use-case {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.law-section {
  background: var(--paper);
}

.accounting-section {
  background: #e8efe9;
}

.use-case-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
}

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

.split-lists > div {
  min-height: 360px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 28px;
  color: #34433d;
}

li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 12px 0 0 var(--gold);
}

.process-section {
  background: #ffffff;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.process article {
  min-height: 210px;
  padding: 26px;
  background: #ffffff;
}

.process strong {
  display: block;
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 1.2rem;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(54px, 8vw, 86px) clamp(20px, 6vw, 72px);
  color: #ffffff;
  background: var(--forest);
}

.cta-section h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-section .eyebrow {
  color: #f1cb73;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 22, 19, 0.92) 0%, rgba(9, 22, 19, 0.76) 68%, rgba(9, 22, 19, 0.42) 100%),
      linear-gradient(0deg, rgba(9, 22, 19, 0.84) 0%, rgba(9, 22, 19, 0.08) 44%);
  }

  .feature-grid,
  .office-layout,
  .tier-grid,
  .use-case,
  .split-lists,
  .process {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .tier-card,
  .split-lists > div,
  .process article {
    min-height: 0;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 40px;
    height: 46px;
  }

  .brand-wordmark {
    gap: 0.24em;
  }

  .hero {
    min-height: 94vh;
    padding: 104px 18px 56px;
  }

  h1 {
    font-size: clamp(2.7rem, 13.4vw, 3.9rem);
    line-height: 0.86;
  }

  .hero-brand-lockup {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-logo-image {
    width: 88px;
    margin-bottom: 0;
  }

  .wordmark {
    gap: 0 0.12em;
  }

  .wordmark-ai {
    height: 0.82em;
    border-radius: 7px;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .section,
  .cta-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-card,
  .office-panel,
  .tier-card,
  .split-lists > div,
  .process article {
    padding: 22px;
  }
}
