/* ============================================================
   Hello Computer — build-v3 sub-pages (services, how we work, support)
   Loads after styles.css. On the support guides it also loads AFTER each
   guide's own <style> block, so the shared pieces below (hero, breadcrumb,
   steps, callouts, help strip) take the v3 look while each guide keeps its
   own Mac/Windows/phone mock-up styling.
   ============================================================ */

:root { --font-heading: var(--font-head); }   /* v2 name, used by the guides' own styles */

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.site-header nav a.active::after { transform: scaleX(1); }

/* highlighted phrase in a heading: the hand-drawn yellow underline, drawn on load */
.hl, .subpage-hero h1 span, .page-hero h1 span:not(.scribble) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C 60 6, 120 20, 180 11 S 270 8, 296 13' fill='none' stroke='%23F5D020' stroke-width='14' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .32em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em; color: inherit;
    animation: hl-draw .9s var(--ease-out) .35s both;
}
@keyframes hl-draw { from { background-size: 0% .32em; } to { background-size: 100% .32em; } }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(44px, 6vw, 84px); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.03; color: var(--head, #000); }
.page-hero .lede { color: var(--ink, var(--hc-charcoal)); }
.page-hero .eyebrow { color: var(--kicker, var(--hc-grey)); }

.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px;
    font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--hc-grey);
}
.breadcrumb a { color: var(--hc-charcoal); text-decoration: none; background: linear-gradient(var(--hc-yellow), var(--hc-yellow)) 0 100% / 100% 2px no-repeat; }
.breadcrumb a:hover { background-size: 100% 100%; color: #000; }
.breadcrumb-current { color: #000; }
.breadcrumb span { color: var(--hc-silver); margin: 0; }
.breadcrumb span.breadcrumb-current { color: #000; }
/* v2 guide heroes were navy; their own styles set these light */
.outlook-label { color: var(--hc-charcoal) !important; }
.subpage-hero::after { display: none; }
.svc-hero .breadcrumb { color: var(--kicker); }
.svc-hero .breadcrumb a, .svc-hero .breadcrumb-current { color: var(--head); }

/* service hero = one fixed "world" from the homepage */
.svc-hero { transition: none; }
.svc-hero .worlds-stage { position: relative; top: 0; width: min(100%, 520px); margin: 0 auto; }
.svc-hero .world-kicker { margin-bottom: 16px; }

/* ===== IGNITION PROPOSAL BANNER (?ref=ignition) ===== */
.ignition-banner { display: none; background: var(--hc-yellow); border-bottom: 2.5px solid #000; }
.ignition-banner.visible { display: block; animation: banner-in .5s var(--spring); }
@keyframes banner-in { from { transform: translateY(-100%); } }
.ignition-banner .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; font-family: var(--font-head); font-size: 15px; color: #000; }
.ignition-banner .ib-dot { width: 10px; height: 10px; border-radius: 50%; background: #000; flex: none; animation: pulse-dark 1.8s infinite; }
@keyframes pulse-dark { 0% { box-shadow: 0 0 0 0 rgba(0,0,0,.45); } 70% { box-shadow: 0 0 0 9px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }

/* ===== SECTION HEAD ===== */
.section-head { max-width: 44em; }
.section-head p { margin-top: 16px; font-size: 18.5px; }

/* ===== WHAT WE OFFER ===== */
.offer { padding: clamp(70px, 9vw, 120px) 0; background: #fff; }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.offer-card {
    background: var(--hc-cloud); border: 2px solid #000; border-radius: var(--radius); padding: 28px 28px 30px;
    box-shadow: 0 5px 0 #000; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 #000; }
.offer-icon {
    width: 58px; height: 58px; border-radius: 50%; background: var(--hc-yellow); border: 2.5px solid #000;
    display: grid; place-items: center; margin-bottom: 18px; transition: transform .45s var(--spring);
}
.offer-icon svg { width: 26px; height: 26px; }
.offer-card:hover .offer-icon { transform: rotate(-10deg) scale(1.08); }
.offer-card h3 { font-size: 23px; margin-bottom: 10px; }
.offer-card p { font-size: 16.5px; }

/* ===== TRUST ===== */
.trust { padding: clamp(70px, 9vw, 120px) 0; background: var(--hc-fog); border-top: 1px solid var(--hc-border); border-bottom: 1px solid var(--hc-border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 46px; }
.trust-badge {
    display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    background: #fff; border: 2px solid #000; border-radius: 999px; padding: 4px 12px; box-shadow: 0 3px 0 #000; margin-bottom: 16px;
}
.trust-item h3 { font-size: 22px; margin-bottom: 10px; }
.trust-item p { font-size: 16.5px; }

/* ===== CTA BAND (with the Spacia driving through) ===== */
.cta-band {
    position: relative; overflow: hidden; background: var(--hc-yellow); color: #000;
    border-top: 2.5px solid #000; border-bottom: 2.5px solid #000; padding: clamp(64px, 8vw, 100px) 0 clamp(96px, 10vw, 128px);
}
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; max-width: 18em; }
.cta-band p { margin-top: 16px; font-size: 18.5px; max-width: 38em; color: #1f1f1f; }
.cta-band .cta-row { margin-top: 28px; }
.cta-band .btn-primary { background: #000; color: var(--hc-yellow); }
.cta-band .btn-ghost { background: #fff; }
.cta-road { position: absolute; left: 0; right: 0; bottom: 26px; height: 3px; background: repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 30px); opacity: .55; }
.cta-car { left: 0; bottom: 27px; width: 120px; transform: translateX(-140px); }
.cta-band.in .cta-car { animation: cta-drive 11s linear infinite; }
.cta-band.in .cta-car .wheel { animation: wheel-spin .38s linear infinite; }
@keyframes cta-drive { 0% { transform: translateX(-140px); } 100% { transform: translateX(calc(100vw + 40px)); } }
.cta-chip { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 28px; width: 110px; }
.cta-chip .bubble { font-size: 13px; }

/* ===== MORE SERVICES ===== */
.more-services { padding: 56px 0 64px; background: #fff; }
.more-services h2 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-grey); }
.more-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.more-pill {
    font-family: var(--font-head); font-weight: 700; font-size: 15px; text-decoration: none; color: #000;
    border: 2px solid #000; border-radius: 999px; padding: 10px 18px; background: #fff; box-shadow: 0 3px 0 #000;
    transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
}
.more-pill:hover { background: var(--hc-yellow); transform: translateY(-2px); box-shadow: 0 5px 0 #000; }

/* ===== HOW WE WORK ===== */
.hww-hero .memory-stage { margin-top: clamp(80px, 11vw, 130px); }
.hww-rows { padding: clamp(60px, 8vw, 110px) 0; }
.hww-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.hww-row + .hww-row { border-top: 1px solid var(--hc-border); }
.hww-row.reverse .hww-visual { order: 2; }
.hww-row h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 16px; }
.hww-row p + p { margin-top: 14px; }
.hww-visual {
    position: relative; aspect-ratio: 4 / 3; border: 2.5px solid #000; border-radius: 22px; overflow: hidden;
    background: var(--hc-yellow-wash); box-shadow: 0 6px 0 #000;
}
.hww-visual.fog { background: var(--hc-fog); }
.hww-visual.sky { background: #F1F6FD; }
.hww-visual.green { background: #F0F7F2; }

/* 1 — history cards */
.v-cards { position: absolute; inset: 0; display: grid; place-items: center; }
.v-card {
    position: absolute; width: 56%; background: #fff; border: 2px solid #000; border-radius: 14px; padding: 10px 14px;
    box-shadow: 0 4px 0 #000; font-family: var(--font-head); font-size: 14px; opacity: 0;
    transform: translate(var(--tx), calc(var(--ty) + 40px)) rotate(var(--r)); transition: opacity .5s, transform .8s var(--spring);
    transition-delay: calc(var(--i) * .25s);
}
.v-card b { display: block; font-size: 15px; color: #000; margin-bottom: 2px; }
.v-card span { color: var(--hc-grey); }
.v-card i { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; background: var(--hc-yellow); border: 1.5px solid #000; border-radius: 999px; padding: 1px 8px; margin-top: 6px; }
.in .v-card { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--r)); }

/* 2 — admin checklist (re-uses .tasks from the homepage screen) */
.v-check { position: absolute; inset: 9%; background: #fff; border: 2px solid #000; border-radius: 16px; padding: 18px; font-family: var(--font-head); font-size: 15px; container-type: inline-size; }
.v-check .app-bar b { font-size: 18px; }
.v-check .tasks li { padding: 9px 12px; border-radius: 10px; gap: 12px; font-size: 14px; }
.v-check .tasks .tick { width: 20px; height: 20px; border-radius: 6px; }
.v-check .tasks .tick::after { border-width: 0 3px 3px 0; }
.v-check .tasks em { font-size: 12px; }
.in .v-check .tasks .tick { animation: tick-bg .3s ease forwards; animation-delay: calc(.5s + var(--i) * .6s); }
.in .v-check .tasks .tick::after { animation: tick-in .35s var(--spring) forwards; animation-delay: calc(.5s + var(--i) * .6s); }
.in .v-check .tasks em { animation: fade-in .3s forwards; animation-delay: calc(.6s + var(--i) * .6s); }

/* 3 — data stays here */
.v-shield { position: absolute; inset: 0; display: grid; place-items: center; }
.v-shield svg { width: 34%; height: auto; overflow: visible; }
.v-shield .shackle { transform: translateY(-14px); transition: transform .5s var(--spring) .6s; }
.in .v-shield .shackle { transform: none; }
.v-shield .ring { fill: none; stroke: var(--hc-yellow); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.in .v-shield .ring { animation: ring-out 2.6s ease-out 1.1s infinite; }
@keyframes ring-out { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.7); } }
.v-tag {
    position: absolute; font-family: var(--font-head); font-size: 13px; font-weight: 700; background: #fff; border: 2px solid #000;
    border-radius: 999px; padding: 4px 12px; box-shadow: 0 3px 0 #000; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--spring);
}
.in .v-tag { opacity: 1; transform: rotate(var(--r, 0deg)); transition-delay: var(--d, 1.2s); }

/* 4 — continuity: the Spacia arrives with the file */
.v-road { position: absolute; left: 0; right: 0; bottom: 18%; height: 18%; background: var(--hc-navy); border-top: 3px solid #000; }
.v-road::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 22px, transparent 22px 44px); opacity: .7; }
.v-car { left: 22%; bottom: 25%; width: 52%; transform: translateX(-160%); }
.in .v-car { animation: v-arrive 6s var(--ease-out) infinite; }
.in .v-car .wheel { animation: wheel-spin .38s linear 4; }
@keyframes v-arrive { 0% { transform: translateX(-160%); } 25%, 82% { transform: translateX(0); } 100% { transform: translateX(220%); } }
.v-file {
    position: absolute; left: 50%; top: 10%; translate: -50% 0; background: #fff; border: 2px solid #000; border-radius: 12px;
    padding: 8px 14px; font-family: var(--font-head); font-size: 14px; font-weight: 700; box-shadow: 0 3px 0 #000; white-space: nowrap;
    opacity: 0;
}
.in .v-file { animation: v-file 6s ease infinite; }
@keyframes v-file { 0%, 22% { opacity: 0; transform: translateY(10px); } 30%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

/* 5 — built here: Chip and the gears */
.v-built { position: absolute; inset: 0; }
.v-built .chip-wrap { left: 50%; bottom: 10%; width: 30%; translate: -50% 0; }
.v-gear { position: absolute; fill: #fff; stroke: #000; stroke-width: 6; }
.v-gear.g1 { width: 22%; left: 10%; top: 12%; } .v-gear.g2 { width: 15%; left: 12%; top: 58%; } .v-gear.g3 { width: 18%; right: 10%; top: 16%; }
.in .v-gear.g1, .in .v-gear.g3 { animation: spin 8s linear infinite; }
.in .v-gear.g2 { animation: spin 5.4s linear infinite reverse; }
.v-gear .hub { fill: var(--hc-yellow); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SUPPORT ===== */
.support-hero { background: linear-gradient(to bottom, var(--hc-yellow-wash), #fff); }
.support-stage { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%; }
.support-stage .halo { position: absolute; inset: 12%; border-radius: 50%; background: var(--hc-yellow); border: 2.5px solid #000; }
.support-stage .chip-wrap { left: 50%; bottom: 14%; width: 46%; translate: -50% 0; }
.support-stage .bubble { font-size: 15px; }
.support-stage .float-card {
    position: absolute; background: #fff; border: 2px solid #000; border-radius: 12px; padding: 6px 12px; box-shadow: 0 3px 0 #000;
    font-family: var(--font-head); font-size: 13px; font-weight: 700; animation: float 4.5s ease-in-out infinite;
}
.support-stage .fc1 { left: 0; top: 16%; animation-delay: -1s; } .support-stage .fc2 { right: 0; top: 30%; animation-delay: -2.2s; } .support-stage .fc3 { left: 4%; bottom: 20%; }

.support-categories, .device-picker-section { padding: clamp(60px, 8vw, 104px) 0; }
.support-categories-intro, .device-picker-intro { max-width: 44em; }
.support-categories-intro h2, .device-picker-intro h2, .explainer h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; }
.support-categories-intro p, .device-picker-intro p { margin-top: 14px; }
.support-grid, .device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 40px; }
.support-card, .device-card {
    display: block; text-decoration: none; color: inherit; background: var(--hc-cloud); border: 2px solid #000; border-radius: var(--radius);
    padding: 26px 26px 28px; box-shadow: 0 5px 0 #000; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.support-card:hover, .device-card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 #000; }
.support-card-icon, .device-card-icon {
    width: 58px; height: 58px; border-radius: 16px; background: var(--hc-yellow); border: 2.5px solid #000;
    display: grid; place-items: center; margin-bottom: 18px; transition: transform .45s var(--spring);
}
.support-card-icon svg, .device-card-icon svg { width: 28px; height: 28px; }
.support-card:hover .support-card-icon, .device-card:hover .device-card-icon { transform: rotate(-8deg) scale(1.08); }
.support-card h3, .device-card h3 { font-size: 22px; margin-bottom: 8px; }
.support-card p, .device-card p { font-size: 16px; }
.support-card-arrow, .device-badge {
    display: inline-block; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #000;
    background: linear-gradient(var(--hc-yellow), var(--hc-yellow)) 0 100% / 100% 3px no-repeat; padding-bottom: 2px;
}
.support-card-arrow::after { content: " →"; }
.device-badge { background: #E7F4EC; color: var(--hc-green); border: 1.5px solid #CBE5D4; border-radius: 999px; padding: 2px 10px; font-size: 12px; }

.explainer { padding: clamp(60px, 8vw, 104px) 0; background: var(--hc-fog); border-top: 1px solid var(--hc-border); }
.explainer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.explainer-text p { margin-top: 16px; }
.explainer-aside { background: #fff; border: 2px solid #000; border-radius: var(--radius); padding: 26px; box-shadow: 0 5px 0 #000; }
.explainer-aside h3 { font-size: 20px; margin-bottom: 12px; }
.explainer-aside ul { list-style: none; display: grid; gap: 10px; }
.explainer-aside li { position: relative; padding-left: 30px; font-size: 16px; }
.explainer-aside li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--hc-yellow); border: 1.5px solid #000; font-family: var(--font-head); font-weight: 800; font-size: 12px; display: grid; place-items: center; }

/* ===== GUIDES (shared pieces only) ===== */
.subpage-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(to bottom, var(--hc-yellow-wash), #fff); border-bottom: 1px solid var(--hc-border); }
.subpage-hero-inner { max-width: 46em; }
.subpage-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; color: #000; }
.subpage-hero-inner > p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19.5px); }
.steps-section { padding: clamp(40px, 6vw, 80px) 0; }
.step-number {
    background: var(--hc-yellow) !important; color: #000 !important; border: 2.5px solid #000 !important; box-shadow: 0 3px 0 #000;
    font-family: var(--font-head) !important; font-weight: 800 !important;
}
.step h3 { letter-spacing: -0.02em; }
.step-tip { border-left: 4px solid var(--hc-yellow) !important; background: var(--hc-yellow-wash) !important; border-radius: 0 12px 12px 0; }
.prereq-callout { background: var(--hc-yellow-wash) !important; border: 2px solid #000 !important; border-radius: var(--radius) !important; box-shadow: 0 4px 0 #000; }
.nav-path-item { font-family: var(--font-head); }
.js .step[data-reveal] { transition-duration: .6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .page-hero-grid, .hww-row, .explainer-inner { grid-template-columns: 1fr; }
    .hww-row.reverse .hww-visual { order: 0; }
    .svc-hero .worlds-stage { width: min(100%, 440px); }
    .offer-grid, .trust-grid { grid-template-columns: 1fr; }
    .cta-chip { display: none; }
}
