:root {
  --ink: #071f35;
  --ink-2: #0b3555;
  --cream: #f5f8f7;
  --paper: #ffffff;
  --coral: #3978ef;
  --coral-dark: #087f85;
  --mint: #bff3df;
  --line: rgba(7, 31, 53, 0.13);
  --muted: #5e7488;
  --shadow: 0 24px 70px rgba(7, 31, 53, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 8% 6%, rgba(68, 214, 180, .09), transparent 24%), radial-gradient(circle at 96% 10%, rgba(74, 112, 255, .1), transparent 27%);
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1180px, calc(100% - 44px));
  min-height: 72px;
  margin: 4px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 38px;
  border: 1px solid rgba(7,31,53,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.83);
  box-shadow: 0 10px 35px rgba(7,31,53,.05);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #35e0bd; background: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: -.04em; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 14px; font-weight: 850; letter-spacing: -.02em; }
.brand-copy small { color: #718197; font-size: 8px; letter-spacing: .17em; font-weight: 800; white-space: nowrap; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a { font-size: 13px; font-weight: 700; color: #334f68; }
.site-header nav a:hover { color: var(--coral-dark); }

.button { border: 0; border-radius: 999px; padding: 13px 21px; cursor: pointer; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(120deg, #0c8d87, #3978ef); box-shadow: 0 10px 24px rgba(57, 120, 239, .22); }
.button-primary:hover { background: linear-gradient(120deg, #08736f, #2f67d6); box-shadow: 0 13px 28px rgba(57, 120, 239, .26); }
.button-primary svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-small { padding: 10px 17px; font-size: 13px; }
.button-ghost { color: var(--ink); border: 1px solid rgba(16,47,43,.22); background: transparent; box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.55); }
.button-header { flex: 0 0 auto; color: #fff; background: var(--ink); box-shadow: 0 9px 20px rgba(7,31,53,.18); }
.button-header:hover { background: #0d3656; }
.button-full { width: 100%; }

.hero {
  width: min(1180px, calc(100% - 44px));
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0 110px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-dark); font-size: 11px; letter-spacing: .16em; font-weight: 850; }
.eyebrow > i { width: 6px; height: 6px; background: #15b8a5; border-radius: 50%; box-shadow: 0 0 0 5px rgba(21,184,165,.12); }
.hero h1 { max-width: 650px; margin: 18px 0 23px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 5.8vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.hero h1 em { color: var(--coral); background: linear-gradient(100deg, #0c928a 0%, #3a79ef 58%, #7867f6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; }
.hero-copy > p { max-width: 590px; font-size: 18px; line-height: 1.7; color: #516d82; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 31px; }
.text-button { padding: 10px 0; border: 0; border-bottom: 1px solid rgba(16,47,43,.45); background: transparent; color: var(--ink); cursor: pointer; font-weight: 700; }
.text-button span { color: var(--coral-dark); }
.proof-row { display: flex; gap: 20px; margin-top: 34px; flex-wrap: wrap; color: #65736f; font-size: 12px; font-weight: 600; }
.proof-row b { color: var(--coral); margin-right: 3px; }

.hero-visual { position: relative; padding: 27px; border: 1px solid rgba(16,47,43,.1); border-radius: 24px; background: rgba(255,253,248,.86); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 9% -7% -8% 18%; border-radius: 30px; background: linear-gradient(135deg, #dcf8ed, #e6edff); transform: rotate(-5deg); }
.visual-topline, .panel-label { display: flex; align-items: center; justify-content: space-between; color: #83908c; font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.live-dot { color: #2d7359; letter-spacing: 0; font-weight: 700; }
.live-dot::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #45a377; box-shadow: 0 0 0 4px rgba(69,163,119,.12); }
.data-flow { display: grid; grid-template-columns: 1fr 58px 1.25fr; align-items: center; margin: 25px 0; }
.source-card { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.source-card strong, .source-card small { display: block; }
.source-card strong { font-size: 13px; }
.source-card small { margin-top: 2px; color: #7c8986; font-size: 10px; }
.source-icon { width: 33px; height: 33px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--ink); font-family: Georgia, serif; font-weight: 800; }
.sheet-icon { color: var(--ink); background: var(--mint); font-family: inherit; }
.flow-line { height: 1px; position: relative; overflow: hidden; background: #b6c2be; }
.flow-line i { position: absolute; width: 14px; height: 1px; background: #3978ef; animation: travel 1.7s linear infinite; }
@keyframes travel { from { left: -14px; } to { left: 100%; } }
.mini-dashboard { padding: 20px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 24px; border-radius: 16px; color: #fff; background: var(--ink); }
.mini-metric span, .mini-metric strong, .mini-metric small { display: block; }
.mini-metric span { color: #9bb5ae; font-size: 10px; }
.mini-metric strong { margin: 5px 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.positive { color: #61ad86 !important; }
.mini-metric small { font-size: 10px; }
.mini-chart { height: 93px; display: flex; align-items: end; gap: 8px; }
.mini-chart i { height: var(--h); flex: 1; border-radius: 4px 4px 1px 1px; background: #6b8d83; }
.mini-chart i:last-child { background: #35d1b0; }
.sync-note { margin-top: 15px; text-align: right; color: #7c8986; font-size: 10px; }
.sync-note span { color: #4b9d76; }

.workflow-section { padding: 100px max(22px, calc((100% - 1180px)/2)) 76px; color: #fff; background: linear-gradient(145deg, #071f35, #0a3049 62%, #0a3c55); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.eyebrow-light { color: #64e0c2; }
.section-heading h2, .impact-copy h2 { max-width: 680px; margin: 14px 0 0; font-family: Georgia, serif; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.section-heading > p { max-width: 400px; margin: 0 0 7px; color: #a6bab4; line-height: 1.65; }
.mode-switcher { width: min(640px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 45px 0 20px; padding: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.05); }
.mode-button { border: 0; border-radius: 10px; padding: 13px 18px; color: #9fb2ad; background: transparent; cursor: pointer; text-align: left; }
.mode-button span, .mode-button small { display: block; }
.mode-button span { font-size: 13px; font-weight: 750; }
.mode-button small { margin-top: 3px; opacity: .7; font-size: 10px; }
.mode-button.is-active { color: var(--ink); background: var(--paper); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.workflow-board { min-height: 500px; display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 23px; background: #f7fafb; box-shadow: 0 26px 70px rgba(0,0,0,.23); }
.steps-panel { padding: 28px; color: var(--ink); background: #edf6f5; border-right: 1px solid rgba(7,31,53,.12); }
.time-pill { padding: 5px 8px; border-radius: 999px; color: #315e9f; background: #e1ebff; letter-spacing: 0; }
.time-pill.auto { color: #236246; background: #d8eade; }
.step-list { margin: 25px 0 22px; padding: 0; list-style: none; }
.step-item { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: start; padding: 0 0 24px; }
.step-item::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 1px; background: #c3ccc7; }
.step-item:last-child::after { display: none; }
.step-number { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #c3d1d7; border-radius: 50%; background: #edf6f5; color: #61788a; font-size: 11px; font-weight: 800; }
.step-item.is-auto .step-number { border-color: #9bc8af; color: #2e7755; background: #dceddf; }
.step-copy strong, .step-copy small { display: block; }
.step-copy strong { margin-top: 1px; font-size: 13px; }
.step-copy small { margin-top: 4px; color: #7b8985; font-size: 10px; line-height: 1.45; }
.step-time { margin-top: 4px; color: #376aa5; font-size: 10px; font-weight: 750; }
.is-auto .step-time { color: #377557; }
.workflow-summary { display: flex; gap: 11px; align-items: start; padding: 13px; border: 1px solid #c9d9ee; border-radius: 12px; background: #e9f1fb; }
.workflow-summary.auto { border-color: #b9d7c5; background: #deede3; }
.summary-icon { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 11px; font-weight: 900; }
.auto .summary-icon { background: #3a8a62; }
.workflow-summary p { margin: 0; color: #536e88; font-size: 10px; line-height: 1.5; }
.workflow-summary.auto p { color: #426a55; }

.output-panel { padding: 28px; color: var(--ink); background: var(--paper); }
.dashboard-toolbar { display: flex; justify-content: space-between; align-items: center; }
.dashboard-toolbar > div { display: flex; gap: 12px; align-items: center; }
.panel-label-title { font-size: 15px; font-weight: 800; }
.freshness { padding: 5px 8px; border-radius: 999px; color: #7e6a60; background: #f0e9e1; font-size: 9px; }
.freshness i { width: 5px; height: 5px; display: inline-block; margin-right: 4px; border-radius: 50%; background: #aa806d; }
.freshness.fresh { color: #337355; background: #e1efe6; }
.freshness.fresh i { background: #3d9568; }
.dashboard-toolbar select { padding: 8px 29px 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 16px; }
.metric-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 8px 22px rgba(23,48,44,.05); }
.metric-card span, .metric-card strong, .metric-card small { display: block; }
.metric-card span { color: #7e8a87; font-size: 9px; }
.metric-card strong { margin: 8px 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.metric-card small { color: #7e8a87; font-size: 9px; }
.chart-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; }
.chart-heading strong, .chart-heading small { display: block; }
.chart-heading strong { font-size: 12px; }
.chart-heading small { margin-top: 3px; color: #8b9693; font-size: 8px; }
.chart-heading > span { color: #798682; font-size: 8px; }
.chart-heading > span i { width: 6px; height: 6px; display: inline-block; margin-right: 4px; border-radius: 50%; background: var(--coral); }
.chart-area { height: 240px; position: relative; margin-top: 15px; padding: 0 8px 22px 30px; }
.chart-area svg { width: calc(100% - 30px); height: calc(100% - 22px); margin-left: 30px; overflow: visible; }
.grid-line { position: absolute; left: 0; right: 0; top: var(--y); transform: translateY(-50%); height: 1px; border-top: 1px dashed #e3e7e4; color: #9aa4a1; font-size: 8px; }
.grid-line::first-line { background: #fff; }
.area-path { fill: url(#areaFill); }
.line-path { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-dots circle { fill: #fff; stroke: var(--coral); stroke-width: 3; vector-effect: non-scaling-stroke; }
.x-labels { position: absolute; left: 60px; right: 0; bottom: 0; display: flex; justify-content: space-between; color: #929c99; font-size: 8px; }
.demo-disclaimer { margin: 15px 2px 0; color: #7e9690; font-size: 9px; }

.impact-section { width: min(1180px, calc(100% - 44px)); margin: 0 auto; padding: 110px 0; display: grid; grid-template-columns: 1.02fr .78fr; align-items: center; gap: 110px; }
.impact-copy > p { max-width: 560px; color: #667570; line-height: 1.65; }
.benefit-list { margin-top: 30px; border-top: 1px solid var(--line); }
.benefit-list > span { display: grid; grid-template-columns: 40px 135px 1fr; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.benefit-list i { color: var(--coral); font-size: 10px; font-style: normal; font-weight: 800; }
.benefit-list b { font-size: 13px; }
.benefit-list small { color: #798783; font-size: 11px; }
.calculator-card { padding: 32px; border-radius: 23px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.calculator-heading { display: flex; justify-content: space-between; color: #9ab1aa; font-size: 9px; letter-spacing: .13em; font-weight: 800; }
.calculator-heading small { padding: 4px 7px; border-radius: 999px; color: #83e6d0; background: rgba(53,209,176,.14); letter-spacing: 0; }
.calculator-card label { display: block; margin-top: 27px; color: #c8d5d1; font-size: 12px; }
.range-value { margin: 12px 0; display: flex; align-items: baseline; gap: 9px; }
.range-value strong { font-family: Georgia, serif; font-size: 45px; font-weight: 500; }
.range-value span { color: #9bb0aa; font-size: 11px; }
input[type="range"] { width: 100%; accent-color: var(--coral); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #76908a; font-size: 8px; }
.saving-result { margin: 25px 0; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.05); }
.saving-result > span { color: #9db1ab; font-size: 10px; }
.saving-result strong { display: block; margin: 7px 0; font-family: Georgia, serif; color: #73e4cd; font-size: 31px; font-weight: 500; }
.saving-result strong b { font-weight: 500; }
.saving-result strong small { color: #9db1ab; font-family: inherit; font-size: 10px; }
.saving-result p { margin: 0; color: #8da29c; font-size: 9px; line-height: 1.5; }

footer { padding: 28px max(22px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; color: #8fa5b7; background: #061a2c; font-size: 10px; }
.footer-brand { color: #fff; font-size: 15px; }
.footer-brand .brand-mark { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.15); }
.footer-brand .brand-copy small { color: #8fa5b7; }
footer p { margin: 0; }
footer p strong { color: #62ddc4; }
footer > span { text-align: right; }

dialog { width: min(470px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 120px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(3,20,34,.7); backdrop-filter: blur(5px); }
dialog h2 { max-width: 360px; margin: 12px 0; font-family: Georgia, serif; font-size: 36px; line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
dialog > p { color: #64736f; font-size: 13px; line-height: 1.55; }
.dialog-close { position: absolute; top: 17px; right: 18px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; font-size: 20px; }
#demo-form { display: grid; gap: 14px; margin-top: 22px; }
#demo-form label { color: #63726e; font-size: 10px; font-weight: 700; }
#demo-form input, #demo-form select { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #fff; }
#demo-form input:focus, #demo-form select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(57,120,239,.1); }
.form-note { color: #87928f; text-align: center; font-size: 9px; }
.form-success { padding: 18px 0 0; text-align: center; }
.form-success > span { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; color: #fff; background: #3a8a62; font-size: 22px; }
.form-success h3 { margin: 0 0 8px; }
.form-success p { color: #687773; font-size: 12px; line-height: 1.5; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .site-header .button-header { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .proof-row { justify-content: center; }
  .hero-visual { width: min(560px, 100%); margin: 0 auto; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .workflow-board { grid-template-columns: 1fr; }
  .steps-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .impact-section { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 68px; }
  .site-header nav { display: none; }
  .site-header .button { margin-left: auto; }
  .site-header .button-header { width: 43px; height: 43px; padding: 0; font-size: 0; }
  .site-header .button-header::after { content: "↗"; font-size: 18px; }
  .hero { width: min(100% - 28px, 1180px); padding: 48px 0 80px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .proof-row { gap: 10px 17px; }
  .hero-visual { padding: 18px; transform: none; }
  .data-flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-line { width: 1px; height: 20px; margin: auto; }
  .flow-line i { width: 1px; height: 8px; animation-name: travel-vertical; }
  @keyframes travel-vertical { from { top: -8px; } to { top: 100%; } }
  .workflow-section { padding-top: 76px; }
  .mode-switcher { grid-template-columns: 1fr; }
  .workflow-board { border-radius: 17px; }
  .steps-panel, .output-panel { padding: 20px; }
  .dashboard-toolbar { align-items: start; gap: 12px; }
  .dashboard-toolbar > div { display: block; }
  .freshness { display: inline-block; margin-top: 7px; }
  .metric-grid { grid-template-columns: 1fr; }
  .chart-area { height: 205px; }
  .impact-section { width: min(100% - 28px, 1180px); padding: 80px 0; }
  .benefit-list > span { grid-template-columns: 30px 115px 1fr; }
  .calculator-card { padding: 25px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  footer > span { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

