/* Teardown template: the supplied 1200px composition, with hand-drawn leaders. */
.td-page { --td-blue:#2450de; --td-ink:#141922; --td-line:#dfe4eb; color:var(--td-ink); }
.td-wrap { width:1200px; max-width:calc(100% - 48px); margin:0 auto; }
.td-grid-bg { background-color:#fbfcfe; background-image:linear-gradient(#2450de0d 1px,transparent 1px),linear-gradient(90deg,#2450de0d 1px,transparent 1px); background-size:32px 32px; }
.td-top { padding:34px 0 56px; }
.td-back { display:inline-block; margin-bottom:28px; font-size:14px; font-weight:600; text-decoration:none; }
.td-top-row { display:flex; justify-content:space-between; align-items:flex-end; gap:40px; }
.td-eyebrow { font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--td-blue); }
.td-top h1 { font-size:72px; line-height:1; letter-spacing:-.04em; font-weight:800; margin:14px 0 0; }
.td-top h1 span { color:var(--td-blue); }
.td-dek { font-size:20px; color:#4c5665; margin-top:18px; max-width:700px; }
.td-legend { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; max-width:340px; }
.td-tag { display:inline-flex; align-items:center; font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:5px 10px; border-radius:999px; line-height:1.5; }
.td-conversion { background:#eaf0fd; color:#163aa1; }
.td-trust { background:#e7f5ed; color:#176f3f; }
.td-content { background:#fff4dc; color:#8b5300; }
.td-proof { background:#fdecee; color:#b3182c; }
.td-seo { background:#efe9ff; color:#5b34c7; }
.td-meta { display:grid; grid-template-columns:repeat(5,1fr); margin:34px 0 0; border:1px solid var(--td-line); border-radius:16px; background:#fff; overflow:hidden; }
.td-meta > div { padding:16px 20px; border-right:1px solid var(--td-line); }
.td-meta > div:last-child { border-right:0; }
.td-meta dt { font-size:11px; font-weight:700; letter-spacing:.1em; color:#687382; text-transform:uppercase; }
.td-meta dd { margin:3px 0 0; font-size:15px; font-weight:700; line-height:1.45; }
.td-meta a { text-decoration:none; }
.td-exhibit { padding-top:30px; }
.td-exhibit-label { text-align:center; margin-bottom:18px; font-size:11px; font-weight:700; letter-spacing:.12em; color:#687382; text-transform:uppercase; }
.td-exhibit-label a { display:block; margin-top:5px; font-size:11px; letter-spacing:0; text-transform:none; font-weight:500; }
.td-ex { position:relative; height:3308px; }
.td-strip { position:absolute; left:380px; top:0; width:440px; margin:0; border-radius:14px; overflow:hidden; outline:1px solid var(--td-line); box-shadow:0 30px 70px -30px #14192259; background:#fff; }
.td-strip img { width:100%; height:auto; }
.td-browser { height:26px; background:#f3f5f8; border-bottom:1px solid var(--td-line); display:flex; align-items:center; gap:5px; padding:0 10px; }
.td-browser i { width:8px; height:8px; border-radius:50%; background:#d3d9e2; }
.td-callout { position:absolute; width:320px; top:var(--top); }
.td-L { left:0; }.td-R { left:880px; }
.td-card { background:#fff; border:1px solid var(--td-line); border-radius:16px; padding:16px 18px; box-shadow:0 10px 24px -14px #1419224d; }
.td-card-head { display:flex; align-items:center; gap:10px; }
.td-number { flex:0 0 28px; height:28px; border-radius:50%; background:var(--td-ink); color:white; font-size:13px; font-weight:800; line-height:28px; text-align:center; }
.td-card h3 { font-size:18px; letter-spacing:-.01em; line-height:1.25; margin:10px 0 4px; }
.td-card p { font-size:14.5px; color:#4c5665; line-height:1.45; }
.td-note { display:block; margin-top:7px; color:#5947d8; font:600 25px/1.05 'Caveat',cursive; transform:rotate(-3deg); }
.td-arrow { position:absolute; left:316px; width:96px; height:70px; z-index:2; overflow:visible; pointer-events:none; fill:none; stroke:#6854e8; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.td-arrow-R { left:788px; transform:scaleX(-1); }
.td-arrowhead { fill:#6854e8; stroke-width:1; }
.td-mobile-crop, .td-mobile-only { display:none; }
.td-section { padding-top:90px; }
.td-section h2 { font-size:44px; letter-spacing:-.03em; line-height:1.05; margin-top:12px; text-wrap:initial; }
.td-log { width:100%; border-collapse:separate; border-spacing:0; margin-top:30px; border:1px solid var(--td-line); border-radius:18px; overflow:hidden; background:white; }
.td-log thead th { text-align:left; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:#687382; background:#f3f5f8; padding:14px 20px; }
.td-log tbody th, .td-log td { text-align:left; padding:18px 20px; border-top:1px solid var(--td-line); font-size:15.5px; color:#4c5665; vertical-align:top; font-weight:400; }
.td-log tbody th { color:var(--td-ink); font-weight:700; width:28%; }.td-log td:last-child { width:25%; }
.td-score { display:grid; grid-template-columns:repeat(3,1fr); margin-top:30px; border:1px solid var(--td-line); border-radius:18px; overflow:hidden; }
.td-score > div { padding:26px; border-right:1px solid var(--td-line); }.td-score > div:last-child { border-right:0; }
.td-score ol { margin:14px 0 0; padding-left:20px; display:grid; gap:8px; color:#4c5665; font-size:15.5px; }
.td-next { margin:80px 0 72px; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:30px 34px; border-radius:20px; background:#1f4fd1 url(/img/felt-blue.webp) center / cover; color:#fff; }
.td-next .td-eyebrow { color:#e6ecff; font-size:11px; }.td-next > div > a { display:block; margin-top:4px; color:white; font-size:28px; font-weight:700; text-decoration:none; }
.td-next .btn { white-space:nowrap; --b-bg:#fff; --b-fg:var(--blue-deep); --b-lip:#b9c8f5; color:var(--blue-deep); }
.td-next .btn--ghost::after { content:""; position:absolute; inset:4px; border-radius:8px; pointer-events:none; border:1.5px dashed rgba(22,58,161,.28); }
/* Below the fixed desktop composition, pair each readable card with its section. */
@media(max-width:1247px) {
  .td-top h1 { font-size:clamp(44px,6vw,66px); }
  .td-top-row { align-items:start; }.td-legend { max-width:260px; }
  .td-meta { grid-template-columns:repeat(3,1fr); }.td-meta > div { border-bottom:1px solid var(--td-line); }
  .td-meta > div:nth-child(3) { border-right:0; }.td-meta > div:nth-child(n+4) { border-bottom:0; }
  .td-ex { height:auto; display:grid; gap:28px; padding-bottom:44px; }
  .td-strip, .td-arrow { display:none; }
  .td-callout { position:static; width:100%; display:grid; grid-template-columns:minmax(0,320px) minmax(0,440px); justify-content:center; align-items:start; gap:36px; }
  /* Curate up to eight highlights for the compact layout; retain every desktop annotation. */
  .td-callout:not([data-mobile-feature="true"]),
  .td-callout:nth-child(n+9 of [data-mobile-feature="true"]) { display:none; }
  .td-desktop-only { display:none; }
  .td-mobile-only { display:inline; }
  .td-mobile-crop { display:block; overflow:hidden; background:white; border:1px solid var(--td-line); border-radius:12px; box-shadow:0 10px 30px -18px #14192266; }
  .td-mobile-crop img { width:100%; height:auto; max-width:none; }
}
@media(max-width:650px) {
  .td-wrap { max-width:calc(100% - 32px); }.td-top { padding:24px 0 32px; }.td-back { margin-bottom:24px; }
  .td-top-row { display:block; }.td-top h1 { font-size:clamp(40px,11vw,58px); }.td-dek { font-size:17px; margin-top:16px; }
  .td-legend { justify-content:flex-start; max-width:none; margin-top:22px; gap:6px; }
  .td-meta { grid-template-columns:repeat(2,1fr); margin-top:24px; }.td-meta > div { padding:13px; }
  .td-meta > div:nth-child(3) { border-right:1px solid var(--td-line); }.td-meta > div:nth-child(2n) { border-right:0; }.td-meta > div:nth-child(4) { border-bottom:1px solid var(--td-line); }.td-meta > div:last-child { grid-column:1/-1; }
  .td-meta dd { font-size:13px; }.td-meta dt { font-size:10px; }
  .td-exhibit { padding-top:0; }.td-ex { gap:24px; }
  .td-callout { display:flex; flex-direction:column; gap:0; }
  .td-card { width:100%; border-radius:14px 14px 0 0; box-shadow:none; padding:18px; }
  .td-card h3 { font-size:19px; }.td-card p { font-size:15px; }
  .td-mobile-crop { width:100%; border-top:0; border-radius:0 0 14px 14px; }
  .td-section { padding-top:52px; }.td-section h2 { font-size:32px; }
  .td-log { margin-top:22px; }.td-log thead { display:none; }
  .td-log tbody, .td-log tr, .td-log tbody th, .td-log td { display:block; width:100%; }
  .td-log tr { padding:18px; border-bottom:1px solid var(--td-line); }.td-log tr:last-child { border-bottom:0; }
  .td-log tbody th, .td-log td { padding:0; border:0; }.td-log td { margin-top:8px; font-size:15px; }.td-log td:last-child { width:100%; color:var(--td-blue); font-weight:600; }
  .td-log td:last-child::before { content:'Built to: '; }
  .td-score { grid-template-columns:1fr; }.td-score > div { border-right:0; border-bottom:1px solid var(--td-line); padding:22px; }.td-score > div:last-child { border-bottom:0; }
  .td-next { margin:48px 0; padding:24px; flex-direction:column; align-items:start; }.td-next > div > a { font-size:23px; }
}

/* Shared case-study gallery and screenshot-led extensions. */
.td-ex--case { height:var(--case-height); }
.case-arrows { position:absolute; inset:0; width:1200px; height:100%; overflow:visible; pointer-events:none; z-index:2; }
.case-arrows > path { fill:none; stroke:#6854e8; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.td-gallery-intro { max-width:680px; color:#4c5665; font-size:18px; margin:18px 0 28px; }
.td-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.td-gallery-card { margin:0; min-width:0; background:#fff; border:1px solid var(--td-line); border-radius:16px; overflow:hidden; }
.td-gallery-open { display:block; position:relative; background:#f3f5f8; border-bottom:1px solid var(--td-line); }
.td-gallery-open img { display:block; width:100%; height:auto; aspect-ratio:1.4; object-fit:cover; object-position:top; transition:transform .2s; }
.td-gallery-open:hover img { filter:brightness(.97); }
.td-enlarge { position:absolute; right:12px; bottom:12px; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#fff; color:#2450de; font-weight:700; box-shadow:0 2px 12px #0002; }
.td-gallery-card figcaption { padding:20px; }.td-gallery-card h3 { font-size:18px; line-height:1.25; margin:0 0 9px; }
.td-gallery-card p { font-size:15px; color:#4c5665; line-height:1.5; }
.td-purpose-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:28px; }
.td-purpose-grid > div { padding:24px; border:1px solid var(--td-line); border-radius:16px; }.td-purpose-grid h3 { font-size:20px; margin:0 0 12px; }.td-purpose-grid p { color:#4c5665; font-size:16px; }
.td-demo-note { color:#687382; font-size:13px; margin-top:18px; }
.td-lightbox { border:0; padding:0; width:min(1440px,96vw); max-width:96vw; max-height:94vh; border-radius:14px; background:#f5f7fa; }
.td-lightbox::backdrop { background:#101827db; }.td-lightbox-toolbar { position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 18px; background:white; border-bottom:1px solid #dfe4eb; }
.td-lightbox-toolbar p { font-size:14px; margin:0; }.td-lightbox button { cursor:pointer; border:1px solid #dfe4eb; border-radius:8px; padding:9px 16px; background:#fff; color:#141922; font-family:inherit; font-size:14px; font-weight:600; line-height:1.3; }.td-lightbox > img { display:block; width:100%; height:auto; }
@media(max-width:1247px) { .td-ex--case { height:auto; }.case-arrows { display:none; } }
@media(max-width:950px) { .td-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
 .td-gallery { display:flex; overflow-x:auto; gap:14px; scroll-snap-type:x mandatory; padding:0 16px 16px 0; margin-right:-16px; }
 .td-gallery-card { flex:0 0 88%; scroll-snap-align:start; }.td-gallery-card figcaption { padding:18px; }
 .td-purpose-grid { grid-template-columns:1fr; }.td-gallery-intro { font-size:16px; }.td-lightbox-toolbar { padding:10px; }
}

.td-gallery-open img[src*="putt"] { object-fit:contain; object-position:center; }

/* Keep every part of the case study on the same drawing-paper canvas. */
.td-page { display:flow-root; background-color:#fbfcfe; background-image:linear-gradient(#2450de0d 1px,transparent 1px),linear-gradient(90deg,#2450de0d 1px,transparent 1px); background-size:32px 32px; }
.td-grid-bg { background:none; }
.td-site-link { display:inline-block; margin-top:18px; color:var(--td-blue); font-size:18px; font-weight:600; text-align:left; text-underline-offset:4px; }
.td-score { background:#fff; }
.td-feature-rows { display:grid; gap:56px; }
.td-feature-row { position:relative; display:grid; grid-template-columns:320px 440px 320px; column-gap:60px; align-items:start; min-height:230px; }
.td-feature-note { grid-row:1; grid-column:1; margin-top:22px; }
.td-feature-row--right .td-feature-note { grid-column:3; }
.td-feature-shot { grid-row:1; grid-column:2; margin:0; border-radius:14px; border:1px solid var(--td-line); box-shadow:0 16px 35px -24px #14192270; background:#fff; overflow:hidden; }
.td-feature-shot a { display:block; position:relative; }
.td-feature-shot img { display:block; width:100%; height:auto; }
.td-feature-shot img[src*="putt"] { min-height:160px; object-fit:contain; background:#f3f5f8; }
.td-feature-arrow { position:absolute; top:48px; left:316px; width:96px; height:76px; z-index:2; pointer-events:none; }
.td-feature-row--right .td-feature-arrow { left:788px; transform:scaleX(-1); }
@media(max-width:1247px) {
 .td-feature-row { grid-template-columns:minmax(0,320px) minmax(0,440px); justify-content:center; column-gap:36px; }
 .td-feature-row--right .td-feature-note { grid-column:1; }
 .td-feature-note { margin-top:0; }
 .td-feature-arrow { display:none; }
}
@media(max-width:650px) {
 .td-site-link { font-size:16px; margin-top:14px; }
 .td-feature-rows { display:flex; overflow-x:auto; gap:14px; scroll-snap-type:x mandatory; padding:0 16px 20px 0; margin-right:-16px; align-items:start; }
 .td-feature-row { display:flex; flex-direction:column; gap:0; min-width:0; flex:0 0 88%; scroll-snap-align:start; }
 .td-feature-note { width:100%; }
 .td-feature-shot { width:100%; border-top:0; border-radius:0 0 14px 14px; }
}
