/* 5 Nov review feedback. Only the eight explicitly marked Web/Marketing routes.
   Keep chapter surfaces and type in the shared system; align the content within. */
body #main#main#main[data-dn-team-web] .twf-process-layout {
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  align-items:start;gap:clamp(24px,4vw,54px);
}
body #main#main#main[data-dn-team-web] .twf-process-copy {min-width:0;}
body #main#main#main[data-dn-team-web] .twf-process-copy .dn-section-opening {margin:0 0 18px;}
body #main#main#main[data-dn-team-web] .twf-process-copy .wd-supporting-copy {margin:0;font-size:15px;line-height:1.7;}
body #main#main#main[data-dn-team-web] .twf-customer-path {
  margin:0;overflow:hidden;min-width:0;border:1px solid #b7cbc3;
  background:#fffdf8;color:#0b1d3a;border-radius:5px 52px 5px 5px;
  box-shadow:0 10px 0 #0b1d3a06;
}
body #main#main#main[data-dn-team-web] .twf-customer-path figcaption {
  display:flex;align-items:center;gap:13px;margin:0;padding:16px 20px;
  background:#dfebe5;border-bottom:1px solid #c8d8ce;font-size:12px;font-weight:700;
}
body #main#main#main[data-dn-team-web] .twf-window-dots {display:flex;gap:4px;}
body #main#main#main[data-dn-team-web] .twf-window-dots i {width:5px;height:5px;border-radius:50%;background:#65867f;}
body #main#main#main[data-dn-team-web] .twf-customer-path ol {list-style:none;margin:0;padding:5px 22px 7px;}
body #main#main#main[data-dn-team-web] .twf-customer-path li {
  display:grid;grid-template-columns:50px minmax(0,1fr);gap:17px;
  position:relative;margin:0;padding:18px 0;align-items:center;
}
body #main#main#main[data-dn-team-web] .twf-customer-path li+li {border-top:1px solid #dde6dd;}
body #main#main#main[data-dn-team-web] .twf-customer-path li:not(:last-child)::after {
  content:"";position:absolute;left:24px;bottom:-14px;height:27px;width:2px;background:#00a89f;z-index:1;
}
body #main#main#main[data-dn-team-web] .twf-stage-mark {
  display:grid;place-items:center;width:50px;height:50px;background:#eef4ee;
  border:1px solid #c5d9cf;border-radius:4px 18px 4px 4px;
}
body #main#main#main[data-dn-team-web] .twf-stage-mark img {display:block;max-width:30px;max-height:30px;width:30px;height:30px;object-fit:contain;}
body #main#main#main[data-dn-team-web] .twf-discovery-marks {display:flex;gap:3px;align-items:center;}
body #main#main#main[data-dn-team-web] .twf-discovery-marks img {width:21px;height:21px;}
body #main#main#main[data-dn-team-web] .twf-stage-number {float:right;padding:3px 0 0 8px;font-size:10px;font-weight:800;color:#00746d;}
body #main#main#main[data-dn-team-web] .twf-customer-path h3 {margin:0 0 5px;font-size:21px;line-height:1.2;color:#0b1d3a;}
body #main#main#main[data-dn-team-web] .twf-customer-path li p {margin:0;font-size:14px;line-height:1.5;color:#42536a;}

/* Three real technologies need context, rather than a sparse looping strip. */
body #main#main#main[data-dn-team-web] .twf-hosting-tools ul {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none;
}
body #main#main#main[data-dn-team-web] .twf-hosting-tools li {background:#fffdf8;border:1px solid #b8cec1;border-radius:4px 26px 4px 4px;padding:20px;min-width:0;color:#0b1d3a;}
body #main#main#main[data-dn-team-web] .twf-hosting-tools li a {display:flex;gap:14px;align-items:center;color:#0b1d3a;text-decoration:none;}
body #main#main#main[data-dn-team-web] .twf-hosting-tools li a:hover strong {text-decoration:underline;text-underline-offset:4px;}
body #main#main#main[data-dn-team-web] .twf-tech-mark {display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;}
body #main#main#main[data-dn-team-web] .twf-tech-mark img {display:block;width:38px;height:38px;object-fit:contain;}
body #main#main#main[data-dn-team-web] .twf-hosting-tools strong {font-size:21px;line-height:1.2;}
body #main#main#main[data-dn-team-web] .twf-hosting-tools li p {font-size:15px;line-height:1.6;color:#42536a;margin:13px 0 0;max-width:32ch;}
body #main#main#main[data-dn-team-web] .twf-care-note {font-size:13px;line-height:1.6;color:var(--service-ink);margin:16px 0 0;max-width:88ch;}

