/* =============================================
   Blog post pages, built in the style of apple.com/ca from Karim's own identity.
   Generated from concepts/ by concepts/tools/build_more_pages.py (Nov 12, 2026);
   edit the concept and rebuild, and see concepts/README.md for every decision.
   Loaded instead of css/style.css, so the tokens at the top are copies: change a
   colour in both.
   ============================================= */

/* ---------- Tokens: copied from css/style.css (Plainspoken palette) ---------- */
:root {
  --ink:          #1C2024;
  --navy:         #183356;
  --blue:         #1D5B92;
  --blue-tint:    #C9DCEC;   /* the tint that survives on --blue */
  --body:         #51565B;
  --muted:        #606A74;
  --quiet:        #7D8792;
  --hairline:     #CCD2D7;
  --page:         #F2F6FA;   /* the one tinted ground */
  --white:        #FFFFFF;

  /* The grey a point fades to when it is not in focus */
  --faded:        #C6CCD2;

  --font: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 48px;
  --tile-gap: 12px;                                  /* Apple's gap between tiles */
  --screen: clamp(620px, calc(100svh - var(--nav-h)), 1040px);   /* a full-width tile fills the screen */
  /* The hero stops short of the bottom of the screen so the top of the next tile
     shows, which tells people to scroll. Apple's first tile is 692px on a 1440 x 900
     screen, leaving about 150px of the next tile in view (500px on a phone, about
     280px showing). --fold is the visible height under the header; it uses --screen
     too so shoot.sh's pinned height still applies in screenshots. */
  --fold: min(var(--screen), calc(100svh - var(--nav-h)));
  --peek: clamp(96px, calc(var(--fold) * 0.18), 160px);
  --half-h: 680px;                                   /* a tile in the two-across grid */
  --gutter: clamp(24px, 7vw, 112px);
  --space: clamp(96px, 17vh, 208px);     /* air above and below an open section */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-wrap: balance;
}

/* The section's name, said once, small and grey */
.t-name {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--quiet);
}

/* The one quiet supporting line */
.lede {
  font-size: clamp(1.125rem, 1.75vw, 1.5rem);
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--muted);
  max-width: 33em;
  text-wrap: pretty;
}

/* Calls to action: two plain text links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.links a { color: var(--blue); }
.links a::after { content: "\00a0\203A"; }
.links a:hover, .links a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.nowrap { white-space: nowrap; }
.centre { text-align: center; }
.centre .lede { margin-inline: auto; }
.centre .links { justify-content: center; }

/* ---------- Nav: slim, quiet, no rule under it ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
}
/* The frosted ground sits on a pseudo-element so the phone menu, which is
   position: fixed inside the nav, still measures from the screen. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}
.nav-inner {
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Wordmark lockup: proportions from css/style.css, hung off --wm */
.wordmark { --wm: 18px; display: inline-flex; align-items: center; gap: calc(var(--wm) * 0.312); flex: none; }
.wordmark-name {
  font-weight: 800; font-size: var(--wm); line-height: 0.9; letter-spacing: -0.011em;
  text-transform: uppercase; color: var(--navy); white-space: nowrap;
}
.wordmark-bar { flex: none; width: 2px; height: calc(var(--wm) * 0.952); margin-left: calc(var(--wm) * -0.05); background: var(--blue); }
.wordmark-micro {
  font-weight: 700; font-size: calc(var(--wm) * 0.342); line-height: 1.298; letter-spacing: 0.38em;
  text-transform: uppercase; color: var(--body); white-space: nowrap;
}

