:root {
  color-scheme: light;
  --paper: #f8f8f3;
  --surface: #ffffff;
  --ink: #1a3030;
  --muted: #526762;
  --green: #17665d;
  --green-dark: #104b44;
  --pale: #eaf0e9;
  --line: #dce3db;
  --gold: #958653;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
::selection { background: #cce3d8; color: #123e35; }
a:focus-visible, summary:focus-visible { outline: 3px solid #bc8a35; outline-offset: 5px; border-radius: 4px; }
.skip-link { position: absolute; z-index: 5; top: -80px; left: 20px; padding: 8px 16px; color: #fff; background: var(--green-dark); }
.skip-link:focus { top: 12px; }
.section-shell, .header-inner { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.brand img { display: block; flex: 0 0 auto; }
nav { display: flex; gap: 32px; }
nav a { padding: 12px 0; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--green); }

.hero { padding-block: 82px 88px; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 88px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.accent-line { width: 28px; height: 2px; background: var(--green); }
h1 { margin: 0 0 24px; font-size: clamp(42px, 5vw, 66px); font-weight: 750; line-height: 1.2; letter-spacing: -.04em; }
h1 span { display: block; color: var(--green); }
.hero-intro { margin: 0 0 16px; font-size: 23px; line-height: 1.6; letter-spacing: -.02em; }
.hero-detail { max-width: 460px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 22px; padding: 10px 19px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 650; transition: background .16s, border-color .16s; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-block: 8px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }

.focus-card { position: relative; padding: 30px 32px 24px; border: 1px solid #cedbd0; border-radius: 10px; background: var(--pale); box-shadow: 8px 8px 0 #eef0e7; }
.focus-card::before { position: absolute; content: ""; top: 0; bottom: 0; left: 14px; border-left: 1px solid #d5dfd3; }
.focus-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; }
.notebook-label { color: #416057; font-size: 12px; letter-spacing: .14em; }
.notebook-symbol { color: #7c9488; font-size: 22px; line-height: 1; }
.focus-card h2 { margin: 0 0 5px; font-size: 25px; letter-spacing: -.04em; font-weight: 650; }
.focus-lead { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.focus-list { list-style: none; padding: 0; margin: 0; }
.focus-list li { display: flex; gap: 18px; align-items: flex-start; padding: 17px 0; border-top: 1px solid #cfdbd0; }
.focus-number { padding-top: 1px; color: #5f7e71; font-size: 12px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.focus-list strong { font-size: 15px; font-weight: 650; }
.focus-list p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.notebook-footer { display: flex; gap: 5px; justify-content: flex-end; margin-top: 12px; }
.notebook-footer span { width: 4px; height: 4px; border-radius: 50%; background: #91a99b; }

.notes-section { padding-block: 64px 68px; background: #f0f2eb; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.section-heading .eyebrow, .about-section .eyebrow { margin-bottom: 10px; }
.section-heading h2, .about-section h2 { margin: 0; font-size: clamp(24px, 2.65vw, 30px); line-height: 1.5; font-weight: 650; letter-spacing: -.03em; }
.section-heading > p { max-width: 245px; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.note-card { padding: 27px 25px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.note-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: #8a978b; font: 12px ui-monospace, "Cascadia Code", Consolas, monospace; }
.note-category { padding: 4px 9px; color: #446553; background: #edf3ed; border-radius: 4px; font: 12px -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.note-card h3 { margin: 0 0 14px; font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.note-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.note-points { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #e7ebe5; list-style: none; }
.note-points li { position: relative; margin-top: 8px; padding-left: 14px; color: #466155; font-size: 12px; }
.note-points li::before { position: absolute; content: ""; top: .8em; left: 0; width: 4px; height: 4px; background: var(--gold); }

.practice-section { padding-block: 66px 54px; }
.project-card { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 32px; border: 1px solid #d5dfd6; background: #fff; border-radius: 8px; }
.project-mark { position: relative; display: grid; place-items: center; width: 100px; height: 110px; overflow: hidden; color: #dce7de; background: #244b44; border-radius: 5px; }
.project-mark span { z-index: 1; font: 500 29px ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: -.06em; }
.project-mark::before, .project-mark::after { content: ""; position: absolute; width: 76px; height: 76px; border: 1px solid #58766b; transform: rotate(45deg); }
.project-mark::after { width: 114px; height: 114px; border-color: #3e6258; }
.project-mark i { position: absolute; z-index: 1; left: 15px; bottom: 13px; width: 18px; height: 2px; background: #c7b780; }
.project-kicker { margin: 0 0 5px; color: #526762; font-size: 11px; letter-spacing: .1em; }
.project-copy h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.5; font-weight: 650; }
.project-copy > p:not(.project-kicker) { max-width: 530px; margin: 0; color: var(--muted); font-size: 13px; }
.project-copy .access-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px !important; color: #526259 !important; font-size: 12px !important; }
.lock-icon { position: relative; flex: 0 0 auto; width: 10px; height: 9px; border: 1px solid #708776; border-radius: 2px; margin-top: 8px; }
.lock-icon::before { content: ""; position: absolute; left: 1px; top: -6px; width: 4px; height: 5px; border: 1px solid #708776; border-bottom: 0; border-radius: 4px 4px 0 0; }
.project-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.button-outline { color: var(--green-dark); border-color: #b8cfc1; background: #f5f8f2; white-space: nowrap; }
.button-outline:hover { border-color: var(--green); background: #eaf2e8; }
.source-link { color: var(--muted); font-size: 12px; font-weight: 400; }
.project-disclaimer { margin: 16px 0 0; color: #5c6d63; font-size: 11px; line-height: 1.8; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 38px 62px; border-top: 1px solid var(--line); }
.about-section h2 { font-size: 24px; }
.about-section > p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.site-footer { padding: 27px 20px 30px; border-top: 1px solid var(--line); background: #eef1e9; text-align: center; color: #53645a; }
.site-footer p { margin: 0; font-size: 12px; }
.filing-link { display: inline-block; padding: 7px 10px; margin-top: 2px; color: #365a4c; font-size: 14px; line-height: 1.6; }
.filing-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .hero { gap: 44px; }
  .focus-card { padding: 26px 25px 22px; }
  .project-card { grid-template-columns: 80px minmax(0, 1fr); gap: 23px; }
  .project-mark { width: 80px; height: 96px; }
  .project-actions { grid-column: 2; flex-direction: row; gap: 22px; justify-content: flex-start; }
  .note-card { padding-inline: 20px; }
  .note-card h3 { font-size: 17px; }
}

@media (max-width: 760px) {
  .section-shell, .header-inner { width: min(100% - 40px, 600px); }
  .header-inner { min-height: 74px; gap: 16px; }
  .brand { gap: 9px; font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  nav { gap: 18px; }
  nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 56px; }
  h1 { font-size: clamp(40px, 9vw, 56px); margin-bottom: 20px; }
  .hero-intro { font-size: 21px; }
  .hero-detail { max-width: 100%; font-size: 14px; }
  .focus-card { max-width: 100%; }
  .focus-heading { padding-bottom: 20px; }
  .focus-list li { padding-block: 13px; }
  .notes-section { padding-block: 46px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 25px; }
  .section-heading > p { max-width: none; }
  .notes-grid { grid-template-columns: 1fr; gap: 17px; }
  .note-card { padding: 25px; }
  .note-card h3 { font-size: 20px; }
  .note-meta { margin-bottom: 18px; }
  .note-points { margin-top: 17px; }
  .note-points li { font-size: 13px; }
  .practice-section { padding-block: 46px 38px; }
  .project-card { padding: 25px; grid-template-columns: 1fr; gap: 20px; }
  .project-mark { width: 58px; height: 60px; }
  .project-mark span { font-size: 21px; }
  .project-mark i { left: 8px; bottom: 8px; width: 12px; }
  .project-actions { grid-column: 1; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
  .project-copy h3 { font-size: 23px; }
  .project-disclaimer { font-size: 12px; }
  .about-section { grid-template-columns: 1fr; gap: 12px; padding-block: 32px 42px; }
  .about-section > p { margin: 0; }
}

@media (max-width: 390px) {
  .section-shell, .header-inner { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 16px 9px; }
  nav { width: 100%; padding-left: 39px; gap: 24px; }
  nav a { padding-block: 5px; }
  .hero { padding-top: 36px; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 15px; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
