:root {
  color-scheme: light;
  --ink: #17251f;
  --muted: #617069;
  --mint-50: #f4fbf7;
  --mint-100: #e3f5ea;
  --mint-300: #9fd7b4;
  --mint-500: #35a665;
  --mint-700: #1f7044;
  --line: #dce8e1;
  --paper: #fffefb;
  --shadow: 0 24px 60px rgba(31, 85, 57, 0.1);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 5%, rgba(159, 215, 180, 0.3), transparent 26rem),
    linear-gradient(180deg, var(--mint-50), var(--paper) 34rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--mint-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  color: white;
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.app-card,
.principles,
.document-shell,
.support-shell {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.25rem;
  border-bottom: 1px solid rgba(23, 37, 31, 0.1);
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(7.5rem, 14vw, 9.5rem);
  height: auto;
}

nav {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2rem);
}

nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4.5rem, 10vw, 7rem);
}

.hero-brand-art {
  overflow: hidden;
  border: 1px solid rgba(31, 112, 68, 0.12);
  border-radius: 2rem;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-brand-art img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--mint-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.hero h1,
.document-header h1,
.support-hero h1,
.error-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
}

.hero h1 span {
  color: var(--mint-700);
  font-style: italic;
}

.hero-copy {
  max-width: 37rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.app-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid rgba(31, 112, 68, 0.14);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.app-icon {
  display: grid;
  width: min(100%, 16rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 27%;
  color: var(--ink);
  background: linear-gradient(145deg, var(--mint-100), var(--mint-300));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 20px 40px rgba(31, 112, 68, 0.18);
}

.app-icon svg {
  width: 52%;
}

.app-summary h2 {
  max-width: 15ch;
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.app-summary > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-top: 1.75rem;
}

.link-row a {
  font-weight: 720;
  text-decoration: none;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.principles article {
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.principles article:first-child {
  padding-left: 0;
  border-left: 0;
}

.principle-number {
  color: var(--mint-500);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
}

.principles h2 {
  margin: 0.65rem 0 0.5rem;
  font-size: 1.1rem;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.document-shell {
  display: grid;
  grid-template-columns: minmax(13rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.document-header {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.document-header h1,
.support-hero h1,
.error-page h1 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
}

.updated {
  margin: 1.4rem 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.document-intro {
  color: var(--muted);
  font-size: 1.02rem;
}

.document-content {
  max-width: 45rem;
}

.document-content section {
  padding: 0 0 2rem;
  margin: 0 0 2rem;
  border-bottom: 1px solid var(--line);
}

.document-content section:last-child {
  border-bottom: 0;
}

.document-content .app-scope {
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(31, 112, 68, 0.14);
  border-radius: 1.25rem;
  background: var(--mint-100);
}

.document-content .app-scope .eyebrow {
  margin-bottom: 0.4rem;
}

.document-content h2 {
  margin: 0 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.document-content p {
  margin: 0.7rem 0 0;
  color: #394a42;
}

.support-shell {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.support-hero {
  max-width: 48rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.support-hero > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.primary-button:hover {
  color: white;
  background: var(--mint-700);
}

.faq {
  max-width: 49rem;
}

.faq > h2,
.support-note h2 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.faq article {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.faq h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.faq p,
.support-note p {
  margin: 0;
  color: var(--muted);
}

.support-note {
  max-width: 49rem;
  padding: 2rem;
  margin-top: 4rem;
  border-radius: 1.25rem;
  background: var(--mint-100);
}

.error-page {
  display: flex;
  width: min(calc(100% - 2.5rem), 45rem);
  min-height: 100vh;
  margin: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-page .eyebrow {
  margin-top: 4rem;
}

.error-page > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 1.4rem 0 2rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.3rem;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 5rem;
  }

  .site-header nav {
    gap: 0.85rem;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

  .app-card,
  .document-shell,
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-brand-art {
    width: min(100%, 24rem);
    transform: none;
  }

  .app-icon {
    width: 10rem;
    justify-self: start;
  }

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

  .principles article,
  .principles article:first-child {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .document-header {
    position: static;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: flex-start;
    padding: 1rem 0;
  }

  .app-card {
    width: min(calc(100% - 1.25rem), var(--max-width));
    padding: 1.5rem;
    border-radius: 1.4rem;
  }
}

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