.nav-links { display: none; margin-inline: auto; gap: clamp(20px, 3vw, 44px); font-size: 0.8125rem; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
.nav-call { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.nav-call:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.nav-menu summary {
  list-style: none; cursor: pointer;
  position: relative; width: 44px; height: var(--nav-h); margin-right: -13px;
}
.nav-menu summary::-webkit-details-marker { display: none; }
/* Two lines that cross into an X when the menu is open */
.nav-menu summary span {
  position: absolute; left: 13px; top: 50%; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.25s ease;
}
.nav-menu summary span:first-child { transform: translateY(-4px); }
.nav-menu summary span:last-child  { transform: translateY(3px); }
.nav-menu[open] summary span:first-child { transform: rotate(45deg); }
.nav-menu[open] summary span:last-child  { transform: rotate(-45deg); }
.menu-sheet {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--white);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  height: calc(100dvh - var(--nav-h));
}
.menu-sheet a {
  display: block; padding: 9px 0;
  font-size: 1.875rem; font-weight: 700; letter-spacing: -0.03em; color: var(--navy);
}
.menu-sheet .menu-small { margin-top: 28px; }
.menu-sheet .menu-small a { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; color: var(--blue); padding: 7px 0; }

/* Wide screens: like Apple's, the wordmark, the six links and Book a Call sit
   in one evenly spaced row in the middle of the screen, instead of the
   wordmark and the call pinned to the far edges. Apple's row is 1024px;
   Karim asked for it "a little tighter together", so this one is 880px. */
@media (min-width: 900px) {
  .nav-inner { max-width: 880px; padding: 0 22px; justify-content: space-between; gap: 16px; }
  .nav-links { display: contents; }
  .nav-call { margin-left: 0; }
  .nav-menu { display: none; }
}

/* ---------- Type sizes: the big ones from the first pass ---------- */
.t-hero    { font-size: clamp(3.25rem, 10vw, 8.5rem); }
.hero .t-hero { font-size: clamp(3.25rem, 9vw, 7rem); }   /* two lines here, so a little smaller on a wide screen to leave room for the photo */
.t-display { font-size: clamp(2.5rem, 6.4vw, 5.5rem); }
.t-tile    { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }

/* ---------- Tiles: colour and structure from the second pass, air from the first ---------- */
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--page);
}
.tile-text { width: 100%; padding: clamp(56px, 10vh, 112px) var(--gutter) 0; }
.tile .t-name { margin-bottom: clamp(12px, 2vh, 20px); }
.tile .lede { margin: clamp(16px, 2.6vh, 28px) auto 0; max-width: 26em; }
.tile .links { margin-top: clamp(18px, 2.8vh, 30px); justify-content: center; }
.screen { min-height: var(--screen); }
.tile-middle { justify-content: center; }
.tile-middle .tile-text { padding-block: clamp(56px, 10vh, 112px); }

.tile-white { background: var(--white); }
.tile-blue  { background: var(--blue); }
.tile-navy  { background: var(--navy); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lede { color: var(--blue-tint); }
.on-dark .links a { color: var(--white); }
.on-dark a:focus-visible { outline-color: var(--white); }

.stack { display: grid; gap: var(--tile-gap); }

/* Checklist: the one form on the page, with the sheet itself floating beside it */
.guide { display: block; text-align: left; }
.guide-inner { display: grid; max-width: 1240px; margin: 0 auto; padding: clamp(64px, 11vh, 128px) var(--gutter) 0; }
.guide-copy .t-name { margin-bottom: clamp(12px, 2vh, 20px); }
.guide-copy .lede { margin: clamp(16px, 2.6vh, 28px) 0 0; max-width: 24em; }
.guide-form { margin-top: clamp(28px, 5vh, 44px); max-width: 440px; }
.guide-fields { display: grid; gap: 14px; }
.guide-form label.field-label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.guide-form input[type="text"], .guide-form input[type="email"] {
  width: 100%; height: 52px; padding: 0 16px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--white); border: 0; border-radius: 0;
}
.guide-form input::placeholder { color: #A9B1B9; }
.guide-form button {
  width: 100%; height: 52px; margin-top: 18px;
  font: inherit; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--white); background: var(--blue); border: 0; border-radius: 0; cursor: pointer;
}
.guide-form button:hover { background: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 0.9375rem; line-height: 1.45; color: var(--body); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.guide-note { margin-top: 14px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.guide-note a { text-decoration: underline; text-underline-offset: 0.18em; }

.sheet-wrap { position: relative; height: 330px; margin-top: 56px; }
.sheet {
  position: absolute; top: 20px; left: 50%; width: min(100%, 430px); aspect-ratio: 8.5 / 11;
  transform: translateX(-50%) rotate(-3deg); transform-origin: 50% 0;
  padding: 9% 9% 0; background: var(--white);
  box-shadow: 0 40px 70px -24px rgba(24, 51, 86, 0.3), 0 10px 24px -10px rgba(24, 51, 86, 0.18);
}
.sheet .wordmark { --wm: 13px; }
.sheet-title { margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--navy); font-size: 1.5rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--navy); }
.sheet ul { margin-top: 22px; }
.sheet li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--hairline); font-size: 0.875rem; line-height: 1.4; color: var(--body); }
.sheet li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 2px; border: 2px solid var(--blue); }
@media (min-width: 900px) {
  .guide-inner { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); }
  .guide-copy { padding-bottom: clamp(64px, 11vh, 128px); }
  .sheet-wrap { align-self: center; height: 640px; margin: 0 0 clamp(64px, 11vh, 128px); }
  .sheet { top: 0; width: min(100%, 460px); }
}

