/* Homepage navigation and workflow, scoped to this local trial. */
body.td-brand-legacy nav .nav-in{max-width:1280px;gap:20px;padding-top:15px;padding-bottom:15px}
body.td-brand-legacy nav .nav-links{font-size:17px;gap:24px;align-items:center}
body.td-brand-legacy nav .nav-links a{font-weight:600;color:var(--ink);white-space:nowrap;line-height:1.4;position:relative;padding:8px 0;transition:color .18s}
body.td-brand-legacy nav .nav-links a:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--teal);transform:scaleX(0);transform-origin:left;transition:transform .18s}
body.td-brand-legacy nav .nav-links a:hover{color:var(--teal)}
body.td-brand-legacy nav .nav-links a:hover:after,body.td-brand-legacy nav .nav-links a:focus-visible:after{transform:scaleX(1)}
body.td-brand-legacy nav .nav-links a:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:2px}
#chain{position:relative;background:radial-gradient(ellipse at 15% 50%,var(--teal-soft),transparent 60%)}
#chain .sec-head{max-width:800px}
#chain h2{font-size:clamp(28px,3vw,38px);max-width:790px;letter-spacing:-.9px}
#chain .lead{max-width:720px;margin-top:15px}
.td-workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin:40px 0 0;position:relative}
.td-workflow:before{content:'';position:absolute;top:40px;left:30px;right:30px;height:1px;background:linear-gradient(90deg,var(--teal),var(--line2));opacity:.7}
.td-flow-card{position:relative;min-width:0;border:1px solid var(--line2);border-radius:18px;padding:24px 20px 20px;background:linear-gradient(145deg,var(--teal-soft),transparent 45%),var(--card);display:flex;flex-direction:column;box-shadow:0 12px 30px rgba(0,0,0,.06)}
.td-flow-card:not(:last-child):after{content:'→';position:absolute;right:-16px;top:27px;z-index:2;background:var(--page);color:var(--teal);width:28px;height:28px;border:1px solid var(--line2);border-radius:50%;text-align:center;line-height:25px;font-size:17px}
.td-flow-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}
.td-flow-icon{width:51px;height:51px;border-radius:14px;background:var(--teal-soft);border:1px solid var(--teal-line);display:grid;place-items:center;color:var(--teal)}
.td-flow-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.td-flow-number{font-size:36px;letter-spacing:-2px;line-height:1;font-weight:700;color:var(--ink3);opacity:.65}
.td-flow-card h3{font-size:19px;line-height:1.3;letter-spacing:-.25px;margin:0 0 12px}
.td-flow-card p{font-size:15px;line-height:1.7;color:var(--ink2);margin:0 0 25px}
.td-flow-label{font-size:11px;font-weight:600;letter-spacing:.3px;color:var(--teal);padding-top:14px;border-top:1px solid var(--line);margin-top:auto}
.td-flow-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:28px}
.td-case-link{display:flex;align-items:center;gap:14px;color:var(--ink);padding:12px 0}
.td-case-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--teal-line);color:var(--teal);font-size:22px;flex:none}
.td-case-link small{display:block;color:var(--ink3);font-size:12px}
.td-case-link strong{display:block;font-size:14px;font-weight:600}
.td-case-link:hover strong{color:var(--teal)}
@media(max-width:1200px) and (min-width:1101px){body.td-brand-legacy nav .nav-links{font-size:16px;gap:17px}body.td-brand-legacy nav .nav-in{gap:14px;padding-left:20px;padding-right:20px}}
@media(max-width:1100px){body.td-brand-legacy nav .nav-in{padding-bottom:5px;gap:6px 12px}body.td-brand-legacy nav .nav-links{font-size:16px;gap:24px}body.td-brand-legacy nav .nav-links a{font-size:16px}.td-workflow{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.td-workflow:before{display:none}.td-flow-card:nth-child(2):after{display:none}}
@media(max-width:620px){body.td-brand-legacy nav .nav-in{padding:10px 12px 0}.td-workflow{grid-template-columns:1fr;gap:15px;margin-top:28px}.td-flow-card{padding:20px}.td-flow-top{margin-bottom:18px}.td-flow-card h3{font-size:20px}.td-flow-card p{margin-bottom:18px}.td-flow-card:not(:last-child):after{content:'↓';top:auto;right:24px;bottom:-22px}.td-flow-card:nth-child(2):after{display:block}.td-flow-bottom{align-items:flex-start;flex-direction:column;gap:12px}.td-case-link strong{font-size:13px}#chain h2{letter-spacing:-.5px}}
@media(prefers-reduced-motion:reduce){body.td-brand-legacy nav .nav-links a,body.td-brand-legacy nav .nav-links a:after{transition:none}}

/* Compact workflow: match the typography and rhythm of adjacent sections. */
#chain{padding-top:56px;padding-bottom:56px}
#chain h2{font-size:30px;line-height:1.28;letter-spacing:-.5px;max-width:none}
#chain .lead{margin-top:12px}
#chain .td-workflow{margin-top:28px;gap:16px}
#chain .td-workflow:before{top:38px}
#chain .td-flow-card{padding:20px 18px;border-radius:14px}
#chain .td-flow-card:not(:last-child):after{top:25px}
#chain .td-flow-top{margin-bottom:16px}
#chain .td-flow-icon{width:40px;height:40px;border-radius:11px}
#chain .td-flow-icon svg{width:26px;height:26px}
#chain .td-flow-number{font-size:28px;letter-spacing:-1px}
#chain .td-flow-card h3{font-size:17px;line-height:1.35;margin-bottom:9px}
#chain .td-flow-card p{font-size:15px;line-height:1.7;margin-bottom:0}
#chain .td-flow-bottom{margin-top:20px}
@media(max-width:620px){#chain{padding-top:44px;padding-bottom:44px}#chain h2{font-size:27px}#chain .td-workflow{gap:15px;margin-top:24px}#chain .td-flow-card{padding:18px}#chain .td-flow-top{margin-bottom:12px}#chain .td-flow-card:not(:last-child):after{top:auto;bottom:-22px}#chain .td-flow-bottom{gap:10px}}
