* {
  box-sizing: border-box;
}

:root {
  --page: #766f63;
  --surface: #f4efe5;
  --surface-deep: #e6dccb;
  --ink: #17120d;
  --muted: #665c51;
  --cedar: #1f5d46;
  --cedar-dark: #123b2d;
  --wine: #8f2638;
  --gold: #b88942;
  --line: rgba(23, 18, 13, .14);
  --white: #fffaf1;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page);
  color: var(--ink);
}

main {
  margin: 28px;
  min-height: calc(100vh - 56px);
  background:
    linear-gradient(115deg, rgba(31, 93, 70, .08), transparent 34%),
    var(--surface);
  border-radius: 6px;
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px 0;
}

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

.brand-mark {
  width: 24px;
  height: 28px;
  background: var(--cedar);
  clip-path: polygon(50% 0, 72% 28%, 61% 28%, 84% 58%, 63% 58%, 88% 88%, 56% 88%, 56% 100%, 44% 100%, 44% 88%, 12% 88%, 37% 58%, 16% 58%, 39% 28%, 28% 28%);
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  align-items: center;
  gap: 72px;
  min-height: 720px;
  padding: 72px 48px 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(64px, 9vw, 126px);
  font-weight: 400;
  line-height: .92;
}

h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 600;
}

.hero-copy,
.intro p,
.vision > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 58px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

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

.button-secondary {
  background: rgba(255, 250, 241, .42);
}

.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 38%, rgba(184, 137, 66, .22), transparent 34%),
    linear-gradient(180deg, rgba(31, 93, 70, .12), transparent);
}

.signal-ring {
  position: absolute;
  width: min(74%, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(31, 93, 70, .34);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(31, 93, 70, .06),
    0 0 0 116px rgba(143, 38, 56, .05),
    inset 0 0 80px rgba(255, 250, 241, .7);
}

.cedar-symbol {
  position: relative;
  width: 180px;
  height: 220px;
  color: var(--cedar);
}

.cedar-symbol::before,
.cedar-symbol::after,
.cedar-symbol span {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.cedar-symbol::before {
  top: 6px;
  width: 104px;
  height: 72px;
}

.cedar-symbol span:nth-child(1) {
  top: 58px;
  width: 148px;
  height: 82px;
}

.cedar-symbol span:nth-child(2) {
  top: 122px;
  width: 180px;
  height: 90px;
}

.cedar-symbol span:nth-child(3) {
  bottom: 0;
  width: 18px;
  height: 64px;
  clip-path: none;
}

.conversation-preview {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(340px, calc(100% - 48px));
  padding: 22px;
  background: rgba(255, 250, 241, .78);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.conversation-preview p {
  margin: 0;
  padding: 13px 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  border-bottom: 1px solid var(--line);
}

.conversation-preview p:last-child {
  border-bottom: 0;
}

.intro,
.section,
.final-cta {
  padding: 92px 48px;
  border-top: 1px solid var(--line);
}

.intro p {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.13;
}

.section-heading {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid p,
.technical-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.vision {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  background: var(--surface-deep);
}

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

.quote-card {
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-card p {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.technical {
  background:
    linear-gradient(90deg, rgba(31, 93, 70, .12), transparent 58%),
    var(--surface);
}

.technical-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.technical-list p {
  min-height: 150px;
  margin: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.technical-list p:last-child {
  border-right: 0;
}

.privacy {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  background: var(--surface-deep);
}

.privacy-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.privacy-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-list article:first-child {
  padding-top: 0;
}

.privacy-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-list p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  background: var(--cedar-dark);
  color: var(--white);
}

.final-cta .eyebrow {
  grid-column: 1 / -1;
  color: #d6b172;
}

.final-cta h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.final-cta .button {
  justify-self: end;
}

.final-cta .button-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--cedar-dark);
}

@media (max-width: 1120px) {
  .hero,
  .section-heading,
  .vision,
  .privacy,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-list,
  .conversation-grid {
    grid-template-columns: 1fr;
  }

  .technical-list p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .technical-list p:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  main {
    margin: 12px;
    min-height: calc(100vh - 24px);
  }

  .site-header {
    align-items: flex-start;
    padding: 24px 24px 0;
  }

  nav {
    display: none;
  }

  .hero,
  .intro,
  .section,
  .final-cta {
    padding: 64px 24px;
  }

  .hero {
    gap: 46px;
  }

  h1 {
    font-size: 64px;
  }

  .hero-copy,
  .vision > p {
    font-size: 21px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .final-cta .button {
    justify-self: stretch;
  }

  .hero-visual {
    min-height: 420px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
