:root {
  --examples-ink: #18324a;
  --examples-text: #242a30;
  --examples-muted: #626b73;
  --examples-line: #dfe3e5;
  --examples-paper: #fafaf8;
  --examples-soft: #f2f0ea;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--examples-paper);
  color: var(--examples-text);
}

.examples-shell {
  width: min(100% - 2.5rem, 68rem);
  margin: 0 auto;
}

.examples-hero {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid var(--examples-line);
}

.examples-kicker,
.examples-section-heading > p,
.use-case__label,
.use-case__header > p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.examples-kicker,
.examples-section-heading > p {
  color: #8a5a00;
}

.examples-hero h1 {
  max-width: 12ch;
  margin: 0.85rem 0 0;
  color: var(--examples-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7.3vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.examples-lead {
  max-width: 49rem;
  margin: 1.8rem 0 0;
  color: var(--examples-text);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  hyphens: none;
  line-height: 1.68;
}

.examples-principle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.8rem, 6vw, 4.8rem);
  border-top: 1px solid var(--examples-line);
  border-bottom: 1px solid var(--examples-line);
}

.examples-principle > div {
  min-width: 0;
  padding: 1.4rem 1.5rem 1.5rem 0;
}

.examples-principle > div + div {
  padding-left: 1.5rem;
  border-left: 1px solid var(--examples-line);
}

.examples-principle span {
  display: block;
  color: #9a7141;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.examples-principle strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--examples-ink);
  font-size: 1.05rem;
}

.examples-principle p {
  margin: 0.4rem 0 0;
  color: var(--examples-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.examples-orient {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.examples-section-heading {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) 1fr;
  align-items: baseline;
  gap: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--examples-line);
}

.examples-section-heading h2 {
  margin: 0;
  color: var(--examples-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

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

.examples-index a {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  min-height: 5.8rem;
  padding: 1.15rem 1.15rem 1.15rem 0;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--examples-line);
  color: var(--examples-ink);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.examples-index a:nth-child(even) {
  padding-left: 1.15rem;
  border-left: 1px solid var(--examples-line);
}

.examples-index a:hover,
.examples-index a:focus-visible {
  padding-right: 1.4rem;
  background: var(--wash);
  color: var(--tone);
}

.examples-index__number {
  color: var(--tone);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.examples-index strong,
.examples-index small {
  display: block;
}

.examples-index strong {
  font-size: 1rem;
}

.examples-index small {
  margin-top: 0.25rem;
  color: var(--examples-muted);
  font-size: 0.82rem;
}

.examples-index a > span:last-child {
  color: var(--tone);
  font-size: 1.15rem;
}

.examples-cases {
  border-top: 1px solid var(--examples-line);
}

.use-case {
  scroll-margin-top: 7.5rem;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--examples-line);
  background: linear-gradient(90deg, var(--wash) 0, var(--wash) 0.38rem, transparent 0.38rem);
  animation: examples-rise 420ms ease both;
}

.use-case__header {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) 0.65fr 1fr;
  gap: 2rem;
  align-items: baseline;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
}

.use-case__header > p:first-child {
  color: var(--tone);
}

.use-case__header > p:first-child span {
  margin-right: 0.6rem;
}

.use-case__header h2 {
  margin: 0;
  color: var(--tone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.use-case__header > p:last-child {
  margin: 0;
  color: var(--examples-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.use-case__layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) 1.28fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-top: 2.5rem;
}

.use-case__subject {
  align-self: start;
}

.use-case__label {
  color: var(--tone);
}

.use-case__subject h3 {
  margin: 0.75rem 0 0;
  color: var(--examples-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
}

.use-case__subject > p:last-child {
  margin: 1rem 0 0;
  color: var(--examples-muted);
  line-height: 1.68;
}

.use-case__details {
  border-top: 1px solid var(--examples-line);
}

.use-case__details section {
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--examples-line);
}

.use-case__details section > p:last-child {
  margin: 0.65rem 0 0;
  line-height: 1.68;
}

.use-case__prompt {
  padding-right: 1.2rem !important;
  padding-left: 1.2rem !important;
  border-left: 3px solid var(--tone);
  background: var(--wash);
}

.use-case__prompt blockquote {
  margin: 0.7rem 0 0;
  color: var(--examples-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.62;
}

.use-case__more > p:last-child {
  color: var(--examples-muted);
  font-size: 0.94rem;
}

.use-case__protocol {
  display: inline-flex;
  min-height: 46px;
  margin-top: 2rem;
  padding: 0.65rem 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--tone);
  font-weight: 750;
  text-decoration: none;
}

.use-case__protocol span {
  transition: transform 180ms ease;
}

.use-case__protocol:hover span {
  transform: translateX(0.25rem);
}

.examples-sequence {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: var(--examples-ink);
  color: #fff;
}

.examples-sequence .examples-kicker {
  color: #e7bd75;
}

.examples-sequence h2 {
  max-width: 14ch;
  margin: 0.8rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.examples-sequence > .examples-shell > p:not(.examples-kicker) {
  max-width: 44rem;
  margin: 1.4rem 0 0;
  color: #d9e0e5;
  font-size: 1.08rem;
  line-height: 1.7;
}

.examples-sequence__actions {
  display: flex;
  margin-top: 2rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.examples-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.examples-button--primary {
  border-color: #fff;
  background: #fff;
  color: var(--examples-ink);
}

.examples-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.examples-button--primary:hover {
  background: #f4f0e7;
}

.examples-text-link {
  min-height: 44px;
  padding: 0.6rem;
  color: #d9e0e5;
  text-underline-offset: 0.2em;
}

.examples-footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid #d8dde1;
  color: var(--examples-muted);
  text-align: center;
}

@keyframes examples-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .examples-principle {
    grid-template-columns: 1fr;
  }

  .examples-principle > div {
    padding: 1.1rem 0;
  }

  .examples-principle > div + div {
    padding-left: 0;
    border-top: 1px solid var(--examples-line);
    border-left: 0;
  }

  .examples-section-heading,
  .use-case__header,
  .use-case__layout {
    grid-template-columns: 1fr;
  }

  .examples-section-heading,
  .use-case__header {
    gap: 0.75rem;
  }

  .examples-index {
    grid-template-columns: 1fr;
  }

  .examples-index a,
  .examples-index a:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .use-case {
    background: linear-gradient(90deg, var(--wash) 0, var(--wash) 0.25rem, transparent 0.25rem);
  }

  .use-case__layout {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .use-case {
    animation: none;
  }

  .examples-index a,
  .use-case__protocol span,
  .examples-button {
    transition: none;
  }
}
