:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --ink: #1d3129;
  --muted: #57665d;
  --green: #245c40;
  --line: #dce2d8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #347855; outline-offset: 6px; border-radius: 3px; }
a:hover { color: var(--green); }
.page { width: min(1120px, calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 14px; background: white; z-index: 3; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 114px; border-bottom: 1px solid var(--line); }
.identity { display: flex; gap: 18px; align-items: center; font-size: 15px; font-weight: 600; }
.monogram { font-size: 33px; font-weight: 750; letter-spacing: -3px; }
.monogram span { color: #47925d; }
nav { display: flex; gap: 34px; font-size: 13px; font-weight: 500; }
nav a:last-child span { padding-left: 5px; }
.intro { position: relative; padding: 78px 0 82px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 2px; margin: 0 0 26px; display: flex; align-items: center; gap: 9px; }
.status-dot { height: 7px; width: 7px; border-radius: 50%; background: #4a8452; }
h1 { margin: 0 0 25px; font-size: clamp(52px, 6.7vw, 82px); line-height: 1.08; letter-spacing: -4px; font-weight: 550; }
h1 > span { color: #6b826b; }
.intro-copy { max-width: 485px; font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0 0 29px; }
.text-link { font-size: 13px; font-weight: 600; display: inline-flex; gap: 22px; align-items: center; }
.text-link span { font-size: 19px; font-weight: 400; }
.hero-note { position: absolute; right: 6px; top: 137px; display: flex; flex-direction: column; font-size: 11px; line-height: 1.9; letter-spacing: 3px; color: #6d7f6d; transform: rotate(-7deg); }
.note-line { display: block; width: 92px; height: 32px; border-bottom: 1px solid #91a28a; border-radius: 50%; margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 21px; }
.section-heading h2 { font-size: 15px; font-weight: 600; margin: 0; }
.section-heading > span { font-family: Consolas, monospace; font-size: 9px; color: #62705f; letter-spacing: 1px; }
.project { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fffefa; }
.project-copy { padding: 40px 32px 32px 36px; }
.project-icon { width: 47px; height: 47px; color: var(--green); background: #e7eee1; border-radius: 12px; display: grid; place-items: center; margin-bottom: 26px; }
.project-icon svg { width: 31px; height: 31px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; font-size: 8px; letter-spacing: 1.1px; color: #596e57; font-weight: 650; margin-bottom: 13px; }
h3 { font-size: 34px; font-weight: 550; letter-spacing: -1.5px; margin: 0 0 9px; }
.title-dot { color: #669267; }
.project-subtitle { font-size: 14px; margin: 0 0 20px; font-weight: 500; }
.project-description { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 395px; margin-bottom: 22px; }
.features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 10px; color: #4c624b; }
.features li::before { content: "\2713"; margin-right: 5px; color: #39704b; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: space-between; gap: 16px; align-items: center; padding: 13px 15px; border-radius: 6px; font-size: 10px; font-weight: 600; transition: background .15s ease; }
.button span { font-size: 15px; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #18472f; color: #fff; }
.button-secondary { border: 1px solid #d5dccf; }
.button-secondary:hover { background: #eef2e8; }
.publication-status { max-width: 340px; font-size: 10px; line-height: 1.65; color: #6d735f; margin: 12px 0 0; }
.project-visual { position: relative; background: #e8eee1; padding: 94px 30px 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.workbook { width: 100%; max-width: 430px; background: #fffefa; border: 1px solid #b9c9b0; border-radius: 9px; overflow: hidden; transform: rotate(-3deg); box-shadow: 0 20px 35px -18px #3a52374d; font-family: Consolas, "Courier New", monospace; font-size: 10px; }
.window-bar { background: #f5f7f0; border-bottom: 1px solid #dbe2d5; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 12px; font-size: 9px; white-space: nowrap; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { display: block; height: 5px; width: 5px; border-radius: 50%; background: #a7b59d; }
.read-only { font-size: 6px; letter-spacing: .5px; color: #66745b; }
.formula-bar { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #e1e6db; font-size: 9px; }
.formula-bar > span:first-child { border-right: 1px solid #dbe2d5; padding-right: 18px; }
.fx { font-style: italic; color: #6c7d63; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { border: 1px solid #e7ebdf; padding: 10px 7px; text-align: left; }
th { font-weight: 400; color: #7b8871; font-size: 8px; background: #f5f7f0; text-align: center; }
thead th:first-child { width: 25px; }
thead th:nth-child(2) { width: 57px; }
thead th:nth-child(4) { width: 80px; }
.sheet-title { padding-top: 18px; padding-bottom: 18px; font-size: 14px; font-family: "Segoe UI", Arial, sans-serif; font-weight: 600; }
.table-head td { background: #eaf0e2; color: #426038; font-weight: 600; font-size: 9px; }
.number { text-align: right; }
.selected-cell { outline: 2px solid #47844e; outline-offset: -2px; background: #f0f7e9; }
.total-row td { font-weight: 600; }
.empty-row { height: 31px; }
.sheet-tabs { display: flex; align-items: center; gap: 20px; border-top: 1px solid #dbe2d5; padding: 0 15px; font-size: 8px; color: #67765c; }
.sheet-tabs > span { padding: 12px 0; }
.sheet-tabs .active-tab { color: #34603d; border-bottom: 2px solid #47744a; }
.sheet-check { margin-left: auto; }
.workbook-status { background: #32613e; color: #f3f6ef; display: flex; justify-content: space-between; padding: 7px 12px; font-size: 7px; }
.visual-caption { margin: 30px 0 0; color: #5d7254; font-size: 10px; }
.visual-caption > span { padding-right: 8px; }
.preview-label { position: absolute; right: 22px; top: 24px; color: #617456; letter-spacing: 1.5px; font-family: Consolas, monospace; font-size: 7px; }
.connect { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 61px 0 64px; }
.connect .eyebrow { font-size: 8px; letter-spacing: 1.5px; color: #65745c; margin-bottom: 13px; }
.connect h2 { font-size: 24px; font-weight: 500; letter-spacing: -.7px; margin: 0 0 10px; }
.connect p:last-child { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; }
.connect > a { white-space: nowrap; font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 29px; border-top: 1px solid var(--line); color: #65705e; font-size: 10px; }
@media (min-width: 1400px) { .intro { padding-top: 92px; padding-bottom: 92px; } }
@media (max-width: 1000px) {
  .page { width: calc(100% - 64px); }
  .project { grid-template-columns: 1.05fr 1fr; }
  .project-copy { padding: 30px 24px; }
  .project-visual { padding: 70px 20px 50px; }
  .window-bar { gap: 6px; font-size: 8px; }
  .read-only { display: none; }
  .workbook { font-size: 9px; }
}
@media (max-width: 720px) {
  .page { width: calc(100% - 40px); }
  .site-header { min-height: 86px; }
  .identity { gap: 12px; font-size: 13px; }
  .monogram { font-size: 29px; }
  nav { gap: 22px; font-size: 12px; }
  .intro { padding: 58px 0; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 23px; }
  h1 { font-size: 62px; letter-spacing: -3px; }
  .intro-copy { font-size: 14px; max-width: 420px; }
  .hero-note { display: none; }
  .section-heading > span { font-size: 7px; }
  .project { grid-template-columns: 1fr; }
  .project-copy { padding: 30px 26px; }
  .project-description { max-width: 100%; }
  .project-visual { padding: 62px 30px 38px; min-height: 400px; }
  .workbook { max-width: 430px; font-size: 10px; }
  .connect { flex-direction: column; align-items: flex-start; gap: 24px; padding: 43px 0; }
  .connect h2 { font-size: 23px; }
  footer { flex-wrap: wrap; font-size: 9px; }
  footer > span:nth-child(2) { display: none; }
}
@media (max-width: 380px) {
  .identity > span:last-child { display: none; }
  h1 { font-size: 52px; }
  .project-copy { padding: 26px 20px; }
  .project-visual { padding-left: 20px; padding-right: 20px; }
  .features { font-size: 9px; }
  .button { width: 100%; font-size: 11px; }
  .tags { font-size: 7px; }
  .workbook { font-size: 8px; }
  thead th:nth-child(2) { width: 38px; }
  thead th:nth-child(4) { width: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
