/* Service pages (/macbook-repair/ and friends). Matches the homepage: same
   tokens, light only (the homepage has no dark scheme), the homepage's nav, dark
   matte footer, and the journey layer (assets/journey.css and journey.js): a shape
   drawn in the hero's dashes, numbered leader lines and the site-wide treasure hunt.
   No external requests beyond the self-hosted Inter in fonts/inter.css. */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --color-bg: #FFFFFF;
  --color-surface: #F5F5F7;
  --color-primary: #00645A;
  --color-primary-h: #005048;
  --color-accent-light: #5CF2C4;
  --color-dark-matte: #1D1D1F;
  --color-text: #1D1D1F;
  /* #515154 rather than the homepage's #6E6E73: secondary text also sits on
     the grey surface here, where #6E6E73 falls under 4.5:1. */
  --color-text-sec: #515154;
  --color-border: #D2D2D7;
  --alert-bg: #FFF4E5;
  --alert-border: #F5B041;
  --radius-capsule: 24px;
  --radius-card: 22px;
  --radius-pill: 980px;
  --shadow-md: 0 2px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-h); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Header: the homepage's own top strip, nav and social rail. scripts/build-home.py writes the
   markup into each page (between nav:start and nav:end) from the homepage's template and cuts
   the styles out of home.css into assets/nav.css; assets/nav.js folds the nav into the corner
   on scroll and opens the menu. Change the nav in home-src/, never here. Only what this page's
   base styles would otherwise alter is put back: the homepage has no border-box reset and a
   16px, 1.5 base, so the nav measures the same on both. */
.ir-top, .ir-nav, .ir-rail { font-size: 16px; line-height: 1.5; }
.ir-top *, .ir-nav *, .ir-rail * { box-sizing: content-box; }
.ir-nav button { box-sizing: border-box; }
.ir-nl[aria-current="page"], .ir-nl[aria-current="page"] svg { color: var(--color-primary); }
.ir-mi[aria-current="page"] .ir-mi-ic { background: var(--color-primary); color: #fff; }
.brand-word { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand-sub { font-size: 8.5px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); margin-top: 3px; }

/* Buttons: pills, as on the homepage */
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-h); color: #fff; }
.btn-ghost { color: var(--color-text); border: 1px solid var(--color-border); background: #fff; }
.btn-ghost:hover { color: var(--color-primary); border-color: var(--color-primary); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Content */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--color-text-sec); padding-top: 28px; }
.crumbs a { color: var(--color-text-sec); }
h1 { font-size: clamp(34px, 5.5vw, 58px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 18px; text-wrap: balance; }
h2 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 14px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--color-text-sec); max-width: 720px; margin: 0 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
main section { margin: 72px 0; }
p { margin: 0 0 12px; }

