/* OpenTake 企業版 website.  The product's print system (desk_app/STYLE.md B) for type, rules and register: ink on
   white, hairlines instead of cards, colour words for 不利 / 有利 / 利弊互見.  A marketing page also has to draw the
   eye, so it opens and closes on a dark 藏青-black band with a live network of light (net.js), numbers its sections
   in 藏青, and lets light run along the overview and the impact paths.  Motion stops for reduced-motion readers. */
:root {
  --bg: #ffffff; --ink: #15181d; --ink-2: #3d434d; --muted: #5f6774; --line: #d9dde3; --rule: #15181d;
  --edge: #aab1bc; --accent: #1f4e79; --bad: #b42318; --good: #1d6b38; --warn: #8f5310;
  --night: #0a1520; --night-2: #0f1e2d; --on-night: #e9eef5; --on-night-2: #b9c6d4; --on-night-3: #8296ab;
  --night-line: rgba(255, 255, 255, 0.14); --dawn: #ffce8c; --sky: #96c8ff;
  --font-zh: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Archivo", var(--font-zh);
  --font-body: "Source Sans 3", var(--font-zh);
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--font-body); }
h1, h2, h3 { margin: 0; font-family: var(--font-body); line-height: 1.35; letter-spacing: .01em; }
p, dl, dd, figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* the masthead, on the night ground: wordmark line, then the sections as plain links */
.mast { background: var(--night); border-bottom: 1px solid var(--night-line); }
.mast-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 18px; padding-bottom: 10px; }
.brand, .mast-right, .ed, .signin { white-space: nowrap; flex-shrink: 0; }
.brand, .foot-brand { display: inline-flex; align-items: baseline; color: var(--on-night); text-decoration: none; }
.wm { font: 800 24px/1 var(--font-display); font-stretch: 85%; letter-spacing: -.01em; }
.ed { font-size: 15px; color: var(--on-night-2); margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--night-line); line-height: 1; }
.mast-right { display: flex; align-items: center; gap: 20px; }
.signin { color: var(--on-night-2); text-decoration: none; font-size: 15px; }
.signin:hover { color: #fff; text-decoration: underline; }
.sections { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.sections::-webkit-scrollbar { display: none; }
.sections a { color: var(--on-night-2); text-decoration: none; white-space: nowrap; font-size: 15px; padding: 8px 0 10px;
  border-bottom: 3px solid transparent; }
.sections a:hover { color: #fff; border-bottom-color: var(--dawn); }

/* actions: 44px, 2px radius; ink on paper, white on night */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border: 1px solid #6b7380; border-radius: 2px; background: var(--bg); color: var(--ink); font: 600 15px var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: var(--dawn); border-color: var(--dawn); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn.ghost:hover { border-color: #fff; }
.mast .btn.primary { background: #fff; border-color: #fff; color: var(--ink); }
.mast .btn.primary:hover { background: var(--dawn); border-color: var(--dawn); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.lead { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 46em; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.bad { color: var(--bad); } .good { color: var(--good); } .warn { color: var(--warn); }

/* the hero: night ground, the network behind, the headline in white */
.hero { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; }
.hero .net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 21, 32, 0.94) 0%, rgba(10, 21, 32, 0.76) 42%, rgba(10, 21, 32, 0) 66%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 132px; min-height: 620px; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.3; color: #fff; letter-spacing: .02em; }
.hero .lead { color: var(--on-night-2); font-size: 17px; margin-top: 24px; }
.hero .note { color: var(--on-night-3); }
.hero-figs { position: relative; }
dl.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
dl.figs > div { padding: 18px 20px 28px 0; }
dl.figs > div + div { padding-left: 20px; border-left: 1px solid var(--night-line); }
dl.figs dt { font-size: 13px; color: var(--on-night-3); letter-spacing: .06em; }
dl.figs dd { font-size: 17px; font-weight: 600; color: #fff; margin-top: 2px; }

/* sections */
.sec { margin-top: 96px; }
.sec-head { border-top: 2px solid var(--rule); padding-top: 18px; margin-bottom: 28px; }
.sec-no { font: 700 15px/1 var(--font-display); color: var(--accent); letter-spacing: .06em; margin-bottom: 10px;
  font-variant-numeric: tabular-nums; }
.sec-head h2 { font-size: 36px; font-weight: 700; letter-spacing: .02em; }
.sec-head .lead { margin-top: 8px; }
h3 { font-size: 20px; font-weight: 600; }

/* 01 晨間送達 */
.morning-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 48px; align-items: start; }
dl.defs { display: grid; grid-template-columns: 6.5em 1fr; }
dl.defs.wide { grid-template-columns: 7.5em 1fr; }
dl.defs dt, dl.defs dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
dl.defs dt { font-weight: 600; padding-right: 12px; }
dl.defs dd { color: var(--ink-2); }

/* 02 服務流程: the drawing, light running along its dashed line, and the three columns in its proportions */
.ov-fig { position: relative; overflow: hidden; }
.ov-fig img { width: 100%; }
.ov-light { position: absolute; top: 49.9%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: #f4f8ff; box-shadow: 0 0 8px 3px rgba(31, 78, 121, 0.7), 0 0 26px 10px rgba(31, 78, 121, 0.35), 0 0 54px 18px rgba(150, 200, 255, 0.3);
  opacity: 0; animation: run 9s cubic-bezier(.45, .05, .55, .95) infinite; }
.ov-light.late { animation-delay: 4.5s; }
@keyframes run {
  0% { left: 1%; opacity: 0; } 6% { opacity: 1; } 40% { left: 45%; } 52% { left: 52%; } 86% { left: 86%; opacity: 1; }
  100% { left: 99%; opacity: 0; } }
.ov-cols { display: grid; grid-template-columns: 44fr 34fr 22fr; border-top: 1px solid var(--rule); margin-top: 8px; }
.ov-col { padding: 14px 24px 0 0; }
.ov-col + .ov-col { padding-left: 20px; border-left: 1px solid var(--line); }
.ov-col .label { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-bottom: 4px; }
.ov-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ov-item:last-child { border-bottom: 0; }
.ov-item b { display: block; font-size: 17px; font-weight: 600; }
.ov-item span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.ov-item.own b { color: var(--accent); }
.ov-item .no { font: 600 14px var(--font-display); font-style: normal; color: var(--muted); margin-right: 10px;
  font-variant-numeric: tabular-nums; }
.ov-item .tag { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 10px; }
.ov-item .tag.human { color: var(--accent); }

/* 03 產出: a 晨報 specimen and its key, then the three views */
.brief-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 48px; }
.brief-doc { border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 20px 24px 8px; }
.brief figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.brief-mast { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding-bottom: 10px; border-bottom: 2px solid var(--rule); }
.brief-mast b { font-size: 17px; }
.brief-mast span { color: var(--ink-2); font-size: 15px; }
.brief-count { font-size: 15px; color: var(--muted); margin: 10px 0 4px; }
table.items { width: 100%; border-collapse: collapse; font-size: 15px; }
table.items th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 12px 6px 0;
  border-bottom: 1px solid var(--rule); }
table.items td { vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
table.items tr:last-child td { border-bottom: 0; }
td.dir { width: 5.5em; font-weight: 600; white-space: nowrap; }
.item-title { font-weight: 600; }
dl.act { display: grid; grid-template-columns: 5em 1fr; gap: 3px 12px; margin-top: 6px; font-size: 15px; }
dl.act dt { color: var(--muted); }
.brief-side h3 { padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.brief-side h3 + dl { margin-bottom: 32px; }

.feature { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); }
.feature-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 8px; }
.feature-text p { color: var(--ink-2); font-size: 15px; }
.feature-fig { overflow-x: auto; }
.feature-fig svg { display: block; width: 100%; height: auto; min-width: 640px; }
/* light running along the impact paths (diagrams.py draws the .pulse overlay, hidden unless this page shows it) */
.dgm .pulse { stroke-opacity: 1; stroke-dasharray: 46 1800; stroke-dashoffset: 46; animation: flow 3.8s linear infinite; }
.dgm .pulse.p2 { animation-delay: 1.9s; }
@keyframes flow { to { stroke-dashoffset: -1500; } }

/* 04 適用產業 */
.ind { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 28px; }
.ind figure { grid-column: span 3; }
.ind figure.lead-ind { grid-column: span 6; }
.ind figure.lead-ind h3 { font-size: 20px; }
.ind .ph { overflow: hidden; }
.ind img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.ind figure:hover img { transform: scale(1.035); }
.ind figcaption { border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 10px; }
.ind figure:hover h3 { color: var(--accent); }
.ind figcaption p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* 05 編輯部查核 */
.desk-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 48px; align-items: start; }
.desk-text .sec-head { margin-bottom: 8px; }

/* 06 方案 and 資料與保密 */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }

/* 07 常見問題 */
dl.faq { max-width: 52em; border-bottom: 1px solid var(--line); }
dl.faq dt { font-weight: 600; font-size: 17px; padding-top: 16px; border-top: 1px solid var(--line); }
dl.faq dt:first-child { border-top: 0; padding-top: 0; }
dl.faq dd { color: var(--ink-2); padding: 4px 0 16px; }

/* 申請試用, on the night ground again */
.band { background: var(--night); color: var(--on-night); padding: 80px 0 88px; margin-top: 112px; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 85% 0%, rgba(31, 78, 121, 0.55), rgba(31, 78, 121, 0) 70%); }
.band .net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .4; pointer-events: none; }
.band .wrap { position: relative; }
.band .sec-head { border-top-color: rgba(255, 255, 255, 0.7); }
.band .sec-head h2 { color: #fff; }
.band .lead { color: var(--on-night-2); }
.band .note { color: var(--on-night-3); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 48px; }
form.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; border-top: 2px solid rgba(255, 255, 255, 0.7); padding-top: 22px; }
.field.full, fieldset.kind, .form-error { grid-column: 1 / -1; }
.field label, fieldset.kind legend { display: block; font-size: 15px; color: var(--on-night-2); margin-bottom: 6px; }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--edge);
  border-radius: 2px; padding: 9px 12px; min-height: 44px; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