/* The closing call */
.cta h2 { max-width: 15em; margin-inline: auto; }

/* ---------- Footer: small grey type on the tinted ground, laid out as a directory ---------- */
footer { margin-top: var(--tile-gap); padding: clamp(56px, 9vh, 88px) var(--gutter) 36px; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); background: var(--page); }
.footer-top { display: grid; gap: 40px; max-width: 1240px; margin: 0 auto; }
.footer-brand p { margin-top: 20px; max-width: 26em; }
/* The name sits in a line of 16px text, exactly as on the live footer: that
   line is what sets the gap between the name and the rule. Making the name a
   block (as this page first did) pulls the rule 4.6px too close. */
.wordmark-stacked { display: block; font-size: 16px; line-height: 1.65; }
.wordmark-stacked .wordmark-name { font-size: 30px; line-height: 0.86; margin-left: -0.03em; }
.wordmark-stacked .wordmark-rule { display: block; height: 2px; width: 156px; background: var(--blue); margin-top: 2px; }
.wordmark-stacked .wordmark-micro { display: block; font-size: 10.15px; line-height: 1; margin-top: 8.6px; letter-spacing: 0.378em; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; }
/* The brokerage mark in its own red and black (his ask, v6), from brand/source/rlp-performance-colour-1000.png. */
.footer-brokerage { margin-top: 28px; width: 156px; }
.footer-dir { display: grid; }
.footer-col { border-bottom: 1px solid var(--hairline); }
.footer-col summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; font-weight: 600; color: var(--ink);
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after {
  content: ""; width: 7px; height: 7px; margin-right: 4px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg); transition: transform 0.25s ease;
}
.footer-col[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.footer-col a, .footer-col > span { display: block; padding: 5px 0 5px 12px; }
.footer-col > :last-child { padding-bottom: 14px; }
@media (min-width: 700px) {
  .footer-dir { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
  .footer-col { border-bottom: 0; }
  .footer-col summary { cursor: default; padding: 0; margin-bottom: 8px; pointer-events: none; }
  .footer-col summary::after { display: none; }
  .footer-col a, .footer-col > span { padding: 3px 0; }
  .footer-col > :last-child { padding-bottom: 3px; }
}
footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }
.footer-bottom {
  max-width: 1240px; margin: 44px auto 0; padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  font-size: 0.75rem;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 0.18em; }
.language-toggle { max-width: 1240px; margin: 18px auto 0; display: flex; gap: 20px; font-size: 0.75rem; }
.language-toggle a[aria-current="true"] { color: var(--ink); font-weight: 600; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1fr 2.2fr; gap: 64px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .focus-list h3, .focus-list .lede, .gallery-card > *, .nav-menu summary span { transition: none; }
}

/* ================= The Buy page ================= */

/* Apple's category pages sit in one 1260px column (90px in from each side of
   a 1440 screen), with headings left-aligned rather than centred. */
:root { --col: 1260px; --side: clamp(20px, 6.25vw, 90px); }
.wrap { max-width: calc(var(--col) + 2 * var(--side)); margin: 0 auto; padding-inline: var(--side); }
.nav-links a[aria-current="page"] { color: var(--ink); }

/* Section heading row: the heading on the left, one link on the right
   (Apple: 56px headings, "Shop iPhone >" on the right). */
.t-section { font-size: clamp(2.25rem, 3.9vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; }
.head-row .lede { margin-top: clamp(12px, 2vh, 18px); max-width: 30em; }
.head-row .links { font-size: clamp(1rem, 1.2vw, 1.125rem); }

/* ---------- Hero: the page's name, big and left-aligned, then shortcuts ---------- */
.b-hero { padding-top: clamp(48px, 8vh, 96px); }
.b-hero .t-name { margin-bottom: clamp(10px, 1.6vh, 16px); }
.b-hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); line-height: 0.96; }
.b-hero .lede { margin-top: clamp(16px, 2.6vh, 26px); max-width: 30em; }
.b-hero .links { margin-top: clamp(18px, 2.8vh, 28px); }
/* The hero's one call: a blue button that opens the guide pop-up. Corners
   softened to 6px like the white button he approved on the homepage. */
