:root {
  color-scheme: light;
  --bg: #f7faf6;
  --white: #fff;
  --ink: #182e25;
  --muted: #4f655a;
  --line: #d7e7dc;
  --forest: #123c2c;
  --accent: #216946;
  --mint: #d9eddd;
  font: 16px/1.65 "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body, figure, h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, fieldset label:has(input:focus-visible) { outline: 3px solid #e08c38; outline-offset: 4px; }
.wrap { width: min(1170px, calc(100% - 104px)); margin-inline: auto; }
.sr, .skip:not(:focus), fieldset input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; z-index: 6; top: 8px; left: 8px; padding: 10px; background: var(--white); }
.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: #f7faf6f5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: none; font-size: 1.12rem; font-weight: 850; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--forest); color: #d2f4d9; font-size: .88rem; font-weight: 800; }
nav { display: flex; align-items: center; gap: clamp(15px,3vw,36px); }
nav a, .header-cta { font-size: .88rem; font-weight: 680; }
nav a:hover, .footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.header-cta { flex: none; border: 1px solid #b7d0be; border-radius: 7px; padding: 8px 13px; }
.header-tools { display: flex; align-items: center; gap: 7px; flex: none; }
.sound-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 10px; border: 1px solid #b7d0be; border-radius: 7px; background: #f6faf4; color: var(--forest); font: inherit; font-size: .82rem; font-weight: 720; cursor: pointer; white-space: nowrap; }
.sound-toggle span:first-child { font-size: 1em; color: var(--accent); }
.sound-toggle:hover, .sound-toggle[aria-pressed="true"] { background: #e5f1e6; }
@media (max-width: 760px) {
  .header .bar { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding-block: 7px 4px; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .header .header-cta, .sound-toggle { padding-block: 5px; }
  .header nav { grid-column: 1/-1; flex-wrap: wrap; gap: 0 14px; }
  .header nav a { padding-block: 7px 3px; }
}
.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: 55px; align-items: center; padding-block: 65px 72px; }
.eyebrow { color: var(--accent); font-size: .84rem; font-weight: 800; letter-spacing: .12em; }
.hero .eyebrow span { display: inline-block; width: 16px; height: 2px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.hero-text { container-type: inline-size; }
h1 { font-size: clamp(1.5rem, 9.2cqw, 3.5rem); font-weight: 870; letter-spacing: -.065em; line-height: 1.13; margin: 12px 0 17px; white-space: nowrap; }
.lede { max-width: 29rem; display: grid; gap: 2px; color: var(--muted); font-size: 1.04rem; }
.lede strong { font-weight: 760; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 17px; border-radius: 7px; border: 1px solid transparent; font-size: .9rem; font-weight: 750; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: var(--accent); }
.outline { border-color: #b7d0be; }
.outline:hover, .header-cta:hover { background: #e8f3e8; }
.hero-meta { border-top: 1px solid var(--line); padding-top: 15px; display: flex; gap: 29px; }
dt { color: var(--muted); font-size: .8rem; }
dd { font-weight: 740; font-size: .89rem; }
.hero-art {
  overflow: hidden;
  position: relative;
  height: clamp(360px, 36vw, 470px);
  min-width: 0;
  border-radius: 20px;
  background-color: #d8ebd7;
  background-image: linear-gradient(#416b4920 1px, transparent 1px), linear-gradient(90deg,#416b4920 1px, transparent 1px), radial-gradient(ellipse at 57% 42%,#f3f6dd 0%,#d1e9d6 76%);
  background-size: 28px 28px,28px 28px,cover;
}
.hero-art img { position: absolute; top: 50%; left: 51%; width: 68%; height: 77%; transform: translate(-50%,-52%); object-fit: contain; }
.track { position: absolute; inset: 18% -4% 19% 4%; border: 2px dashed #397b5a66; border-radius: 50%; transform: rotate(-22deg); }
.art-caption { display: flex; align-items: center; gap: 8px; position: absolute; top: 19px; left: 20px; color: #234e37; font-size: .79rem; font-weight: 800; }
.art-caption span { width: 8px; height: 8px; border-radius: 50%; background: #468370; }
figcaption { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
figcaption span { background: #fafdf5; color: #234e37; border: 1px solid #c6deca; border-radius: 100px; padding: 4px 11px; font-size: .78rem; font-weight: 750; }
.section { padding-block: 67px; }
#mechanism, #roadmap { border-top: 1px solid var(--line); }
.section-heading { max-width: 730px; margin-bottom: 27px; }
.story-route { display: inline-flex; width: 36px; height: 9px; margin-right: 8px; align-items: center; vertical-align: .03em; }
.story-route::before, .story-route::after { content: ""; background: #a8c9b2; transition: background-color .35s ease, box-shadow .35s ease; }
.story-route::before { flex: 1; height: 2px; border-radius: 3px; }
.story-route::after { width: 7px; height: 7px; border-radius: 50%; }
.story-route.is-lit::before, .story-route.is-lit::after { background: #36805d; }
.story-route.is-lit::after { box-shadow: 0 0 0 3px #43976628; }
h2 { margin: 7px 0 12px; font-size: clamp(1.75rem, 3.45vw, 3.05rem); font-weight: 850; letter-spacing: -.065em; line-height: 1.2; }
.section-heading > p:last-child { color: var(--muted); max-width: 41rem; }
.roadmap article p:last-child { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.roadmap { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.roadmap article { border-top: 2px solid #a9ccb4; padding: 14px 2px; }
h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.38; }
.feature { padding-block: 68px; color: #f5fff4; background: #143e30; }
.feature .eyebrow { color: #a5e8b4; }
.feature .section-heading > p:last-child { color: #d3e9de; }
.simulation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 385px);
  gap: clamp(34px, 7vw, 114px);
  align-items: center;
  max-width: 1030px;
  margin-inline: auto;
}
.recommendation-intro { margin: 0; }
.recommendation-intro > p:not(.eyebrow) { color: #d3e9de; }
.recommendation-logic { margin: 25px 0 20px; }
.recommendation-logic > div { padding: 12px 0; border-top: 1px solid #487765; }
.recommendation-logic dt { color: #d2f4d9; font-weight: 800; font-size: .92rem; }
.recommendation-logic dd { margin-top: 3px; color: #e2f2e6; font-weight: 470; }
.recommendation-note { font-size: .8rem; }
.phone {
  min-width: 0;
  width: 100%;
  border: 2px solid #6b9885;
  padding: 7px;
  border-radius: 29px;
  background: #112f26;
  box-shadow: 0 17px 38px #0a2b22a0;
}
.phone-screen { background: #f7faf4; color: var(--ink); padding: 15px 15px 16px; border-radius: 21px; overflow: hidden; }
.phone-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.phone-heading h3 { font-size: 1.23rem; }
.phone-heading span { border-radius: 100px; padding: 3px 9px; background: #edf1e7; color: var(--muted); font-size: .75rem; font-weight: 700; }
.route-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.route-controls fieldset { min-inline-size: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 0; margin: 0; }
.route-controls legend { font-weight: 750; font-size: .82rem; padding: 0 0 5px; }
.route-controls label {
  cursor: pointer;
  display: grid;
  place-items: center;
  min-height: 40px;
  text-align: center;
  padding: 4px 3px;
  border: 1px solid #b9cfbf;
  border-radius: 7px;
  font-size: .79rem;
  font-weight: 750;
}
.route-controls label:has(input:checked) { background: #dcefe0; border-color: #759e84; color: #1c5538; }
.trip {
  border: 1px solid #dfecdf;
  background: #edf5ec;
  display: grid;
  grid-template-columns: auto minmax(14px, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: .8rem;
  font-weight: 800;
}
.trip-line { border-top: 1px dashed #649480; }
.trip small { font-size: .72rem; color: var(--muted); font-weight: 580; }
.route-result { border-radius: 10px; background: #ddf0e0; padding: 9px 10px; margin: 9px 0 11px; color: #214631; }
.route-result.no-fit { background: #fbecdf; color: #734b25; }
.route-result strong { font-size: .95rem; }
.route-result p { font-size: .78rem; margin-top: 2px; }
.orders-title { font-size: .83rem; margin: 0 0 5px; }
.candidate-orders { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; }
.candidate {
  background: #fff;
  border: 1px solid #dbe9df;
  border-radius: 9px;
  padding: 7px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}
.candidate img { width: 43px; height: 43px; object-fit: contain; border-radius: 7px; background: #f4eee4; }
.candidate[data-order="meal"] img { background: #edf3e6; }
.candidate[data-result="recommended"] { border-color: #9fc8a9; }
.candidate-heading, .candidate-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 7px; }
.candidate-heading strong { font-size: .85rem; }
.candidate-state { color: var(--muted); background: #eef2ec; padding: 1px 6px; border-radius: 9px; font-size: .72rem; font-weight: 750; }
.candidate[data-result="recommended"] .candidate-state { background: #dbf0df; color: #26583d; }
.candidate[data-result="late"] .candidate-state { background: #fae9dc; color: #784523; }
.candidate-meta, .candidate-reason { font-size: .75rem; color: var(--muted); }
.candidate-meta { justify-content: flex-start; margin: 1px 0; }
.candidate-meta b { color: var(--ink); }
.example-note { color: var(--muted); font-size: .78rem; }
.pilot-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 45px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.timeline span { color: var(--accent); font-size: .84rem; font-weight: 780; padding-top: 3px; }
.timeline h3 { font-size: 1rem; }
.timeline p { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.measure { border: 1px solid #c6decb; border-radius: 13px; background: #e9f3e9; padding: 22px; }
.measure img { float: right; width: 65px; height: auto; margin-left: 9px; }
.measure h3 { font-size: clamp(1.25rem,2.1vw,1.85rem); margin: 9px 0 12px; }
.measure > p:not(.eyebrow) { color: var(--muted); }
.measure .example-note { margin-top: 14px; }
.trust { background: #e9f3e9; }
.roadmap article p:first-child { color: var(--accent); font-size: .8rem; font-weight: 800; margin-bottom: 6px; }
.footer { border-top: 1px solid var(--line); }
.footer p, .footer .bar > a:last-child { color: var(--muted); font-size: .85rem; }
@media(max-width: 850px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 26px; }
  .hero-art { height: 370px; }
  .pilot-layout { gap: 22px; }
  .hero-meta { gap: 14px; }
}
@media(max-width: 640px) {
  html { scroll-padding-top: 113px; }
  .wrap { width: calc(100% - 32px); }
  .header .bar { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 8px 4px; }
  .header-cta { grid-column: 2; grid-row: 1; padding-block: 5px; }
  nav { grid-column: 1/-1; gap: 23px; flex-wrap: wrap; }
  nav a { padding: 7px 0 3px; }
  .hero { grid-template-columns: 1fr; padding-block: 31px 43px; gap: 23px; }
  .hero-art { height: 315px; }
  .hero-actions { margin: 17px 0 19px; }
  .hero-meta { flex-wrap: wrap; }
  .hero-art img { width: 70%; }
  .section, .feature { padding-block: 45px; }
  .roadmap, .simulation, .pilot-layout { grid-template-columns: 1fr; gap: 12px; }
  .roadmap article { padding-block: 10px 3px; }
  .simulation { gap: 20px; }
  .phone { max-width: 385px; margin-inline: auto; }
  .footer .bar { flex-wrap: wrap; gap: 10px; padding-block: 14px; }
  .footer p { order: 3; width: 100%; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-route::before, .story-route::after { background: #36805d; transition: none; }
}


[hidden] { display: none !important; }
:where(button, summary):focus-visible, .ui-options label:has(input:focus-visible) {
  outline: 3px solid #ce7a27;
  outline-offset: 3px;
}
#ai, #order-import { border-top: 1px solid var(--line); }
#order-import { padding-top: 0; }
.step-links { display: flex; flex-wrap: wrap; gap: 7px 10px; margin-bottom: 15px; }
.step-links a {
  border: 1px solid #b7d0be;
  border-radius: 100px;
  padding: 5px 12px;
  color: var(--accent);
  background: #f6fbf6;
}
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 370px);
  align-items: center;
  gap: clamp(25px, 8vw, 105px);
  max-width: 1030px;
  margin-inline: auto;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
#voice-route { border-top: 1px solid var(--line); }
.stage-copy h3 {
  margin-block: 8px 12px;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  letter-spacing: -.05em;
}
.stage-copy > p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }
.stage-note { margin-top: 13px; font-size: .82rem; }
.showcase .phone { box-shadow: 0 12px 24px #173f3025; border-color: #9cbaaa; }
.phone-heading h4 { font-size: 1.13rem; margin: 0; }
.mini-service { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 8px; background: #edf5ec; margin-top: 11px; }
.mini-service img { flex: none; object-fit: contain; border-radius: 6px; background: #f8eee1; }
.mini-service strong, .mini-service small { display: block; }
.mini-service strong { font-size: .87rem; line-height: 1.35; }
.mini-service small { color: var(--muted); font-size: .76rem; }
.ui-fields { margin-top: 8px; padding: 0 8px; background: white; border-radius: 8px; border: 1px solid var(--line); }
.ui-fields > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 7px 0; }
.ui-fields > div + div { border-top: 1px solid #e7efe8; }
.ui-fields dd { font-size: .8rem; text-align: right; }
.ui-footer, .transcript, .sample-text { padding: 8px; margin-top: 9px; border-radius: 8px; background: #edf5ec; color: var(--muted); font-size: .8rem; }
.quote-total { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.quote-total span { font-size: .82rem; color: var(--muted); }
.quote-total strong { font-size: 1.63rem; font-variant-numeric: tabular-nums; }
.ui-details { margin-top: 8px; color: var(--accent); font-size: .82rem; }
.ui-details summary { cursor: pointer; font-weight: 750; padding: 6px 1px; }
.ui-details p { padding: 4px 1px; color: var(--muted); }
.ui-timeline { list-style: none; margin: 9px 0 0; padding: 0; }
.ui-timeline li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.ui-timeline li span { font-variant-numeric: tabular-nums; color: var(--muted); }
.mini-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 39px;
  padding: 6px 9px;
  margin-top: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--forest);
  color: white;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
}
.mini-action:hover { background: var(--accent); }
.mini-action.secondary { color: var(--accent); background: #f5faf5; border-color: #bccec2; }
.mini-action.secondary:hover { background: #e6f3e8; }
.ui-result {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #ddf0e0;
  color: #204631;
  font-size: .81rem;
}
.ui-result p { margin-top: 3px; }
.ui-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  border: 0;
  padding: 0;
  margin: 11px 0 7px;
  min-width: 0;
}
.ui-options legend { font-size: .78rem; font-weight: 750; padding: 0 0 3px; }
.ui-options label { display: grid; place-items: center; padding: 4px; min-height: 37px; text-align: center; border: 1px solid #b9cfbf; border-radius: 7px; font-size: .79rem; font-weight: 750; cursor: pointer; }
.ui-options label:has(input:checked) { color: #1c5538; background: #dcefe0; border-color: #759e84; }
.sample-chat { border: 1px solid var(--line); border-radius: 8px; width: 100%; height: auto; }
.sample-avatar { flex: none; display: grid; place-items: center; width: 39px; height: 39px; background: #d4e9da; color: var(--forest); border-radius: 50%; font-weight: 800; }
.trust { padding-block: 62px 34px; }
.tracking-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tracking-map {
  --pin-left: 19%;
  --route-progress: 0%;
  --route-move: .3s ease-in-out;
  position: relative;
  isolation: isolate;
  height: 155px;
  border: 1px solid #c7ddcc;
  border-radius: 9px;
  background: repeating-linear-gradient(90deg, #ccddcf55 0 1px, transparent 1px 20px), repeating-linear-gradient(#ccddcf55 0 1px, transparent 1px 20px), #edf3e8;
}
.tracking-map[data-step="enroute"] { --pin-left: 50%; --route-progress: 50%; }
.tracking-map[data-step="delivered"] { --pin-left: 81%; --route-progress: 100%; }
.map-block { position: absolute; display: grid; place-items: center; min-width: 24%; min-height: 24%; background: #fffdf4; color: #3b6150; border: 1px solid #cbdccb; border-radius: 8px; font-size: .72rem; font-weight: 760; }
.map-dorm { left: 7%; top: 13%; }
.map-park { right: 9%; top: 13%; background: #d9ead7; }
.map-station { left: 6%; bottom: 8%; }
.map-classroom { right: 6%; bottom: 8%; }
.map-path { position: absolute; top: 53%; left: 19%; right: 19%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #93b19a 0 3px, transparent 3px 7px); }
.map-path::after { content: ""; display: block; width: var(--route-progress); height: 100%; background: #327756; border-radius: 4px; transition: width var(--route-move); }
.map-pin { position: absolute; z-index: 1; left: var(--pin-left); top: 53%; width: 15px; height: 15px; border-radius: 50%; border: 2px solid white; background: #216946; box-shadow: 0 0 0 2px #397d51; transform: translate(-50%, -50%); transition: left var(--route-move); }
@media (max-width: 850px) {
  .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 26px; }
}
@media (max-width: 640px) {
  .header nav { gap: 0 12px; }
  .header nav a { font-size: .82rem; }
  .step-links { gap: 6px; }
  .step-links a { font-size: .82rem; }
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 15px; padding-block: 26px; }
  .trust { padding-block: 45px 20px; }
}
@media (prefers-reduced-motion: reduce) { .map-pin, .map-path::after { transition: none; } }


.hero .hero-meta { margin-top: 23px; }
.project { border-top: 1px solid var(--line); }
.project-story { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.project-story article { position: relative; background: #edf5e9; border: 1px solid #cfdfd0; border-radius: 4px 13px 12px 8px; padding: clamp(23px, 3vw, 34px); box-shadow: 2px 5px 0 #28533b0c; }
.project-story article:first-child { background: #fffaf0; border-color: #e6ddc8; }
.project-story article::before { content: ""; position: absolute; top: -6px; left: 26px; width: 65px; height: 13px; transform: rotate(-5deg); background: #e2d3a46b; border-inline: 2px dotted #fff5; transition: background-color .35s ease; }
.project-story article:last-child::before { background: #b8d5be80; transform: rotate(4deg); }
.project-story article.is-lit::before { background: #e8cb82; }
.project-story article.is-lit:last-child::before { background: #accab0; }
.project-story h3 { margin-block: 7px 12px; font-size: clamp(1.18rem, 2.1vw, 1.66rem); }
.project-story article > p:last-child { color: var(--muted); }
.gallery { scroll-margin-top: 4px; border: 1px solid #d1e4d6; border-radius: 18px; background: repeating-linear-gradient(0deg,#55745d09 0 1px,transparent 1px 20px), repeating-linear-gradient(90deg,#55745d07 0 1px,transparent 1px 20px), #f5f7ec; overflow: hidden; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid #d6e4d2; background: #edf5edef; }
.gallery-links, .gallery-arrows { display: flex; align-items: center; gap: 5px; }
.gallery-links { flex-wrap: wrap; }
.gallery-links a, .gallery-arrows button { display: grid; place-items: center; min-height: 35px; border-radius: 7px; }
.gallery-links a { padding: 3px 11px; color: var(--muted); }
.gallery-links a[aria-current] { background: #d4eadd; color: #1c583d; }
.gallery-arrows { flex: none; }
.gallery-arrows button { width: 31px; border: 1px solid #b8cfc0; background: #f7fbf6; color: var(--forest); font: 750 1.23rem/1 system-ui; cursor: pointer; }
.gallery-arrows button:disabled { opacity: .45; cursor: default; }
.gallery-track { touch-action: pan-y; }
.gallery-track:focus-visible { outline: 3px solid #c3782f; outline-offset: -4px; }
.app-slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 267px); gap: 24px; align-items: center; min-width: 0; width: 100%; padding: 18px clamp(16px,6vw,78px); }
.app-slide-copy h3 { margin-block: 7px 8px; font-size: clamp(1.35rem, 3.2vw, 2.35rem); letter-spacing: -.04em; }
.app-slide-copy p:last-child { color: var(--muted); max-width: 25rem; font-size: .94rem; }
.gallery-phone { position: relative; width: min(100%, 240px, calc((100svh - 190px) * 9 / 19.5)); min-width: min(100%, 190px); aspect-ratio: 9 / 19.5; margin-inline: auto; border-color: #759685; box-shadow: 0 10px 22px #163a272a; }
.gallery-phone .phone-screen { position: absolute; inset: 7px; display: flex; flex-direction: column; padding: 8px 9px 6px; }
.app-status { display: grid; grid-template-columns: 1fr auto 1fr; gap: 3px; align-items: center; padding: 0 4px; font-size: .65rem; font-weight: 750; }
.app-status span:last-child { text-align: right; }
.app-camera { width: 43px; height: 10px; background: #153228; border-radius: 100px; }
.app-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding: 6px 2px 8px; }
.app-greeting { font-weight: 800; margin-top: 7px; font-size: .92rem; }
.app-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; margin-top: 5px; }
.app-categories span { background: #eaf3e9; border-radius: 6px; padding: 4px; text-align: center; color: #26573e; font-size: .75rem; }
.app-order { border: 1px solid var(--line); border-radius: 7px; padding: 6px 7px; background: white; margin-top: 7px; }
.app-order strong { display: flex; gap: 4px; justify-content: space-between; font-size: .85rem; }
.app-order small { display: block; color: var(--muted); font-size: .73rem; }
.app-inline { display: inline-block; color: var(--accent); font-weight: 750; font-size: .78rem; margin-top: 7px; }
.app-tabbar { flex: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border-top: 1px solid #cadfd1; padding-top: 4px; }
.app-tabbar a { display: grid; justify-items: center; align-content: center; min-height: 40px; color: var(--muted); font-size: .69rem; border-radius: 6px; }
.app-tabbar a[aria-current] { color: var(--accent); background: #e4f0e6; font-weight: 850; }
.app-home-indicator { width: 65px; height: 3px; border-radius: 9px; background: #233b30; margin: 4px auto 0; }
.example-card { border: 1px solid #c6dfcf; border-radius: 15px; background: #f7faf4; box-shadow: 0 8px 18px #163a2715; }
.example-card .phone-screen { border-radius: inherit; overflow: visible; }
.timeline { position: relative; border-top: 0; padding-left: 21px; }
.timeline::before { content: ""; position: absolute; top: 19px; bottom: 20px; left: 5px; border-left: 2px dashed #a5bea9; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: 17px; left: -21px; width: 10px; height: 10px; background: #e2eddf; border: 1px solid #8daf96; border-radius: 43% 54% 46% 55%; transform: rotate(-18deg); transition: background-color .35s ease, box-shadow .35s ease; }
.timeline li.is-lit::before { background: #548a66; box-shadow: 0 0 0 3px #acc9ae66; }
@media (prefers-reduced-motion: reduce) {
  .project-story article::before { background: #e8cb82; transition: none; }
  .project-story article:last-child::before { background: #accab0; }
  .timeline li::before { background: #548a66; box-shadow: 0 0 0 3px #acc9ae66; transition: none; }
}
@media (max-width: 640px) {
  .header nav { gap: 0 8px; }
  .project-story { grid-template-columns: minmax(0, 1fr); }
  .gallery { scroll-margin-top: -24px; }
  .app-slide { grid-template-columns: minmax(0,1fr); gap: 9px; padding: 12px 8px; }
  .app-slide .gallery-phone { grid-row: 1; }
  .app-slide-copy h3 { margin-block: 1px 3px; }
  .app-slide-copy p:last-child { font-size: .81rem; }
  .gallery-controls { padding: 8px; }
  .gallery-links a { padding-inline: 7px; }
}
@media (max-width: 360px) {
  .header nav { gap: 0 6px; }
  .header nav a { font-size: .75rem; }
}
