:root {
  color-scheme: light;
  --vt-ink: #172026;
  --vt-muted: #5b6670;
  --vt-soft: #f4f1eb;
  --vt-paper: #fffaf2;
  --vt-line: #d8d0c2;
  --vt-green: #1f7a5a;
  --vt-blue: #225e9a;
  --vt-gold: #b57922;
  --vt-rose: #9b4a4a;
}

* {
  box-sizing: border-box;
}

body.vt-public {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--vt-ink);
  background: #fffaf2;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 208, 194, 0.85);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fffaf2;
  background: conic-gradient(from 210deg, var(--vt-green), var(--vt-blue), var(--vt-gold), var(--vt-green));
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(23, 32, 38, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #34424d;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--vt-blue);
}

.nav-login {
  padding: 9px 14px;
  border: 1px solid var(--vt-ink);
  border-radius: 999px;
}

.site-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 22px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 190px);
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--vt-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.14rem;
}

p {
  line-height: 1.62;
}

.hero-copy {
  max-width: 720px;
}

.brand-kicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #6a5540;
}

.start-line {
  margin-top: 18px;
  color: var(--vt-ink);
  font-weight: 800;
}

.lead {
  max-width: 710px;
  color: #42505b;
  font-size: 1.15rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--vt-ink);
  color: var(--vt-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
}

.button.primary {
  background: var(--vt-ink);
  color: #fffaf2;
}

.button.secondary {
  border-color: var(--vt-line);
  background: #fff;
}

.artifact-board {
  border: 1px solid var(--vt-line);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(55, 43, 29, 0.14);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.artifact {
  min-height: 138px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--vt-line);
  background: var(--vt-soft);
}

.artifact strong {
  font-size: 0.98rem;
}

.artifact span {
  color: var(--vt-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.artifact.featured {
  grid-column: span 2;
  min-height: 190px;
  color: #fffaf2;
  background:
    linear-gradient(135deg, rgba(31, 122, 90, 0.94), rgba(34, 94, 154, 0.94)),
    var(--vt-blue);
}

.artifact.featured span {
  color: rgba(255, 250, 242, 0.78);
}

.object-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--vt-line);
  background: #fff;
  box-shadow: 0 22px 60px rgba(55, 43, 29, 0.12);
}

.object-card {
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid var(--vt-line);
  background: var(--vt-soft);
  overflow: hidden;
}

.object-card span {
  position: relative;
  z-index: 1;
  font-weight: 800;
}

.object-card.window::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 8px solid rgba(34, 94, 154, 0.72);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 38, 0.12);
}

.object-card.envelope::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 46px;
  bottom: 48px;
  border: 2px solid rgba(31, 122, 90, 0.7);
  background: linear-gradient(145deg, transparent 49%, rgba(31, 122, 90, 0.22) 50%, transparent 51%);
}

.object-card.folder::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 48px;
  bottom: 36px;
  border: 2px solid rgba(181, 121, 34, 0.75);
  border-top-width: 18px;
}

.object-card.thread::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -28px;
  top: 20px;
  border: 2px solid rgba(155, 74, 74, 0.72);
  border-radius: 50%;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--vt-line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--vt-muted);
  font-size: 1.05rem;
}

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

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.pillar-card {
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--vt-line);
  background: #ffffff;
}

.pillar-card h3 {
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.pillar-card p:not(.object-label) {
  color: var(--vt-muted);
}

.text-link {
  margin-top: auto;
  color: var(--vt-ink);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(23, 32, 38, 0.28);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--vt-blue);
  text-decoration-color: currentColor;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--vt-line);
  background: #ffffff;
}

.door-card {
  min-height: 340px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--vt-line);
  background: #fff;
}

.door-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.object-label {
  color: var(--vt-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.door-line {
  color: var(--vt-ink);
  font-weight: 800;
}

.card p {
  color: var(--vt-muted);
}

.card-accent-green {
  border-top: 5px solid var(--vt-green);
}

.card-accent-blue {
  border-top: 5px solid var(--vt-blue);
}

.card-accent-gold {
  border-top: 5px solid var(--vt-gold);
}

.card-accent-rose {
  border-top: 5px solid var(--vt-rose);
}

.list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 15px 16px;
  border: 1px solid var(--vt-line);
  background: #ffffff;
}

.three-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-panel {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--vt-line);
  background: #ffffff;
}

.mini-panel p {
  color: var(--vt-muted);
}

.note {
  color: var(--vt-muted);
  font-size: 0.92rem;
}

.selector-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.selector-list {
  display: grid;
  gap: 10px;
}

.selector-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--vt-line);
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.selector-row span {
  color: var(--vt-muted);
}

.selector-row:hover {
  border-color: var(--vt-blue);
}

.practice-callout {
  max-width: 820px;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: end;
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--vt-line);
  background: #fff;
  color: var(--vt-ink);
  font: inherit;
}

.printable-practice {
  max-width: 820px;
}

.practice-sheet {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--vt-line);
  background: #fff;
}

.practice-sheet label {
  font-weight: 800;
}

.write-line {
  min-height: 48px;
  border-bottom: 1px solid var(--vt-ink);
}

.page-title {
  max-width: 850px;
  margin-bottom: 42px;
}

.page-title h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.footer {
  border-top: 1px solid var(--vt-line);
  background: #f4f1eb;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--vt-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--vt-ink);
}

@media (max-width: 900px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .two-grid,
  .grid,
  .pillar-grid,
  .door-grid,
  .three-list,
  .selector-panel,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .artifact-board,
  .object-board {
    grid-template-columns: 1fr;
  }

  .artifact.featured {
    grid-column: span 1;
  }

  .selector-row {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .footer,
  .no-print {
    display: none;
  }

  body.vt-public {
    background: #fff;
  }

  .site-main {
    padding: 24px;
  }
}
