/* Shared service-page treatments; page content and application code remain local. */
.ap-service { --font: "DM Sans", sans-serif; --font-body: "DM Sans", sans-serif; }
.ap-service .hero { color: #080808; background: radial-gradient(circle, #bac3d5 1px, transparent 1px) 0 0 / 24px 24px, #fff; padding-top: 150px; }
.ap-service .hero h1 { color: #080808; font: 800 clamp(40px, 5vw, 64px)/1.05 "DM Sans", sans-serif; letter-spacing: -.04em; }
.ap-service .hero h1 .hl:last-child .hl-in { color: #0052ff; background: #dcff55; font-family: "Geist Pixel", monospace; font-weight: 400; }
.ap-service .hero-sub { color: #262633; font-size: 20px; line-height: 1.5; }
.ap-service .hero-sub strong { color: inherit; }
.ap-service .hero-form-note { color: #4b4d60; }
.ap-service .hero .pill-label { color: #0052ff; background: #dcff55; border: 0; border-radius: 0; }
.ap-service .hero-capture input { background: #fff; border-color: #b9bfd5; color: #080808; }
.ap-service .hero-capture input::placeholder { color: #707382; }
.ap-service .hero-card { background: #eae5ff; border-color: #d4cafa; border-radius: 0; }
.ap-service .hero-card strong { color: #0052ff; font-family: "Geist Pixel", monospace; }
.ap-service .hero-card span { color: #22232d; }
.ap-service .h2 { font-family: "DM Sans", sans-serif; font-weight: 800; letter-spacing: -.035em; }
.ap-service .h2 em { font-family: "Geist Pixel", monospace; font-style: normal; font-weight: 400; }
.ap-service .btn-primary, .ap-service .price-btn { border-radius: 0 0 32px 0; font-family: "DM Sans", sans-serif; }
.ap-service .price-card { border-radius: 0; }
.ap-service .nav .nav-cta { color: #fff; }
@media (max-width: 600px) { .ap-service .hero { padding-top: 120px; } .ap-service .hero-sub { font-size: 16px; } }

.ap-service { overflow-x: clip; }
html:has(.ap-service) { overflow-x: clip; }
.ap-service .hero-capture { background: #fff; border: 1px solid #b9bfd5; border-radius: 0 0 32px 0; }
.ap-service .hero-capture .btn-primary { background: #2563ff; color: #fff; box-shadow: none; }

/* Agency sample: the homepage ticket layout with the agency's own offer. */
.ap-service .agency-sample { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px, 420px); align-items:start; gap:clamp(40px,8vw,120px); padding:clamp(56px,7vw,100px) clamp(24px,5vw,76px); background:#eae5ff; color:#080808; border-top:4px solid #080808; border-radius:24px 24px 0 0; }
.agency-sample-copy h2 { max-width:13ch; font:800 clamp(38px,4vw,56px)/1.05 "DM Sans",sans-serif; letter-spacing:-.04em; }
.agency-sample-copy h2 span { display:table; margin-top:12px; background:#dcff55; color:#0052ff; font:400 .9em/1.08 "Geist Pixel",monospace; letter-spacing:-.04em; }
.agency-sample-copy > p { max-width:58ch; margin-top:28px; font:16px/1.55 "DM Sans",sans-serif; }
.agency-steps { display:flex; list-style:none; padding:0; margin:36px 0 0; gap:20px; }
.agency-steps li { display:flex; flex-direction:column; gap:4px; font-size:14px; line-height:1.35; }
.agency-steps li + li { border-left:1px solid #aaa; padding-left:20px; }
.agency-steps span { color:#0052ff; font:400 30px/1 "Geist Pixel",monospace; }
.agency-arrow { display:block; width:200px; max-width:45%; margin-top:38px; }
.agency-ticket { background:#fff; color:#080808; border-radius:5px; box-shadow:4px 4px 0 #b0a9c5; overflow:hidden; }
.agency-ticket-banner { background:#2563ff; color:#fff; text-align:center; font:800 18px/1.3 "DM Sans",sans-serif; padding:10px; }
.agency-ticket-body { padding:24px 30px 30px; }
.agency-ticket-price { font:400 56px/1 "Geist Pixel",monospace; }
.agency-ticket-body > h3 { margin:18px 0 12px; font:800 20px/1.2 "DM Sans",sans-serif; }
.agency-ticket ul { list-style:none; padding:0; margin:0; display:grid; gap:9px; font-size:16px; }
.agency-ticket li:before { content:'✓'; color:#0052ff; font-weight:800; margin-right:12px; }
.agency-ticket-bottom { border-top:1px dashed #a6a6a6; margin-top:20px; padding-top:20px; }
.agency-ticket-bottom h3 { color:#0052ff; font:400 30px/1.15 "Geist Pixel",monospace; }
.agency-ticket-bottom p { font:16px/1.45 "DM Sans",sans-serif; margin:8px 0 20px; }
.agency-ticket-button { display:block; background:#2563ff; color:#fff; text-decoration:none; text-align:center; padding:14px; font-weight:700; }
/* Agency-specific examples use the homepage's hook card and two-by-two service grid. */
.ap-service .agency-deliver { background:#fff; color:#080808; padding:clamp(60px,7vw,100px) clamp(24px,5vw,76px); }
.agency-deliver-container { max-width:1360px; margin:auto; }
.agency-deliver .deliver-head { text-align:left; max-width:900px; margin:0 0 40px; }
.agency-deliver .deliver-head .h2 { color:#080808; font:800 clamp(38px,4vw,52px)/1.08 "DM Sans",sans-serif; letter-spacing:-.04em; }
.agency-deliver .deliver-head .h2 em { color:#0052ff; background:#dcff55; font-family:"Geist Pixel",monospace; font-style:normal; font-weight:400; }
.agency-deliver .deliver-head .sub-p { color:#303243; margin-top:18px; max-width:70ch; font:16px/1.55 "DM Sans",sans-serif; }
.agency-deliver-grid { display:grid; grid-template-columns:minmax(0, .9fr) minmax(0,1.6fr); gap:24px; align-items:stretch; }
.agency-deliver .bento-feature { background:#e8e0ff; color:#080808; border:0; border-radius:0; box-shadow:none; padding:28px; }
.agency-deliver .bento-feature h3 { color:#080808; font:800 24px/1.2 "DM Sans",sans-serif; }
.agency-deliver .bento-feature .bento-desc, .agency-deliver .feat-li { color:#262633; font-size:16px; }
.agency-deliver .bento-ico { display:none; }
.agency-deliver .hook-tabs { padding:0; gap:0; border:1px solid #0052ff; border-radius:5px; background:#fff; }
.agency-deliver .hook-tab { color:#0052ff; padding:8px; border-radius:3px; }
.agency-deliver .hook-tab[aria-selected="true"] { background:#0052ff; color:#fff; box-shadow:none; }
.agency-deliver .hook-stage { aspect-ratio:4/5; }
.agency-deliver .feat-list svg { stroke:#0052ff; }
.agency-deliver-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.agency-deliver-card { border:1px solid #d7d9e6; background:#fff; min-width:0; }
.agency-deliver-image { aspect-ratio:1.55; background-image:url('/site/assets/agency-services.png'); background-size:200% auto; background-repeat:no-repeat; }
.agency-deliver-image.image-1 { background-position:left top; }
.agency-deliver-image.image-2 { background-position:right top; }
.agency-deliver-image.image-3 { background-position:left bottom; }
.agency-deliver-image.image-4 { background-position:right bottom; }
.agency-deliver-details { display:flex; gap:10px; align-items:baseline; padding:16px; }
.agency-deliver-details span { color:#0052ff; font:400 20px/1 "Geist Pixel",monospace; }
.agency-deliver-details h3 { font:700 18px/1.35 "DM Sans",sans-serif; }
@media(max-width:760px) { .ap-service .agency-sample { grid-template-columns:1fr; gap:38px; } .agency-ticket { max-width:480px; width:100%; margin:auto; } .agency-deliver-grid { grid-template-columns:1fr; } }
@media(max-width:480px) { .agency-steps { gap:10px; } .agency-steps li + li { padding-left:10px; } .agency-steps li { font-size:12px; } .agency-deliver-cards { gap:12px; } .agency-deliver-details { padding:10px; } .agency-deliver-details h3 { font-size:15px; } }

/* Keep the feature and its service cards in the same responsive grid. */
.agency-deliver-grid > .bento-feature { grid-column: auto; grid-row: auto; min-width: 0; }
.agency-deliver-details { min-width: 0; }
.agency-deliver-details h3 { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .agency-deliver-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .agency-deliver-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Agency comparison uses the homepage's chart and offer-card language. */
.ap-service .agency-compare { padding:clamp(80px,8vw,120px) clamp(24px,5vw,76px); background:#fff; color:#080808; }
.agency-compare-inner { max-width:1360px; margin:auto; }
.agency-compare h2 { font:800 clamp(36px,3.5vw,48px)/1.12 "DM Sans",sans-serif; letter-spacing:-.035em; }
.agency-compare h2 > span { color:#0052ff; background:#dcff55; font:400 1em/1.1 "Geist Pixel",monospace; }
.agency-compare-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,5vw,80px); align-items:start; margin-top:48px; }
.agency-cost-chart { border-bottom:1px solid #8e8e98; padding-bottom:26px; }
.agency-volume-label { display:grid; gap:9px; padding-bottom:18px; border-bottom:2px solid #080808; font:700 20px/1.3 "DM Sans",sans-serif; }
.agency-volume-label > span:first-child { color:#0052ff; font-size:12px; letter-spacing:.1em; }
.agency-volume-line { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.agency-volume-picker { position:relative; display:inline-flex; background:#dcff55; border:2px solid #080808; box-shadow:3px 3px 0 #2563ff; }
.agency-volume-picker:after { content:'⌄'; position:absolute; right:12px; top:50%; transform:translateY(-55%); color:#0052ff; pointer-events:none; }
.agency-volume-picker select { appearance:none; border:0; border-radius:0; background:transparent; color:#0052ff; padding:9px 36px 9px 12px; min-height:44px; font:400 22px/1 "Geist Pixel",monospace; cursor:pointer; }
.agency-cost-row { margin-top:24px; }
.agency-cost-row > div:first-child { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.agency-cost-row h3,.agency-cost-row b { font:700 16px/1.4 "DM Sans",sans-serif; }
.agency-cost-row b { text-align:right; white-space:nowrap; }
.agency-cost-row p { font:16px/1.5 "DM Sans",sans-serif; }
.agency-cost-bar { height:14px; background:#e9e7f0; margin-top:9px; }
.agency-cost-bar span { display:block; height:100%; background:#e28687; }
.agency-cost-bar.freelance span { background:#e8ac4d; }
.agency-cost-bar.pod span { background:#0052ff; }
.agency-estimate-note { margin-top:18px; color:#4b4d60; font:14px/1.5 "DM Sans",sans-serif; }
.agency-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.agency-compare-offer { position:relative; background:#eae5ff; padding:32px; clip-path:polygon(0 0, calc(100% - 70px) 0, calc(100% - 70px) 20px, calc(100% - 45px) 20px, calc(100% - 45px) 40px, calc(100% - 22px) 40px, calc(100% - 22px) 60px, 100% 60px, 100% 100%, 0 100%); }
.agency-fix-tag { display:inline-block; background:#0052ff; color:#fff; padding:7px 15px; font:400 18px/1 "Geist Pixel",monospace; }
.agency-compare-offer h3 { margin:24px 0 12px; font:800 28px/1.2 "DM Sans",sans-serif; }
.agency-offer-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; }
.agency-offer-price b { font-size:16px; }
.agency-offer-price span { color:#0052ff; font:400 clamp(30px,3.5vw,48px)/1 "Geist Pixel",monospace; }
.agency-compare-offer ul { list-style:none; padding:0; margin:28px 0; display:grid; gap:12px; }
.agency-compare-offer li { font:16px/1.45 "DM Sans",sans-serif; }
.agency-compare-offer li:before { content:'✓'; color:#0052ff; font-weight:800; margin-right:12px; }
.agency-compare-offer > a { display:inline-block; background:#2563ff; color:#fff; padding:15px 28px; border-radius:0 0 35px 0; font:700 16px/1.4 "DM Sans",sans-serif; text-decoration:none; }
.agency-compare-offer > a span { margin-left:10px; }
@media(max-width:760px) { .agency-compare-grid { grid-template-columns:1fr; gap:32px; } .agency-compare-offer { padding:28px 24px; } }
/* Baseline bars remain meaningful before JavaScript initializes. */
.agency-cost-bar.house span { width:100%; }
.agency-cost-bar.freelance span { width:65.45%; }
.agency-cost-bar.pod span { width:45.45%; }
