:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --page: #fffdf8;
  --ink: #17211d;
  --muted: #68706b;
  --forest: #103e34;
  --rust: #b64e36;
  --gold: #b89448;
  --line: rgba(23, 33, 29, 0.15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  min-height: 100svh;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--rust) 72%, white);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px clamp(20px, 6vw, 84px);
}

.site-header a {
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.brand img {
  height: 38px;
  width: 38px;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

main {
  display: grid;
  gap: clamp(50px, 9vw, 130px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  margin: 0 auto;
  max-width: 1360px;
  min-height: calc(100svh - 155px);
  padding: clamp(62px, 9vw, 130px) clamp(22px, 6vw, 84px);
}

.context {
  align-self: center;
}

.eyebrow,
.card-topline {
  color: var(--rust);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 83px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 22px 0 42px;
}

blockquote {
  border-left: 2px solid var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.42;
  margin: 0;
  padding-left: 25px;
}

mark {
  background: linear-gradient(transparent 72%, rgba(182, 78, 54, 0.25) 72%);
  color: inherit;
}

.source {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.5;
  margin: 25px 0 0 27px;
}

.glance-card {
  align-self: center;
  background: var(--forest);
  box-shadow: 0 42px 110px rgba(35, 42, 37, 0.2);
  color: #f8f1e6;
  padding: clamp(34px, 5vw, 68px);
}

.card-topline {
  display: flex;
  justify-content: space-between;
}

.glance-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 34px 0 5px;
}

.pronunciation {
  color: rgba(248, 241, 230, 0.6);
  font-size: 11px;
  margin: 0 0 36px;
}

.meaning {
  border-bottom: 1px solid rgba(248, 241, 230, 0.18);
  border-top: 1px solid rgba(248, 241, 230, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.5;
  margin: 0;
  padding: 28px 0;
}

details {
  border-bottom: 1px solid rgba(248, 241, 230, 0.14);
  padding: 16px 0;
}

summary {
  color: #e5cf95;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

details p {
  color: rgba(248, 241, 230, 0.75);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 14px 0 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.actions a,
.share {
  border: 1px solid rgba(248, 241, 230, 0.3);
  border-radius: 99px;
  color: #f8f1e6;
  font-size: 10px;
  font-weight: 850;
  min-height: 44px;
  padding: 14px 17px;
  text-decoration: none;
}

.actions a.primary {
  background: #f8f1e6;
  border-color: #f8f1e6;
  color: var(--forest);
}

.share {
  background: transparent;
  cursor: pointer;
  margin-top: 10px;
}

.share-status {
  color: rgba(248, 241, 230, 0.62);
  font-size: 10px;
  min-height: 15px;
}

footer {
  align-items: center;
  background: #0a2e27;
  color: rgba(248, 241, 230, 0.6);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  min-height: 85px;
  padding: 18px clamp(20px, 6vw, 84px);
}

footer a {
  color: #f8f1e6;
  text-decoration: none;
}

@media (max-width: 860px) {
  main {
    grid-template-columns: 1fr;
  }

  .context {
    text-align: center;
  }

  blockquote {
    text-align: left;
  }

  .source {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 62px;
    padding-inline: 16px;
  }

  .site-header > a:last-child {
    max-width: 120px;
    text-align: right;
  }

  main {
    gap: 44px;
    padding: 66px 20px 72px;
  }

  h1 {
    font-size: 49px;
  }

  .glance-card {
    margin-inline: -8px;
    padding: 34px 26px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions a,
  .share {
    text-align: center;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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