/* Optima: lime, chrome, and a quiet workspace. No remote assets or libraries. */
:root {
  color: #232920;
  background: #f5f6f1;
  --blue: #3e6428;
  --muted: #626c5d;
  --line: #dde2d7;
  --rail: #f0f2eb;
  --lime: #c5f469;
}
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button, input, select { min-height: 44px; }
input:focus, textarea:focus, select:focus { outline-color: #71964c; }
.primary { background: #25351f; border-radius: 10px; box-shadow: none; }
.primary:hover { background: #344c29; }
.secondary { border-radius: 9px; }
.secondary:hover { background: #f3f6ed; }
.brand-image { object-fit: contain; margin-right: 9px; }
.brand-dot { color: #598135; }
.wordmark { letter-spacing: -1.2px; font-weight: 700; }
.login-screen { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .8fr); gap: 0 6%; width: min(1440px, 100%); margin: 0 auto; padding: 0 5%; min-height: 100dvh; }
.landing-header { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; border-bottom: 1px solid var(--line); }
.landing-header nav { display: flex; gap: 30px; align-items: center; font-size: 13px; font-weight: 550; }
.landing-header nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 20px; }
.header-cta { border: 1px solid #cbd3c2; border-radius: 30px; padding: 0 18px; }
.header-cta:hover { background: #eaf0df; }
.login-story { padding: 64px 0 24px; background: none; min-height: auto; overflow: visible; justify-content: flex-start; gap: 38px; }
.login-story > .story-copy { padding: 0; }
.login-story .eyebrow, .eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: 1.65px; font-weight: 650; color: #536349; max-width: none; margin: 0; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #608b39; }
.login-story h1 { font-size: clamp(44px, 4.8vw, 70px); letter-spacing: -.055em; line-height: 1.06; font-weight: 580; margin: 26px 0 22px; }
.login-story h1 em { font-style: normal; position: relative; isolation: isolate; white-space: nowrap; }
.login-story h1 em::after { content: ''; position: absolute; z-index: -1; left: 0; right: -3px; bottom: .06em; height: .2em; background: var(--lime); transform: rotate(-1deg); }
.login-story .hero-description { font-size: 16px; line-height: 1.8; max-width: 470px; color: #5c6756; margin: 0 0 18px; }
.story-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-size: 12px; font-weight: 600; }
.story-link:hover { color: var(--blue); }
.workflow-art { margin: 0; height: 290px; position: relative; border: 1px solid #dce3d2; border-radius: 20px; background: radial-gradient(ellipse at center, #e5f4cd 0, #eef3e6 43%, #f5f6f1 78%); overflow: hidden; }
.art-heading { position: absolute; top: 19px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #4e6041; z-index: 2; }
.diagram-label { font-size: 9px; color: #707968; }
.workflow-art .art-paths { position: absolute; top: 33px; left: 0; width: 100%; height: 230px; }
.grid-path { stroke: #dbe3d0; stroke-width: .8; stroke-dasharray: 3 7; }
.flow-path { stroke: #b5c79c; stroke-width: 1.2; }
.flow-signal { stroke: #638e36; stroke-width: 2; stroke-dasharray: 16 640; animation: trace-workflow 3s ease-out 2 forwards; }
@keyframes trace-workflow { from { stroke-dashoffset: 640; opacity: 0; } 15%, 80% { opacity: .8; } to { stroke-dashoffset: 0; opacity: 0; } }
.hero-mark { position: absolute; width: 174px; height: 174px; object-fit: contain; left: 50%; top: 50%; transform: translate(-50%, -46%); filter: drop-shadow(0 16px 15px #344d191c); }
.art-node { position: absolute; display: flex; align-items: center; gap: 7px; padding: 9px 11px; font-size: 10px; font-weight: 550; border: 1px solid #d9e2ce; border-radius: 8px; background: #fdfef9; box-shadow: 0 3px 12px #35452106; }
.art-node svg { width: 13px; height: 13px; color: #668347; }
.node-brief { top: 83px; left: 18px; }.node-repo { top: 189px; left: 18px; }
.node-build { top: 83px; right: 18px; }.node-review { top: 189px; right: 18px; }
.node-dot { width: 6px; height: 6px; border-radius: 50%; background: #7fa64e; }
.workflow-art figcaption { position: absolute; bottom: 15px; left: 0; right: 0; text-align: center; font-size: 9px; letter-spacing: .8px; color: #626f56; }
.auth-shell { padding: 64px 0 24px; display: flex; flex-direction: column; justify-content: center; }
.login-form { max-width: 420px; padding: 32px; margin: 0 auto; border: 1px solid #dde2d5; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px -40px #3e512d66, 0 2px 5px #2b38200a; }
.auth-emblem { width: 44px; height: 44px; display: grid; place-items: center; background: #eef7e2; border: 1px solid #deedcc; border-radius: 12px; color: #587734; }
.auth-emblem svg { width: 23px; height: 23px; }
.login-form .small-label { margin: 24px 0 10px; font-size: 11px; color: #69755e; }
.login-form h2 { font-size: 30px; letter-spacing: -1.1px; font-weight: 600; margin: 0 0 10px; }
.login-form #auth-description { margin: 0 0 22px; max-width: 290px; line-height: 1.6; }
.login-form label { font-size: 12px; margin-top: 20px; }
.login-form input { min-height: 47px; border-radius: 9px; }
.login-form > .primary { margin-top: 24px; min-height: 48px; font-size: 13px; }
.auth-options { display: flex; flex-wrap: wrap; gap: 0 17px; margin-top: 12px; justify-content: flex-start; }
.auth-options button { min-height: 44px; font-size: 11px; color: #6b745f; }
.auth-options [aria-pressed="true"] { color: #2d4a1b; text-decoration: underline; text-underline-offset: 4px; }
.login-form .auth-footnote { margin: 14px 0 0; padding-top: 20px; border-top: 1px solid #edf0e7; font-size: 10px; color: #717b67; text-align: center; }
.auth-caption { text-align: center; color: #707b64; font-size: 10px; margin: 21px 0 0; }
.auth-status { padding: 12px; border: 1px solid #e2d9bc; border-radius: 8px; background: #fffbef; color: #746028; line-height: 1.6; }
.method-section { grid-column: 1 / -1; margin-top: 48px; padding: 48px 0 0; border-top: 1px solid var(--line); }
.method-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.method-heading h2 { font-size: clamp(25px, 2.6vw, 35px); line-height: 1.2; letter-spacing: -1.2px; font-weight: 550; margin: 0; }
.method-heading .eyebrow { padding-top: 8px; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 44px; }
.method-grid article { border-top: 1px solid #d5dfc9; padding-top: 21px; }
.step-number { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 1.1px; color: #72855d; }
.method-grid h3 { font-size: 18px; font-weight: 600; letter-spacing: -.4px; margin: 23px 0 10px; }
.method-grid p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.8; max-width: 340px; }
.method-note { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 35px 0 42px; font-size: 10px; color: #5c6c4e; }
.method-note span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin: 0 8px 2px 0; background: #88aa5e; }
.landing-footer { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; color: #626e56; }
.landing-footer a { min-height: 44px; display: flex; align-items: center; gap: 20px; color: #34452a; }
.sidebar { background: #f0f2eb; }
.sidebar .wordmark { font-size: 25px; }
.sidebar .brand-image { width: 32px; height: 32px; }
.new-project { display: flex; align-items: center; justify-content: center; gap: 10px; background: #e2edcf; border-color: #d0dfbb; color: #344f21; }
.new-project:hover { background: #d7e7bf; }
.project-item[aria-current="true"] { background: #e0eacb; color: #314a21; }
.project-item:hover { background: #e7eddf; }
.project-item, .rail-label, .balance > span, .balance small, .account-row .text-button { color: #637158; }
.inspector p, .mode-guide dd, #context-status { color: #6c785f; }
.mode-guide dt { color: #4c6040; }
.composer select { background: #f3f6ee; border-color: #dde5d4; }
.budget-label, .budget-label input { color: #607153; }
.composer select, .budget-label input, .composer .primary { min-height: 44px; }
.composer:focus-within { box-shadow: 0 0 0 2px #809b5917; }
.workspace-header, .inspector { background: #fafbf7; }
.welcome-logo { object-fit: contain; width: 96px; height: 96px; margin-bottom: 12px; }
.welcome h2 { letter-spacing: -1.2px; color: #2c3825; }
.welcome p { color: #68735e; }
.suggestions button { border-radius: 12px; border-color: #dce3d4; background: #fcfdf9; }
.suggestions button:hover { border-color: #a6bf89; background: #f4f8ec; }
.suggestions small { color: #6e7865; }
.composer { border-radius: 15px; border-color: #cbd7bd; box-shadow: 0 8px 30px #31401e08; }
.composer:focus-within { border-color: #7b9b59; }
.composer-toolbar { gap: 12px; }
#send { display: inline-flex; align-items: center; gap: 10px; }
.composer-note { color: #737d69; }
.context-preview, .balance { border-color: #d7e0ce; }
.work-dialog { border-radius: 16px; }
@media (min-width: 1600px) { .login-screen { padding: 0 72px; } }
@media (max-width: 1100px) {
  .login-screen { gap: 0 4%; padding: 0 4%; }
  .login-form { padding: 26px; }
  .art-heading { left: 16px; right: 16px; }
  .diagram-label { display: none; }
  .hero-mark { width: 145px; height: 145px; }
  .art-node { font-size: 9px; padding: 8px; }
  .node-brief, .node-repo { left: 10px; }.node-build, .node-review { right: 10px; }
}
@media (max-width: 820px) {
  .login-screen { grid-template-columns: minmax(0, 1fr); padding: 0 6%; }
  .landing-header { min-height: 84px; }
  .login-story { padding: 44px 0 0; gap: 26px; }
  .login-story h1 { font-size: clamp(43px, 7.5vw, 64px); }
  .login-story .hero-description { max-width: 550px; }
  .workflow-art { max-width: 600px; width: 100%; height: 270px; }
  .hero-mark { width: 174px; height: 174px; }
  .workflow-art .art-paths { top: 23px; }
  .node-brief, .node-build { top: 73px; }.node-repo, .node-review { top: 179px; }
  .art-node { font-size: 10px; padding: 9px 11px; }
  .auth-shell { padding: 32px 0 0; }
  .login-form { max-width: none; padding: 28px; }
  .login-form #auth-description { max-width: none; }
  .method-section { margin-top: 40px; padding-top: 32px; }
  .method-heading { flex-direction: column; gap: 18px; }
  .method-grid { gap: 23px; margin-top: 30px; }
  .method-grid h3 { font-size: 16px; }
  .method-grid p { font-size: 12px; }
}
@media (max-width: 560px) {
  .landing-header { gap: 14px; }
  .landing-header .wordmark { font-size: 23px; }
  .landing-header .brand-image { width: 32px; height: 32px; margin-right: 7px; }
  .landing-header nav { gap: 0; font-size: 11px; }
  .landing-header nav > a:first-child { display: none; }
  .header-cta { padding: 0 13px; }
  .landing-header nav a { gap: 10px; }
  .login-story .hero-description { font-size: 14px; }
  .login-story .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .login-story h1 { font-size: clamp(38px, 10.4vw, 56px); }
  .hero-mark { width: 132px; height: 132px; }
  .art-node { padding: 8px 7px; gap: 5px; font-size: 9px; }
  .node-brief, .node-repo { left: 9px; }.node-build, .node-review { right: 9px; }
  .workflow-art figcaption { font-size: 8px; letter-spacing: .4px; }
  .login-form { padding: 23px; }
  .method-grid { grid-template-columns: 1fr; gap: 24px; }
  .method-grid h3 { font-size: 20px; margin-top: 16px; }
  .method-grid p { font-size: 13px; max-width: none; }
  .method-note { gap: 12px; flex-direction: column; margin-bottom: 30px; }
  .landing-footer { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 10px; }
  .workspace-header .workspace-actions button { min-height: 44px !important; }
  .sidebar-bottom > .text-button { min-height: 44px; }
  .composer-toolbar { align-items: stretch; flex-wrap: wrap; }
  .composer-options { flex-wrap: wrap; gap: 8px; }
  #send { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-signal { animation: none; opacity: 0; }
}

.mode-tour { display:grid; grid-template-columns:1fr 1fr; gap:8%; margin-top:44px; padding:40px; background:#eaf0df; border:1px solid #d9e3cb; border-radius:18px; }
.mode-tour h3 {font-size:30px;line-height:1.18;letter-spacing:-1px;max-width:330px;margin:20px 0 16px;font-weight:550}
.mode-tour p {font-size:13px;line-height:1.8;color:#59684d;max-width:370px}
.mode-tabs {display:flex;gap:5px;padding:5px;border:1px solid #d4dfc6;border-radius:10px;background:#f5f8ef}
.mode-tabs button {flex:1;background:transparent;border-radius:6px;font-size:12px}
.mode-tabs [aria-pressed="true"] {background:#293820;color:#f4f8ec;box-shadow:0 2px 5px #24331b18}
.mode-copy {padding-top:24px;min-height:165px}
.mode-copy>span,.mode-demo-label{font:9px ui-monospace,monospace;letter-spacing:1px;color:#657853}
.mode-copy h4{font-size:19px;letter-spacing:-.4px;margin:14px 0 9px;font-weight:550}
.mode-copy p{margin:0}.mode-demo-label{display:block;border-top:1px solid #d4dfc6;padding-top:17px;letter-spacing:.3px}
@media(max-width:820px){.mode-tour{padding:26px;gap:30px}.mode-tour h3{font-size:26px}}
@media(max-width:560px){.mode-tour{grid-template-columns:1fr;padding:23px;gap:14px}.mode-tour h3{max-width:250px}.mode-copy{min-height:160px}}

/* Product-specific copy, sized for the existing two-column hero. */
.login-story h1{font-size:clamp(38px,4.1vw,62px)}
@media(max-width:820px){.login-story h1{font-size:clamp(36px,6.8vw,60px)}}
@media(max-width:560px){.login-story h1{font-size:clamp(29px,8.5vw,45px)}}