.prices { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.prices th, .prices td { padding: 15px 20px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.06); }
.prices thead th { font-size: 13px; color: var(--color-text-sec); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.prices tbody tr:last-child th, .prices tbody tr:last-child td { border-bottom: 0; }
.prices td { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.prices thead th:last-child { text-align: right; }
.prices tbody th { font-weight: 500; }
.note { font-size: 15px; color: var(--color-text-sec); margin-top: 14px; }
.note a { font-weight: 600; }

.facts { margin: 0; padding-left: 20px; }
.facts li { margin: 0 0 12px; }
/* The fresh green accent (owner, 2026-11-16): small touches only, teal stays the brand colour. */
.facts li::marker { color: var(--ir-fresh, #22B573); }

.alert { background: var(--alert-bg); border: 1px solid var(--alert-border); border-radius: var(--radius-card); padding: 22px 24px; }

/* Business cards: the homepage .biz-card */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 26px 22px 22px; display: flex; flex-direction: column; transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.card:hover { transform: translateY(-2px); border-color: var(--color-primary); box-shadow: 0 12px 32px rgba(0,100,90,0.10); }
.card .est { font: 600 11px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); margin: 4px 0 2px; }
.card .price { font-size: 13px; color: var(--color-text-sec); margin-bottom: 12px; }
.card .price span { font-size: 30px; font-weight: 800; color: var(--color-text); letter-spacing: -0.02em; margin-right: 2px; }
.card-body { font-size: 14px; line-height: 1.55; color: var(--color-text-sec); flex: 1; margin-bottom: 18px; }
.card .btn { align-self: flex-start; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.two, .visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; }
.visit { border-top: 1px solid var(--color-border); padding-top: 36px; }
.visit h2 { font-size: 18px; }

/* Footer: the homepage's dark matte footer */
.foot { background: var(--color-dark-matte); color: #fff; padding: 128px 0 0; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; margin-bottom: 14px; }
.foot-logo img { width: 56px; height: 45px; object-fit: contain; }
.foot-logo .brand-stack { display: inline-flex; flex-direction: column; line-height: 1; }
.foot-logo .brand-word { font-size: 24px; }
.foot-logo .brand-sub { font-size: 11px; color: var(--color-accent-light); margin-top: 5px; }
.foot-brand p { font-size: 14px; color: rgba(255,255,255,.88); line-height: 1.7; }
.foot a.accent { color: var(--color-accent-light); font-weight: 600; text-decoration: none; }
.foot a.accent:hover { text-decoration: underline; }
.foot-col h2 { font-size: 14px; font-weight: 700; margin: 0 0 16px; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: block; color: rgba(255,255,255,.88); text-decoration: none; font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--color-accent-light); }
.foot a:focus-visible { outline-color: var(--color-accent-light); }
.foot-bottom { margin-top: 40px; padding-top: 20px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,.88); }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .prices th, .prices td { padding: 12px; }
  .prices td { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== The homepage look, carried onto these pages ===== */
/* The page ground is the homepage's faint drawing grid. Sections are numbered by the counter
   irsec: the hero is 01 (its .ir-sec line), every main heading after it takes the next number. */
body {
  background-image: linear-gradient(rgba(0,100,90,0.05) 1px, rgba(0,100,90,0) 1px), linear-gradient(90deg, rgba(0,100,90,0.05) 1px, rgba(0,100,90,0) 1px);
  background-size: 44px 44px;
  counter-reset: irsec;
}

/* Hero: the copy, and the page's shape with two orbits, as around the homepage's sphere. */
main .hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 24px 56px; margin: 0 0 64px; padding: 36px 0 0; }
/* The orbits reach past the art's box; main clips them so the page never scrolls sideways. */
main { overflow-x: hidden; overflow-x: clip; }
.hero-copy { min-width: 0; }
.hero .ir-sec { margin: 0 0 18px; }
.hero-art { position: relative; justify-self: center; width: min(330px, 100%); aspect-ratio: 1; }
.hero-art .ir-glyph { width: 100%; height: 100%; }
.hero-art .ir-find { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pg-orbit { position: absolute; inset: -5%; transform: rotate(-20deg) scaleY(0.36); pointer-events: none; }
.pg-orbit::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0,100,90,0.3); border-radius: 50%; }
.pg-orbit i { position: absolute; inset: 0; animation: pg-turn 16s linear infinite; }
/* The bead turns back against its orbit, so the squash of the orbit can be undone and it stays round. */
.pg-orbit b { position: absolute; left: 50%; top: 0; width: 0; height: 0; animation: pg-turn 16s linear infinite reverse; }
.pg-orbit b::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); transform: scaleY(2.78); }
.pg-orbit2 { inset: -11%; transform: rotate(24deg) scaleY(0.4); }
.pg-orbit2 i { animation-duration: 23s; animation-direction: reverse; }
.pg-orbit2 b { animation-duration: 23s; animation-direction: normal; }
.pg-orbit2 b::before { background: #19AFA9; transform: scaleY(2.5); }
@keyframes pg-turn { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  main .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; justify-self: start; width: 132px; margin: 8px 0 0 10px; }
}