fieldset.kind { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
fieldset.kind legend { padding: 0; margin-bottom: 8px; width: 100%; }
fieldset.kind label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; color: #fff; }
fieldset.kind input { width: 18px; height: 18px; min-height: 0; accent-color: var(--dawn); }
.form-error { color: #ffb4a8; font-size: 15px; }
.band .btn.primary { background: #fff; border-color: #fff; color: var(--ink); }
.band .btn.primary:hover { background: var(--dawn); border-color: var(--dawn); }
.band :focus-visible { outline-color: var(--sky); }

.foot { background: var(--night-2); color: var(--on-night-2); padding: 28px 0 48px; }
.foot a { color: var(--on-night); }
.foot-links { margin-top: 12px; font-size: 15px; color: var(--on-night-3); }
.disclaimer { font-size: 12.5px; color: var(--on-night-3); margin-top: 10px; max-width: 60em; }
dl.company { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--night-line); font-size: 13px; }
dl.company div { display: flex; gap: 8px; }
dl.company dt { color: var(--on-night-3); }
dl.company dd { color: var(--on-night); }
.form-done { grid-column: 1 / -1; color: var(--dawn); font-size: 16px; font-weight: 600; padding: 10px 0;
  border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.band .note a { color: var(--on-night-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 01: a phone receiving the brief, then an immediate notice */
.phone { margin-top: 36px; width: 250px; height: 272px; border: 9px solid var(--ink); border-bottom: 0;
  border-radius: 34px 34px 0 0; overflow: hidden; position: relative; }
.phone::after { content: ""; position: absolute; top: 8px; left: 50%; width: 70px; height: 18px; margin-left: -35px;
  border-radius: 10px; background: var(--ink); }
.phone-screen { position: absolute; inset: 0; background: linear-gradient(180deg, #16304a 0%, #0a1520 100%); padding: 40px 12px 0; }
.phone-date { color: #fff; font-size: 15px; font-weight: 600; text-align: center; letter-spacing: .04em; opacity: .9; }
.notif { background: rgba(255, 255, 255, 0.95); border-radius: 12px; padding: 8px 11px; margin-top: 10px; color: var(--ink);
  animation: notif1 9s cubic-bezier(.2, .7, .2, 1) infinite both; }
.notif.n2 { animation-name: notif2; }
.notif-app { font-size: 11px; color: var(--muted); letter-spacing: .04em; line-height: 1.4; }
.notif-title { font-size: 13px; font-weight: 700; line-height: 1.45; }
.notif-body { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.notif-tags { display: flex; gap: 10px; font-size: 12px; font-weight: 600; line-height: 1.5; }
@keyframes notif1 {
  0%, 4% { opacity: 0; transform: translateY(-14px) scale(.98); } 10% { opacity: 1; transform: none; }
  82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes notif2 {
  0%, 30% { opacity: 0; transform: translateY(-14px) scale(.98); } 36% { opacity: 1; transform: none; }
  82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }

/* the filtering interlude between 02 and 03 (sieve.js) */
.sieve { position: relative; background: var(--night); color: var(--on-night); height: 600px; margin-top: 112px; overflow: hidden; }
#sieve { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sieve-inner { position: relative; padding-top: 64px; }
.sieve h2 { font-size: 36px; font-weight: 700; line-height: 1.35; color: #fff; letter-spacing: .02em; }
.sieve .lead { color: var(--on-night-2); margin-top: 12px; max-width: 40em; }
.gates { position: absolute; left: 0; right: 0; bottom: 28px; height: 24px; margin: 0; padding: 0; list-style: none; }
.gates li { position: absolute; left: var(--x); transform: translateX(-50%); font-size: 14px; font-weight: 600;
  color: var(--on-night-2); letter-spacing: .1em; white-space: nowrap; }
.gates li.check { color: var(--dawn); }
.gates li.out { color: #fff; }

/* pause control for every moving thing (WCAG 2.2.2); html.still stops the canvases and CSS animation */
.motion-toggle { position: absolute; right: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); bottom: 24px; z-index: 2;
  min-height: 40px; padding: 0 14px; background: rgba(10, 21, 32, 0.6); color: var(--on-night-2);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 2px; font: 600 13px var(--font-body); cursor: pointer; }
.motion-toggle:hover { color: #fff; border-color: #fff; }
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }

/* 01: the phone stands on the same baseline as the picture */
.morning-grid { align-items: stretch; }
.morning-text { display: flex; flex-direction: column; }
.morning-text .phone { margin-top: auto; }
.morning-fig { align-self: end; }
.morning-grid { background: linear-gradient(var(--rule), var(--rule)) 50% 100% / calc(100% - 48px) 1px no-repeat; }

/* 05 mirrors 01: the picture on the right */
.desk-grid.mirror .desk-fig { order: 2; }

/* 03: one note for the section, and a call to action after the specimen */
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 40px; padding: 18px 0; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--line); }
.inline-cta p { font-size: 20px; font-weight: 700; }
.sec-note { margin-top: 28px; }

/* 07 in two columns */
dl.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; max-width: none; border-bottom: 0; }
dl.faq > div { border-top: 1px solid var(--line); padding: 16px 0; }
dl.faq dt, dl.faq dt:first-child { border-top: 0; padding-top: 0; }
dl.faq dd { padding: 4px 0 0; }

/* 申請: what happens next, and the marks on required fields */
ol.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4em 4em 1fr; align-items: baseline; padding: 12px 0;
  border-top: 1px solid var(--night-line); color: var(--on-night-2); font-size: 15px; }
ol.steps li:last-child { border-bottom: 1px solid var(--night-line); }
ol.steps li::before { content: counter(s, decimal-leading-zero); font: 700 15px var(--font-display); color: var(--dawn); }
ol.steps b { color: #fff; }
.req { color: var(--dawn); font-size: 13px; margin-left: 4px; }
.nowrap { white-space: nowrap; }

/* impact paths: a white core in a coloured glow */
.dgm .pulse.glow { stroke-opacity: .3; }

/* phone charts: the three diagrams redrawn in HTML for narrow screens (shown at 640px and below, instead of the SVG) */
.m-chart { display: none; }
.m-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.m-time ol { list-style: none; margin: 4px 0 0; padding: 0; }
.m-time li { position: relative; padding: 2px 0 14px 18px; border-left: 6px solid var(--c, var(--line)); }
.m-time li b { display: block; font-size: 15px; }
.m-time li span { display: block; font-size: 13px; color: var(--ink-2); }
.m-time li em { position: absolute; right: 0; top: 2px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent);
  border: 1px dashed var(--accent); padding: 0 6px; line-height: 1.6; }
.m-time li.next { border-left: 6px solid transparent; }
.m-time li.next::after { content: ""; position: absolute; left: -4px; top: 18px; bottom: 0; border-left: 2px dashed var(--ink-2); }
.m-time li.next::before { content: ""; position: absolute; left: -8px; top: 6px; width: 10px; height: 10px; background: #fff;
  border: 2px solid var(--ink); transform: rotate(45deg); animation: beat-m 2.4s ease-in-out infinite; }
@keyframes beat-m { 0%, 100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(45deg) scale(1.35); border-color: var(--accent); } }
.m-path { padding: 12px 0 14px; border-top: 1px solid var(--line); }
.m-dir { font-weight: 700; font-size: 15px; }
.m-path.bad, .m-path.bad .m-dir { color: var(--bad); }
.m-path.warn, .m-path.warn .m-dir { color: var(--warn); }
.m-path ol { list-style: none; margin: 8px 0 0; padding: 0 0 0 18px; position: relative; }
.m-path ol::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 3px; background: currentColor; }
.m-path li { position: relative; padding: 3px 0; color: var(--ink); font-size: 15px; }
.m-path li::before { content: ""; position: absolute; left: -18px; top: 9px; width: 10px; height: 10px; border: 2px solid var(--ink);
  background: #fff; border-radius: 50%; }
.m-path li.firm { font-weight: 700; }
.m-path li.firm::before { background: var(--ink); border-radius: 0; }
.m-path li i { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--muted); display: inline-block; width: 3.2em; }
.m-sum { font-size: 14px; color: var(--ink-2); margin-top: 6px; padding-left: 18px; }
.m-fall .m-row { display: grid; grid-template-columns: 6.4em minmax(0, 1fr) 4.4em; gap: 10px; align-items: center; padding: 8px 0;
  border-bottom: 1px solid var(--line); }
.m-lab { font-size: 15px; line-height: 1.35; }
.m-lab small { display: block; font-size: 12px; color: var(--muted); }
.m-track { position: relative; height: 14px; }
.m-track i { position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w); min-width: 3px; background: #aeb4bd; }
.m-row.duty .m-track i { background: var(--bad); }
.m-row.total .m-track i { background: var(--accent); }
.m-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }
.m-row.total .m-lab, .m-row.total .m-val { font-weight: 700; }
.js .feature.reveal .m-track i { transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * .25s); }
.js .feature.reveal.in .m-track i { transform: none; }
.js .feature.reveal .m-time li, .js .feature.reveal .m-path li { opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease; }
.js .feature.reveal .m-time li:nth-child(2), .js .feature.reveal .m-path li:nth-child(2) { transition-delay: .15s; }
.js .feature.reveal .m-time li:nth-child(3), .js .feature.reveal .m-path li:nth-child(3) { transition-delay: .3s; }
.js .feature.reveal .m-time li:nth-child(4), .js .feature.reveal .m-path li:nth-child(4) { transition-delay: .45s; }
.js .feature.reveal .m-time li:nth-child(5) { transition-delay: .6s; }
.js .feature.reveal.in .m-time li, .js .feature.reveal.in .m-path li { opacity: 1; transform: none; }

/* reveals in 03 when the reader reaches them (site.js adds .in; without JS nothing is hidden) */
.js .brief.reveal tbody tr { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.js .brief.reveal tbody tr:nth-child(2) { transition-delay: .35s; }
.js .brief.reveal tbody tr:nth-child(3) { transition-delay: .7s; }
.js .brief.reveal.in tbody tr { opacity: 1; transform: none; }
.js .brief.reveal.in tbody td { animation: arrive 1.8s ease both; }
.js .brief.reveal.in tbody tr:nth-child(2) td { animation-delay: .35s; }
.js .brief.reveal.in tbody tr:nth-child(3) td { animation-delay: .7s; }
@keyframes arrive { 0%, 25% { background: #eef3f8; } 100% { background: transparent; } }
.js .feature.reveal .seg { transform: scaleX(0); transform-box: fill-box; transform-origin: 0 50%;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .45s); }
.js .feature.reveal .mark { opacity: 0; transition: opacity .35s ease calc(var(--i) * .45s + .25s); }
.js .feature.reveal .val { opacity: 0; transition: opacity .35s ease calc(var(--i) * .3s + .55s); }
.js .feature.reveal .today { opacity: 0; transition: opacity .5s ease 2s; }
.js .feature.reveal .bar { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .3s); }
.js .feature.reveal.in .seg, .js .feature.reveal.in .bar { transform: none; }
.js .feature.reveal.in .mark, .js .feature.reveal.in .val, .js .feature.reveal.in .today { opacity: 1; }
.dgm .next { transform-box: fill-box; transform-origin: center; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.4); stroke: #1f4e79; } }

@media (prefers-reduced-motion: reduce) {
  .notif { animation: none; opacity: 1; transform: none; }
  .js .brief.reveal tbody tr, .js .feature.reveal .seg, .js .feature.reveal .bar { opacity: 1; transform: none; transition: none; }
  .js .feature.reveal .mark, .js .feature.reveal .val, .js .feature.reveal .today { opacity: 1; transition: none; }
  .js .brief.reveal.in tbody td, .dgm .next, .m-time li.next::before { animation: none; }
  .js .feature.reveal .m-track i, .js .feature.reveal .m-time li, .js .feature.reveal .m-path li { opacity: 1; transform: none; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-toggle { display: none; }
  .ov-light { animation: none; opacity: 1; left: 50%; }
  .ov-light.late { display: none; }
  .dgm .pulse { animation: none; stroke-opacity: 0; }
  .ind img, .btn { transition: none; }
}

@media (max-width: 900px) {
  .hero-shade { background: linear-gradient(180deg, rgba(10, 21, 32, 0.94) 0%, rgba(10, 21, 32, 0.82) 46%, rgba(10, 21, 32, 0.1) 72%); }
  .hero-inner { padding-top: 56px; padding-bottom: 300px; min-height: 0; }
  .hero h1 { font-size: 40px; }
  dl.figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dl.figs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  dl.figs > div:nth-child(n+3) { border-top: 1px solid var(--night-line); }
  .morning-grid, .brief-row, .desk-grid, .two, .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .morning-fig { margin-bottom: 28px; }
  .morning-grid { background: none; }
  .morning-text .phone { margin-top: 32px; }
  .desk-grid.mirror .desk-fig { order: 0; }
  dl.faq { grid-template-columns: minmax(0, 1fr); }
  .ov-cols { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .ov-col, .ov-col + .ov-col { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 12px; }
  .brief-side { margin-top: 36px; }
  .ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind figure, .ind figure.lead-ind { grid-column: span 1; }
  .desk-fig { margin-bottom: 28px; }
  .two > div + div { margin-top: 56px; }
  .apply-grid .sec-head { margin-bottom: 20px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .mast-top { padding-top: 14px; }
  .wm { font-size: 21px; }
  .ed { font-size: 14px; margin-left: 9px; padding-left: 9px; }
  .mast-right { gap: 14px; }
  .mast-right .btn { padding: 0 14px; }
  .sections { gap: 20px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .ov-col:nth-child(2) .ov-item span { display: none; }
  .motion-toggle { right: 16px; bottom: 16px; }
  .hero-inner { padding-top: 40px; padding-bottom: 300px; }
  .hero h1 { font-size: 32px; }
  .hero .lead, .lead { font-size: 17px; }
  dl.figs > div { padding: 14px 12px 20px 0; }
  dl.figs > div + div { padding-left: 12px; }
  dl.figs > div:nth-child(3) { padding-left: 0; }
  dl.figs dd { font-size: 15px; }
  .sec { margin-top: 72px; }
  .sec-head h2 { font-size: 26px; }
  .ind { gap: 28px 14px; }
  .ind figure.lead-ind { grid-column: span 2; }
  .sieve { height: 560px; margin-top: 88px; }
  .sieve-inner { padding-top: 44px; }
  .sieve h2 { font-size: 26px; }
  .gates { bottom: 22px; }
  .gates li { font-size: 12.5px; letter-spacing: .04em; }
  .phone { width: 236px; }
  .ind h3 { font-size: 15px; }
  .ind figcaption p { font-size: 13px; }
  .brief-doc { padding: 16px 14px 4px; }
  td.dir { width: 4.8em; }
  dl.act { grid-template-columns: 4.6em 1fr; }
  form.apply { grid-template-columns: minmax(0, 1fr); }
  dl.defs, dl.defs.wide { grid-template-columns: 6em 1fr; }
  .feature-fig { display: none; }
  .m-chart { display: block; }
  .band { padding: 56px 0 64px; margin-top: 88px; }
}
