:root {
  --paper: #f2eee6;
  --paper-deep: #e8e1d5;
  --ink: #17241f;
  --muted: #65706a;
  --line: rgba(23, 36, 31, .16);
  --red: #d9634f;
  --red-deep: #ad3d36;
  --gold: #e8b65d;
  --blue: #b7d3d0;
  --white: #fffdf8;
  --shadow: 0 24px 80px rgba(45, 39, 28, .13);
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
  --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2; background: radial-gradient(circle at 12% 8%, rgba(232,182,93,.21), transparent 28%), radial-gradient(circle at 87% 18%, rgba(183,211,208,.24), transparent 30%), linear-gradient(120deg, transparent 0 62%, rgba(217,99,79,.05) 62% 67%, transparent 67%); }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .075; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.site-header { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 13px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark { position: relative; width: 35px; height: 35px; display: inline-block; border: 1.5px solid var(--ink); border-radius: 50%; transform: rotate(-16deg); }
.brand-mark i { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 50%; top: 3px; left: 3px; background: var(--paper); }
.brand-mark i + i { left: 13px; top: 13px; background: var(--red); }
.brand-mark b { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); right: 2px; top: 2px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 19px; letter-spacing: .04em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 8px; letter-spacing: .22em; }
.header-right { display: flex; align-items: center; gap: 26px; }
.status-pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #77a579; box-shadow: 0 0 0 3px rgba(119,165,121,.15); }
.text-link { color: var(--ink); font-size: 12px; text-decoration: none; }
.text-link span { color: var(--red); font-size: 18px; margin-left: 4px; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; padding: 72px 0 84px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; color: var(--red-deep); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { color: var(--ink); font-family: var(--serif); font-size: 14px; letter-spacing: 0; }
.hero h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .97; }
.hero h1 { font-size: clamp(47px, 6vw, 78px); }
.hero h1 em, h2 em { color: var(--red); font-style: normal; }
.hero h1 strong { font-weight: 400; color: var(--ink); }
.hero-lede { max-width: 480px; margin: 30px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 0 18px; border: 1px solid var(--ink); font-size: 12px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--red-deep); border-color: var(--red-deep); box-shadow: 5px 5px 0 var(--gold); }
.button-quiet { color: var(--ink); border-color: transparent; }
.button-quiet:hover { box-shadow: none; color: var(--red-deep); }
.hero-footnote { margin-top: 32px; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.tiny-lock { color: var(--red); margin-right: 6px; font-size: 15px; }
.hero-art { position: relative; min-height: 500px; }
.chat-card { position: absolute; right: 3%; top: 42px; width: min(390px, 90%); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transform: rotate(3.5deg); z-index: 2; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.72); }
.mini-avatar, .agent-avatar, .context-avatar { display: grid; place-items: center; border-radius: 50%; font-family: var(--serif); font-weight: 700; }
.mini-avatar { width: 30px; height: 30px; color: var(--white); background: var(--red); }
.chat-head div { display: flex; flex-direction: column; line-height: 1.15; }
.chat-head b { font-size: 12px; }.chat-head small { margin-top: 4px; color: var(--muted); font-size: 9px; }.live-mark { margin-left: auto; color: var(--red-deep); font-size: 8px; letter-spacing: .1em; }
.chat-body { padding: 21px 18px 19px; background: linear-gradient(90deg, rgba(232,225,213,.33) 1px, transparent 1px) 0 0 / 31px 31px; }
.message { display: flex; gap: 9px; margin: 12px 0; font-size: 12px; }.message > span { width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--white); font-size: 9px; background: var(--ink); }.message p { margin: 0; padding: 10px 12px; line-height: 1.55; }.message-user { justify-content: flex-end; flex-direction: row-reverse; }.message-user > span { color: var(--ink); background: var(--gold); }.message-user p { background: #e1ede9; }.message-agent p { border: 1px solid var(--line); background: var(--paper); }.message p small { color: var(--muted); font-size: 9px; }.message-agent b { font-size: 10px; letter-spacing: .05em; }
.chat-confirm { display: flex; align-items: center; gap: 7px; margin: 18px 0 0 32px; color: var(--muted); font-size: 10px; }.chat-confirm b { padding: 3px 9px; border: 1px solid var(--red); border-radius: 999px; color: var(--red-deep); font-size: 9px; }
.receipt-card { position: absolute; width: 215px; height: 278px; padding: 24px 20px; background: #f7e8ca; box-shadow: 10px 17px 34px rgba(67,50,22,.14); }.receipt-back { left: 4%; top: 151px; transform: rotate(-10deg); color: #68563a; }.receipt-card span { display: block; font-size: 9px; letter-spacing: .22em; }.receipt-card b { display: block; margin-top: 11px; font-family: var(--serif); font-size: 22px; font-weight: 400; }.receipt-card small { display: block; margin-top: 6px; font-size: 8px; letter-spacing: .12em; }.receipt-lines { display: grid; gap: 8px; margin-top: 42px; }.receipt-lines i { display: block; height: 1px; background: rgba(104,86,58,.35); }.receipt-lines i:nth-child(2) { width: 72%; }.receipt-lines i:nth-child(3) { width: 88%; }.receipt-lines i:nth-child(4) { width: 52%; }.receipt-card strong { display: block; margin-top: 29px; font-family: var(--serif); font-size: 25px; font-weight: 400; text-align: right; }.stamp { position: absolute; right: 2%; bottom: 25px; width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid var(--red); border-radius: 50%; color: var(--red-deep); font-family: var(--serif); font-size: 13px; line-height: 1.15; text-align: center; transform: rotate(10deg); }.scribble { position: absolute; color: var(--red-deep); font-family: var(--serif); font-size: 14px; font-style: italic; }.scribble-top { top: 12px; right: 10%; transform: rotate(4deg); }
.manifest { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 32px; padding: 28px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.manifest-label { display: flex; align-items: center; gap: 10px; color: var(--red-deep); font-size: 10px; font-weight: 700; letter-spacing: .16em; }.manifest-label i { width: 25px; height: 1px; background: var(--red); }.manifest p { max-width: 570px; margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; }.manifest p strong { color: var(--red-deep); font-weight: 400; }.manifest-meta { display: grid; gap: 4px; color: var(--muted); font-size: 10px; text-align: right; }.manifest-meta span::before { content: "—  "; color: var(--red); }
.demo-section { padding: 132px 0 145px; }.section-heading { max-width: 500px; }.section-heading h2 { font-size: clamp(45px, 5vw, 67px); }.section-heading > p:last-child { max-width: 400px; margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }.demo-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; margin-top: 64px; }.scenario-rail { padding-top: 12px; }.rail-label { margin: 0 0 15px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }.scenario-button { width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 0 9px; padding: 14px 0 14px 0; border: 0; border-top: 1px solid var(--line); color: var(--muted); background: transparent; text-align: left; cursor: pointer; transition: color .2s ease, padding .2s ease; }.scenario-button:last-of-type { border-bottom: 1px solid var(--line); }.scenario-button span { grid-row: span 2; font-family: var(--serif); font-size: 12px; }.scenario-button b { font-family: var(--serif); color: var(--ink); font-size: 18px; font-weight: 400; }.scenario-button small { margin-top: 3px; font-size: 10px; }.scenario-button:hover, .scenario-button.is-active { padding-left: 8px; color: var(--red-deep); }.scenario-button.is-active b { color: var(--red-deep); }.rail-note { display: flex; gap: 10px; margin-top: 35px; padding: 14px; background: var(--blue); }.rail-note span { color: var(--red-deep); font-size: 20px; }.rail-note p { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.6; }
.demo-window { min-height: 548px; overflow: hidden; background: var(--white); box-shadow: 0 22px 60px rgba(34,40,32,.13); }.window-top, .window-bottom { display: flex; align-items: center; justify-content: space-between; padding: 11px 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .08em; }.window-top b { color: var(--red-deep); font-size: 8px; letter-spacing: .16em; }.window-dots { display: flex; gap: 5px; }.window-dots i { width: 7px; height: 7px; display: block; border: 1px solid var(--ink); border-radius: 50%; }.window-dots i:first-child { background: var(--red); }.window-dots i:nth-child(2) { background: var(--gold); }.window-dots i:nth-child(3) { background: var(--blue); }.demo-content { min-height: 473px; padding: 21px 35px 25px; background: linear-gradient(rgba(242,238,230,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,230,.35) 1px, transparent 1px); background-size: 24px 24px; }.demo-context { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.context-avatar { width: 34px; height: 34px; color: var(--ink); background: var(--gold); font-size: 11px; }.demo-context div { display: flex; flex-direction: column; line-height: 1.2; }.demo-context b { font-family: var(--serif); font-size: 15px; font-weight: 400; }.demo-context small { margin-top: 5px; color: var(--muted); font-size: 9px; }.context-lock { margin-left: auto; color: var(--muted); font-size: 9px; }.chat-stream { display: grid; gap: 14px; padding: 25px 5% 14px; }.demo-message { display: flex; gap: 10px; max-width: 82%; animation: messageIn .4s both; }.demo-message.user { justify-self: end; flex-direction: row-reverse; }.demo-message .bubble-avatar { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 8px; }.demo-message.user .bubble-avatar { background: var(--gold); color: var(--ink); }.demo-message p { margin: 0; padding: 11px 14px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; line-height: 1.65; }.demo-message.user p { border: 0; background: #deebe8; }.demo-message p b { font-size: 11px; }.demo-message p .field-row { display: flex; min-width: 265px; justify-content: space-between; gap: 24px; border-bottom: 1px dashed rgba(23,36,31,.15); }.demo-message p .field-row:last-child { border-bottom: 0; }.demo-message p .field-row span { color: var(--muted); }.demo-message p .field-row strong { color: var(--ink); font-weight: 600; }.demo-message .message-caption { margin-top: 10px; color: var(--red-deep); font-size: 10px; }.demo-actions { display: flex; flex-wrap: wrap; gap: 9px; padding: 9px 5% 0; }.demo-action { padding: 9px 13px; border: 1px solid var(--red); color: var(--red-deep); background: transparent; font: inherit; font-size: 11px; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }.demo-action:hover { color: var(--white); background: var(--red); transform: translateY(-2px); }.demo-action.secondary { border-color: var(--line); color: var(--muted); }.demo-action.secondary:hover { color: var(--ink); background: var(--paper-deep); }.demo-empty { padding: 42px 0; color: var(--muted); font-family: var(--serif); font-size: 18px; text-align: center; }.window-bottom { border-top: 1px solid var(--line); border-bottom: 0; }.window-bottom i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #77a579; }.window-bottom b { color: var(--ink); font-weight: 600; }
.workflow-section { padding: 122px 0 124px; background: var(--ink); color: var(--paper); }.section-heading-wide { max-width: none; }.workflow-section .eyebrow { color: var(--gold); }.workflow-section .eyebrow span { color: var(--paper); }.workflow-track { display: grid; grid-template-columns: 1fr 55px 1fr 55px 1fr 55px 1fr 55px 1fr; align-items: center; margin-top: 74px; }.workflow-step { min-height: 132px; padding: 20px 12px 15px; border: 1px solid rgba(242,238,230,.25); }.workflow-step span { display: block; color: var(--gold); font-family: var(--serif); font-size: 12px; }.workflow-step b { display: block; margin-top: 24px; font-family: var(--serif); font-size: 18px; font-weight: 400; }.workflow-step p { margin: 4px 0 0; color: rgba(242,238,230,.55); font-size: 10px; }.workflow-step-focus { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: translateY(-9px); box-shadow: 8px 8px 0 var(--red); }.workflow-step-focus span { color: var(--red-deep); }.workflow-step-focus p { color: rgba(23,36,31,.68); }.workflow-track > i { width: 37px; height: 1px; justify-self: center; background: rgba(242,238,230,.35); }.workflow-caption { display: flex; justify-content: space-between; align-items: center; margin-top: 47px; color: rgba(242,238,230,.65); }.workflow-caption span { color: var(--gold); font-size: 10px; letter-spacing: .18em; }.workflow-caption p { margin: 0; font-family: var(--serif); font-size: 17px; }
.spec-section { padding: 135px 0 145px; }.field-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 65px; }.field-card { position: relative; min-height: 242px; grid-column: span 2; padding: 22px 20px 17px; overflow: hidden; border-top: 3px solid var(--ink); background: var(--white); box-shadow: 0 11px 30px rgba(34,40,32,.06); }.field-card:nth-child(4) { grid-column: 2 / span 2; }.field-card:nth-child(5) { grid-column: 4 / span 2; }.field-card span { color: var(--muted); font-size: 9px; letter-spacing: .15em; }.field-card strong { display: block; margin-top: 22px; font-family: var(--serif); font-size: 25px; font-weight: 400; }.field-card p { max-width: 190px; margin: 12px 0; color: var(--muted); font-size: 11px; line-height: 1.65; }.field-card i { position: absolute; right: 20px; bottom: 15px; color: var(--red-deep); font-family: var(--serif); font-size: 14px; font-style: normal; }.field-card-date { border-color: var(--blue); }.field-card-name { border-color: var(--gold); }.field-card-amount { border-color: var(--red); }.field-card-category { border-color: #8e9ac0; }.field-card-payer { border-color: var(--ink); }
.boundaries-section { padding: 0 0 145px; }.boundary-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; padding: 58px 64px; background: var(--paper-deep); }.boundary-intro h2 { font-size: 58px; }.boundary-intro > p:last-child { max-width: 260px; margin: 28px 0 0; color: var(--muted); font-size: 13px; }.boundary-list { display: grid; align-content: center; gap: 20px; }.boundary-list > div { display: grid; grid-template-columns: 35px 1fr; gap: 16px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }.boundary-list > div:last-child { border-bottom: 0; padding-bottom: 0; }.boundary-list > div > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; }.boundary-list .yes { color: #4a7754; background: #c9ddc5; }.boundary-list .no { color: var(--red-deep); background: #efc9bd; }.boundary-list .pause { color: #81651f; background: #f1d88f; }.boundary-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }.boundary-list p b { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 400; }
.security-section { padding: 94px 0; background: var(--blue); }.security-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }.security-section h2 { font-size: 57px; }.security-diagram { display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; }.diagram-node { min-height: 137px; padding: 20px; border: 1px solid var(--ink); background: rgba(255,253,248,.55); }.diagram-node span { font-size: 9px; letter-spacing: .17em; }.diagram-node b { display: block; margin-top: 22px; font-family: var(--serif); font-size: 18px; font-weight: 400; }.diagram-node small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }.public-node { transform: rotate(-2deg); }.private-node { color: var(--paper); background: var(--ink); transform: rotate(2deg); }.private-node small { color: rgba(242,238,230,.6); }.diagram-line { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--red-deep); font-size: 9px; }.diagram-line i { display: block; width: 22px; height: 1px; background: var(--red-deep); }.diagram-line i:last-child { transform: rotate(180deg); }
.closing { padding: 151px 0 165px; text-align: center; }.closing .eyebrow { justify-content: center; }.closing h2 { font-size: clamp(47px, 6vw, 76px); }.closing > p:not(.eyebrow) { max-width: 430px; margin: 24px auto 32px; color: var(--muted); font-family: var(--serif); font-size: 18px; }.site-footer { display: flex; justify-content: space-between; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .09em; }.footer-brand { display: flex; align-items: center; gap: 10px; }.footer-brand .brand-mark { width: 23px; height: 23px; }.footer-brand .brand-mark i { width: 10px; height: 10px; }.footer-brand .brand-mark i + i { left: 9px; top: 9px; }.footer-brand .brand-mark b { width: 4px; height: 4px; }.site-footer > div:last-child { display: flex; gap: 18px; }
.reveal { animation: revealUp .8s both; }.reveal-delay-1 { animation-delay: .12s; }.reveal-delay-2 { animation-delay: .22s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes messageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) { .shell { width: min(100% - 40px, 680px); }.header-right .text-link { display: none; }.hero { grid-template-columns: 1fr; padding-top: 60px; }.hero-art { min-height: 505px; }.manifest { grid-template-columns: 1fr; gap: 18px; }.manifest-meta { display: flex; gap: 16px; text-align: left; }.demo-layout, .boundary-panel, .security-grid { grid-template-columns: 1fr; gap: 34px; }.demo-layout { margin-top: 45px; }.scenario-rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }.rail-label, .rail-note { grid-column: 1 / -1; }.rail-note { margin-top: 20px; }.workflow-track { grid-template-columns: 1fr; gap: 9px; }.workflow-track > i { width: 1px; height: 28px; }.workflow-step { min-height: 92px; }.workflow-step b { margin-top: 12px; }.workflow-step-focus { transform: none; }.field-grid { grid-template-columns: repeat(2, 1fr); }.field-card, .field-card:nth-child(4), .field-card:nth-child(5) { grid-column: auto; }.security-grid { gap: 45px; }.boundary-panel { padding: 42px 30px; }.diagram-node b { margin-top: 12px; }.site-footer { align-items: flex-start; flex-direction: column; gap: 16px; } }
@media (max-width: 560px) { .shell { width: calc(100% - 30px); }.site-header { height: 78px; }.status-pill { font-size: 8px; }.hero h1 { font-size: 48px; }.hero-art { min-height: 455px; transform: scale(.93); transform-origin: top left; width: 108%; }.receipt-back { left: 0; }.chat-card { right: 0; width: 350px; }.demo-content { padding: 17px 14px 20px; }.demo-message { max-width: 100%; }.demo-message p .field-row { min-width: 205px; gap: 10px; }.window-bottom { font-size: 8px; }.window-bottom span:last-child { display: none; }.scenario-rail { grid-template-columns: 1fr; }.field-grid { grid-template-columns: 1fr; }.boundary-intro h2, .security-section h2 { font-size: 47px; }.security-diagram { grid-template-columns: 1fr; gap: 16px; }.diagram-line { transform: rotate(90deg); height: 35px; }.site-footer > div:last-child { flex-wrap: wrap; gap: 8px 15px; } }