.btn-blue { display: inline-block; margin-top: clamp(22px, 3.4vh, 34px); padding: 16px 28px; border-radius: 6px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); font-weight: 700; letter-spacing: -0.01em; color: var(--white); background: var(--blue); transition: background-color 0.2s ease; }
.btn-blue:hover { background: var(--navy); }
.btn-note { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }

/* The guide pop-up (a <dialog>; apple-style-buy.js opens it) */
.pop { margin: auto; width: min(92vw, 520px); max-height: 92dvh; padding: clamp(28px, 5vw, 48px); border: 0; border-radius: 0; background: var(--page); color: var(--ink); overflow-y: auto; }
.pop::backdrop { background: rgba(24, 51, 86, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pop .t-name { margin-bottom: 10px; }
.pop h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1.04; letter-spacing: -0.03em; padding-right: 32px; }
.pop-lede { margin-top: 14px; font-size: 1.0625rem; line-height: 1.45; color: var(--muted); }
.pop .guide-form { margin-top: 24px; max-width: none; }
.pop-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 1.75rem; line-height: 1; color: var(--navy); }
.pop-close:hover { color: var(--blue); }
.pop h2:focus { outline: none; }   /* focus lands on the title when it opens, so the keyboard does not pop up on a phone */

/* The row of shortcuts under the title, after Apple's row of product
   pictures: a small line drawing over a short name, scrolling sideways on a
   phone. Every name is one the site already uses for that place. */
.shortcuts {
  display: flex; gap: clamp(20px, 3.4vw, 52px); margin-top: clamp(36px, 6vh, 64px);
  overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
  margin-inline: calc(-1 * var(--side)); padding-inline: var(--side);
}
.shortcuts::-webkit-scrollbar { display: none; }
.shortcuts a { flex: none; display: grid; justify-items: center; gap: 10px; width: 84px; text-align: center; font-size: 0.8125rem; font-weight: 500; line-height: 1.25; color: var(--ink); }
.shortcuts svg { width: 40px; height: 40px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease; }
.shortcuts a:hover { color: var(--blue); }
.shortcuts a:hover svg { stroke: var(--blue); }

/* One wide picture under the shortcuts, like the big card under Apple's
   title. It is sized so its top shows above the fold. */
.b-picture { margin-top: clamp(36px, 6vh, 64px); height: clamp(280px, 40vw, 560px); overflow: hidden; }
.b-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* ---------- The process: white cards on the pale band ---------- */
.band { background: var(--page); margin-top: clamp(80px, 14vh, 160px); padding: clamp(72px, 12vh, 136px) 0; }
/* Cards: Apple's are 372 x 502, 20px apart, three to a 1260px row. Square
   here (his brand has no rounded corners). On a phone they scroll sideways
   with the next one peeking in, as Apple's do. */
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 372px); gap: 20px;
  margin-top: clamp(32px, 5vh, 52px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--side)); padding-inline: var(--side); scroll-padding-inline: var(--side);
}
.cards::-webkit-scrollbar { display: none; }
.card {
  position: relative; overflow: hidden; scroll-snap-align: start;
  min-height: 320px; padding: 30px 30px 0;
  background: var(--white);
}
.card h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.12; letter-spacing: -0.025em; }
.card p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.47; color: var(--body); max-width: 22em; }
/* The step's number stands in for Apple's product picture: drawn huge in the
   tint, running off the bottom of the card. */
