:root {
  --ink: #19382c;
  --deep: #24483a;
  --muted: #607069;
  --paper: #f7f5ee;
  --sage-pale: #edf4ef;
  --sage: #cbded2;
  --sage-mid: #a8c4b3;
  --sage-deep: #507461;
  --line: rgba(36, 72, 58, 0.17);
  --white: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 55px rgba(27, 54, 43, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(189, 216, 199, 0.72), transparent 34rem),
    linear-gradient(180deg, #eaf3ed 0%, var(--paper) 45%, #f1f5f0 100%);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 4px;
}

.site-header,
main,
footer {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 0.8rem;
  color: var(--deep);
  font-size: 1rem;
}

.idexqr-link {
  text-decoration: none;
}

.idexqr-link sup,
footer sup {
  position: relative;
  top: -0.42em;
  font-size: 0.56em;
}

.header-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--line);
}

.hero {
  max-width: 930px;
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--sage-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 7.2vw, 5.85rem);
  font-weight: normal;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  font-weight: normal;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: normal;
  line-height: 1.25;
}

p,
li {
  line-height: 1.68;
}

.hero-copy {
  max-width: 790px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-button {
  border: 1px solid var(--deep);
  background: var(--deep);
  color: white;
}

.secondary-button {
  border: 1px solid var(--sage-mid);
  background: var(--sage-pale);
}

.text-link {
  color: var(--deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

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

.section-heading {
  max-width: 790px;
  margin-bottom: 2.6rem;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.issue-grid article {
  min-height: 220px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.issue-grid p,
.principle-list p,
.demo-section p,
.contact-section p,
.boundary-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.hold-section {
  border-top: 1px solid var(--line);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
}

.principle-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.principle-number {
  color: var(--sage-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.thread-section {
  padding: clamp(3rem, 7vw, 5rem);
  border-radius: 2.25rem;
  background: linear-gradient(135deg, #d5e6db 0%, #bcd4c5 100%);
  box-shadow: var(--shadow);
}

.thread-line {
  display: flex;
  margin: 2rem 0;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.82rem, 1.7vw, 1rem);
  font-weight: 700;
}

.thread-line span {
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(36, 72, 58, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.thread-line i {
  color: var(--sage-deep);
  font-style: normal;
}

.thread-note {
  max-width: 760px;
  margin-bottom: 0;
  color: #3d5b4d;
}

.questions-section {
  scroll-margin-top: 2rem;
}

.question-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}

.question-list li {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 1.04rem;
}

.question-list li::before {
  position: absolute;
  left: 0;
  content: "?";
  color: var(--sage-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.recognition-copy {
  max-width: 760px;
  margin: 2rem 0 0;
  color: var(--deep);
  font-size: 1.25rem;
}

.boundary-section,
.demo-section,
.contact-section {
  display: grid;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  align-items: center;
  gap: 2rem;
}

.boundary-section {
  scroll-margin-top: 2rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  background: #f4f0e7;
}

.boundary-statement {
  display: flex;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
  flex-direction: column;
  color: var(--deep) !important;
  font-size: 1.2rem;
}

.demo-section,
.contact-section {
  margin-top: 1.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.62);
}

.demo-section h2,
.contact-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
}

.contact-section {
  margin-bottom: 4rem;
  background: var(--sage-pale);
}

footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

footer a {
  color: var(--deep);
  text-decoration: none;
}

footer p {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
}

.footer-small {
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .issue-grid,
  .principle-list,
  .question-list,
  .boundary-section,
  .demo-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .issue-grid article {
    min-height: 0;
  }

  .boundary-statement {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .demo-section .secondary-button,
  .contact-section .primary-button {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 1.25rem, 1120px);
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .thread-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .thread-line i {
    margin-left: 1.25rem;
    transform: rotate(90deg);
  }
}

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