:root {
  --gold: #fdce59;
  --gold-soft: #fff4cf;
  --ink: #342725;
  --muted: rgba(52, 39, 37, 0.66);
  --line: rgba(52, 39, 37, 0.14);
  --soft: #f7f7f4;
  --white: #ffffff;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); letter-spacing: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(52,39,37,.1); background: rgba(253,206,89,.94); backdrop-filter: blur(18px); }
.nav { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; display: inline-flex; align-items: center; gap: 10px; font: 750 19px/1 ui-rounded, "SF Pro Rounded", sans-serif; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: rgba(52,39,37,.72); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 8px; color: white; background: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font-weight: 700; }

.hero { overflow: hidden; padding: 100px 0 0; background: var(--gold); }
.hero-copy { text-align: center; }
.eyebrow { margin: 0 0 18px; color: rgba(52,39,37,.62); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.hero h1 { max-width: 900px; margin: 0 auto 24px; font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Avenir Next Rounded", "Trebuchet MS", sans-serif; font-size: clamp(48px, 7.1vw, 88px); font-weight: 800; line-height: .98; letter-spacing: 0; }
.hero-lede { max-width: 730px; margin: 0 auto 32px; color: rgba(52,39,37,.72); font-size: 21px; line-height: 1.55; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; font-weight: 720; text-decoration: none; cursor: pointer; }
.button-dark { color: white; background: var(--ink); }
.button-light { border-color: rgba(52,39,37,.22); background: rgba(255,255,255,.36); }
.hero-note { margin: 20px 0 64px; color: rgba(52,39,37,.58); font-size: 13px; }

.product-stage { position: relative; }
.app-window { height: 600px; display: grid; grid-template-columns: 210px 1fr; overflow: hidden; border: 1px solid rgba(52,39,37,.17); border-bottom: 0; border-radius: 8px 8px 0 0; background: #f6f6f3; box-shadow: 0 30px 80px rgba(52,39,37,.22); }
.app-sidebar { padding: 20px 14px; border-right: 1px solid var(--line); background: #fff; }
.app-brand { margin-bottom: 34px; display: flex; align-items: center; gap: 9px; font-weight: 780; }
.app-brand img { width: 32px; height: 32px; }
.side-section { margin: 24px 10px 8px; color: rgba(52,39,37,.42); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.side-item { min-height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 10px; border-radius: 6px; color: var(--muted); font-size: 13px; font-weight: 620; }
.side-item.active { color: var(--ink); background: var(--gold-soft); }
.side-mark { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 2px; }
.app-main { min-width: 0; }
.app-toolbar { height: 74px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: white; }
.app-toolbar > div:first-child { display: grid; gap: 3px; }
.toolbar-label { color: rgba(52,39,37,.44); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.toolbar-actions { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; }
.toolbar-actions button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 6px; color: var(--ink); background: var(--gold); font-weight: 750; }
.workflow-canvas { position: relative; height: calc(100% - 74px); overflow: hidden; background-color: #fafaf8; background-image: radial-gradient(rgba(52,39,37,.11) 1px, transparent 1px); background-size: 22px 22px; }
.flow-node { position: absolute; z-index: 2; width: 176px; min-height: 98px; padding: 16px; display: grid; align-content: center; gap: 7px; border: 1px solid rgba(52,39,37,.16); border-radius: 8px; background: white; box-shadow: 0 8px 18px rgba(52,39,37,.08); }
.flow-node::before, .flow-node::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: 2px solid #b58b28; border-radius: 50%; background: #fffdf7; box-shadow: 0 0 0 3px rgba(250,250,248,.9); transform: translateY(-50%); }
.flow-node::before { left: -5px; }
.flow-node::after { right: -5px; }
.node-trigger::before, .node-output::after { display: none; }
.flow-node strong { font-size: 14px; }
.flow-node small { color: var(--muted); }
.node-type { color: #9a7111; font-size: 9px; font-weight: 850; letter-spacing: .8px; }
.node-trigger { left: 6%; top: 35%; }
.node-model { left: 31%; top: 18%; }
.node-review { left: 56%; top: 35%; }
.node-output { left: 78%; top: 18%; }
.workflow-connections { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.workflow-connections path:not([d^="M 1"]) { fill: none; stroke: #b99743; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; marker-end: url(#workflow-arrow); }
.workflow-connections marker path { stroke: #b99743; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.run-panel { position: absolute; right: 26px; bottom: 24px; z-index: 3; width: 235px; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 10px 28px rgba(52,39,37,.1); }
.run-heading, .run-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.run-heading { margin-bottom: 13px; }
.run-row { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.run-row strong { color: var(--ink); font-size: 11px; }
.status { padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.success { color: #2f6a3a; background: #e7f5e8; }

.trust-strip { border-bottom: 1px solid var(--line); background: white; }
.trust-grid { min-height: 128px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 30px 24px; display: grid; align-content: center; gap: 7px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { font-size: 14px; }
.trust-grid span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.section { padding: 116px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 56px; }
.section-heading.compact { margin: 0; }
.section h2, .faq-section h2 { margin: 0 0 20px; font-size: clamp(35px, 4.5vw, 58px); line-height: 1.06; letter-spacing: 0; }
.section-heading > p:last-child, .split-heading > p, .deployment-copy > p, .company-copy > p, .contact-grid > div > p, .faq-list p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid span { color: #9a7111; font-size: 11px; font-weight: 800; }
.capability-grid h3 { margin: 54px 0 12px; font-size: 20px; }
.capability-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.split-heading { margin-bottom: 52px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin: 0; }
.solution-list { border-top: 1px solid var(--line); }
.solution-list article { min-height: 148px; display: grid; grid-template-columns: 70px 1fr 220px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); }
.solution-number { color: #9a7111; font-size: 12px; font-weight: 800; }
.solution-list h3 { margin: 0 0 8px; font-size: 22px; }
.solution-list p { margin: 0; color: var(--muted); line-height: 1.6; }
.solution-list article > span { color: var(--muted); font-size: 12px; text-align: right; }

.deployment-section { background: var(--ink); color: white; }
.deployment-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.deployment-section .eyebrow, .deployment-copy > p { color: rgba(255,255,255,.62); }
.check-list { margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.84); }
.check-list li::before { content: "✓"; margin-right: 12px; color: var(--gold); font-weight: 900; }
.architecture { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.05); }
.architecture-label { margin-bottom: 26px; color: rgba(255,255,255,.48); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.architecture-row { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; text-align: center; }
.architecture-box { padding: 22px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: rgba(255,255,255,.06); font-weight: 700; }
.architecture-box.highlighted { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.architecture-divider { height: 1px; margin: 30px 0; background: rgba(255,255,255,.16); }
.architecture-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.architecture-services div { padding: 15px; border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); font-size: 12px; text-align: center; }
.architecture > p { margin: 24px 0 0; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.6; }

.security-section { background: var(--gold-soft); }
.security-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.security-grid article { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.42); }
.security-grid h3 { margin: 0 0 42px; font-size: 18px; }
.security-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.company-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 96px; align-items: start; }
.company-brand-panel { padding: 40px; display: grid; justify-items: center; gap: 25px; border-radius: 8px; background: var(--gold); text-align: center; }
.company-brand-panel img { width: 168px; height: 168px; }
.company-brand-panel div { display: grid; gap: 6px; }
.company-brand-panel strong { font: 750 24px/1 ui-rounded, "SF Pro Rounded", sans-serif; }
.company-brand-panel span { color: var(--muted); font-size: 13px; }
.company-copy > p { margin: 0 0 18px; }
.company-facts { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.company-facts > div { min-height: 88px; padding: 18px; display: grid; align-content: center; gap: 7px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-facts span { color: var(--muted); font-size: 11px; }
.company-facts strong { font-size: 14px; }

.contact-section { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-lines { margin-top: 35px; border-top: 1px solid var(--line); }
.contact-lines a { padding: 13px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-lines span { color: var(--muted); font-size: 12px; }
.contact-lines strong { font-size: 13px; }
.contact-form { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.contact-form label { margin-bottom: 18px; display: grid; gap: 8px; font-size: 12px; font-weight: 750; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; outline: 0; color: var(--ink); background: #fafaf8; }
input, select { min-height: 46px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #b98c20; box-shadow: 0 0 0 3px rgba(253,206,89,.25); }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.faq-section { padding: 100px 0; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 36px 24px 0; cursor: pointer; font-size: 17px; font-weight: 700; }
.faq-list p { margin: -8px 0 25px; font-size: 14px; }

.site-footer { color: white; background: var(--ink); }
.footer-top { padding: 65px 0; display: flex; justify-content: space-between; gap: 60px; }
.footer-brand { display: flex; align-items: center; gap: 14px; align-self: flex-start; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand div { display: grid; gap: 5px; }
.footer-brand strong { font: 750 20px/1 ui-rounded, "SF Pro Rounded", sans-serif; }
.footer-brand span { color: rgba(255,255,255,.55); font-size: 12px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 150px); gap: 40px; }
.footer-columns > div { display: grid; align-content: start; gap: 12px; }
.footer-columns strong { margin-bottom: 5px; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.footer-columns a { color: rgba(255,255,255,.78); font-size: 13px; text-decoration: none; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.48); font-size: 11px; }
.social-links { display: flex; gap: 18px; flex-wrap: wrap; }
.social-links span { cursor: default; }

.legal-main { min-height: 70vh; padding: 78px 0 110px; background: var(--soft); }
.legal-shell { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.legal-heading { margin-bottom: 38px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { margin: 0 0 12px; font-size: clamp(38px, 6vw, 56px); line-height: 1.05; }
.legal-heading p { margin: 0; color: var(--muted); }
.legal-content { padding: 38px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.legal-content h2 { margin: 38px 0 12px; font-size: 21px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.75; }
.legal-content ul { padding-left: 20px; }
.legal-content a { font-weight: 700; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 20px 24px; flex-direction: column; align-items: stretch; gap: 4px; border-bottom: 1px solid var(--line); background: var(--gold); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 8px; }
  .nav-links .nav-cta { justify-content: center; }
  .menu-button { display: block; }
  .app-window { grid-template-columns: 165px 1fr; }
  .flow-node { width: 150px; }
  .node-trigger { left: 4%; }.node-model { left: 28%; }.node-review { left: 52%; }.node-output { left: 74%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .split-heading, .deployment-grid, .security-layout, .company-grid, .contact-grid, .faq-layout { grid-template-columns: 1fr; gap: 50px; }
  .solution-list article { grid-template-columns: 55px 1fr; padding: 24px 0; }
  .solution-list article > span { grid-column: 2; text-align: left; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .hero { padding-top: 74px; }
  .hero h1 { font-size: 48px; }
  .hero-lede { font-size: 18px; }
  .hero-note { margin-bottom: 42px; }
  .app-window { height: 485px; grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-toolbar { height: 68px; padding: 0 14px; }
  .toolbar-actions span { display: none; }
  .workflow-canvas { height: calc(100% - 68px); }
  .flow-node { width: 138px; min-height: 84px; padding: 12px; }
  .node-trigger { left: 5%; top: 12%; }.node-model { left: 53%; top: 12%; }.node-review { left: 5%; top: 40%; }.node-output { left: 53%; top: 40%; }
  .workflow-connections path:not([d^="M 1"]) { stroke-width: 1.75; }
  .run-panel { left: 5%; right: 5%; bottom: 14px; width: auto; }
  .trust-grid, .capability-grid, .security-grid, .company-facts { grid-template-columns: 1fr; }
  .trust-grid > div, .trust-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section h2, .faq-section h2 { font-size: 38px; }
  .capability-grid article { min-height: 220px; }
  .field-row, .architecture-services { grid-template-columns: 1fr; }
  .contact-form { padding: 23px; }
  .footer-columns { width: 100%; grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 20px 0; align-items: flex-start; flex-direction: column; }
  .legal-content { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