.card-num {
  position: absolute; right: 22px; bottom: -0.2em; z-index: -0; pointer-events: none;
  font-size: clamp(9rem, 13vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: var(--blue-tint);
}
.card > :not(.card-num) { position: relative; z-index: 1; }
@media (min-width: 1100px) {
  .card { min-height: clamp(340px, 44vh, 400px); }   /* shorter than Apple's 502: the steps are one or two lines now */
  .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.band-foot { margin-top: clamp(32px, 5vh, 48px); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); }
.band-foot a { color: var(--blue); font-weight: 500; white-space: nowrap; }
.band-foot a::after { content: "\00a0\203A"; }
.band-foot a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- The money: Apple's accordion beside one big picture ---------- */
.money { padding-top: clamp(80px, 14vh, 160px); }
.panel { display: grid; margin-top: clamp(32px, 5vh, 52px); background: var(--page); }
.acc { padding: clamp(28px, 4vw, 60px); }
.acc details { border-bottom: 1px solid var(--hairline); }
.acc details:last-child { border-bottom: 0; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--navy);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.25s ease;
}
.acc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.acc details p { margin: -6px 0 16px; font-size: 1.0625rem; line-height: 1.5; color: var(--body); max-width: 30em; }
.acc details p:last-child { margin-bottom: 28px; }
.acc details a { color: var(--blue); font-weight: 500; white-space: nowrap; }
.acc details a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
/* One picture per row; the open row's picture shows (no script: :has()). */
.acc-pics { position: relative; min-height: 300px; overflow: hidden; }
.acc-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.acc-pics img:first-child { opacity: 1; }
.panel:has(details:nth-child(2)[open]) .acc-pics img,
.panel:has(details:nth-child(3)[open]) .acc-pics img { opacity: 0; }
.panel:has(details:nth-child(1)[open]) .acc-pics img:nth-child(1),
.panel:has(details:nth-child(2)[open]) .acc-pics img:nth-child(2),
.panel:has(details:nth-child(3)[open]) .acc-pics img:nth-child(3) { opacity: 1; }
@media (min-width: 900px) {
  .panel { grid-template-columns: 1fr 1.08fr; min-height: 640px; }
  .acc { align-self: center; }
  .acc-pics { order: 1; min-height: 0; }
}
@media (max-width: 899px) { .acc-pics { aspect-ratio: 4 / 3; min-height: 0; } }

/* ---------- One client's words, alone on white ---------- */
.b-quote { padding: clamp(112px, 20vh, 220px) 0; text-align: center; }
.b-quote blockquote {
  max-width: 21em; margin: 0 auto;
  font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; color: var(--navy); text-wrap: balance;
}
.b-quote figcaption { margin-top: clamp(24px, 4vh, 40px); font-size: clamp(1rem, 1.3vw, 1.1875rem); color: var(--muted); }
.b-quote figcaption strong { color: var(--ink); font-weight: 600; }
.b-quote .links { margin-top: 14px; justify-content: center; }

/* ---------- The checklist: the homepage's tile, with this page's words ---------- */
.guide-inner { max-width: calc(var(--col) + 2 * var(--side)); padding-inline: var(--side); }   /* on this page's column */
.guide-form h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.guide-form .lm-sub { margin: 8px 0 20px; font-size: 0.9375rem; line-height: 1.45; color: var(--body); }
.guide-copy .links { margin-top: clamp(16px, 2.4vh, 24px); font-size: clamp(1rem, 1.3vw, 1.1875rem); justify-content: flex-start; }

/* ---------- Closing call: navy, with the white button the homepage hero had
   in version 4 (6px corners, the one softened shape he approved) ---------- */
.b-cta .t-name { color: var(--blue-tint); margin-bottom: clamp(12px, 2vh, 20px); }
.b-cta .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: clamp(26px, 4vh, 40px); }
.btn-white { display: inline-block; padding: 16px 28px; border-radius: 6px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); font-weight: 700; letter-spacing: -0.01em; color: var(--navy); background: var(--white); transition: background-color 0.2s ease; }
.btn-white:hover { background: var(--blue-tint); }
.b-cta .quiet { font-size: clamp(1rem, 1.3vw, 1.1875rem); color: var(--blue-tint); text-decoration: underline; text-underline-offset: 0.22em; }
.b-cta .quiet:hover { color: var(--white); }


