:root {
  --ink: #15231f;
  --muted: #5f6d67;
  --line: #dbe3df;
  --paper: #fbfcff;
  --soft: #f0f5f2;
  --green: #087f5b;
  --green-dark: #056446;
  --mint: #dff5e9;
  --coral: #ff7657;
  --yellow: #f4c95d;
  --blue: #5681ef;
  --shadow: 0 22px 56px rgba(26, 52, 43, .14);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: 68px; padding: 0 5vw; border-bottom: 1px solid rgba(219, 227, 223, .8);
  background: rgba(251, 252, 255, .92); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand img { border-radius: 7px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.language-switch { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.language-switch button { min-width: 42px; padding: 7px 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 750; }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: white; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 14px; font-weight: 760; text-decoration: none; }
.button-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.button-primary { background: var(--green); color: white; box-shadow: 0 10px 24px rgba(8,127,91,.2); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--line); background: white; color: var(--ink); }
.button-secondary:hover { border-color: #aebdb6; }

.hero { min-height: calc(100vh - 68px); max-height: 930px; display: grid; grid-template-columns: minmax(320px, .86fr) minmax(540px, 1.35fr); gap: 5vw; align-items: center; padding: 7vh 5vw 6vh; overflow: hidden; }
.hero-copy { max-width: 590px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(68px, 7vw, 116px); line-height: .92; letter-spacing: 0; }
.hero-lede { max-width: 570px; margin: 26px 0 0; color: #3f4d47; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.hero-product { position: relative; min-width: 0; }
.browser-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid #cfdad5; border-radius: 8px; background: white; box-shadow: var(--shadow); transform: rotate(-1deg); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f7f9f8; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c8d2cd; }
.browser-bar i:first-child { background: var(--coral); }
.browser-bar i:nth-child(2) { background: var(--yellow); }
.browser-bar i:nth-child(3) { background: #59bc86; }
.browser-bar span { margin-left: 9px; color: #66736d; font-size: 11px; }
.browser-frame > img { width: 100%; height: calc(100% - 42px); object-fit: cover; object-position: center; }
.play-button { position: absolute; inset: 50% auto auto 50%; width: 68px; height: 68px; border: 0; border-radius: 50%; background: var(--coral); color: white; box-shadow: 0 12px 30px rgba(87,36,24,.25); cursor: pointer; transform: translate(-50%,-35%); font-size: 22px; }
.play-button span { display: block; margin-left: 4px; }
.trust-strip { position: absolute; right: 0; bottom: -45px; left: 5%; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 12px 28px rgba(26,52,43,.1); }
.trust-strip span { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-right: 1px solid var(--line); }
.trust-strip span:last-child { border-right: 0; }
.trust-strip b { color: var(--green); font-size: 11px; }
.trust-strip i { overflow: hidden; font-size: 12px; font-style: normal; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }

.proof-band { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.proof-band p { margin: 0; padding: 24px 3vw; border-right: 1px solid var(--line); color: #405049; font-size: 13px; font-weight: 700; text-align: center; }
.proof-band p:last-child { border-right: 0; }
.section { padding: 108px 5vw; }
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2, .control-band h2, .privacy h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4.3vw, 64px); line-height: 1.06; letter-spacing: 0; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; }

.demo-section { background: white; }
.demo-stage { position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9; margin: 0 auto; padding: 0; overflow: hidden; border: 1px solid #c9d5cf; border-radius: 8px; background: #eaf1ed; box-shadow: var(--shadow); cursor: pointer; }
.demo-stage > img { width: 100%; height: 100%; object-fit: cover; }
.demo-stage::after { content: ""; position: absolute; inset: 0; background: rgba(8,27,21,.06); transition: background .2s; }
.demo-stage:hover::after { background: rgba(8,27,21,.12); }
.demo-stage-label { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: center; padding: 12px 16px; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px rgba(18,37,30,.18); text-align: left; }
.demo-stage-label i { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: white; font-style: normal; }
.demo-stage-label b { font-size: 13px; }
.demo-stage-label small { color: var(--muted); }
.steps { width: min(1120px,100%); display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 34px auto 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 22px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps span, .workflow-number { color: var(--coral); font-size: 12px; font-weight: 850; }
.steps h3 { margin: 11px 0 7px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.workflows { background: #f5f8f6; }
.workflow-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #bfcac4; border-bottom: 1px solid #bfcac4; }
.workflow-row article { min-width: 0; min-height: 360px; padding: 32px; border-right: 1px solid #bfcac4; }
.workflow-row article:last-child { border-right: 0; }
.support-status { display:inline-flex; margin-top:18px; padding:4px 7px; border:1px solid #bfcac4; border-radius:5px; font-size:11px; font-weight:800; }
.support-status.supported { color:#176b48; border-color:#8fc7ab; background:#edf8f2; }
.support-status.experimental { color:#875900; border-color:#d7bc77; background:#fff8e7; }
.workflow-row h3 { margin: 20px 0 10px; font-size: 24px; }
.workflow-row p { min-height: 84px; margin: 0; color: var(--muted); line-height: 1.6; }
.mini-ui { display: flex; gap: 7px; margin-top: 38px; }
.mini-ui span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: white; color: #405049; font-size: 11px; font-weight: 750; }
.form-lines { position: relative; display: grid; gap: 10px; margin-top: 36px; }
.form-lines i { width: 100%; height: 17px; border: 1px solid #d6ded9; border-radius: 4px; background: white; }
.form-lines i:nth-child(2) { width: 72%; }
.form-lines b { position: absolute; right: 10px; bottom: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green); }
.progress-mini { margin-top: 34px; padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.progress-mini > span { color: var(--ink); font-size: 13px; font-weight: 800; }
.progress-mini i { display: block; height: 7px; margin: 10px 0 8px; overflow: hidden; border-radius: 4px; background: #e2e8e5; }
.progress-mini i b { display: block; width: 60%; height: 100%; background: var(--green); }
.progress-mini small { color: var(--muted); }

.control-band { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; padding: 110px 7vw; background: var(--ink); color: white; }
.control-band .eyebrow { color: #82d9b2; }
.approval-preview { overflow: hidden; border: 1px solid #40534b; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 25px 64px rgba(0,0,0,.2); }
.approval-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); font-weight: 800; }
.approval-head b { color: var(--green); font-size: 12px; }
.approval-preview label { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.approval-preview label small { color: var(--muted); }
.approval-preview input { accent-color: var(--green); }
.approval-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; }
.approval-actions button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 5px; background: white; cursor: pointer; font-weight: 750; }
.approval-actions button:last-child { border-color: var(--green); background: var(--green); color: white; }

.pricing { background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1220px; margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pricing-grid article { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 30px 25px; border-right: 1px solid var(--line); background: white; }
.pricing-grid article:last-child { border-right: 0; }
.pricing-grid article.recommended { background: #eef9f3; }
.pricing-grid h3 { margin: 0 0 22px; font-size: 18px; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 34px; }
.price span { color: var(--muted); font-size: 12px; }
.pricing-grid p { min-height: 84px; margin: 18px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pricing-grid .button { width: 100%; margin-top: auto; }
.plan-badge { position: absolute; top: 0; right: 0; padding: 6px 9px; border-radius: 0 0 0 6px; background: var(--green); color: white; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.pricing-note { margin: 18px auto 0; color: var(--muted); font-size: 12px; text-align: center; }

.privacy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; background: #e9f2ed; }
.privacy-copy p:not(.eyebrow) { color: #45534d; font-size: 17px; line-height: 1.65; }
.privacy-copy a { color: var(--green); font-size: 14px; font-weight: 800; }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #becbc4; }
.privacy-points div { padding: 28px 24px 28px 0; border-bottom: 1px solid #becbc4; }
.privacy-points div:nth-child(even) { padding-left: 24px; border-left: 1px solid #becbc4; }
.privacy-points b { font-size: 15px; }
.privacy-points p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; background: white; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 44px 24px 0; cursor: pointer; font-size: 17px; font-weight: 750; }
.faq-list p { margin: -8px 0 24px; color: var(--muted); line-height: 1.65; }
.final-cta { display: flex; min-height: 470px; flex-direction: column; align-items: center; justify-content: center; padding: 80px 5vw; background: #fff4df; text-align: center; }
.final-cta img { border-radius: 8px; }
.final-cta h2 { max-width: 820px; margin-top: 22px; }
.final-cta p { max-width: 640px; color: #5d655e; font-size: 17px; }
.final-cta .button { margin-top: 14px; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 28px 5vw; border-top: 1px solid var(--line); background: white; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
footer > div:last-child { display: flex; justify-content: flex-end; gap: 22px; }

dialog { width: min(1120px, calc(100vw - 32px)); padding: 0; overflow: hidden; border: 1px solid #75847d; border-radius: 8px; background: #101b17; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(9,18,15,.74); backdrop-filter: blur(5px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; color: white; }
.dialog-head button { width: 34px; height: 34px; border: 1px solid #46554f; border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 23px; }
dialog video { width: 100%; aspect-ratio: 16 / 9; background: black; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { min-height: auto; max-height: none; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 720px; }
  .hero-product { margin: 20px 0 46px; }
  .proof-band { grid-template-columns: 1fr 1fr; }
  .proof-band p:nth-child(2) { border-right: 0; }
  .proof-band p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-row { grid-template-columns: 1fr; }
  .workflow-row article { min-height: 260px; border-right: 0; border-bottom: 1px solid #bfcac4; }
  .workflow-row article:last-child { border-bottom: 0; }
  .workflow-row p { min-height: 0; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid article:nth-child(2) { border-right: 0; }
  .pricing-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .control-band, .privacy, .faq { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { min-height: 60px; padding: 0 16px; }
  .brand span { display: none; }
  .header-actions { gap: 8px; }
  .button-small { min-height: 36px; padding: 0 11px; }
  .hero { padding: 34px 18px 36px; }
  h1 { font-size: 60px; }
  .hero-lede { margin-top: 18px; font-size: 18px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  .hero-actions .button { width: 100%; padding: 0 12px; font-size: 13px; }
  .hero-product { margin-top: 12px; margin-bottom: 36px; }
  .browser-bar { height: 30px; }
  .browser-frame > img { height: calc(100% - 30px); }
  .play-button { width: 54px; height: 54px; }
  .trust-strip { right: 8px; bottom: -32px; left: 8px; }
  .trust-strip span { justify-content: center; padding: 10px 3px; }
  .trust-strip i { display: none; }
  .proof-band p { min-height: 70px; display: grid; place-items: center; padding: 14px; font-size: 12px; }
  .section { padding: 78px 18px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .control-band h2, .privacy h2, .final-cta h2 { font-size: 36px; }
  .section-heading > p:last-child { font-size: 16px; }
  .demo-stage-label { right: 10px; bottom: 10px; padding: 8px 10px; }
  .demo-stage-label i { width: 31px; height: 31px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding: 20px 14px 20px 0; border-bottom: 1px solid var(--line); }
  .steps li + li { padding-left: 14px; }
  .steps li:nth-child(3) { border-left: 0; }
  .workflow-row article { padding: 26px 20px; }
  .control-band { padding: 78px 18px; }
  .approval-head { align-items: flex-start; flex-direction: column; }
  .approval-preview label { grid-template-columns: auto 1fr; }
  .approval-preview label small { grid-column: 2; }
  .approval-actions { display: grid; grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .pricing-grid article:last-child { border-bottom: 0; }
  .privacy-points { grid-template-columns: 1fr; }
  .privacy-points div, .privacy-points div:nth-child(even) { padding: 22px 0; border-left: 0; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { margin: auto; }
  footer .brand span { display: inline; }
  footer > div:last-child { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
