eatback / css /flow-3d.css
kritpakin's picture
Five sorted bins as the main story, role PINs, start page, kitchen stages
811afbe verified
Raw History Blame Contribute Delete
35.9 kB
@import url("../fonts/fonts.css");
:root {
color-scheme: light;
--flow-paper: #f8f7f0;
--flow-surface: #fffef9;
--flow-ink: #183e2b;
--flow-muted: #52624d;
--flow-line: #dce2d2;
--flow-green: #226943;
--flow-green-dark: #123c29;
--flow-green-soft: #e8efdf;
--flow-leaf: #5f9a43;
--flow-orange: #8b591a;
--flow-orange-soft: #faf0d6;
--flow-accent: #edb84c;
--flow-red: #a8432a;
--flow-red-soft: #fbe9e2;
--flow-font: "IBM Plex Sans Thai", "Leelawadee UI", "Segoe UI", sans-serif;
--flow-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
--radius-lg: 22px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; scroll-behavior: smooth; }
body { margin: 0; background: var(--flow-paper); color: var(--flow-ink); font: 16px/1.7 var(--flow-font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { touch-action: manipulation; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--flow-green-dark); }
:focus-visible { outline: 3px solid var(--flow-green); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--flow-green-dark); color: white; }
.skip:focus { top: 12px; }
.flow-shell { width: min(100%, 1560px); margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px) 40px; }
.flow-shell button { min-width: 44px; min-height: 44px; cursor: pointer; }
.flow-shell button:disabled, .flow-shell select:disabled, .flow-shell input:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
/* ---------------------------------------------------------------- header */
.flow-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 90px; border-bottom: 1px solid var(--flow-line); }
.flow-header .brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--flow-green-dark); text-decoration: none; }
.flow-header .brand img { width: 43px; height: 43px; object-fit: contain; }
.flow-header .wordmark { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.045em; }
.flow-header .wordmark > span:first-child { color: var(--flow-green-dark); }
.flow-header .wordmark > span:last-child { color: #dc951d; }
.flow-header .brand small { display: block; margin-top: 4px; color: var(--flow-muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.flow-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.flow-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 15px; border-radius: 999px; color: var(--flow-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.flow-nav a:hover { background: #eeeee3; color: var(--flow-green-dark); }
.flow-nav .nav-cta { margin-left: 6px; background: var(--flow-green-dark); color: white; font-weight: 600; }
.flow-nav .nav-cta:hover { background: #245b3b; color: white; }
/* ---------------------------------------------------------------- shared section heads */
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--flow-green); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; flex: none; background: var(--flow-accent); }
.flow-intro .eyebrow::before { display: none; }
.live-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #518b36; box-shadow: 0 0 0 4px #edf2e5; }
section { scroll-margin-top: 20px; }
.section-head { max-width: 900px; margin: 0 0 26px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section-head h2 { margin: 0; font-size: clamp(27px, 2.6vw, 40px); font-weight: 600; line-height: 1.42; letter-spacing: -.025em; }
.section-head h2 span { color: var(--flow-green); }
.section-lede { max-width: 460px; margin: 0; color: var(--flow-muted); font-size: 15px; line-height: 1.8; }
.fine { margin: 18px 0 0; color: var(--flow-muted); font-size: 13px; line-height: 1.8; }
.fine a { font-weight: 600; }
main > section + section { margin-top: 84px; }
/* ---------------------------------------------------------------- hero */
.flow-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); align-items: center; gap: clamp(32px, 6vw, 88px); padding: 56px 0 8px; }
.hero-title { max-width: 900px; margin: 0 0 18px; font-size: clamp(38px, 4.4vw, 66px); font-weight: 600; line-height: 1.28; letter-spacing: -.035em; }
.hero-title span { display: block; color: var(--flow-green); }
.flow-subtitle { max-width: 640px; margin: 0; color: var(--flow-muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta, .hero-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 600; transition: background-color .18s, border-color .18s, transform .18s; }
.hero-cta { border: 1px solid var(--flow-green-dark); background: var(--flow-green-dark); color: white; box-shadow: 0 8px 20px rgb(18 60 41 / 18%); }
.hero-cta:hover { background: #245b3b; transform: translateY(-1px); }
.hero-secondary { border: 1px solid #c3cfb5; background: var(--flow-surface); color: var(--flow-green-dark); }
.hero-secondary:hover { border-color: #92aa7e; background: #f0f3e8; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 8px; color: #3d5337; font-size: 14px; font-weight: 500; }
.hero-proof i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--flow-green); color: white; font-size: 11px; font-style: normal; line-height: 1; }
.result-card { position: relative; padding: 26px 26px 20px; border: 1px solid #d5dfc8; border-radius: var(--radius-lg); background: var(--flow-surface); box-shadow: 0 24px 50px rgb(30 59 30 / 10%); }
.result-card::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: var(--radius-lg); background: #e3ead8; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.result-tag { padding: 4px 10px; border-radius: 999px; background: var(--flow-orange-soft); color: var(--flow-orange); font-size: 12px; font-weight: 600; }
.result-grade { color: var(--flow-muted); font-size: 13px; font-weight: 500; }
.result-card h2 { margin: 12px 0 14px; font-size: 22px; font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.result-rows { display: grid; gap: 2px; margin: 0; }
.result-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #dbe2d0; }
.result-rows dt { color: var(--flow-muted); font-size: 14px; }
.result-rows dd { margin: 0; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.result-rows small { color: var(--flow-muted); font-size: 13px; font-weight: 500; }
.result-rows .result-main { border-bottom: 0; }
.result-rows .result-main dt { color: var(--flow-ink); font-weight: 600; }
.result-rows .result-main dd { color: var(--flow-green); font-size: 40px; line-height: 1.1; }
.result-meter { height: 10px; margin: 4px 0 16px; overflow: hidden; border-radius: 99px; background: #f0e1cf; }
.result-meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4e9156, #226943); }
.result-rows .result-main.is-alert dd { color: var(--flow-red); }
.result-meter.is-alert { position: relative; overflow: visible; }
.result-meter.is-alert span { background: var(--flow-red); }
.result-meter.is-alert i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--flow-ink); }
.result-sub { margin: 10px 0 0; color: var(--flow-muted); font-size: 13px; }
.result-alert { padding: 12px 14px; border-radius: 12px; background: var(--flow-red-soft); color: #6e2e1c; font-size: 14px; line-height: 1.7; }
.result-alert strong { color: var(--flow-red); }
.result-alert span { display: block; margin-top: 2px; font-weight: 600; }
.result-foot { margin: 12px 0 0; color: var(--flow-muted); font-size: 12px; }
/* ---------------------------------------------------------------- problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.problem-grid article { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: var(--flow-surface); border: 1px solid var(--flow-line); }
.problem-num { color: var(--flow-accent); font: 600 15px/1 var(--flow-mono); }
.problem-grid h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.problem-grid p { margin: 0; color: var(--flow-muted); font-size: 15px; line-height: 1.85; }
.cite { margin-top: auto; padding-top: 6px; color: var(--flow-green); font-size: 13px; font-weight: 500; text-decoration: none; }
.cite:hover { text-decoration: underline; }
.cite.plain { color: var(--flow-orange); }
.longterm { margin: 18px 0 0; padding: 16px 20px; border-left: 3px solid var(--flow-accent); border-radius: 0 14px 14px 0; background: var(--flow-orange-soft); color: #5d4521; font-size: 14px; line-height: 1.85; }
.longterm strong { color: var(--flow-orange); }
.longterm a { color: #6d4a17; font-weight: 600; }
/* ---------------------------------------------------------------- 3D workbench */
.flow-workbench { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 22px; }
.viewer { position: relative; min-width: 0; overflow: hidden; border: 1px solid #d6deca; border-radius: 24px; background: #fffef8; box-shadow: 0 18px 44px rgb(30 59 30 / 8%); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; padding: 13px 22px; background: #fffef8; }
.scene-breadcrumb { display: grid; grid-template-columns: 8px auto; align-items: center; gap: 0 10px; min-width: 0; }
.scene-breadcrumb strong { font-size: 15px; font-weight: 600; }
.scene-breadcrumb small { grid-column: 2; display: block; color: var(--flow-muted); font-size: 13px; }
.scene-breadcrumb > div { min-width: 0; }
.mode-switch { display: inline-flex; align-items: center; flex: none; gap: 3px; padding: 4px; border-radius: 12px; background: #edf0e5; }
.mode-switch button { padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; color: #526349; font-size: 14px; font-weight: 600; transition: background-color .18s, color .18s; }
.mode-switch button:hover { background: #dfe8d4; color: var(--flow-green-dark); }
.mode-switch button[aria-pressed="true"] { background: var(--flow-green-dark); color: white; box-shadow: 0 2px 4px rgb(18 60 41 / 12%); }
#mode-audit[aria-pressed="true"] { background: #8b591a; }
.scene-viewport { position: relative; isolation: isolate; width: 100%; height: 620px; overflow: hidden; background: radial-gradient(ellipse at 48% 38%, #f5f7ef 0%, #eaf0e5 52%, #dfe8d6 100%); }
.scene-viewport canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.scene-viewport canvas:active { cursor: grabbing; }
.scene-viewport canvas:focus-visible { outline-offset: -4px; }
.viewer-actions { position: absolute; top: 18px; right: 18px; z-index: 6; display: flex; align-items: center; gap: 6px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; padding: 10px; border: 1px solid #d2ddc7; border-radius: 11px; background: rgb(255 254 249 / 94%); color: var(--flow-green-dark); box-shadow: 0 3px 8px rgb(28 62 27 / 6%); transition: background-color .18s, border-color .18s; }
.icon-button:hover:not(:disabled) { border-color: #9dbb86; background: white; }
.icon-button[aria-pressed="true"] { border-color: var(--flow-green-dark); background: var(--flow-green-dark); color: white; }
.icon-button svg, .play-button svg { width: 18px; height: 18px; flex: none; }
.scene-labels { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.scene-label { position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: 7px; max-width: 220px; padding: 7px 12px; border: 1px solid #bbcfa9; border-radius: 10px; background: rgb(255 254 249 / 97%); color: #26492f; box-shadow: 0 3px 9px rgb(20 54 25 / 11%); font-size: 13px; font-weight: 600; line-height: 1.45; white-space: nowrap; transform: translate(-50%, -100%); pointer-events: auto; transition: background-color .18s, color .18s, opacity .18s; }
.scene-label > span { overflow: hidden; text-overflow: ellipsis; }
.scene-label[data-station="1"] { transform: translate(-50%, -160%); }
.station-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #67954a; }
.scene-label:hover { border-color: var(--flow-green); background: white; }
.scene-label[data-active="true"] { z-index: 2; border-color: var(--flow-green-dark); background: var(--flow-green-dark); color: white; box-shadow: 0 4px 14px rgb(18 60 41 / 23%); }
.scene-label[data-active="true"] .station-dot { background: #f4c463; }
.scene-label[data-muted="true"] { opacity: .54; box-shadow: none; }
.scene-label[data-behind="true"], .scene-readout[data-behind="true"] { display: none; }
.scene-readout { position: absolute; z-index: 3; display: grid; min-width: 170px; padding: 10px 14px 11px; border-radius: 14px; background: var(--flow-green-dark); color: white; box-shadow: 0 10px 26px rgb(18 60 41 / 28%); transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; }
.scene-readout::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: var(--flow-green-dark); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.readout-kicker { color: #bcd3b2; font-size: 12px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.scene-readout strong { font-size: 22px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scene-readout small { color: #f4d27f; font-size: 12px; font-weight: 500; white-space: nowrap; }
.scene-annotation { position: absolute; left: 22px; bottom: 22px; z-index: 5; width: min(260px, calc(100% - 44px)); padding: 14px 16px; border: 1px solid rgb(255 255 246 / 85%); border-radius: 16px; background: rgb(255 254 249 / 95%); box-shadow: 0 6px 20px rgb(28 62 27 / 9%); pointer-events: none; }
.annotation-kicker { display: block; margin: 0 0 2px; color: var(--flow-orange); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.scene-annotation strong { display: block; color: var(--flow-green-dark); font-size: 15px; font-weight: 600; line-height: 1.5; }
.ledger { display: grid; gap: 0; margin: 8px 0 0; }
.ledger > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px dashed #dde3d3; }
.ledger dt { color: var(--flow-muted); font-size: 13px; }
.ledger dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger .ledger-main dd { color: var(--flow-muted); font-size: 18px; }
.ledger .ledger-main[data-done="true"] dd { color: var(--flow-red); font-size: 22px; }
.scene-hint { position: absolute; right: 18px; bottom: 17px; z-index: 5; max-width: calc(100% - 36px); margin: 0; padding: 5px 9px; border-radius: 7px; background: rgb(248 249 238 / 88%); color: #4e6745; font-size: 12px; pointer-events: none; }
.scene-loading { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; background: #eaf0e5; color: var(--flow-green-dark); font-size: 15px; text-align: center; }
.loading-orbit { display: block; width: 34px; height: 34px; border: 3px solid #ccdcbc; border-top-color: var(--flow-green); border-radius: 50%; animation: flow-loading .85s linear infinite; }
@keyframes flow-loading { to { transform: rotate(360deg); } }
.scene-fallback { position: absolute; inset: 24px; z-index: 11; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: clamp(20px, 4vw, 38px); overflow: auto; border-radius: 18px; background: #fffef9; text-align: center; }
.scene-fallback p { max-width: 500px; margin: 0; color: var(--flow-muted); font-size: 14px; }
.scene-fallback svg { display: block; width: 100%; max-width: 700px; height: auto; max-height: 320px; font: 15px var(--flow-font); fill: var(--flow-ink); }
.playback-bar { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 22px; border-top: 1px solid #d8dfcc; background: #fffef8; }
.play-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 11px; background: var(--flow-green-dark); color: white; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .18s; }
.play-button:hover { background: #245b3b; }
.playback-info { display: flex; flex-direction: column; gap: 0; min-width: 0; width: 100%; }
.step-status { display: block; color: var(--flow-ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
input#timeline { display: block; width: 100%; min-width: 0; height: 36px; margin: 0; background: transparent; accent-color: var(--flow-green); cursor: pointer; }
.speed-control { display: flex; align-items: center; gap: 8px; color: var(--flow-muted); font-size: 13px; white-space: nowrap; }
.speed-control select { min-width: 68px; min-height: 44px; padding: 8px 24px 8px 10px; border: 1px solid #d3dcc7; border-radius: 10px; background: #f5f7ec; color: var(--flow-green-dark); font-size: 14px; cursor: pointer; }
.inspector { min-width: 0; padding: 24px; border-radius: 22px; background: #eeefe5; }
.inspector .section-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 20px; color: var(--flow-muted); font-size: 13px; font-weight: 600; }
.step-number { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 66px; min-height: 30px; padding: 5px 8px; border-radius: 8px; background: #dce7cf; color: var(--flow-green-dark); font: 600 13px/1.3 var(--flow-mono); white-space: nowrap; }
.step-role { margin: 0 0 4px; color: var(--flow-green); font-size: 13px; font-weight: 600; }
.step-title { margin: 0 0 10px; font-size: 24px; font-weight: 600; line-height: 1.45; letter-spacing: -.02em; overflow-wrap: anywhere; }
.step-description { margin: 0 0 14px; color: var(--flow-muted); font-size: 15px; line-height: 1.85; }
.step-detail { margin: 0 0 18px; padding-left: 20px; color: #3e5236; font-size: 14px; line-height: 1.75; }
.step-detail li { margin: 6px 0; }
.step-detail li::marker { color: #779556; }
.step-data { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #fffef7; border: 1px solid #dfe5d4; }
.data-label { display: block; margin-bottom: 4px; color: var(--flow-orange); font-size: 12px; font-weight: 600; }
.data-value { display: block; color: var(--flow-green-dark); font-size: 18px; font-weight: 600; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.step-data p { margin: 6px 0 0; color: var(--flow-muted); font-size: 13px; line-height: 1.75; }
.step-note { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid #d8ac4d; border-radius: 0 10px 10px 0; background: #faf2dc; color: #6f4d1f; font-size: 13px; line-height: 1.8; }
.step-note:empty { display: none; }
.inspector-footer { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #d5ddc9; }
.step-prev, .step-next { display: inline-flex; align-items: center; justify-content: center; flex: 1; padding: 9px 11px; border: 1px solid #c5d1b8; border-radius: 10px; background: transparent; color: var(--flow-green-dark); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .18s, border-color .18s; }
.step-next { border-color: var(--flow-green-dark); background: var(--flow-green-dark); color: white; }
.step-prev:hover:not(:disabled) { background: #e0e8d5; }
.step-next:hover:not(:disabled) { border-color: #245b3b; background: #245b3b; }
.stage-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding: 3px 1px 8px; }
.stage-button { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-content: start; gap: 2px 10px; min-width: 0; padding: 13px 12px; border: 1px solid transparent; border-radius: 14px; background: #edf0e5; color: var(--flow-ink); text-align: left; transition: background-color .18s, border-color .18s; }
.stage-button:hover { border-color: #b8cba6; background: #e4edda; }
.stage-index { display: inline-grid; grid-row: 1 / 3; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #dce6cd; color: #45652f; font: 600 12px/1 var(--flow-mono); }
.stage-name { display: block; font-size: 14px; font-weight: 600; line-height: 1.55; }
.stage-caption { display: block; grid-column: 2; color: var(--flow-muted); font-size: 12px; line-height: 1.55; }
.stage-button[data-audit="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--flow-accent); }
.stage-button[aria-current="step"] { border-color: var(--flow-green-dark); background: var(--flow-green-dark); color: white; }
.stage-button[aria-current="step"] .stage-index { background: #edc56d; color: #3e431b; }
.stage-button[aria-current="step"] .stage-caption { color: #c7d7b8; }
.flow-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 6px 0 0; }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
.legend-title { color: var(--flow-ink); font-size: 13px; font-weight: 600; }
.legend label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--flow-muted); font-size: 13px; cursor: pointer; }
.legend input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: var(--flow-green); cursor: pointer; }
.legend-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; }
.legend-dot[data-kind="people"] { background: #3d824b; }
.legend-dot[data-kind="food"] { background: #b47721; }
.legend-dot[data-kind="data"] { background: #337fa0; }
.model-note { max-width: 560px; margin: 0; color: var(--flow-muted); font-size: 12px; line-height: 1.8; text-align: right; }
/* ---------------------------------------------------------------- decision rules */
.decide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.decide-grid li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--flow-surface); border: 1px solid var(--flow-line); }
.decide-grid li:not(:last-child)::after { content: "→"; position: absolute; top: 24px; right: -14px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--flow-green-dark); color: white; font-size: 14px; }
.decide-step { color: var(--flow-green); font-size: 13px; font-weight: 600; }
.decide-grid h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
.decide-grid p { margin: 0; color: var(--flow-muted); font-size: 14px; line-height: 1.8; }
.decide-eg { display: grid; gap: 2px; margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--flow-red-soft); }
.decide-eg span { color: #7b4a3a; font-size: 12px; }
.decide-eg b { color: var(--flow-red); font-size: 16px; font-variant-numeric: tabular-nums; }
.decide-eg.info { background: var(--flow-orange-soft); }
.decide-eg.info span { color: #7b5a2a; }
.decide-eg.info b { color: var(--flow-orange); }
.decide-eg.good { background: #e4efdc; }
.decide-eg.good span { color: #4c6a40; }
.decide-eg.good b { color: var(--flow-green); }
/* ---------------------------------------------------------------- trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: hidden; border: 1px solid var(--flow-line); border-radius: var(--radius-lg); background: var(--flow-surface); }
.trust-grid article { padding: 24px; border-right: 1px solid var(--flow-line); border-bottom: 1px solid var(--flow-line); }
.trust-grid article:nth-child(3n) { border-right: 0; }
.trust-grid article:nth-last-child(-n + 3) { border-bottom: 0; }
.trust-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: var(--flow-green-soft); font-size: 22px; }
.trust-grid h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.trust-grid p { margin: 0; color: var(--flow-muted); font-size: 14px; line-height: 1.8; }
/* ---------------------------------------------------------------- who */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value-grid article { min-width: 0; padding-top: 22px; border-top: 2px solid #ccd8bf; }
.value-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 13px; background: #e5eddb; font-size: 23px; }
.value-grid article:nth-child(2) .value-icon { background: #f3e8c8; }
.value-title { margin: 0 0 6px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.value-copy { margin: 0; color: var(--flow-muted); font-size: 14px; line-height: 1.85; }
.soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #eceee4; color: #66705c; font-size: 12px; font-weight: 600; vertical-align: 1px; }
/* ---------------------------------------------------------------- plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; border: 1px solid var(--flow-line); border-radius: var(--radius-lg); background: var(--flow-surface); }
.plan.featured { border: 2px solid var(--flow-green-dark); box-shadow: 0 20px 44px rgb(18 60 41 / 12%); }
.plan-badge { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--flow-green-dark); color: #f4d27f; font-size: 12px; font-weight: 600; }
.plan-kicker { margin: 0; color: var(--flow-green); font: 600 14px/1.4 var(--flow-mono); letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { margin: 4px 0 4px; font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.plan-for { margin: 0 0 16px; color: var(--flow-muted); font-size: 14px; }
.plan ul { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 26px; color: #34492f; font-size: 15px; line-height: 1.6; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--flow-green-soft); color: var(--flow-green); font-size: 11px; font-weight: 700; }
.plan-model { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--flow-line); color: var(--flow-ink); font-size: 14px; font-weight: 600; }
.plan-model.soon { display: block; margin-left: 0; padding: 14px 0 0; border-radius: 0; background: none; color: #6b735f; font-size: 13px; vertical-align: 0; }
/* ---------------------------------------------------------------- faq */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.faq details { border: 1px solid var(--flow-line); border-radius: 16px; background: var(--flow-surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 14px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--flow-green-soft); color: var(--flow-green); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--flow-muted); font-size: 15px; line-height: 1.85; }
/* ---------------------------------------------------------------- closing */
.sales-footer { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 44px; border-radius: 26px; background: radial-gradient(ellipse at 100% 0%, #305c33 0%, #123c29 68%); color: #fffef3; }
.sales-copy { min-width: 0; max-width: 720px; }
.sales-copy h2 { margin: 0 0 8px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.sales-copy p { margin: 0; color: #d2dfc6; font-size: 15px; line-height: 1.85; }
.sales-copy .eyebrow { margin-bottom: 12px; color: #f1cf81; }
.sales-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex: none; }
.sales-link, .sales-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .18s; }
.sales-link { border: 1px solid #f2c76b; background: #f2c76b; color: #294326; }
.sales-link:hover { background: #f8d88e; }
.sales-ghost { border: 1px solid rgb(255 255 255 / 28%); color: #fffef3; }
.sales-ghost:hover { background: rgb(255 255 255 / 8%); }
.sales-footer :focus-visible { outline-color: #f7d783; }
.product-scope { max-width: 1000px; margin: 18px 0 0; color: #5c6d53; font-size: 13px; line-height: 1.85; }
.viewer:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; border-radius: 0; background: #fffef8; }
.viewer:fullscreen .viewer-toolbar, .viewer:fullscreen .playback-bar { flex: none; }
.viewer:fullscreen .scene-viewport { flex: 1; min-height: 0; height: auto; }
/* ---------------------------------------------------------------- responsive */
@media (max-width: 1220px) {
.flow-workbench { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.playback-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding-inline: 16px; }
.play-button { grid-column: 1; grid-row: 1; justify-self: start; }
.playback-info { grid-column: 1 / -1; grid-row: 2; }
.speed-control { grid-column: 2; grid-row: 1; }
.stage-strip { grid-template-columns: repeat(7, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: thin; }
.decide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.decide-grid li:nth-child(2)::after { display: none; }
.value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
.flow-header { flex-wrap: wrap; gap: 8px 20px; padding: 14px 0; }
.flow-intro { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
.result-card { max-width: 520px; }
.section-head.row { flex-direction: column; align-items: flex-start; gap: 12px; }
.section-lede { max-width: 680px; }
.flow-workbench { grid-template-columns: minmax(0, 1fr); }
.inspector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); column-gap: 28px; }
.inspector .section-label, .step-role, .step-title, .step-description { grid-column: 1; }
.step-detail { grid-column: 1; grid-row: 5 / 8; }
.step-data { grid-column: 2; grid-row: 2 / 5; align-self: start; margin: 0; }
.step-note { grid-column: 2; grid-row: 5 / 7; align-self: start; margin: 14px 0 0; }
.inspector-footer { grid-column: 2; grid-row: 7; align-self: end; }
.flow-bottom { flex-direction: column; align-items: flex-start; gap: 0; }
.model-note { text-align: left; }
.problem-grid, .plan-grid { grid-template-columns: minmax(0, 1fr); }
.plan-grid { gap: 26px; }
.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-grid article:nth-child(3n) { border-right: 1px solid var(--flow-line); }
.trust-grid article:nth-child(2n) { border-right: 0; }
.trust-grid article:nth-last-child(-n + 3) { border-bottom: 1px solid var(--flow-line); }
.trust-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.faq-list { grid-template-columns: minmax(0, 1fr); }
.sales-footer { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
.sales-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 740px) {
main > section + section { margin-top: 60px; }
.flow-nav { justify-content: flex-start; }
.flow-nav a { padding-inline: 11px; font-size: 13px; }
.flow-header .brand small { display: none; }
.scene-viewport { height: 500px; }
.viewer { border-radius: 19px; }
.viewer-toolbar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
.scene-label:not([data-active="true"]) { display: none; }
.scene-hint { display: none; }
.scene-annotation { left: 12px; bottom: 12px; width: 200px; padding: 10px 12px; }
.scene-annotation strong { font-size: 13px; }
.ledger dt { font-size: 12px; }
.ledger dd { font-size: 13px; }
.ledger .ledger-main[data-done="true"] dd { font-size: 18px; }
.scene-readout { min-width: 0; padding: 8px 11px 9px; }
.scene-readout strong { font-size: 18px; }
.inspector { display: block; padding: 20px; }
.step-data { margin-bottom: 14px; }
.decide-grid, .value-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
.decide-grid li::after { display: none; }
.trust-grid article { border-right: 0 !important; border-bottom: 1px solid var(--flow-line) !important; }
.trust-grid article:last-child { border-bottom: 0 !important; }
}
@media (max-width: 520px) {
.flow-header .brand img { width: 37px; height: 37px; }
.flow-header .wordmark { font-size: 23px; }
.flow-nav a:not(.nav-cta) { display: none; }
.flow-header { flex-wrap: nowrap; }
.hero-title { font-size: clamp(32px, 9vw, 42px); line-height: 1.38; }
.flow-subtitle { font-size: 15px; }
.hero-cta, .hero-secondary { width: 100%; }
.hero-proof li { font-size: 13px; }
.result-card { padding: 22px 18px 16px; }
.result-card::before { inset: 8px -6px -8px 6px; }
.result-rows .result-main dd { font-size: 34px; }
.scene-viewport { height: 430px; }
.viewer-actions { top: 10px; right: 10px; gap: 4px; }
.scene-annotation { width: 170px; }
.scene-annotation strong, .annotation-kicker { display: none; }
.ledger { margin-top: 0; }
.ledger > div:first-child { border-top: 0; }
.playback-bar { padding: 12px; }
.stage-strip { grid-template-columns: repeat(7, 150px); }
.section-head h2 { font-size: 25px; }
.problem-grid article, .decide-grid li, .plan { padding: 20px; }
.sales-footer { padding: 26px 20px; border-radius: 20px; }
.sales-actions { flex-direction: column; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
.scene-label[data-active="true"], .mode-switch button[aria-pressed="true"], .stage-button[aria-current="step"], .plan.featured { outline: 2px solid Highlight; outline-offset: -3px; }
.station-dot, .legend-dot, .live-dot { border: 1px solid CanvasText; }
}