/*
 * APPLE: the look of an apple.com product page, for Fieldhouse. The brief is harness/styles/product (DESIGN.md and
 * system.json): one idea per section, shown big and quiet, in hard bands of white and black; one blue, on links and
 * the one button; no lines, no shadows, no outlines; pills for buttons, 18px corners on grey cards.
 * Loaded after the parts' sheets on every apple page. Part 1 is tokens only. Part 2 is touches: each says what it
 * does and why no token could say it.
 */

/* ======================================================================================================== */
/* 1. TOKENS                                                                                                */
/* ======================================================================================================== */

:root {
	/* THE RARE COLOUR AND THE GRADIENT (Mark, 2026-11-16): Apple's orange, which it keeps for "New" and little else, is
	   the highlight; the gradient is the blue-to-orange run Apple uses for a launch's big words. Each once a page. */
	--gcb-kit-highlight: #bf4800;
	--gcb-kit-gradient: linear-gradient(90deg, #3858e9, #ba62fc 38%, #f2416b 70%, #f55600);
	--gcb-card-icon: 2.75rem;

	/* COLOUR — the brief's palette by name: Paper #fff, Ink #1d1d1f, Night #000, Surface #f5f5f7, Muted #6e6e73,
	   Line #d2d2d7, Accent #3858e9. The kit's "ground" is the brief's Surface; the kit's "surface" is Paper. */
	--gcb-kit-accent: #3858e9;
	--gcb-kit-accent-hover: #4a68f0; /* Apple's hover lightens the blue, never darkens it */
	--gcb-kit-ink: #1d1d1f;
	--gcb-kit-muted: #6e6e73;
	--gcb-kit-subtle: #86868b;
	--gcb-kit-line: #d2d2d7;
	--gcb-kit-line-soft: #e8e8ed;
	--gcb-kit-surface: #ffffff;
	--gcb-kit-ground: #f5f5f7;
	--gcb-kit-track: #e8e8ed;
	--gcb-kit-tint: #f5f5f7; /* the brief has no tint: "never a tint", so a tinted thing is Surface grey */
	--gcb-kit-tint-line: #d2d2d7;
	--gcb-kit-on-tint: #1d1d1f;
	--gcb-kit-quiet: color-mix(in srgb, currentColor 64%, transparent); /* #6e6e73-ish on Paper, #86868b-ish on Night */
	--gcb-kit-rule: color-mix(in srgb, currentColor 16%, transparent); /* about #d2d2d7 on Paper */
	--gcb-kit-scrim: rgb(0 0 0 / 0.48);
	--gcb-kit-switch-off: #e9e9eb;

	/* TYPE — the system face, which on a Mac is Apple's own (SF Pro Display above 20px, SF Pro Text below) */
	--apple-face: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--gcb-kit-font: var(--apple-face);
	--gcb-kit-font-heading: var(--apple-face);
	--gcb-kit-text-caption: 12px;
	--gcb-kit-text-meta: 14px;
	--gcb-kit-text-control: 17px; /* Apple's controls are body-sized: a button reads at 17px */
	--gcb-kit-text-body: 17px;
	--gcb-kit-text-section: 21px;
	--gcb-kit-text-title: 21px;
	--gcb-kit-weight-body: 400;
	--gcb-kit-weight-control: 400; /* buttons, menu items, labels: regular, never bold */
	--gcb-kit-weight-title: 600;
	--gcb-kit-leading: 1.38;
	--gcb-kit-tracking: -0.01em;

	/* READING TYPE — the brief's scale: Display 96, a section's headline 56, a card's 28, Lead 21, Body 17 */
	--gcb-kit-text-display: clamp(3rem, 1.6rem + 5vw, 6rem);
	--gcb-kit-text-headline: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
	--gcb-kit-text-heading: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
	--gcb-kit-text-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
	--gcb-kit-text-reading: 1.0625rem;
	--gcb-kit-text-small: 0.75rem; /* Apple's fine print is 12px */
	--gcb-kit-weight-heading: 600;
	--gcb-kit-leading-heading: 1.07;
	--gcb-kit-tracking-heading: -0.005em;
	--gcb-kit-leading-reading: 1.47;

	/* SIZES */
	--gcb-kit-control-h: 44px;
	--gcb-kit-field-h: 56px;
	--gcb-kit-cta-h: 50px;

	/* CORNERS — pills for anything pressed, 18 for cards, 12 for fields, 28 for panels */
	--gcb-kit-radius-check: 6px;
	--gcb-kit-radius-field: 12px;
	--gcb-kit-radius-card: 18px;
	--gcb-kit-radius-panel: 28px;

	/* SPACE */
	--gcb-kit-pad-panel: 32px;
	--gcb-kit-pad-control: 16px;
	--gcb-kit-gap: 16px;
	--gcb-kit-gap-s: 8px;

	/* SHADOW — "never a drop shadow". A menu keeps the faintest one, or it would vanish on Paper. */
	--gcb-kit-shadow-lift: none;
	--gcb-kit-shadow-menu: 0 4px 24px rgb(0 0 0 / 0.08);
	--gcb-kit-shadow-panel: none;

	/* MOTION — slow and once, never a bounce: Apple's ease is a plain ease-in-out */
	--gcb-kit-dur-feedback: 200ms;
	--gcb-kit-dur-expand: 400ms;
	--gcb-kit-dur-panel: 500ms;
	--gcb-kit-ease-spring: cubic-bezier(0.4, 0, 0.6, 1); /* no overshoot */
	--gcb-kit-ease-expand: cubic-bezier(0.4, 0, 0.6, 1);
	--gcb-kit-ease-panel: cubic-bezier(0.28, 0.11, 0.32, 1);
	--gcb-kit-press: 1; /* nothing shrinks when pressed */

	/* ---- THE PARTS' OWN TOKENS ---- */

	/* container (Mark, 2026-11-15: "text is usually in the smaller [width] like stuff you read. stuff you look at is
	   bigger"): words at 980, Apple's copy width; things to look at (carousels, grids of cards, big pictures) at the
	   wide width, 1260 (so a peek still has a gutter to sit in on a laptop); an article's running text narrower still (--gcb-text-measure, 692). The bar stays at 980. */
	--gcb-container-wide: 1260px;
	--gcb-container-content: 980px;
	--gcb-navbar-width: 980px;
	--gcb-container-gutter: 24px;

	/* section: 128px of air above and below; small 64, large 160 */
	--gcb-section-space-s: clamp(2.5rem, 1.5rem + 3vw, 4rem);
	--gcb-section-space-m: clamp(5rem, 3rem + 6vw, 8rem);
	--gcb-section-space-l: clamp(6rem, 3rem + 8vw, 10rem);
	--gcb-section-tall: 88svh;
	--gcb-section-scrim: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.25) 55%, rgb(0 0 0 / 0.1));

	/* heading: display tighter than headline, headline tighter than title (SF's own tracking table) */
	--gcb-heading-display-tracking: -0.015em;
	--gcb-heading-display-leading: 1.05;
	--gcb-heading-headline-tracking: -0.005em;
	--gcb-heading-headline-leading: 1.07;
	--gcb-heading-title-tracking: 0.004em;
	--gcb-heading-title-leading: 1.14;
	--gcb-heading-eyebrow-size: var(--gcb-kit-text-lead);
	--gcb-heading-eyebrow-weight: 600;
	--gcb-heading-eyebrow-case: none;
	--gcb-heading-eyebrow-tracking: 0.004em;
	--gcb-heading-eyebrow-leading: 1.2;
	--gcb-heading-eyebrow-color: var(--gcb-kit-quiet);
	--gcb-heading-lede-size: var(--gcb-kit-text-lead);
	--gcb-heading-lede-leading: 1.38;
	--gcb-heading-lede: 38rem;
	--gcb-heading-measure: 18em; /* two lines at most, each read as a sentence */
	--gcb-heading-gap-e: 8px;
	--gcb-heading-gap-l: 20px;
	--gcb-heading-cta-gap: 32px;
	--gcb-heading-after: 0px;

	/* text */
	--gcb-text-measure: 692px;
	--gcb-text-leading: 1.47;
	--gcb-text-link: var(--gcb-kit-accent);
	--gcb-text-link-hover: var(--gcb-kit-accent);
	--gcb-text-lead: var(--gcb-kit-text-lead);
	--gcb-text-quote-line: 0px;

	/* button: a pill, 17px regular, 12px by 22px */
	--gcb-btn-radius: 980px;
	--gcb-btn-size: 17px;
	--gcb-btn-weight: 400;
	--gcb-btn-tracking: -0.022em;
	--gcb-btn-px: 22px;
	--gcb-btn-py: 11px;
	--gcb-btn-primary-hover-bg: #4a68f0;
	--gcb-btn-outline-text: var(--gcb-kit-accent);
	--gcb-btn-outline-border: var(--gcb-kit-accent);
	--gcb-btn-outline-hover-bg: var(--gcb-kit-accent);
	--gcb-btn-outline-hover-text: #fff;
	--gcb-btn-secondary-bg: #e8e8ed;
	--gcb-btn-secondary-text: var(--gcb-kit-ink);
	--gcb-btn-secondary-hover-bg: #dcdce1;
	--gcb-btn-text-text: var(--gcb-kit-accent);
	--gcb-btn-text-hover-text: var(--gcb-kit-accent);

	/* card: Surface grey on Paper, 18px corners, no line, no shadow, generous room */
	--gcb-card-ground: #f5f5f7;
	--gcb-card-shadow: none;
	--gcb-card-pad: clamp(1.25rem, 0.9rem + 1vw, 1.75rem); /* the brief says 40; at four across in 980 that leaves no room for words, so 28 at most */
	--gcb-card-gap: 10px;
	--gcb-card-title-size: var(--gcb-kit-text-section);
	/* the veil under words on a card's picture: real dark at the foot, so a 14px line still reads on a bright crowd or
	   a white stage (home, work and 404 all asked; the first pass's 0.66 fading out by 60% was too light) */
	--gcb-card-veil: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.42) 45%, rgb(0 0 0 / 0) 72%);

	/* grid: the tiles stand closer than the words do; 20px across and 24px down, measured on apple.com (iPhone and
	   AirPods Pro, 2026-11-16) */
	--gcb-grid-gap: 20px;
	--gcb-grid-row-gap: 24px;

	/* text-media */
	--gcb-tm-gap: clamp(2.5rem, 1rem + 5vw, 6rem);
	--gcb-tm-radius: 28px;

	/* figure and picture: pictures in rounded panes, captions small and muted */
	--gcb-figure-radius: 0px; /* a figure is a picture to look at, not to press: square (Mark, 2026-11-15) */
	--gcb-figure-gap: 16px;
	--gcb-figure-caption-size: 14px;
	--gcb-picture-radius: 28px;

	/* stat: no line, the figure big, the label in ink */
	--gcb-stat-line: none;
	--gcb-stat-pad: 0px;
	--gcb-stat-gap: 6px;
	--gcb-stat-leading: 1.05;
	--gcb-stat-radius: 18px;
	--gcb-stat-fill: #f5f5f7;

	/* quote: big, semibold, no mark */
	--gcb-quote-large: 1.8;
	--gcb-quote-large-narrow: 1.3;
	--gcb-quote-weight: 600;
	--gcb-quote-leading: 1.2;
	--gcb-quote-measure: 26em;
	--gcb-quote-mark-size: 0px;
	--gcb-quote-gap: 28px;
	--gcb-quote-shadow: none;
	--gcb-quote-ground: #f5f5f7;
	--gcb-quote-line: none;

	/* price-table: the recommended plan ringed in blue, as Apple's store rings a chosen option */
	--gcb-price-table-gap: 20px;
	--gcb-price-table-amount: clamp(2rem, 1.6rem + 1.2vw, 2.5rem);
	--gcb-price-table-mark: 2px solid var(--gcb-kit-accent);
	--gcb-price-table-max: 22rem;

	/* pager: pills, the current page in ink, never the accent as a ground (the brief keeps the blue for links and the
	   one button; work and blog both asked) */
	--gcb-pager-radius: 980px;
	--gcb-pager-gap: 8px;
	--gcb-pager-current: var(--gcb-kit-ink);
	--gcb-pager-current-ink: #fff;

	/* table: "no lines" but the row hairlines; the head's rule is the same hairline, not the kit's doubled ink */
	--gcb-table-head-line: var(--gcb-kit-line-w) solid var(--gcb-kit-rule);

	/* accordion: hairlines are allowed here, the one place Apple draws them */
	--gcb-accordion-pad: 22px;
	--gcb-accordion-mark: 14px;
	--gcb-accordion-line: 1px solid #d2d2d7;

	/* field: Apple's 56px boxes, 12px corners, a grey line */
	--gcb-field-line: #86868b;
	--gcb-field-radius: 12px;

	/* badge: words in the accent, no fill (Apple's "New") */
	--gcb-badge-text: 12px;

	/* list */
	--gcb-list-mark-color: var(--gcb-kit-ink);

	/* logo-row */
	--gcb-logo-row-color: #86868b;

	/* navbar: Apple's local nav: the name at 21 semibold, links at 12 */
	--gcb-navbar-pad: 0 24px;
	--gcb-navbar-link-gap: 24px;
	--gcb-navbar-mark: 0px;

	/* footer: 12px, grey, on Surface */
	--gcb-footer-text: 12px;
	--gcb-footer-title-text: 12px;
	--gcb-footer-ink: #424245;
	--gcb-footer-ink-hover: #1d1d1f;
	--gcb-footer-line: #d2d2d7;
	--gcb-footer-pad: 40px;
	--gcb-footer-home-text: 17px;
	--gcb-footer-bottom-text: 12px;
	--gcb-footer-measure: 28em;
}