/* ================= The Sell page (on top of the Buy page's styles) ================= */
.b-hero .lede { margin-top: clamp(14px, 2.2vh, 22px); }

/* Step cards carry a short list instead of a paragraph */
.card-list { margin-top: 18px; display: grid; gap: 10px; max-width: 20em; }
.card-list li { display: flex; gap: 12px; font-size: 1.0625rem; line-height: 1.4; color: var(--body); }
.card-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em; background: var(--blue); }

/* What affects your sale price: Apple Trade In's grey panel with a value table */
.value-panel { display: grid; background: var(--page); }
.value-copy { padding: clamp(32px, 5vw, 72px); }
.value-copy .lede { margin-top: clamp(12px, 2vh, 18px); max-width: 26em; }
.value-table { width: 100%; margin-top: clamp(24px, 4vh, 36px); border-collapse: collapse; font-size: 1.0625rem; }
.value-table th { padding: 0 0 10px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); text-align: left; }
.value-table th:last-child, .value-table td:last-child { text-align: right; }
.value-table td { padding: 14px 0; border-top: 1px solid var(--hairline); font-weight: 600; color: var(--ink); vertical-align: top; }
.value-table td span { display: block; margin-top: 2px; font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.value-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; padding-left: 20px; }
.value-panel .btn-blue { margin-top: clamp(24px, 4vh, 36px); }
.value-pic { position: relative; min-height: 320px; overflow: hidden; }
.value-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .value-panel { grid-template-columns: 1.15fr 1fr; } .value-pic { min-height: 0; } }

/* His own line on pricing, said once, large, under the panel */
.karim-says { max-width: 46rem; margin: clamp(64px, 11vh, 120px) auto 0; text-align: center; }
.karim-says blockquote { font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; color: var(--navy); text-wrap: balance; }
.karim-says figcaption { margin-top: 18px; font-size: 1rem; color: var(--muted); }
.karim-says figcaption strong { color: var(--ink); font-weight: 600; }

