:root {
    color-scheme: light;
    --ink: #142824;
    --muted: #4b625b;
    --green: #136b53;
    --green-dark: #07503d;
    --line: #ccdcd5;
    --surface: #fff;
    --quiet: #eef6f2;
    --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font: 100%/1.55 var(--body);
    color: var(--ink);
    background: linear-gradient(140deg, #f0f9f5 0, #f8fbff 43rem, #f5f9f7 90rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
[hidden] { display: none !important; }
a { color: var(--green-dark); text-underline-offset: .22em; }
a:hover { color: #004733; }
:focus-visible { outline: 3px solid #176de0; outline-offset: 3px; }
:target { scroll-margin-top: 1rem; }
main:focus, h1:focus, section:focus { outline: none; }
.skip { position: absolute; background: #fff; padding: .8rem; transform: translateY(-150%); z-index: 9; }
.skip:focus { transform: translateY(0); }
.shell { width: min(74rem, calc(100% - 4rem)); margin-inline: auto; }
.narrow { max-width: 49rem; }
.site-header { border-bottom: 1px solid #dae8e2; background: #f7fbf9; }
.header-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.14rem; display: inline-flex; gap: .55rem; align-items: center; white-space: nowrap; letter-spacing: -.035em; }
.brand-light { font-weight: 650; }
.mark { width: 1.88rem; height: 1.88rem; display: grid; place-items: center; border-radius: .51rem; color: #fff; background: var(--green); font-size: 1.08rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
nav a { text-decoration: none; font-weight: 650; font-size: .92rem; }
nav a:hover { text-decoration: underline; }
.nav-login { padding: .5rem .8rem; border: 1px solid #b6cec3; border-radius: .55rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: 5.2rem 4rem; }
.category { color: var(--green-dark); font-size: .87rem; text-transform: uppercase; letter-spacing: .10em; font-weight: 800; margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .65em; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem,5vw,4.65rem); line-height: 1; margin-bottom: .34em; letter-spacing: -.065em; }
.hero h1 em { color: var(--green); font-style: normal; display: block; }
h2 { font-size: clamp(1.55rem,3vw,2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; overflow-wrap: anywhere; }
.lead, .hero-lead { color: var(--muted); font-size: clamp(1.05rem,1.7vw,1.25rem); max-width: 39rem; }
.hero-lead { max-width: 29rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.45rem 0 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .62rem .95rem; border: 1px solid transparent; border-radius: .64rem; text-decoration: none; font: 700 .95rem/1.35 var(--body); cursor: pointer; text-align: center; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--green-dark); color: #fff; }
.secondary { background: #fbfefa; border-color: #afc8bd; color: var(--green-dark); }
.secondary:hover { background: #e8f4ee; }
.danger { color: #862b25; border-color: #c98f89; background: #fff6f5; }
.button:disabled { opacity: .65; cursor: wait; }
.quiet, .hint { color: var(--muted); font-size: .9rem; }
.hero-demo { min-width: 0; padding: clamp(1rem,3vw,2.55rem); background: radial-gradient(ellipse at 98% 4%, #327a64, transparent 65%), repeating-linear-gradient(135deg,#d4f2df19 0 1px,transparent 1px 26px), #103e35; border-radius: 1.45rem; box-shadow: 0 20px 45px #123c3320; }
.demo-frame { border-radius: .8rem; background: #f7fcf9; overflow: hidden; color: #18352d; box-shadow: 0 13px 32px #05271f63; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .65rem .85rem; border-bottom: 1px solid #d9e9df; font-size: .86rem; font-weight: 730; }
.demo-bar i { width: .34rem; height: .34rem; background: #80a99a; display: inline-block; margin-right: .18rem; border-radius: 50%; }
.demo-private { border-radius: .3rem; padding: .1rem .35rem; background: #e4f1eb; color: #275247; font-size: .82rem; }
.demo-content { padding: clamp(.78rem,2.6vw,1.5rem); }
.demo-content h2 { margin-bottom: .72rem; font-size: clamp(1.32rem,2.5vw,1.82rem); }
.demo-label { color: #356257; font-size: .81rem; letter-spacing: .065em; font-weight: 800; margin-bottom: .35rem; }
.demo-prompt { display: grid; grid-template-columns: auto 1fr; gap: .65rem; padding: .75rem; border-radius: .5rem; background: #e8f2ee; align-items: start; margin-bottom: 1.05rem; }
.demo-prompt p { font-size: .88rem; margin: 0; }
.demo-avatar { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 100%; background: #c7e5d6; font-size: .78rem; font-weight: 800; }
.demo-section { display: grid; grid-template-columns: 45% 1fr; color: #3c5b52; font-size: .8rem; font-weight: 750; padding-bottom: .3rem; }
.demo-row { display: grid; grid-template-columns: auto minmax(5.9rem, calc(45% - 1.55rem)) minmax(0,1fr); align-items: start; gap: .35rem; padding: .45rem 0; border-top: 1px solid #deebe4; font-size: .82rem; line-height: 1.35; }
.demo-row span:last-child { color: #405d54; }
.demo-box { display: grid; place-items: center; background: #d9eddf; width: 1.12rem; height: 1.12rem; border-radius: .25rem; font-weight: 800; }
.demo-box.pending { background: #e9eeec; }
.section { padding-block: 2.5rem 3.25rem; }
.library { padding-top: 1rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.section-heading h2 { margin-bottom: .2rem; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.role-grid, .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.role-card, .panel, .plan { background: var(--surface); border: 1px solid var(--line); border-radius: .95rem; padding: 1.35rem; }
.role-card { position: relative; padding: 1.25rem; }
.role-card h3 { margin-top: .9rem; }
.role-card h3 a { color: inherit; text-decoration: none; }
.role-card h3 a:hover { text-decoration: underline; }
.role-card p { color: var(--muted); font-size: .96rem; }
.role-icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; color: #0c5a46; background: #d9eee4; border-radius: .65rem; font-weight: 800; font-size: 1.35rem; }
.spreadsheet-checking .role-icon { background: #dfeafa; color: #194983; }
.clerical-accuracy .role-icon { background: #eae3f8; color: #62428b; }
.duration { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--muted); font-size: .88rem; font-weight: 650; }
.text-link { color: var(--green-dark); font-weight: 750; font-size: .93rem; display: inline-block; margin-bottom: .25rem; }
.workflow { background: #e9f4ef; border-block: 1px solid #d9e9e0; }
.steps { margin: 0; padding-left: 1.6rem; gap: 2rem; }
.steps li { padding-left: .2rem; }
.steps li::marker { color: var(--green-dark); font-weight: 800; }
.steps h3 { margin-top: .12rem; }
.steps p { margin-bottom: 0; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.plan.pro { border-top: 4px solid var(--green); }
.plan-price { font-size: 2rem; font-weight: 800; line-height: 1.05; margin-bottom: .5rem; }
.plan-price span, .plan-note { font-size: .94rem; color: var(--muted); }
.plan-note { margin-bottom: 0; }
.footer { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.footer p { margin: .45rem 0 0; color: var(--muted); }
main { min-height: 68vh; }
.section > .category:not(:first-child), .prose h2 { margin-top: 1.1rem; }
.panel { margin: 0 0 1rem; min-width: 0; }
.panel p:last-child { margin-bottom: 0; }
.panel h2, .panel h3 { margin-top: .15rem; }
.auth { max-width: 34rem; }
.auth h1, .workspace h1, .candidate h1 { font-size: clamp(2rem,4vw,3.25rem); }
.auth-links { margin-top: 1.1rem; font-size: .9rem; }
.alert { padding: .85rem 1rem; border: 1px solid #a8c9bd; background: #e7f5ee; border-radius: .65rem; color: #154b38; margin: 0 0 1rem; overflow-wrap: anywhere; }
.error { color: #822b23; background: #fff2f0; border-color: #c7857f; }
.once { margin-top: .6rem; }
.copy-status { margin-inline-start: .55rem; }
.workspace-nav { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; padding-bottom: .85rem; }
.workspace-nav .quiet { display: block; }
.workspace-nav nav { gap: .9rem; }
.plain { border: 0; padding: .28rem; background: transparent; text-decoration: underline; color: var(--green-dark); font: 650 .92rem var(--body); cursor: pointer; }
.workspace-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 1rem; align-items: start; margin-block: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; margin-bottom: 1rem; font-size: .94rem; }
input:not([type=checkbox]), textarea, select { border: 1px solid #9cb7ac; border-radius: .52rem; background-color: #fcfefe; color: var(--ink); font: 400 1rem/1.45 var(--body); padding: .55rem .62rem; width: 100%; min-width: 0; }
textarea { resize: vertical; }
select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg,transparent 50%,#315a4c 50%),linear-gradient(135deg,#315a4c 50%,transparent 50%); background-position: calc(100% - 16px) 55%,calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.check { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: 1rem; font-size: .95rem; }
.check input { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin: .19rem 0 0; accent-color: var(--green); }
fieldset { border: 1px solid var(--line); min-width: 0; border-radius: .55rem; margin: 0 0 .85rem; padding: .65rem .8rem; }
legend { font-weight: 780; padding-inline: .35rem; }
fieldset .field:last-child { margin-bottom: .25rem; }
.record-list { list-style: none; padding: 0; }
.record-list li { border-top: 1px solid var(--line); }
.record-list a { display: flex; flex-direction: column; text-decoration: none; padding: .75rem .15rem; }
.record-list a:hover strong { text-decoration: underline; }
.record-list span { color: var(--muted); font-size: .9rem; }
.written { white-space: pre-wrap; }
.table-scroll { width: 100%; overflow: auto; margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; text-align: left; }
caption { text-align: left; font-weight: 750; padding-block: .25rem; }
th, td { border: 1px solid var(--line); padding: .4rem .55rem; }
th { background: var(--quiet); }
.export, form + form { margin-top: .95rem; }
.candidate h2 { margin-top: 1.1rem; }
@media(max-width: 54rem) {
    .hero { gap: 1.6rem; padding-block: 3.5rem 3rem; }
    .shell { width: calc(100% - 2.4rem); }
}
@media(max-width: 44rem) {
    .header-inner { align-items: flex-start; min-height: 0; padding-block: .7rem; gap: .65rem; flex-direction: column; }
    .header-inner nav { gap: .75rem; }
    .nav-login { padding: .18rem .45rem; }
    .hero, .workspace-grid { grid-template-columns: 1fr; }
    .hero { padding-block: 2.65rem; }
    .hero-copy .quiet { margin-bottom: 0; }
    .section-heading { align-items: start; flex-direction: column; gap: .2rem; }
    .role-grid, .steps, .plan-grid { grid-template-columns: 1fr; }
    .steps { gap: 1.15rem; }
    .footer, .workspace-nav { flex-direction: column; align-items: start; }
    .workspace-nav nav { gap: .55rem; }
    .section { padding-block: 2rem; }
}
@media(max-width: 23rem) {
    .shell { width: calc(100% - 1.6rem); }
    .panel, .plan, .role-card { padding: .95rem; }
    .demo-row { grid-template-columns: auto minmax(4.8rem,1fr) minmax(0,1.2fr); font-size: .77rem; }
    .actions .button { width: 100%; }
}
@media(prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