/* ======================================================================================================== */
/* 2. TOUCHES — what the tokens cannot say                                                                  */
/* ======================================================================================================== */

/* THE PAGE'S OWN WORDS. The reading face and size live on <body>, which no token reaches (the kit's reading-type
   tokens are read by the parts, not the page). Apple smooths its type and sets body at 17px, a little tight. */
body {
	font-family: var(--apple-face);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -0.022em;
	color: var(--gcb-kit-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* NIGHT. The kit's dark ground is the site's ink (#1d1d1f); the brief's is true black, with #f5f5f7 words, and its
   bands are a little less tall (96px). On black the blue lifts to #3858e9 for links and the second action: the same
   accent drawn for a dark ground, as Apple does. Cards on Night are #1d1d1f with light words. */
[data-gcb-kit="section"][data-ground="ink"] {
	--gcb-section-bg: #000;
	--gcb-section-ink: #f5f5f7;
	--gcb-section-space-m: clamp(4rem, 2.5rem + 4.5vw, 6rem);
	--gcb-text-link: #3858e9;
	--gcb-text-link-hover: #3858e9;
	--gcb-btn-outline-text: #3858e9;
	--gcb-btn-outline-border: #3858e9;
	--gcb-btn-outline-hover-bg: #3858e9;
	--gcb-btn-outline-hover-text: #000;
	--gcb-btn-text-text: #3858e9;
	--gcb-btn-text-hover-text: #3858e9;
	--gcb-btn-secondary-bg: #333336;
	--gcb-btn-secondary-text: #f5f5f7;
	--gcb-card-ground: #1d1d1f;
	--gcb-card-ink: #f5f5f7;
	--gcb-stat-fill: #1d1d1f;
	--gcb-quote-ground: #1d1d1f;
	--gcb-quote-ink: #f5f5f7;
	--gcb-kit-focus-outline: 2px solid #3858e9;
	--gcb-accordion-line: 1px solid #424245; /* the Paper hairline glares on black; Apple's dark grey line (faq) */
	--gcb-pager-current: #f5f5f7;
	--gcb-pager-current-ink: #000;
	--gcb-quote-large: 2.4; /* a quote on Night is the band's one idea: near headline size (home) */
	--gcb-quote-measure: 22em;
}
/* WORDS ON A PICTURE: the blue outline is lost on a busy photograph, so there the second pill is white */
[data-gcb-kit="section"][data-scrim]:has(> [data-gcb-kit-bg]) {
	--gcb-btn-outline-text: #fff;
	--gcb-btn-outline-border: rgb(255 255 255 / 0.9);
	--gcb-btn-outline-hover-bg: #fff;
	--gcb-btn-outline-hover-text: #1d1d1f;
	--gcb-btn-text-text: #fff;
	--gcb-kit-focus-outline: 2px solid #fff;
}
[data-gcb-kit="section"][data-scrim]:has(> [data-gcb-kit-bg]) :is([data-gcb-atom="lede"], [data-gcb-atom="eyebrow"]) { color: color-mix(in srgb, currentColor 72%, transparent); } /* quieter than the words, in their colour: light on a dark veil, grey on a light one (2026-11-16) */
/* A QUOTE CENTRED ON A PHOTOGRAPH lands where the gradient scrim is lightest, so there the veil is flat and darker
   (about). The section's scrim token takes any paint; the section has no "flat" setting to choose it by. */
[data-gcb-kit="section"][data-scrim]:has(> [data-gcb-kit-bg]):has([data-gcb-kit="quote"]) { --gcb-section-scrim: rgb(0 0 0 / 0.58); }
/* the section part paints its own ground with its tokens; these two words are the brief's only grounds, so a band
   that names a tint or the accent is Surface (the brief: "never a tint", "never Accent as a background") */
[data-gcb-kit="section"]:is([data-ground="tint"], [data-ground="accent"]) {
	--gcb-section-bg: #f5f5f7;
	--gcb-section-ink: #1d1d1f;
	--gcb-btn-primary-bg: var(--gcb-kit-accent);
	--gcb-btn-primary-text: #fff;
}
/* ON SURFACE, THE CARDS ARE PAPER: a grey card on a grey band would disappear; Apple turns them white. */
[data-gcb-kit="section"]:is([data-ground="ground"], [data-ground="tint"], [data-ground="accent"]) {
	--gcb-card-ground: #fff;
	--gcb-stat-fill: #fff;
	--gcb-quote-ground: #fff;
}

/* A SECTION HEADLINE IS CENTRED. The brief: "never left-set a section headline". Alignment is a setting on each
   heading (data-align), not a token, so the style centres every heading that did not ask for the end; a call to
   action that would sit beside the words (data-cta="end") goes under them, centred. */
[data-gcb-kit="container"] > [data-gcb-kit="heading"]:not([data-align="end"]) {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	margin-inline: auto;
}
[data-gcb-kit="container"] > [data-gcb-kit="heading"]:not([data-align="end"]) > [data-gcb-atom]:not([data-gcb-own]):has(+ [data-gcb-atom="cta"]) { margin-block-end: var(--gcb-heading-cta-gap); }
[data-gcb-kit="container"] > [data-gcb-kit="heading"]:not([data-align="end"]) > [data-gcb-atom="cta"] { justify-content: center; align-self: center; }
/* (a heading beside a picture, in text-media, stays set at the start: Apple's side-by-side copy is left-set) */
/* the room under a section heading is set on each page (often 48px); Apple gives the picture more air below the words */
[data-gcb-kit="heading"]:not(:last-child) { margin-block-end: max(var(--gcb-heading-after, 0px), clamp(2.5rem, 1.5rem + 3vw, 4rem)); }
/* ...and the same room when the heading ENDS its container and the next thing is a wider container (980 words over a
   1280 picture): the heading is :last-child there, so the rule above misses it and the words sat on the picture.
   About, services, team, contact and 404 all hit this. */
[data-gcb-kit="container"]:has(> [data-gcb-kit="heading"]:last-child) + [data-gcb-kit="container"] { margin-block-start: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
/* A LONE EYEBROW (a label over a row of logos) is fine print, not a title: the eyebrow's 21px semibold is for a name
   over a headline (home) */
[data-gcb-kit="heading"]:has(> [data-gcb-atom="eyebrow"]:only-child) { --gcb-heading-eyebrow-size: 17px; --gcb-heading-eyebrow-weight: 400; margin-block-end: 40px; }
/* the lede on Apple is the quiet grey; on a picture it stays the light words */
[data-gcb-kit="heading"] > [data-gcb-atom="lede"] { font-weight: 400; letter-spacing: 0.011em; text-wrap: balance; }

/* THE SECOND ACTION IS A LINK WITH A CHEVRON. The button part's text look is the right base; the chevron is Apple's
   motif and no part draws it. A drawn mask, so it takes the link's colour. */
.gcb-btn.gcb-btn--text { text-decoration: none; padding-inline: 0; margin-inline: 0; }
.gcb-btn.gcb-btn--text:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.gcb-btn.gcb-btn--text::after {
	content: ""; width: 0.42em; height: 0.72em; margin-inline-start: 0.1em; background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* A SECTION'S LONE SECOND ACTION ("All services", an outline button on its own under a heading) is Apple's "Learn
   more" link: the accent, a chevron, no pill. A pair (primary + outline) stays two pills, as on Apple's heroes. */
[data-gcb-kit="heading"] > a.gcb-btn--outline[data-gcb-atom="cta"] {
	background: transparent; border-color: transparent; padding: 0; min-height: 0;
	color: var(--gcb-btn-text-text, var(--gcb-kit-accent)); font-size: var(--gcb-kit-text-lead); letter-spacing: 0.011em;
}
[data-gcb-kit="heading"] > a.gcb-btn--outline[data-gcb-atom="cta"]:hover { background: transparent; color: var(--gcb-btn-text-text, var(--gcb-kit-accent)); text-decoration: underline; text-underline-offset: 0.18em; }
[data-gcb-kit="heading"] > a.gcb-btn--outline[data-gcb-atom="cta"]::after {
	content: ""; width: 0.42em; height: 0.72em; margin-inline-start: 0.1em; background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* a pair of pills stands a little apart (the heading's call to action has no gap token of its own) */
[data-gcb-kit="heading"] > div[data-gcb-atom="cta"] { display: flex; flex-wrap: wrap; gap: 16px; }
/* a row of chevron links wraps close: the rows nearer than the links (faq's topic row at 390) */
[data-gcb-kit="heading"] > div[data-gcb-atom="cta"]:has(> .gcb-btn--text) { column-gap: 24px; row-gap: 4px; }
/* A ROW OF SMALL SECONDARY BUTTONS is a chip row (blog's filters): closer, 14px, the current one in ink. No part has a
   current chip; aria-current is the page's own word for it. */
[data-gcb-kit="heading"] > div[data-gcb-atom="cta"]:has(> .gcb-btn--sm) { gap: 10px; --gcb-btn-size: 14px; --gcb-btn-px: 16px; --gcb-btn-py: 8px; }
.gcb-btn.gcb-btn--secondary[aria-current]:not([aria-current="false"]) { background: var(--gcb-kit-ink); color: #fff; }
[data-gcb-kit="section"][data-ground="ink"] .gcb-btn.gcb-btn--secondary[aria-current]:not([aria-current="false"]) { background: #f5f5f7; color: #000; }

/* the large button stays a 17px pill: Apple's big buttons are the same size, only roomier */
.gcb-btn.gcb-btn--lg:not(.gcb-btn--text) { font-size: 17px; padding: 14px 28px; }

/* OUTLINED CARDS HAVE NO OUTLINE. "No lines": the outline look (used for plans) becomes a Surface card. */
[data-gcb-kit="card"][data-look="outline"] { --gcb-card-line: none; background: var(--gcb-card-ground, #f5f5f7); }
/* PLAIN CARDS ARE PLAIN. The root card ground is for lifted cards, but the card part paints the plain look with the
   same token, so every plain card became a grey box (team) */
[data-gcb-kit="card"][data-look="plain"] { --gcb-card-ground: transparent; }
/* Apple's tiles: the title in ink, the line under it quiet (the brief's Muted for the second line; about). On a
   picture the words stay light. */
[data-gcb-kit="card"]:not([data-layout="over"]) .gcb-card__text { color: var(--gcb-kit-quiet); }
/* a badge alone above a card's title (Apple's "New") sits close to the title: the card has no slot for it (shop) */
.gcb-card__body > .gcb-card__text:has(> [data-gcb-kit="badge"]:only-child) { line-height: 1; margin-block-end: -4px; }
/* a card title follows Apple's title tracking, tighter than the body's */
.gcb-card__title { letter-spacing: 0.004em; line-height: 1.19; }
.gcb-card__meta { letter-spacing: -0.016em; }

/* THE NAVBAR IS APPLE'S BAR. Sticky, translucent and blurred, 52px tall, its links at 12px and its action a small
   pill. The navbar has no ground token, no sticky setting and no link size of its own (it reads the body size):
   all three are touches. The one hairline under it is Apple's, the only rule on the page. */
[data-gcb-kit="navbar"] {
	position: sticky; top: 0;
	min-height: 52px;
	background: rgb(251 251 253 / 0.8); /* Apple's local-nav glass; at 0.72 a black band behind it turned a grey slab (shop, product) */
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgb(0 0 0 / 0.08);
}
[data-gcb-kit="navbar"] [data-gcb-kit-logo] { font-size: 21px; font-weight: 600; letter-spacing: 0.011em; }
[data-gcb-kit="navbar"] [data-gcb-kit-menu-item] { font-size: 12px; letter-spacing: -0.01em; color: var(--gcb-kit-ink); opacity: 0.8; }
[data-gcb-kit="navbar"] [data-gcb-kit-menu-item]:hover,
[data-gcb-kit="navbar"] [data-gcb-kit-menu-item][aria-current="page"] { opacity: 1; color: var(--gcb-kit-ink); }
[data-gcb-kit="navbar"] [data-gcb-kit-menu-toggle] { color: var(--gcb-kit-ink); }
[data-gcb-kit="navbar"] .gcb-btn { --gcb-btn-size: 12px; --gcb-btn-py: 4px; --gcb-btn-px: 11px; min-height: 0; letter-spacing: -0.01em; }
/* A PAGE THAT OPENS ON NIGHT gets Apple's dark bar: a white bar over a black hero is the one seam (article). The
   navbar has no dark look; :has sees the first band. */
body:has(> main > [data-gcb-kit="section"][data-ground="ink"]:first-child) [data-gcb-kit="navbar"] {
	background: rgb(22 22 23 / 0.8); border-bottom-color: transparent; --gcb-kit-ink: #f5f5f7; color: #f5f5f7;
}

/* THE FOOTER IS SURFACE. It has no ground token; Apple's footer is #f5f5f7 with 12px grey words. */
[data-gcb-kit="footer"] {
	border-block-start: 0; /* no rule on top: after a Surface band it drew a seam across one grey (work); "no seam, no rule" */
	background: #f5f5f7; color: #6e6e73;
	letter-spacing: -0.01em; line-height: 1.33;
}
[data-gcb-kit="footer"] [data-gcb-kit-title] { color: #1d1d1f; font-weight: 600; }
[data-gcb-kit="footer"] [data-gcb-kit-home] { color: #1d1d1f; font-weight: 600; }
[data-gcb-kit="footer"] [data-gcb-kit="list"] { --gcb-list-gap: 8px; }
[data-gcb-kit="footer"] [data-gcb-kit="field"] { --gcb-field-ground: #fff; --gcb-field-line: #d2d2d7; --gcb-kit-text-body: 14px; --gcb-kit-control-h: 40px; }
[data-gcb-kit="footer"] [data-gcb-kit="field"] [data-gcb-kit-label] { font-size: 12px; font-weight: 600; color: #1d1d1f; }
[data-gcb-kit="footer"] [data-gcb-kit="field"] [data-gcb-kit-hint] { font-size: 12px; }
[data-gcb-kit="footer"] .gcb-btn { --gcb-btn-size: 14px; --gcb-btn-px: 16px; --gcb-btn-py: 8px; }

/* PLANS: the plan's name at a card's title size, its ticks in ink and its crosses quiet. The page asks for the
   accent on the ticks (data-tone="accent"); the brief keeps the blue for links and the one button. */
[data-gcb-kit="price-table"] { --gcb-card-title-size: var(--gcb-kit-text-heading); }
[data-gcb-kit="price-table"] [data-gcb-kit="list"] { --gcb-list-mark-color: var(--gcb-kit-ink); }
[data-gcb-kit="price-table"] [data-gcb-kit-off] { --gcb-list-mark-color: var(--gcb-kit-quiet); }
[data-gcb-kit="price-table"] [data-gcb-kit-amount] { letter-spacing: -0.01em; }

/* THE STAT'S FIGURE IS THE STATEMENT. Apple's numbers are huge and semibold, the label under them in ink, the note
   muted. The figure's size is the page's heading step, so the stat's own scale is set here, on the part. */
[data-gcb-kit="stat"] [data-gcb-kit-figure] { letter-spacing: -0.015em; }
/* the label is the end of the figure's sentence: regular, in the band's words; bold labels fought the figures
   (about, product) */
[data-gcb-kit="stat"] [data-gcb-kit-label] { font-weight: 400; font-size: 17px; }
[data-gcb-kit="stat"] [data-gcb-kit-note] { font-size: 14px; color: var(--gcb-kit-quiet); }
[data-gcb-kit="grid"] > [data-gcb-kit="stat"] [data-gcb-kit-note] { max-width: 22ch; margin-inline: auto; } /* centred notes wrap evenly */
/* A FIGURE THAT IS A LINK (a phone number) reads as the figure: Apple's big numbers are never blue (contact). Same for
   a link in a display heading. */
[data-gcb-kit="stat"] [data-gcb-kit-figure] a, [data-gcb-kit="heading"] > [data-gcb-atom="heading"] a { color: inherit; text-decoration: none; }
[data-gcb-kit="stat"] [data-gcb-kit-figure] a:hover { text-decoration-line: var(--gcb-kit-hover-heading); } /* a figure is a heading: not underlined (Mark, 2026-11-15) */
/* a row of stats is centred under its centred heading */
[data-gcb-kit="grid"] > [data-gcb-kit="stat"] { align-items: center; text-align: center; }

/* THE QUOTE'S BY-LINE is small and grey: the words are the point */
[data-gcb-kit="quote"] .gcb-person__name { font-weight: 600; font-size: 17px; }
[data-gcb-kit="quote"] .gcb-person__role { font-size: 14px; }

/* THE ACCORDION'S QUESTION reads as a title: 21px semibold, Apple's FAQ rows */
[data-gcb-kit="accordion"] [data-gcb-kit-trigger] { font-size: 21px; font-weight: 600; letter-spacing: 0.011em; }
[data-gcb-kit="accordion"] [data-gcb-kit-panel] { color: var(--gcb-kit-quiet); font-size: 17px; }

/* A BADGE is words in the accent with no fill: Apple's "New". The badge has a tone token but no "words only" look
   that the page could choose here, so its solid look is turned to words. */
[data-gcb-kit="badge"]:not(a, .gcb-card__pin *) { background: transparent; color: #bf4800; padding-inline: 0; font-weight: 600; border: 0; }
/* (scoped: a badge that is a link is a filter chip, and one pinned on a picture needs its fill; unscoped, this broke
   both on blog) */

/* THE TABLE: hairlines only between rows, Apple's spec sheets */
[data-gcb-kit="table"] { --gcb-kit-rule: #d2d2d7; }
[data-gcb-kit="table"] > table > tbody + tbody > tr:first-child > * { border-top-color: var(--gcb-kit-rule); } /* the seams between groups were darker than the rows */
/* the column heads are the plan names, and a row group's name is a heading with air above: Apple's compare pages.
   The table has no token for either (pricing). */
[data-gcb-kit="table"] > table > thead > tr > th,
[data-gcb-kit="table"] > table > tbody > tr > th[scope="rowgroup"] { font-size: var(--gcb-kit-text-section); font-weight: 600; letter-spacing: 0.011em; }
[data-gcb-kit="table"] > table > tbody > tr > th[scope="rowgroup"] { padding-block-start: 40px; }

/* PICTURES AND THE SEAM. "Nothing overlaps a seam but a picture": a full-bleed picture is square-cornered, and one
   that ends a band with no space under it meets the next band on the pixel (home, case-study, blog, pricing). The
   figure leaves its block margins to the page (the browser's 1em), and a site-wide radius reaches a full one too. */
[data-gcb-kit="figure"][data-width="full"] { --gcb-figure-radius: 0px; }
[data-gcb-kit="section"][data-space-bottom="none"] [data-gcb-kit="figure"]:last-child { margin-block-end: 0; }
/* a figure under a heading takes the heading's room, not the browser's 1em on top of it */
[data-gcb-kit="heading"] + [data-gcb-kit="figure"] { margin-block-start: 0; }
/* a picture with more under it in the same column stands off what follows (faq's accordion, shop's card row) */
[data-gcb-kit="container"] > [data-gcb-kit="figure"]:not(:last-child) { margin-block-end: clamp(2rem, 1.25rem + 2vw, 3rem); }
/* ON A PHONE A BIG 16/9 PICTURE IS CUT TALLER: at 342px wide it is a 192px strip, not "the picture is the point".
   The picture has one ratio for all widths (services, team, article). */
@media (max-width: 734px) {
	[data-gcb-kit="section"] [data-gcb-kit="container"] [data-gcb-kit="picture"][data-ratio="16/9"] { --gcb-picture-ratio: 4/3; }
}

/* LINKS THE PARTS LEAVE TO THE BROWSER take the one blue: in a list, a consent line, a rating (article, contact,
   product). The footer and the bar keep their own. */
:is([data-gcb-kit="list"], [data-gcb-kit="check"], [data-gcb-kit="rating"]) a:not(.gcb-btn, [data-gcb-kit="footer"] *, [data-gcb-kit="navbar"] *) {
	color: var(--gcb-text-link, var(--gcb-kit-accent)); text-decoration: none;
}
:is([data-gcb-kit="list"], [data-gcb-kit="check"], [data-gcb-kit="rating"]) a:not(.gcb-btn, [data-gcb-kit="footer"] *, [data-gcb-kit="navbar"] *):hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* SPEC LABELS: in a dl laid in rows the term is the quiet semibold label and the meaning the ink (Apple's tech
   specs); the list has no term token, and stacked on a phone the two were one grey paragraph (case-study) */
[data-gcb-kit="list"][data-flow="row"] > dt { color: var(--gcb-kit-muted); font-weight: 600; }
/* a list row's title is a title: semibold, as Apple's spec and role rows (team); list-group has no weight token */
[data-gcb-kit="list-group"] [data-gcb-kit-title] { font-weight: 600; }
/* facts under a picture are Apple's small muted feature lines, not body ink (services) */
[data-gcb-kit="text-media"][data-text="below"] [data-gcb-atom="words"] [data-gcb-kit="grid"] > li { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--gcb-kit-quiet); }

/* ARTICLE TYPE: story subheads at Apple's newsroom 28px, and small print's links quiet until hovered (article) */
[data-gcb-kit="text"] > h2 { font-size: var(--gcb-kit-text-heading); letter-spacing: 0.004em; line-height: 1.14; }
[data-gcb-kit="text"] [data-gcb-kit-small] a { text-decoration: none; }
[data-gcb-kit="text"] [data-gcb-kit-small] a:hover { text-decoration: underline; }
/* a band's fine print sits centred under a centred band: data-align=center only centres the column (contact) */
[data-gcb-kit="text"][data-align="center"] [data-gcb-kit-small] { text-align: center; }
/* the breadcrumb strip above the footer belongs to it: 12px, footer grey, no space under (case-study) */
main > [data-gcb-kit="section"]:last-child:has([data-gcb-kit="breadcrumbs"]) { --gcb-breadcrumbs-text: 12px; --gcb-breadcrumbs-ink: #424245; padding-block-end: 12px; }

/* FORMS: Apple's boxes are taller than its buttons; the 44px control height suits buttons, not boxes (contact) */
main form:not([data-gcb-kit="field"]) { --gcb-kit-control-h: 52px; }
/* a sign-up's pill sits beside its field, not joined: joined, the field's corners met a half-squared pill (blog) */
[data-gcb-kit="input-group"]:has(> .gcb-btn) { gap: 10px; }
[data-gcb-kit="input-group"] > .gcb-btn { border-radius: 980px; }
[data-gcb-kit="input-group"] > [data-gcb-kit-control] { border-radius: var(--gcb-kit-radius-field); }
/* a lone field under a centred heading is centred too: its label and hint stay on the page's axis (404) */
[data-gcb-kit="heading"][data-align="center"] + [data-gcb-kit="container"] > form[data-gcb-kit="field"] :is([data-gcb-kit-label], [data-gcb-kit-hint]) { text-align: center; }

/* THE BUY PICTURE STAYS PUT beside the options while they scroll, as on Apple's buy pages (product). text-media has
   no sticky setting. */
@media (min-width: 1024px) {
	[data-gcb-kit="text-media"][data-valign="start"] > [data-gcb-atom="media"] { position: sticky; top: 76px; }
}

/* MOTION: a fade as a section's words and pictures enter, once on the way down. Pure CSS (scroll-driven), so a
   page made only of parts carries it; nothing moves for someone who asked for less, or in a browser without it.
   No part has a reveal, and pages may carry no script: a touch. Scoped to sections, not <main>, so a page without
   <main> moves too (article). */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		[data-gcb-kit="section"] :is([data-gcb-kit="heading"], [data-gcb-kit="grid"] > *, [data-gcb-kit="figure"], [data-gcb-kit="text-media"], [data-gcb-kit="quote"], [data-gcb-kit="price-table"]) {
			animation: apple-rise linear both;
			animation-timeline: view();
			animation-range: entry 10% entry 70%;
		}
	}
}
@keyframes apple-rise {
	from { opacity: 0; translate: 0 32px; }
	to { opacity: 1; translate: 0 0; }
}