/* Marketing: one consistent reading order and shared compact chapter rhythm. */
body #main#main#main[data-dn-team-marketing] :is(.twf-marketing-opening,.twf-illustrated-layout) {
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(24px,4vw,52px);align-items:start;margin:0;
}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .cp-opening-copy {padding:0;min-width:0;}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .site-card-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:16px 0 0;}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .site-card-grid article {padding:14px 17px;border-radius:4px 20px 4px 4px;}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .site-card-grid h3 {font-size:18px;line-height:1.35;margin:0 0 5px;}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .site-card-grid p {font-size:14px;line-height:1.6;margin:0;}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .cp-outcome-copy {margin:16px 0 0;padding:0;border:0;}
body #main#main#main[data-dn-team-marketing] .twf-marketing-opening .cp-outcome-copy p {margin:0;font-size:14px;line-height:1.5;}
body #main#main#main[data-dn-team-marketing] :is(.twf-marketing-opening,.twf-illustrated-layout) .cp-work-example {width:100%;max-width:490px;min-width:0;margin:0;order:initial;align-self:start;justify-self:end;}
body #main#main#main[data-dn-team-marketing] .twf-illustrated-layout>.brand-story-copy {order:initial;min-width:0;}
body #main#main#main[data-dn-team-marketing] .twf-illustrated-layout .brand-visual {width:100%;min-height:270px;max-width:490px;padding:22px;order:initial;justify-self:end;}
body #main#main#main[data-dn-team-marketing] .twf-editorial-grid {
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(24px,4vw,52px);
  align-items:start;border:0;padding:0;margin:0;
}
body #main#main#main[data-dn-team-marketing] .twf-editorial-grid>.brand-prose {border-left:3px solid #00857d;padding:3px 0 3px 22px;margin:0;min-width:0;}
body #main#main#main[data-dn-team-marketing] [data-service-surface="navy"] .twf-editorial-grid>.brand-prose {border-color:#00b2a9;}
body #main#main#main[data-dn-team-marketing] .twf-editorial-grid .dn-section-opening {margin-bottom:0;}
body #main#main#main[data-dn-team-marketing] .twf-editorial-grid .brand-prose p {margin:0 0 13px;font-size:16px;line-height:1.65;}
body #main#main#main[data-dn-team-marketing] .twf-editorial-grid .brand-prose p:last-child {margin-bottom:0;}
body #main#main#main[data-dn-team-marketing] .twf-editorial-grid .brand-budget-note {padding-top:14px;margin-top:14px;}

/* Service choices form a clear group, rather than a tall right-hand column. */
body #main#main#main[data-dn-team-marketing] .twf-capability-layout {display:block;}
body #main#main#main[data-dn-team-marketing] .twf-capability-layout .brand-feature-intro {position:static;max-width:900px;}
body #main#main#main[data-dn-team-marketing] .twf-capability-layout .brand-line-mark {display:none;}
body #main#main#main[data-dn-team-marketing] .twf-service-choices {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border:0;}
body #main#main#main[data-dn-team-marketing] .twf-service-choices[data-twf-choice-count="2"] {grid-template-columns:repeat(2,minmax(0,1fr));}
body #main#main#main[data-dn-team-marketing] .twf-service-choices article {display:block;padding:20px;border:1px solid #bdcec1;background:#fffdf8;color:#0b1d3a;border-radius:4px 24px 4px 4px;min-width:0;}
body #main#main#main[data-dn-team-marketing] .twf-service-choices .feature-symbol {display:none;}
body #main#main#main[data-dn-team-marketing] .twf-choice-mark {display:grid;place-items:center;width:42px;height:42px;margin:0 0 16px;background:#e8f0e9;border-radius:4px 15px 4px 4px;}
body #main#main#main[data-dn-team-marketing] .twf-choice-mark img {display:block;width:28px;height:28px;object-fit:contain;}
body #main#main#main[data-dn-team-marketing] .twf-service-choices h3 {font-size:20px;line-height:1.25;margin:0 0 12px;letter-spacing:-.025em;}
body #main#main#main[data-dn-team-marketing] .twf-service-choices p {font-size:14px;line-height:1.65;margin:0;color:#42536a;}

