:root {
  --paper: #f7f6f0;
  --milk: #fffefa;
  --ink: #20362e;
  --green: #2b493a;
  --olive: #49624a;
  --muted: #4f5c52;
  --line: #dedfd3;
  --wash: #e9eee2;
  --focus: #846b2f;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Manrope, 'Segoe UI', sans-serif;
  --shadow-card: 0 .65rem 1.65rem -.6rem #2c443238, 0 2px 6px #233a260b;
  --shadow-large: 0 2rem 4.5rem -1.65rem #30452e6b, 0 .65rem 1.3rem -.7rem #30452e42;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
section[id], .showcase, .section-anchor { scroll-margin-block: 1.5rem; }
.section-anchor { display: block; }
.wrap { width: min(81rem, calc(100% - clamp(2.5rem, 9.2vw, 8rem))); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 3; inset: .6rem auto auto .6rem; padding: .5rem 1rem; background: var(--milk); transform: translateY(-160%); }
.skip:focus { transform: none; }

.top { position: relative; z-index: 1; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 .35rem 1.4rem #26382812; }
.top-inner { height: 5.15rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; font: 400 2.4rem/.9 var(--serif); letter-spacing: -.055em; }
.brand img { flex: none; }
.brand-period { color: #777346; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.1rem, 2.6vw, 2.4rem); }
.nav a { font-size: .92rem; font-weight: 650; color: #3e4e41; padding-block: .6rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; }
.button { display: inline-flex; min-height: 3.35rem; padding: .62rem 1.21rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .49rem; font-size: .94rem; font-weight: 720; line-height: 1.35; text-align: center; transition: background .2s ease, box-shadow .22s ease, border-color .2s ease, transform .22s ease; }
.button-outline { border-color: #b6c3b4; background: #fffefa42; }
.button-outline:hover { background: #e9eee2; border-color: #839d87; }
.top-actions { display: flex; align-items: center; justify-self: end; gap: clamp(.65rem, 1.15vw, 1.05rem); }
.login-link { color: var(--green); padding-block: .6rem; font-size: .94rem; font-weight: 720; white-space: nowrap; }
.login-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.top-action { min-height: 2.9rem; white-space: nowrap; }
.button-primary { background: linear-gradient(160deg, #3a5947, var(--green)); color: var(--milk); box-shadow: 0 .57rem 1.1rem -.25rem #21392b73, inset 0 1px #ffffff22; }
.button-primary:hover { background: #243f32; box-shadow: 0 .82rem 1.35rem -.34rem #21392b82, inset 0 1px #ffffff22; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); align-items: stretch; gap: clamp(2rem, 4vw, 4.25rem); padding-block: clamp(2rem, 3.1vw, 3.35rem) clamp(3rem, 5.5vw, 5rem); }
.hero-copy { align-self: center; padding-block: 1.15rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; width: fit-content; color: #3c5742; font-size: .825rem; font-weight: 780; letter-spacing: .115em; text-transform: uppercase; line-height: 1.45; }
.eyebrow::before { content: ''; width: 1.55rem; height: 1px; flex: none; background: #8d8a53; }
h1, h2 { font: 400 1rem/1.02 var(--serif); letter-spacing: -.055em; }
h1 { margin-block: 1.2rem 1.35rem; font-size: clamp(3rem, 4.63vw, 4.7rem); overflow-wrap: normal; }
h1 em, h2 em { color: var(--olive); font-weight: 400; }
h1 em { display: block; max-width: 15ch; }
.hero-description { max-width: 29rem; color: var(--muted); font-size: clamp(1.04rem, 1.31vw, 1.18rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.hero-media { position: relative; overflow: hidden; min-height: clamp(29rem, 40vw, 37rem); border-radius: .45rem .45rem 7rem .45rem; isolation: isolate; background: #9c8b65; box-shadow: 0 1.9rem 3.3rem -1.6rem #483421a1, 0 .65rem 1.3rem -.65rem #39291651; }
.hero-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.photo-signature { position: absolute; left: 1.35rem; bottom: 1.35rem; border: 1px solid #e8dcbc70; border-radius: .75rem; background: #253d33; box-shadow: 0 0 .45rem #16271c25; }

.overview, .features, .security, .questions, .closing { padding-block: clamp(3.75rem, 7vw, 7rem); }
.section-lead h2, .closing h2 { font-size: clamp(2.65rem, 4.8vw, 4.7rem); margin: .85rem 0 0; }
.section-lead > p:last-child { color: var(--muted); max-width: 31rem; margin-top: .95rem; font-size: 1.06rem; }
.overview { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 5%, #f8f8ef, transparent 70%), var(--wash); }
.demo-lead { text-align: center; margin-inline: auto; max-width: 54rem; }
.demo-lead > p { margin-inline: auto; }
.demo-lead > p:last-child { max-width: 33rem; }
.showcase { max-width: 68rem; margin: clamp(2rem, 4vw, 3.5rem) auto 0; background: var(--milk); border: 1px solid #cbd6c7; border-radius: 1rem; overflow: clip; box-shadow: var(--shadow-large); }
.showcase-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 4.15rem; padding: .75rem clamp(.85rem, 2.6vw, 1.8rem); border-bottom: 1px solid #e0e6dc; background: #fafbf6; }
.showcase-brand { display: flex; align-items: center; gap: .55rem; font: 400 1.8rem/1 var(--serif); letter-spacing: -.05em; }
.sample-tag { color: #405649; background: #eaf0e5; border: 1px solid #e0e8da; border-radius: 99rem; padding: .27rem .66rem; font-size: .83rem; font-weight: 700; white-space: nowrap; }
.showcase-body { display: grid; grid-template-columns: minmax(13rem, 25%) minmax(0, 1fr); min-height: 23rem; }
.showcase-sidebar { background: #f2f4eb; border-right: 1px solid #e0e6db; padding: 1.55rem clamp(.8rem, 2vw, 1.3rem); }
.field-label { display: block; color: #4f6053; font-size: .875rem; font-weight: 700; margin-bottom: .35rem; }
.select { appearance: none; width: 100%; min-width: 0; min-height: 2.8rem; padding: .48rem 2rem .48rem .7rem; color: var(--ink); border: 1px solid #c9d4c6; border-radius: .43rem; box-shadow: inset 0 1px 2px #3447330b; background: var(--milk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233c5945' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right .55rem center / 1rem no-repeat; cursor: pointer; font-size: .94rem; font-weight: 650; }
.select:hover { border-color: #8ea78c; }
.demo-tabs { display: grid; gap: .36rem; margin-top: 1.35rem; }
.demo-tab { display: flex; align-items: center; gap: .51rem; width: 100%; min-height: 2.8rem; padding: .46rem .58rem; background: transparent; color: var(--ink); border: 1px solid transparent; border-radius: .42rem; text-align: left; cursor: pointer; font-size: .91rem; font-weight: 650; line-height: 1.3; }
.demo-tab:hover { background: #e8eee1; }
.demo-tab[aria-selected='true'] { background: linear-gradient(150deg, #e8efe2, #dce8d8); border-color: #cbdcc6; font-weight: 750; box-shadow: 0 2px 5px #2c463219, inset 0 1px #ffffff9e; }
.demo-tab .icon::before { width: 1.13rem; height: 1.13rem; }
.showcase-content { min-width: 0; }
.demo-panel { padding: clamp(1.2rem, 3.25vw, 2.45rem); }
.demo-panel:focus-visible { outline-offset: -5px; }
.panel-intro { margin-bottom: 1.2rem; }
.panel-intro h3 { font-size: clamp(1.34rem, 2.35vw, 1.82rem); line-height: 1.2; letter-spacing: -.032em; }
.panel-intro p { color: var(--muted); margin-top: .38rem; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.case-grid > div { background: #f3f5ed; border: 1px solid #e4e9de; border-radius: .48rem; padding: .7rem .85rem; }
.case-grid dt, .paper-preview dt { color: var(--muted); font-size: .875rem; }
.case-grid dd, .paper-preview dd { margin-top: .1rem; font-weight: 720; font-size: .94rem; overflow-wrap: anywhere; }
.case-time { margin-inline-start: .45rem; white-space: nowrap; }
.doc-select { max-width: 27rem; margin-bottom: .86rem; }
.paper-preview { background: linear-gradient(135deg, #fffdfa, #faf7ee); border: 1px solid #e2dfd1; border-radius: .6rem; padding: 1rem 1.15rem; box-shadow: var(--shadow-card); }
.paper-label { color: #655b41; font-size: .8rem; font-weight: 700; letter-spacing: .05em; }
.paper-preview h4 { margin: .35rem 0 .72rem; color: var(--ink); font-size: 1.1rem; line-height: 1.25; }
.paper-preview dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding-block: .55rem; border-block: 1px solid #e6e3d7; }
.paper-preview > p:last-child { margin-top: .7rem; color: var(--muted); font-size: .91rem; }
.demo-previews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.event-preview, .notice-preview { border: 1px solid #e0e6da; border-radius: .65rem; padding: .9rem; background: #f4f6ef; }
.event-preview h4, .notice-preview h4 { font-size: .875rem; color: var(--muted); }
.event-row { display: flex; align-items: flex-start; gap: .55rem; margin-top: .75rem; }
.event-row p, .notice-preview > p { margin-top: .18rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.date-card { display: grid; flex: none; place-items: center; padding: .3rem .42rem; background: #e2ebde; color: #385539; border-radius: .4rem; font-size: .77rem; line-height: 1.3; }
.date-card strong { font-size: 1.19rem; }
.notice-preview { text-align: center; background: #fffdf6; border-color: #e3decc; box-shadow: inset 0 0 0 4px #f4efe1; }
.notice-preview .notice-copy { margin-block: .7rem .45rem; color: var(--ink); font: 400 1.28rem/1.15 var(--serif); }
.notice-preview .notice-date { margin-top: .25rem; }

.features { background: var(--paper); }
.features-lead { max-width: 58rem; margin-bottom: clamp(1.9rem, 3.8vw, 3.4rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 1.7vw, 1.4rem); }
.feature { background: var(--milk); border: 1px solid #dfe4d8; border-radius: .85rem; padding: clamp(1.05rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-card); }
.feature-main { background: linear-gradient(135deg, #f8fbf3, #ebf1e5); border-color: #cbd9c7; }
.feature h3 { font-size: clamp(1.12rem, 1.7vw, 1.3rem); letter-spacing: -.026em; line-height: 1.3; margin-top: .85rem; }
.feature p { color: var(--muted); margin-top: .5rem; }
.onboarding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); align-items: center; gap: .9rem 2rem; background: #eeeee3; border: 1px solid #e0e1d3; border-radius: .85rem; padding: clamp(1.15rem, 2.5vw, 1.75rem); margin-top: clamp(1.2rem, 2.35vw, 2rem); box-shadow: inset 0 1px #ffffff87; }
.onboarding h3 { font: 400 clamp(1.62rem, 2.6vw, 2.3rem)/1.12 var(--serif); letter-spacing: -.045em; margin-top: .35rem; }
.onboarding > p { color: var(--muted); }
.icon { display: inline-grid; flex: none; place-items: center; color: #3c5945; }
.feature-icon { width: 3.05rem; height: 3.05rem; background: #e4ecdf; border-radius: .55rem; }
.icon::before { content: ''; width: 1.45rem; height: 1.45rem; background: currentColor; mask: var(--glyph) center/contain no-repeat; }
.icon-notes { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 3.5h8l4.5 4.5v12.5H6zM14 3.5V8h4.5M9 12h6.5M9 16h6.5'/%3E%3C/svg%3E"); }
.icon-calendar { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3.5' y='6' width='17' height='14' rx='2'/%3E%3Cpath d='M7.5 3.5v5M16.5 3.5v5M3.5 10.5h17M8 15h2m4 0h2'/%3E%3C/svg%3E"); }
.icon-folder { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.5 6h5l2 2H19a1.5 1.5 0 0 1 1.5 1.5v8A1.5 1.5 0 0 1 19 19H5a1.5 1.5 0 0 1-1.5-1.5v-10A1.5 1.5 0 0 1 5 6zM7 12.5h10'/%3E%3C/svg%3E"); }
.icon-leaf { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M20 4c.5 7-2 12.5-8 13-4 .4-6.5-2.8-5.5-6C8 6.5 14.5 5.5 20 4zM4 20l10-9'/%3E%3C/svg%3E"); }
.icon-users { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8.5' r='3'/%3E%3Cpath d='M3.5 19v-2c0-2 1.6-3.5 3.5-3.5h4c2 0 3.5 1.5 3.5 3.5v2M16 5.5c2 .2 3 1.4 3 3s-1 2.8-3 3m1 2c2 0 3.5 1.5 3.5 3.5v2'/%3E%3C/svg%3E"); }
.icon-check { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12 2.3 2.3 4.8-4.9'/%3E%3C/svg%3E"); }

.security { background: radial-gradient(ellipse at 85% 2%, #3b5948, transparent 70%), #233d33; color: #fffaf0; }
.security-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(1.75rem, 5.8vw, 6rem); align-items: center; }
.security .eyebrow, .security h2 em { color: #d7ddba; }
.security .eyebrow::before { background: #b2b589; }
.security-lead > p:last-child { color: #e0eadd; }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; padding: 0; margin: 0; list-style: none; }
.security-grid li { background: #ffffff0a; border: 1px solid #d2e0c835; border-radius: .62rem; padding: .9rem 1rem; box-shadow: 0 .5rem .95rem -.55rem #172a237f; }
.security-grid strong, .security-grid span { display: block; }
.security-grid strong { font-size: .99rem; line-height: 1.35; }
.security-grid span { color: #e1eade; font-size: .91rem; line-height: 1.5; margin-top: .4rem; }

.questions-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 5.5rem); }
.faq { display: grid; align-content: start; gap: .65rem; }
.faq details { background: var(--milk); border: 1px solid #dfe4d8; border-radius: .65rem; box-shadow: var(--shadow-card); }
.faq details[open] { border-color: #b8c5b2; }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 1.85rem; align-items: center; gap: .65rem; padding: .77rem .88rem; min-height: 3.65rem; font-weight: 720; line-height: 1.35; list-style: none; cursor: pointer; border-radius: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -4px; }
.faq summary span { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; color: var(--green); background: #edf1e8; border-radius: 50%; }
.faq summary span::before, .faq summary span::after { content: ''; grid-area: 1 / 1; width: .68rem; height: 1.5px; background: currentColor; border-radius: 1px; }
.faq summary span::after { transform: rotate(90deg); transition: transform .18s ease; }
.faq details[open] summary span { color: #fcfdf9; background: var(--green); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq p { color: var(--muted); padding: 0 .88rem 1rem; }

.closing { padding-top: 0; }
.closing-inner { display: grid; justify-items: center; text-align: center; background: radial-gradient(ellipse at 50% 0, #f9faef, transparent 74%), var(--wash); border: 1px solid #d6dfd0; border-radius: 1rem; padding: clamp(2rem, 4.75vw, 4.4rem) 1rem; box-shadow: var(--shadow-card); }
.closing-inner > img { border-radius: .7rem; box-shadow: 0 .38rem .8rem #263e362d; }
.closing h2 { margin-top: .8rem; }
.closing p { max-width: 30rem; color: var(--muted); margin: .86rem auto 1.25rem; font-size: 1.06rem; }
.email { margin-top: .65rem; color: var(--green); font-size: .94rem; text-decoration: underline; text-underline-offset: .23em; overflow-wrap: anywhere; }
.foot { background: #eeeee6; border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding-block: 1.4rem; }
.brand-small { font-size: 1.9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; color: var(--green); font-size: .9rem; font-weight: 680; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: .25em; }

@media (hover: hover) {
  .button-primary:hover { transform: translateY(-2px); }
  .faq details:not([open]):hover { border-color: #b6c6b0; }
}

@media (max-width: 63rem) {
  .hero { gap: 1.6rem; }
  .hero-media { border-bottom-right-radius: 4.5rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 58rem) {
  .top-action { display: none; }
}

@media (max-width: 49rem) {
  .top-inner { height: 4.6rem; display: flex; justify-content: space-between; gap: .6rem; }
  .nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 1.65rem 2.75rem; gap: 1.5rem; }
  .hero-copy { padding: .48rem 0 .16rem; }
  h1 { font-size: clamp(2.84rem, 8.5vw, 4.5rem); margin-block: 1rem 1rem; }
  .hero-media { min-height: 0; aspect-ratio: 1.46; border-bottom-right-radius: 3.6rem; }
  .photo-signature { left: .85rem; bottom: .85rem; }
  .photo-signature img { width: 34px; height: 34px; }
  .showcase-top { min-height: 3.45rem; }
  .showcase-body, .security-inner, .questions-inner, .onboarding { grid-template-columns: minmax(0, 1fr); }
  .showcase-sidebar { border-right: 0; border-bottom: 1px solid #e0e6db; padding: .9rem .76rem; }
  .showcase-sidebar > .select { max-width: 29rem; }
  .demo-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .8rem; }
  .demo-tab { justify-content: center; text-align: center; padding: .38rem .2rem; min-height: 2.95rem; }
  .demo-tab .icon { display: none; }
}

@media (max-width: 38rem) {
  .feature-grid, .demo-previews { grid-template-columns: minmax(0, 1fr); }
  .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .7rem; }
  .feature h3 { align-self: center; margin: 0; }
  .feature p { grid-column: 1 / -1; }
  .feature-icon { width: 2.45rem; height: 2.45rem; }
  .feature-icon::before { width: 1.18rem; height: 1.18rem; }
  .case-grid > div { padding: .54rem .56rem; }
  .case-time { display: block; margin-inline-start: 0; }
}

@media (max-width: 24rem) {
  .wrap { width: calc(100% - 1.9rem); }
  .brand { font-size: 2.03rem; }
  .brand img { width: 34px; height: 34px; }
  h1 { font-size: clamp(2.57rem, 9.6vw, 3.02rem); }
  .hero-actions .button { padding-inline: .66rem; }
  .case-grid, .security-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-panel { padding-inline: .77rem; }
  .foot-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq summary span::after { transition: none; }
  .button-primary:hover { transform: none; }
}