/* Before you list: a checklist that ticks itself off, beside his sign */
.coord-inner { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.coord-inner .lede { margin-top: clamp(12px, 2vh, 18px); }
.tick-list { margin-top: clamp(28px, 4.5vh, 44px); }
.tick-list li {
  display: flex; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hairline);
  font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy);
}
.tick-list li:last-child { border-bottom: 1px solid var(--hairline); }
/* The box, and the tick drawn inside it when the row's turn comes */
.tick-list li::before {
  content: ""; flex: none; width: 26px; height: 26px; border: 2px solid var(--blue);
  background: var(--blue) no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.js-ticks .tick-list li::before { background-color: transparent; background-size: 0; transition: background-color 0.25s ease, background-size 0.25s ease; }
.js-ticks .tick-list li.is-ticked::before { background-color: var(--blue); background-size: 16px; }
.sign-stage { position: relative; height: clamp(380px, 52vw, 640px); overflow: hidden; background: linear-gradient(180deg, #E6EFF7 0%, var(--blue-tint) 100%); }
.sign-stage img { position: absolute; top: 9%; left: 50%; height: 112%; width: auto; max-width: none; transform: translateX(-56%); filter: drop-shadow(0 18px 24px rgba(24, 51, 86, 0.22)); }
@media (min-width: 900px) { .coord-inner { grid-template-columns: 1.15fr 1fr; } }

/* The text-me line under the questions */
.text-me { margin-top: clamp(28px, 4.5vh, 44px); font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; color: var(--navy); }
.text-me a { color: var(--blue); white-space: nowrap; }
.text-me a::after { content: "\00a0\203A"; }
.text-me a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* (unused since the second pass) six items in a ruled list */
.coord { padding-top: clamp(96px, 16vh, 180px); }
.coord-list { display: grid; gap: 0 clamp(24px, 3vw, 48px); margin-top: clamp(28px, 4.5vh, 48px); }
.coord-list li { padding: 22px 0; border-top: 2px solid var(--navy); font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy); }
@media (min-width: 700px) { .coord-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .coord-list { grid-template-columns: repeat(3, 1fr); } }

/* The seller story: words on the left, Sarah's quote on the right */
.story { padding: clamp(96px, 16vh, 180px) 0; }
.story-inner { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-copy .lede { margin-top: clamp(16px, 2.6vh, 24px); max-width: 30em; }
.story-copy .links { margin-top: clamp(18px, 2.8vh, 28px); }
.story-quote { padding: clamp(32px, 4vw, 56px); background: var(--page); }
.story-quote blockquote { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.story-quote figcaption { margin-top: 20px; font-size: 1rem; color: var(--muted); }
.story-quote figcaption strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .story-inner { grid-template-columns: 1.1fr 1fr; } }

/* Questions: Apple Trade In's answer cards, Karim beside each answer */
/* On white, with grey cards, so it does not run into the grey checklist tile below */
.answers { margin-top: 0; background: var(--white); padding-top: clamp(96px, 16vh, 180px); }
.answers .card { background: var(--page); }
.answers .bubble { background: var(--white); }
.answer-cards { grid-auto-columns: min(84vw, 400px); }
.card.answer { min-height: 0; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.card.answer h3 { font-size: clamp(1.25rem, 1.6vw, 1.375rem); line-height: 1.2; }
.bubble { display: flex; gap: 14px; align-items: flex-start; margin-top: auto; padding: 18px; background: var(--page); }
.bubble img { flex: none; width: 44px; height: 44px; object-fit: cover; object-position: 59% 4%; background: var(--blue-tint); }
.bubble p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--body); }
.bubble a { color: var(--blue); font-weight: 500; white-space: nowrap; }
.bubble a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 1100px) {
  .answer-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) { .acc-pics img, .acc summary::after { transition: none; } }

/* ================= The Blog (November 12, 2026) ================= */
/* Apple Newsroom (apple.com/ca/newsroom, measured at 1440): a grey ground, one
   980px column, the newest story as a wide 980 x 362 tile, then two across
   (470 x 475) and three across (303 x 372), white tiles, a 12-14px bold grey
   category over a bold headline. His posts have no photos, so the picture
   half of a tile is a line drawing for the post's category on the pale blue. */
.narrow { max-width: calc(980px + 2 * var(--side)); }
.bl-hero { padding: clamp(48px, 8vh, 96px) 0 clamp(28px, 4.5vh, 44px); }
.bl-hero h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 0.98; }
.bl-hero .lede { margin-top: clamp(14px, 2.4vh, 22px); max-width: 30em; }
.bl-tabs { display: flex; gap: clamp(18px, 2.6vw, 32px); margin-top: clamp(28px, 4.5vh, 44px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hairline); margin-inline: calc(-1 * var(--side)); padding-inline: var(--side); }
.bl-tabs::-webkit-scrollbar { display: none; }
.bl-tabs button { flex: none; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: 1.0625rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.bl-tabs button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.bl-tabs button:hover { color: var(--navy); }
.bl-grid-band { background: var(--page); padding: clamp(40px, 6vh, 64px) 0 clamp(88px, 14vh, 150px); }
.bl-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.bl-tile { grid-column: span 6; display: flex; flex-direction: column; background: var(--white); color: inherit; transition: box-shadow 0.25s ease; }
.bl-tile:hover { box-shadow: 0 18px 40px -22px rgba(24, 51, 86, 0.35); }
.bl-tile[hidden] { display: none; }
.bl-pic { display: grid; place-items: center; background: #E6EFF7; height: 180px; }
.b-ico { width: 64px; height: 64px; stroke: var(--navy); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bl-text { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 2.6vw, 32px); }
.bl-cat { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.bl-tile h2 { margin-top: 10px; font-size: clamp(1.375rem, 1.9vw, 1.625rem); line-height: 1.12; letter-spacing: -0.025em; }
.bl-tile p { margin-top: 12px; font-size: 1.0625rem; line-height: 1.45; color: var(--body); }
.bl-date { margin-top: auto; padding-top: 20px; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.bl-tile:hover h2 { color: var(--blue); }
@media (min-width: 700px) {
  .bl-tile.two, .bl-tile.three { grid-column: span 3; }
}
@media (min-width: 1000px) {
  .bl-tile.three { grid-column: span 2; }
  .bl-tile.three .bl-pic { display: none; }
  .bl-tile.three .bl-text::before { content: none; }
  .bl-tile.hero { flex-direction: row; min-height: 362px; }
  .bl-tile.hero .bl-pic { flex: 0 0 58%; height: auto; }
  .bl-tile.hero .b-ico { width: 120px; height: 120px; stroke-width: 1.1; }
  .bl-tile.hero h2 { font-size: clamp(2rem, 2.6vw, 2.25rem); }
  .bl-tile.two .bl-pic { height: 240px; }
}
.bl-tile.three .bl-ico-small { display: none; }
@media (min-width: 1000px) { .bl-tile.three .bl-ico-small { display: block; width: 40px; height: 40px; margin-bottom: 18px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; } }

/* ================= A blog post ================= */
/* Apple Newsroom's article: a 653px reading column inside the 980 one, the
   category (12px bold grey) and the date over a 48px headline, a 24px intro
   line, then 19px body text on 27px lines with 24px section headings. */
.po-col { max-width: 653px; margin-inline: auto; }
.po-head { padding-top: clamp(48px, 8vh, 96px); }
.po-eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.po-date { margin-top: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
.po-head h1 { margin-top: 18px; font-size: clamp(2.25rem, 4.6vw, 3rem); line-height: 1.06; letter-spacing: -0.035em; }
.po-dek { margin-top: 18px; font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.po-author { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 4.5vh, 40px); padding-top: 22px; border-top: 1px solid var(--hairline); }
.po-author img { width: 48px; height: 48px; object-fit: cover; object-position: 59% 16%; background: var(--blue-tint); }
.po-author strong { display: block; font-size: 1rem; color: var(--ink); }
.po-author span { display: block; font-size: 0.875rem; color: var(--muted); }
.po-body { padding: clamp(36px, 6vh, 56px) 0 clamp(72px, 12vh, 120px); }
.po-body p { margin-top: 27px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; color: var(--ink); }
.po-body p:first-child { margin-top: 0; }
.po-body h2 { margin-top: clamp(44px, 7vh, 64px); font-size: 1.5rem; line-height: 1.17; letter-spacing: -0.025em; }
.po-body h2 + p { margin-top: 14px; }
.po-body h3 { margin-top: 32px; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.015em; }
.po-body h3 + p { margin-top: 8px; }
.po-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 0.18em; }
.po-cta { margin-top: clamp(56px, 9vh, 88px); padding: clamp(28px, 4vw, 44px); background: var(--page); }
.po-cta h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.03em; }
.po-cta p { margin-top: 12px; font-size: 1.125rem; line-height: 1.45; color: var(--body); }
.po-cta .btn-blue { margin-top: 22px; }
.po-cta .btn-blue, .po-cta .btn-blue:hover { text-decoration: none; color: var(--white); }
.po-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 32px; }
.po-more { background: var(--page); padding: clamp(64px, 10vh, 112px) 0; }
.po-more > .wrap > h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: clamp(24px, 4vh, 36px); }
.po-more .bl-grid { gap: 20px; }

/* ---------- Shared site pieces this page needs from css/style.css ---------- */
.form-status { margin-top: 16px; line-height: 1.6; font-size: 1rem; color: var(--ink); }
.form-status:empty { display: none; }
.form-status.is-error { border-left: 3px solid currentColor; padding-left: 12px; }
.form-download-link { display: inline-block; padding: 10px 0; text-decoration: underline; font-weight: 700; color: var(--blue); }
.guide-form button:disabled, .stepper .btn:disabled, .lm-panel .btn:disabled { opacity: 0.7; cursor: default; }
.form-honeypot { position: absolute; left: -9999px; }
.language-note { font-size: 0.8em; color: inherit; opacity: 0.72; }
.gallery > .language-note { padding: 0 var(--gutter); margin: -16px 0 24px; }
@media print { nav, footer, .nav, .site-footer, .language-toggle { display: none !important; } }
