/* Layout shared by the service pages (/website-design-for-coaches, /paid-ads, /organic-content).
   Loads after /assets/apple-core.css and uses its tokens: light surfaces, one accent, SF type. */

.sec.tint { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); align-items: end; margin-bottom: var(--s-6); }
.h2 { font-size: clamp(2.125rem, 1.4rem + 2.9vw, 3.5rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; max-width: 18ch; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.47; letter-spacing: -.018em; color: var(--ink-2); max-width: 36em; }
.lede a { color: var(--accent); }
.lede a:hover { text-decoration: underline; text-underline-offset: .18em; }

.crumbs { display: flex; gap: .5rem; font-size: .875rem; color: var(--ink-3); margin-bottom: var(--s-3); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--hair); }
.crumbs a { color: var(--ink-2); border-radius: 4px; transition: color 160ms ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs a:active { opacity: .7; }
.hero-h1 { font-size: clamp(2.75rem, 1.4rem + 5vw, 4.75rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.hero-h1 .soft { color: var(--ink-3); }
.hero-lede { margin: var(--s-3) auto 0; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.3125rem); line-height: 1.38; letter-spacing: -.02em; color: var(--ink-2); max-width: 34em; }

.statement { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; max-width: 22ch; }
.stats-wrap { padding-top: var(--s-6); padding-bottom: var(--s-7); }

/* Device frames: a light browser, a dark-bezel phone */
.browser { position: relative; border-radius: var(--r-2); background: var(--canvas); box-shadow: 0 0 0 1px rgba(29, 29, 31, .08), var(--lift-3); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--mist); border-bottom: 1px solid rgba(29, 29, 31, .06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(29, 29, 31, .14); }
.browser-bar span { margin-left: 10px; flex: 1; max-width: 300px; height: 22px; border-radius: 7px; background: var(--canvas); font-size: .75rem; line-height: 22px; color: var(--ink-3); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.screen img { width: 100%; height: auto; transform: translateY(0); transition: transform 6s cubic-bezier(.45, 0, .25, 1); will-change: transform; }
.scrolls { cursor: ns-resize; }
.scrolls:hover .screen img, .scrolls:focus-within .screen img, .scrolls:focus .screen img { transform: translateY(var(--travel, -60%)); }
.phone { position: relative; width: 100%; border-radius: 26px; padding: 6px; background: var(--ink); box-shadow: var(--lift-3); }
.phone .screen { aspect-ratio: 9 / 19; border-radius: 20px; }

/* Cross-links between the three services */
.x-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.x-svc a { display: block; padding: var(--s-4); border-radius: var(--r-3); background: var(--canvas); transition: transform 200ms var(--ease), box-shadow 300ms ease; }
.x-svc a:hover { box-shadow: var(--lift-2); }
.x-svc a:active { transform: scale(.98); }
.x-svc a::after { content: "Learn more"; display: inline-block; margin-top: var(--s-3); font-size: 1rem; color: var(--accent); }
.x-svc a[aria-current] { box-shadow: inset 0 0 0 1.5px var(--ink); pointer-events: none; }
.x-svc a[aria-current]::after { content: "You're here"; color: var(--ink-3); }
.x-svc b { display: block; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.x-svc span { display: block; margin-top: .5rem; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.sec:not(.tint) .x-svc a { background: var(--mist); }

/* "Read the guide" link under a statement */
.guide-link { margin-top: var(--s-4); font-size: 1.0625rem; }

@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; gap: var(--s-3); margin-bottom: var(--s-5); }
  .x-svc { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .scrolls:hover .screen img, .scrolls:focus-within .screen img { transform: none; }
}