/* Section headings: a number and a leader line above each, as on the homepage. */
main h2 { counter-increment: irsec; }
main section > h2, .two h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 16px; text-wrap: balance; }
main section > h2::before, .two h2::before, .pg-idx::before { content: counter(irsec, decimal-leading-zero); }
main section > h2::before, .two h2::before, .pg-idx {
  display: block; width: 84px; height: 12px; margin: 0 0 14px; padding: 0;
  font: 600 11px/12px var(--font-mono); letter-spacing: 0.1em; text-align: left; color: var(--color-primary);
  background: linear-gradient(rgba(0,100,90,0.38), rgba(0,100,90,0.38)) 30px 50% / 44px 1px no-repeat, radial-gradient(circle, #00645A 3.4px, rgba(0,100,90,0) 3.9px) 72px 50% / 8px 8px no-repeat;
}
main h2.has-find::before { content: none; display: none; }
.visit h2 { counter-increment: none; }
.alert h2 { font-size: 26px; }

/* Steps: the homepage's numbered gears, joined by a line. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; margin: 0; padding: 8px 0 24px 62px; min-height: 44px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: radial-gradient(circle, #fff 0 11px, rgba(255,255,255,0) 11.5px), url(/assets/home/gear-solid-teal.svg) center / contain no-repeat; color: var(--color-text); font-size: 13px; font-weight: 800; }
.steps li:nth-child(even)::before { background-image: radial-gradient(circle, #fff 0 11px, rgba(255,255,255,0) 11.5px), url(/assets/home/gear-solid-dark.svg); }
.steps li::after { content: ""; position: absolute; left: 21.5px; top: 48px; bottom: 4px; width: 1px; background: rgba(0,100,90,0.32); }
.steps li:last-child::after { display: none; }

/* Footer: the homepage's slow gear in the corner, and the hunt's line. */
.foot { position: relative; overflow: hidden; }
.foot::after { content: ""; position: absolute; right: -130px; top: -70px; width: 430px; height: 430px; background: url(/assets/home/gear-line-light.svg) center / contain no-repeat; opacity: 0.08; pointer-events: none; animation: pg-turn 70s linear infinite; }
.foot .wrap { position: relative; z-index: 1; }
.foot-hunt { display: block; margin-top: 6px; }
.foot .ir-find:focus-visible { outline-color: var(--color-accent-light); }
.foot .ir-find-text.ir-found { color: var(--color-accent-light); }

/* Page not found: the hero alone, centred on the screen's height. */
.nf main .hero { min-height: min(62vh, 560px); }

/* Pay later strip (Stitch buy now, pay later) on pages with larger prices */
.paylater{display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px;background:#0F1113;color:#fff;box-shadow:0 4px 0 #000,0 14px 28px rgba(0,0,0,.18)}
.paylater h2{margin:0 0 6px!important;color:#fff;font-size:clamp(20px,2.4vw,26px)!important}
.paylater p{margin:0;font-size:15px;line-height:1.55;color:#C7C7CC;max-width:62ch}
.pl-badge{flex:none;padding:10px 16px;border-radius:980px;background:#5CF2C4;color:#06231D;font-weight:800;font-size:14px;letter-spacing:.02em;box-shadow:0 4px 0 #2FB48E}
@media (max-width:640px){.paylater{flex-direction:column;align-items:flex-start;gap:14px;padding:22px 20px}}

/* Buttons (Fusion): bright teal gradient, dark text, a faint ink offset; outlines fill on hover */
.btn{border-radius:980px;border:0;text-shadow:none;font-weight:700;padding:13px 26px;transition:background .18s ease,color .18s ease,transform .15s ease,box-shadow .15s ease,filter .15s ease}
.btn-primary{background:linear-gradient(135deg,#3DDDCB,#19AFA9 55%,#0E9690);color:#0B1313;box-shadow:3px 3px 0 rgba(11,19,19,.2)}
.btn-primary:hover{background:linear-gradient(135deg,#3DDDCB,#19AFA9 55%,#0E9690);color:#0B1313;filter:brightness(1.06);transform:translate(-1px,-1px);box-shadow:4px 4px 0 rgba(11,19,19,.2)}
.btn-primary:active{background:linear-gradient(135deg,#3DDDCB,#19AFA9 55%,#0E9690);filter:none;transform:translate(1px,1px);box-shadow:1px 1px 0 rgba(11,19,19,.2)}
.btn-ghost{background:#fff;color:#0C7470;border:2.5px solid #0C7470;box-shadow:none;padding:10.5px 23.5px}
.btn-ghost:hover{background:#0C7470;color:#fff;transform:none}
.btn-ghost:active{background:#0A5F5C;color:#fff;transform:translateY(1px)}
