:root {
  --ink: #161512;
  --paper: #f4f0e5;
  --stone: #d0c5b7;
  --soft: #e9e2d5;
  --mist: #d6dbd3;
  --black: #11110e;
  --white: #fbf6ea;
  --muted: #695f54;
  --line: rgba(22, 21, 18, 0.18);
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

.sample-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  min-height: 62px;
  padding: 0 24px;
  background: rgba(244, 240, 229, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.sample-header nav,
.sample-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.request-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 650px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 54px 42px 68px;
  background: var(--stone);
}

.hero-copy span,
.section-heading span,
.intent-grid span {
  color: rgba(22, 21, 18, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1 {
  max-width: 950px;
  margin-bottom: 0;
  font-size: 68px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.052em;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 42px;
  color: var(--white);
  background: var(--black);
  text-align: center;
  text-transform: uppercase;
}

.hero-panel span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.36em;
}

.hero-panel strong {
  font-size: 82px;
  line-height: 0.9;
  letter-spacing: 0.05em;
}

.hero-panel small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.23em;
  line-height: 1.55;
}

.intent-section,
.sample-section,
.conversation-section,
.copy-section,
.attachment-section {
  padding: 72px 24px;
  border-bottom: 1px solid var(--line);
}

.intent-grid,
.sample-grid,
.attachment-grid {
  display: grid;
  border: 1px solid var(--line);
}

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

.intent-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.intent-grid article:nth-child(2) {
  background: var(--mist);
}

.intent-grid article:last-child {
  border-right: 0;
}

.intent-grid strong {
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intent-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.052em;
  text-transform: uppercase;
}

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

.sample-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  min-height: 330px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.sample-grid article:nth-child(2) {
  background: var(--mist);
}

.sample-grid article:last-child {
  border-right: 0;
}

.sample-grid article.dark {
  color: var(--white);
  background: var(--black);
}

.sample-grid span {
  color: rgba(22, 21, 18, 0.42);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.sample-grid .dark span {
  color: rgba(251, 246, 234, 0.48);
}

.sample-grid h3 {
  margin-bottom: 0;
  font-size: 27px;
  line-height: 1.03;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.sample-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.sample-grid .dark p {
  color: rgba(251, 246, 234, 0.72);
}

.sample-grid b {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.conversation-table {
  border: 1px solid var(--line);
}

.conversation-row {
  display: grid;
  grid-template-columns: 0.78fr 1.05fr 1.48fr 1.1fr;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}

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

.conversation-row > * {
  display: grid;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.conversation-row > *:last-child {
  border-right: 0;
}

.conversation-head {
  min-height: 48px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.conversation-row strong {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.conversation-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.conversation-row b {
  font-size: 13px;
  line-height: 1.55;
}

.conversation-row.swim {
  background: rgba(214, 219, 211, 0.5);
}

.copy-card {
  max-width: 980px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.copy-card p {
  margin-bottom: 18px;
  color: #342f29;
  font-size: 17px;
  line-height: 1.85;
}

.copy-card p:last-child {
  margin-bottom: 0;
}

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

.attachment-grid a {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.attachment-grid a:nth-child(even) {
  background: #2c2b25;
}

.attachment-grid a:last-child {
  border-right: 0;
}

.sample-footer {
  min-height: 86px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  justify-content: flex-start;
}

@media (max-width: 1080px) {
  .request-hero,
  .intent-grid,
  .conversation-row {
    grid-template-columns: 1fr;
  }

  .request-hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 360px;
  }

  .intent-grid article,
  .conversation-row > *,
  .attachment-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intent-grid article:last-child,
  .conversation-row > *:last-child,
  .attachment-grid a:last-child {
    border-bottom: 0;
  }

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

  .sample-grid article:nth-child(2n) {
    border-right: 0;
  }

  .sample-grid article {
    border-bottom: 1px solid var(--line);
  }

  .sample-grid article:last-child {
    grid-column: span 2;
    border-bottom: 0;
  }

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

@media (max-width: 640px) {
  .sample-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .sample-header nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .hero-copy,
  .hero-panel {
    padding: 34px 20px;
  }

  h1 {
    font-size: 35px;
    line-height: 0.98;
    letter-spacing: 0.035em;
  }

  .hero-panel strong {
    font-size: 56px;
  }

  .hero-panel small {
    letter-spacing: 0.16em;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .intent-section,
  .sample-section,
  .conversation-section,
  .copy-section,
  .attachment-section {
    padding: 48px 16px;
  }

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

  .sample-grid article,
  .sample-grid article:nth-child(2n),
  .sample-grid article:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sample-grid article:last-child {
    border-bottom: 0;
  }

  .copy-card {
    padding: 20px;
  }

  .copy-card p {
    font-size: 15px;
  }

  .sample-footer {
    padding: 22px 16px;
  }
}