/* An actual cover beside the agreed steps, not a cover below a tall intro. */
body #main#main#main[data-dn-team-marketing] .twf-plan-layout {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:30px;align-items:stretch;}
body #main#main#main[data-dn-team-marketing] .twf-plan-cover {display:flex;min-width:0;padding-left:8px;}
body #main#main#main[data-dn-team-marketing] .twf-plan-cover .brand-book-cover {display:flex;width:100%;max-width:390px;margin:0;transform:none;}
body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook {box-sizing:border-box;width:100%;height:100%;min-height:330px;margin:0;padding:24px 26px;background:#123148;box-shadow:-8px 0 0 #1c4555,0 5px 0 #d3d9cd,8px 12px 22px #0002;border-radius:3px 18px 3px 3px;}
body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook strong {font-size:clamp(28px,3vw,38px);line-height:1.05;max-width:10ch;position:relative;z-index:1;}
body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook>.notebook-view {width:43%;height:62%;bottom:0;right:0;object-fit:cover;object-position:center;border-radius:110px 0 0 0;}
body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook>p {font-size:11px;max-width:15ch;position:relative;z-index:1;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper {padding:23px 26px;box-shadow:4px 5px 0 #dce0d3;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper ol {margin:16px 0;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper li {padding-bottom:17px;gap:15px;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper li:last-child {padding-bottom:0;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper h3 {font-size:21px;line-height:1.25;margin:3px 0 6px;color:#0b1d3a;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper p {font-size:14px;line-height:1.6;color:#42536a;margin:0;}
body #main#main#main[data-dn-team-marketing] .twf-plan-layout .plan-bottom {padding-top:16px;}

/* Match Home's browser proportions, retaining the width of each proof card. */
body #main#main#main[data-dn-team-web] [data-website-showcase]:not(.website-showcase-large) .showcase-viewport {aspect-ratio:4/3;height:auto;min-height:0;max-height:none;}
body #main#main#main[data-dn-team-web] [data-website-showcase]:not(.website-showcase-large) .showcase-chrome {height:36px;min-height:36px;box-sizing:border-box;}
body #main#main#main[data-dn-team-web] .site-proof-grid>.site-proof:not(:only-child) {display:flex;flex-direction:column;align-items:stretch;min-width:0;}
body #main#main#main[data-dn-team-web] .site-proof-grid>.site-proof:not(:only-child)>.website-showcase {height:auto;width:100%;flex:0 0 auto;border-right:0;}

@media(max-width:1000px) {
  body #main#main#main[data-dn-team-marketing] .twf-service-choices {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px) {
  body #main#main#main[data-dn-team-web] .twf-process-layout,
  body #main#main#main[data-dn-team-marketing] :is(.twf-marketing-opening,.twf-illustrated-layout,.twf-editorial-grid,.twf-plan-layout) {grid-template-columns:minmax(0,1fr);gap:23px;}
  body #main#main#main[data-dn-team-web] .twf-hosting-tools ul {grid-template-columns:minmax(0,1fr);gap:12px;}
  body #main#main#main[data-dn-team-web] .twf-hosting-tools li {padding:17px 19px;}
  body #main#main#main[data-dn-team-web] .twf-hosting-tools li p {max-width:none;margin-top:8px;}
  body #main#main#main[data-dn-team-marketing] .twf-editorial-grid>.brand-prose {padding:0;border:0;}
  body #main#main#main[data-dn-team-marketing] :is(.twf-marketing-opening,.twf-illustrated-layout) .cp-work-example {max-width:none;justify-self:stretch;}
  body #main#main#main[data-dn-team-marketing] .twf-plan-cover {padding-left:8px;}
  body #main#main#main[data-dn-team-marketing] .twf-plan-cover .brand-book-cover {max-width:none;}
  body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook {min-height:240px;padding:20px 24px;}
  body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook strong {font-size:33px;}
  body #main#main#main[data-dn-team-marketing] .twf-plan-cover .service-notebook>.notebook-view {height:100%;width:38%;}
  body #main#main#main[data-dn-team-marketing] .twf-plan-layout .brand-plan-paper {padding:21px;}
}
@media(max-width:500px) {
  body #main#main#main[data-dn-team-marketing] .twf-service-choices,
  body #main#main#main[data-dn-team-marketing] .twf-service-choices[data-twf-choice-count="2"] {grid-template-columns:minmax(0,1fr);}
  body #main#main#main[data-dn-team-marketing] .twf-service-choices article:has(.twf-choice-mark) {display:grid;grid-template-columns:42px minmax(0,1fr);gap:15px;}
  body #main#main#main[data-dn-team-marketing] .twf-choice-mark {margin:0;}
  body #main#main#main[data-dn-team-web] .twf-customer-path ol {padding-inline:17px;}
  body #main#main#main[data-dn-team-web] .twf-customer-path figcaption {padding-inline:17px;}
}
