@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  --canvas: #f6f1e7;
  --surface: #fffaf0;
  --raised: #f0e6d5;
  --border: #d8c7aa;
  --border-soft: #eadfcf;
  --ink: #1d2430;
  --ink-soft: #59616d;
  --ink-muted: #83806f;
  --gold: #b58a22;
  --copper: #9d6433;
  --copper-soft: #b77945;
  --copper-deep: #5d371c;
  --glow: rgba(157, 100, 51, 0.18);
  --shadow: rgba(38, 31, 20, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(181, 138, 34, 0.18), transparent 32rem),
    radial-gradient(circle at 4% 30%, rgba(157, 100, 51, 0.1), transparent 30rem),
    var(--canvas);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--surface {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.76), rgba(240, 230, 213, 0.54));
  border-block: 1px solid var(--border-soft);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.8rem max(1rem, calc((100vw - var(--max)) / 2));
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: clamp(170px, 20vw, 260px);
  height: auto;
  mix-blend-mode: multiply;
}

.brand__byline {
  color: var(--copper-deep);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  margin-right: 70px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--copper);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 14px 34px var(--glow);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.button:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  transform: translateY(-1px);
}

.button--small {
  min-height: 38px;
  padding-inline: 1rem;
  font-size: 0.68rem;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.hero--image {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  background-image:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.78) 34%, rgba(8, 8, 7, 0.32) 66%, rgba(8, 8, 7, 0.06) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.38), rgba(8, 8, 7, 0.2)),
    url("assets/ai-legal-overview.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--surface);
}

.hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(8, 8, 7, 0.14));
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__copy {
  max-width: 760px;
}

.hero--image .hero__copy {
  max-width: 690px;
  padding-left: clamp(1rem, 2vw, 1.35rem);
  border-left: 2px solid rgba(215, 178, 95, 0.78);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero--image h1,
.hero--image .hero__lead {
  color: #fffaf0;
}

.hero--image .hero__lead {
  color: rgba(255, 250, 240, 0.82);
}

.hero--image .eyebrow,
.hero--image .microcopy {
  color: #d7b25f;
}

.hero--image .button {
  background: #fffaf0;
  color: #1d2430;
  border-color: #fffaf0;
}

.hero--image .button:hover {
  background: #d7b25f;
  border-color: #d7b25f;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--copper);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  max-width: 15ch;
  font-size: clamp(3.2rem, 6.8vw, 5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.55rem;
}

.hero__lead {
  max-width: 680px;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.microcopy {
  max-width: 650px;
  margin-top: 1.4rem;
  color: var(--copper-deep);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
}

.app-shot {
  margin: 0;
  padding: 0.55rem;
  background: #11131a;
  border: 1px solid rgba(93, 55, 28, 0.18);
  border-radius: 10px;
  box-shadow: 0 24px 70px var(--shadow);
}

.app-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.section-visual {
  margin: 2rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(38, 31, 20, 0.1);
}

.section-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-visual--compact {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.section-visual--wide {
  width: min(100%, 1120px);
  margin-top: 2.5rem;
}

.section-visual--wide img {
  aspect-ratio: 21 / 9;
}

.section-visual--stacked {
  margin-top: 0;
  margin-bottom: 1rem;
}

.split,
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}

.copy-block {
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.risk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.risk-card,
.proof-card {
  padding: 1.25rem;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(38, 31, 20, 0.07);
}

.risk-card__tag,
.panel-label {
  color: var(--copper);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-card h3 {
  margin-top: 0.8rem;
}

.risk-card p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.risk-card a {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--copper-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer {
  max-width: none;
}

.offer > p:not(.eyebrow),
.proof-copy p,
.closing > p:not(.eyebrow):not(.builder-note) {
  max-width: 760px;
  margin-top: 1.3rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}

.offer__grid div {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  background: var(--surface);
}

.offer__grid strong {
  color: var(--copper-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.offer__grid span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 3rem;
}

.control-list {
  border-top: 1px solid var(--border);
}

.control-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.control-row span {
  color: var(--copper);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.control-row p {
  grid-column: 2;
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.proof-copy {
  align-self: start;
}

.proof-stack {
  display: grid;
  gap: 0.85rem;
}

.proof-aside {
  display: grid;
  gap: 1rem;
}

.proof-card {
  display: grid;
  gap: 0.35rem;
  background: var(--surface);
}

.proof-card strong {
  color: var(--ink);
}

.proof-card span {
  color: var(--ink-soft);
}

.section--closing {
  background:
    linear-gradient(135deg, rgba(181, 138, 34, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(240, 230, 213, 0.9));
  border-top: 1px solid var(--border);
}

.closing {
  max-width: 900px;
}

.closing__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.4rem;
  padding: 1.25rem;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(38, 31, 20, 0.08);
}

.closing__panel ul {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.builder-note {
  margin-top: 1.35rem;
  color: var(--copper-deep);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.footer {
  padding-block: 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer strong {
  display: block;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
}

.footer__grid div:last-child {
  display: grid;
  gap: 0.2rem;
  text-align: left;
}

@media (min-width: 700px) {
  .risk-grid,
  .offer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer__grid div:last-child {
    grid-column: span 3;
  }

  .closing__panel {
    grid-template-columns: 1fr auto;
    padding: 1.5rem;
  }

  .footer__grid div:last-child {
    text-align: right;
  }
}

@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split,
  .proof-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .control-row {
    grid-template-columns: 3rem 0.78fr 1.2fr;
    align-items: start;
  }

  .control-row p {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .hero--image {
    background-attachment: scroll;
    background-position: 62% center;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 0.75rem;
  }

  .brand__logo {
    width: 150px;
  }

  .brand__byline {
    font-size: 0.48rem;
  }

  .nav .button {
    padding-inline: 0.82rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 4.35rem);
  }
}
