/* ===== sunsprout.app layer 71, 17 November 2026 =====
   Loads after layer-70.css. Every block names the note it answers. */

/* 1. Hero. The film starts under the header, so the page opens the way it looks once you scroll.
      The headline sits 36 px or more under the header; the script that places it is edited in edits.json. */
#film { margin-top: calc(-1 * var(--hdrH, 72px)); }
/* The scroll cue sits beside the dots on wide screens, so it never lands on the iMac’s chin. */
@media (min-width: 760px) { #film .next { left: auto; right: clamp(12px, 2vw, 28px); transform: none; } }

/* 2. The logo’s sun rises once per visit (Motion lab section 12). 900 ms, the out curve, from behind the ground line. */
.top .brand .ss-sun { animation: ssSunRise 900ms cubic-bezier(.2, .8, .2, 1) 120ms both; }
@keyframes ssSunRise { from { transform: translateY(22px); } to { transform: translateY(0); } }
.sr-done .top .brand .ss-sun { animation: none; }
@media (prefers-reduced-motion: reduce) { .top .brand .ss-sun { animation: none; } }

/* 3. Will it work. The iMac turns round in the answer (Motion lab section 10), and the answer names both things to buy. */
#compat .wz-a71 { gap: 14px; }
#compat .wz-turn .tbt { margin: 0; gap: 0; }
#compat .wz-turn .tbt-chips, #compat .wz-turn .tbt-cap { display: none; }
#compat .wz-turn .tbt-stage { max-width: none; }
#compat .wz-turn .tbt-card { max-height: 236px; margin: 0 auto; }
#compat .wz-out { display: flex; flex-direction: column; gap: 16px; }
#compat .wz-needs { display: flex; flex-direction: column; gap: 8px; }
#compat .wz-needs > p { margin: 0; }
#compat .wz-need-h { font-size: 12.5px; font-weight: 600; color: var(--ink3); }
#compat .wz-warn { font-size: 13px; line-height: 1.45; color: var(--ink2); }
#compat .wz-ports small { max-width: 18ch; }
@media (max-width: 759px) {
  #compat .wz-a71:not(.turned) .wz-turn { display: none; }
  #compat .wz-turn .tbt-card { max-height: 168px; }
}

/* 4. Help › Which cable you need, as one table whose columns line up. The turning iMac moved to Will it work. */
.cbl { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cbl th, .cbl td { padding: 16px 20px; text-align: left; vertical-align: top; font-weight: 400; border-top: 1px solid var(--line); }
.cbl thead th { padding: 11px 20px; border-top: 0; font-size: 12.5px; font-weight: 600; color: var(--ink3); }
.cbl tbody th { width: 27%; }
.cbl td.cbl-get { width: 196px; }
.cbl b { display: block; font-size: 15px; line-height: 1.35; font-weight: 650; color: var(--ink); }
.cbl small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink3); }
.cbl-get .wz-buy { display: flex; justify-content: center; width: 100%; height: 36px; font-size: 14px; }
.cbl-get .wz-buy + .wz-buy { margin-top: 8px; }
.cbl-more { margin: 0; font-size: 14px; color: var(--ink2); }
@media (max-width: 760px) {
  .cbl, .cbl tbody { display: block; }
  .cbl thead { display: none; }
  .cbl tr { display: block; padding: 16px; border-top: 1px solid var(--line); }
  .cbl tbody tr:first-child { border-top: 0; }
  .cbl th, .cbl td, .cbl tbody th, .cbl td.cbl-get { display: block; width: auto; padding: 0; border: 0; }
  .cbl td { margin-top: 8px; }
  .cbl td.cbl-get { display: flex; gap: 8px; margin-top: 14px; }
  .cbl-get .wz-buy { flex: 1; }
  .cbl-get .wz-buy + .wz-buy { margin-top: 0; }
}
/* The three ways to connect, and the answer’s buttons, on shared edges */
#compat .wz-opts div { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 2px 16px; align-items: baseline; justify-content: start; }
#compat .wz-opts div span { grid-column: 1; grid-row: 1; text-align: left; font-size: 13.5px; }
#compat .wz-opts div b { grid-column: 2; grid-row: 1; }
#compat .wz-opts div b i { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink3); }
#compat .wz-need .wz-buy { min-width: 152px; justify-content: center; }

/* 5. Download and beta share one section, as two cards of the same height. */
.get71 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.get71 .bt4 { max-width: none; width: auto; margin: 0; height: 100%; grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: space-between; }
.dl71 { grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 26px; margin: 0; padding: clamp(26px, 3.4vw, 44px); scroll-margin-top: 96px; box-shadow: inset 0 0 0 1px var(--line); }
.dl71 .dl-k { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 12px; background: var(--paper2); font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.dl71 h2 { margin: 14px 0 0; font: 700 clamp(1.9rem, 3.1vw, 2.5rem)/1.06 var(--f-display); letter-spacing: -0.035em; color: var(--ink); }
.dl71 .dl-t p { margin: 10px 0 0; font-size: 1.05rem; color: var(--ink2); }
.dl71 .apps { flex-direction: column; align-items: flex-start; gap: 14px; }
.dl71 .apps svg { width: 44px; height: 44px; }
.dl71 .side { align-items: stretch; gap: 10px; }
.dl71 .side .btn { width: 100%; justify-content: center; }
.dl71 .side p { margin: 0; text-align: left; font-size: 13px; color: var(--ink3); }
@media (max-width: 900px) { .get71 { grid-template-columns: minmax(0, 1fr); } }
@media (hover: none) and (pointer: coarse) { .dl71 .apps, .dl71 .side { display: none; } }

/* 6. Beta. The button fills graphite from the left as the form sends, then shows the check glyph. No spinner. */
.bt4-go { position: relative; overflow: hidden; isolation: isolate; }
.bt4-go::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #2B2622; transform: scaleX(0); transform-origin: left center; }
.bt4-go::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; color: #F6EEE2; clip-path: inset(0 100% 0 0); pointer-events: none; }
.bt4-go.ss-sending::before { transform: scaleX(.9); transition: transform 1600ms cubic-bezier(.2, .8, .2, 1); }
.bt4-go.ss-sending::after { clip-path: inset(0 10% 0 0); transition: clip-path 1600ms cubic-bezier(.2, .8, .2, 1); }
.bt4-go.ss-sent { color: #F6EEE2; }
.bt4-go.ss-sent::before { transform: scaleX(1); transition: transform 240ms cubic-bezier(.2, .8, .2, 1); }
.bt4-go.ss-sent::after { display: none; }
.bt4-go .ss-chk { display: inline-flex; align-items: center; gap: 8px; }
.bt4-go .ss-chk svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { .bt4-go::before, .bt4-go::after { transition: none !important; } }

/* 7. Pricing. The tree grows in the band as it comes into view; the count rolls up once it is 100 or more. */
.tplant .tleaf svg.ss-tree { width: 100%; height: 100%; overflow: visible; }
