/* Daykin · printables and guides
   Loaded after site.css. Same type, palette, Daykin rig and motion rules as the landing page. */

.field-lime-soft { background: linear-gradient(180deg, var(--field-lime) 0%, #f3fbd6 100%); }
.field-peach-soft { background: linear-gradient(180deg, var(--field-peach) 0%, #ffe6d5 100%); }
.field-sky { background: #d9e2fb; }

.crumb { margin: 0 0 1.4rem; font-weight: 650; font-size: 0.95rem; }
.crumb a { text-underline-offset: 4px; }

/* ------------------------------------------------------------ buttons */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.9rem; }
.cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; padding: 0 26px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.72); color: var(--ink); border: 1.5px solid rgba(23, 18, 62, 0.18);
  font-weight: 750; font-size: 1.08rem; text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.cta-ghost:hover { transform: translateY(-2px); background: var(--white); }
.cta svg, .cta-ghost svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fine { font-size: 0.95rem; color: var(--ink-soft); margin: 14px 0 0; max-width: 46ch; }

/* ------------------------------------------------------------ sheet hero */

.sheet-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(88vh, 860px);
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 88px);
}
.sheet-hero-copy { position: relative; z-index: 2; max-width: 620px; justify-self: end; width: 100%; }
.sheet-hero h1.display { font-size: clamp(3.1rem, 1.5rem + 5.2vw, 6.6rem); }
.sheet-hero .lede { max-width: 30ch; }

.desk { position: relative; z-index: 1; width: 100%; max-width: 600px; aspect-ratio: 1 / 1.02; justify-self: start; }
.paper {
  position: absolute; margin: 0; width: 60%; aspect-ratio: 595 / 842;
  background: var(--white); border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(23, 18, 62, 0.45), 0 2px 6px rgba(23, 18, 62, 0.08);
}
.paper img { width: 100%; height: 100%; object-fit: cover; }
.paper-back { top: 6%; left: 34%; transform: rotate(6deg); }
.paper-front { top: 2%; left: 14%; transform: rotate(-3.5deg); }
.desk .prop { position: absolute; z-index: 3; width: 34%; filter: drop-shadow(0 18px 22px rgba(23, 18, 62, 0.18)); pointer-events: none; }
.desk .prop img { width: 100%; }
.desk .prop-a { left: -2%; bottom: 4%; }
.desk .prop-b { left: 22%; bottom: -3%; width: 22%; }
.desk-daykin { position: absolute; z-index: 4; right: -2%; bottom: 0; width: 38%; }
.desk-daykin:focus-visible { outline-offset: -14px; border-radius: 40%; }

/* The settling dish: empty first, then full (see site.js wireSettle). */
.settle { position: relative; display: block; }
.settle .settle-to { position: absolute; inset: 0; }
.js.motion-on .settle .settle-to { transition: opacity 420ms ease 120ms; }
.js.motion-on .settle:not(.is-settled) .settle-to { opacity: 0; }
.js.motion-on .settle.is-settled { animation: settle-squash 560ms cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 90%; }
@keyframes settle-squash { 0% { transform: scale(1, 1); } 35% { transform: scale(1.04, 0.95); } 70% { transform: scale(0.99, 1.02); } 100% { transform: scale(1, 1); } }

/* ------------------------------------------------------------ bands */

.band { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.band-inner { max-width: var(--max); margin: 0 auto; }
.band h2.display { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.6rem); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.band-head p { max-width: 44ch; color: var(--ink-soft); margin: 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 28px 26px 26px; border-radius: 30px; background: var(--white);
  box-shadow: 0 24px 44px -34px rgba(23, 18, 62, 0.4);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; min-width: 2.3em; height: 2.3em; padding: 0 0.5em; margin-bottom: 18px;
  border-radius: 999px; border: 1.5px solid currentColor; font-weight: 700; font-size: 0.88rem; font-variant-numeric: tabular-nums;
}
.steps h3 { margin: 0 0 0.45em; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center;
  margin-top: 22px; padding: 22px 26px; border-radius: 28px; background: var(--field-lilac-soft);
}
.callout img { width: 84px; height: 84px; }
.callout p { margin: 0; max-width: 70ch; }
.callout strong { font-weight: 800; }

/* ------------------------------------------------------------ the app band */

.app-band { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.app-band-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.app-band h2.display { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5.2rem); color: var(--white); }
.app-band .act-number { color: rgba(255, 255, 255, 0.9); }
.app-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.9rem; }
.app-list li { position: relative; padding-left: 1.6rem; max-width: 52ch; }
.app-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.app-list strong { color: var(--white); }
.app-band .cta-row { margin-top: 2.2rem; }
.app-band .launch-status, .app-band .pill-status { color: rgba(255, 255, 255, 0.8); }
.pill-status {
  display: inline-block; margin: 0 0 0.4rem; padding: 6px 14px; border-radius: 999px;
  background: rgba(221, 245, 107, 0.16); border: 1px solid rgba(221, 245, 107, 0.5);
  font-size: 0.92rem; font-weight: 650;
}
.app-band .cta { --cta-bg: var(--iris); }
.app-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1.12; justify-self: center; }
.app-stage .glow { position: absolute; inset: 8% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(219, 199, 252, 0.42), transparent); }
.app-stage .prop { position: absolute; filter: drop-shadow(0 26px 34px rgba(10, 4, 40, 0.4)); pointer-events: none; }
.app-stage .prop img { width: 100%; }
.app-stage .prop-main { width: 44%; left: 4%; bottom: 10%; }
.app-stage .prop-side { width: 28%; right: 6%; top: 4%; }
.app-stage .app-daykin { position: absolute; width: 50%; right: 0; bottom: 0; }

/* ------------------------------------------------------------ printable cards */

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card { display: flex; flex-direction: column; text-decoration: none; border-radius: 30px; background: var(--white); overflow: hidden; box-shadow: 0 24px 44px -34px rgba(23, 18, 62, 0.45); transition: transform 180ms ease, box-shadow 180ms ease; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(23, 18, 62, 0.5); }
.p-cover { position: relative; aspect-ratio: 1.08; display: grid; place-items: center; overflow: hidden; background: var(--surface, var(--field-lilac)); }
.p-cover .sheet-thumb { width: 54%; aspect-ratio: 595 / 842; background: var(--white); border-radius: 4px; box-shadow: 0 16px 26px -14px rgba(23, 18, 62, 0.45); transform: rotate(-4deg); transition: transform 220ms ease; }
.p-card:nth-child(even) .sheet-thumb { transform: rotate(4deg); }
.p-card:hover .sheet-thumb { transform: rotate(0deg) translateY(-4px); }
.p-cover .sheet-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.p-cover .thumb-prop { position: absolute; width: 30%; right: 6%; bottom: 4%; filter: drop-shadow(0 12px 14px rgba(23, 18, 62, 0.2)); }
.p-body { padding: 20px 22px 24px; }
.p-body h3 { margin: 0 0 0.35em; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.38rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.p-body p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.45; }
.p-body .tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--field-lilac-soft); font-size: 0.78rem; font-weight: 700; }
.surface-lilac { --surface: #e4d7fb; }
.surface-lime { --surface: #e3f3b0; }
.surface-peach { --surface: #ffdcc4; }
.surface-sky { --surface: #d8dff8; }
.surface-rose { --surface: #f9d6d6; }

.pack-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; padding: 22px 26px; border-radius: 28px; background: rgba(255, 255, 255, 0.7); }
.pack-row p { margin: 0 auto 0 0; font-weight: 650; max-width: 44ch; }
.pack-row a { font-weight: 750; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }

.guide-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  margin-top: 22px; padding: 18px 24px; border-radius: 28px; background: var(--field-plum); color: #efe8ff; text-decoration: none;
}
.guide-link img { width: 72px; height: 72px; }
.guide-link strong { display: block; color: var(--white); font-size: 1.15rem; letter-spacing: -0.01em; }
.guide-link span { color: rgba(239, 232, 255, 0.8); font-size: 0.98rem; }
.guide-link .arrow { font-size: 1.6rem; color: var(--lime); }

/* ------------------------------------------------------------ printables index hero */

.lib-hero { padding-bottom: clamp(36px, 5vw, 72px); }
.lib-hero .studio { width: 100%; max-width: 640px; justify-self: start; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 50px 80px -46px rgba(23, 18, 62, 0.55); }
.lib-hero .studio img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ------------------------------------------------------------ guide */

.guide-hero h1.display { font-size: clamp(2.8rem, 1.2rem + 4.6vw, 6rem); }
.guide-hero .lede { max-width: 36ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.guide-meta li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); font-size: 0.86rem; font-weight: 700; }
.hero-stage .prop { position: absolute; z-index: 1; filter: drop-shadow(0 18px 22px rgba(23, 18, 62, 0.18)); pointer-events: none; }
.hero-stage .prop img { width: 100%; }
.hero-stage .prop-dish { width: 15%; left: 27%; bottom: 15%; }
.hero-stage .prop-sun { width: 9%; left: 60%; bottom: 63%; }

.guide-body { background: var(--white); padding: clamp(56px, 7vw, 100px) var(--gutter); }
.guide-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 760px); gap: clamp(28px, 5vw, 80px); justify-content: center; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 0.95rem; }
.toc p { font-weight: 800; margin-bottom: 0.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid #ece6fb; }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.toc a:hover { color: var(--ink); border-left-color: var(--iris); }
.prose h2 { font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05; margin: 2.2em 0 0.55em; text-wrap: balance; }
.prose > section:first-child h2 { margin-top: 0; }
.prose h3 { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; margin: 1.6em 0 0.4em; }
.prose p, .prose li { max-width: 66ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose a { font-weight: 650; text-underline-offset: 3px; }
.fact-card { margin: 1.2em 0 1.4em; padding: 24px 26px; border-radius: 28px; background: var(--field-lilac-soft); }
.fact-card .when { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--white); font-weight: 750; font-size: 0.9rem; }
.fact-card p:last-child { margin-bottom: 0; }
.unknowns { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.unknowns li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 18px; border-radius: 20px; background: var(--field-cream); margin: 0; }
.unknowns li b { display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--white); font-weight: 800; }
.keep-list { list-style: none; padding: 0 !important; counter-reset: keep; display: grid; gap: 14px; }
.keep-list li { counter-increment: keep; position: relative; padding: 20px 22px 20px 74px; border-radius: 24px; background: var(--field-cream); margin: 0; }
.keep-list li::before { content: counter(keep); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--field-lilac); font-weight: 800; }
.keep-list h3 { margin: 0 0 0.3em; }
.keep-list p { margin: 0; }
.safety { margin-top: 2.4em; padding: 22px 24px; border-radius: 24px; border: 1.5px solid #ece6fb; }
.safety p:last-child { margin-bottom: 0; }
.sources { font-size: 0.95rem; color: var(--ink-soft); }
.sources li { margin-bottom: 0.4em; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 899px) {
  .sheet-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 22px; }
  .sheet-hero-copy { justify-self: stretch; }
  .desk { justify-self: center; max-width: 460px; }
  .band-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .app-band-inner { grid-template-columns: 1fr; }
  .app-stage { max-width: 420px; }
  .card-grid, .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .lib-hero .studio { justify-self: center; }
}

@media (max-width: 560px) {
  .btn-row { gap: 10px; margin-top: 1.5rem; }
  .btn-row .cta, .btn-row .cta-ghost { flex: 1 1 auto; padding: 0 14px; min-height: 54px; font-size: 1.02rem; }
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .p-cover { aspect-ratio: 1.5; }
  .p-cover .sheet-thumb { width: 38%; }
  .callout { grid-template-columns: 1fr; }
  .guide-link { grid-template-columns: auto minmax(0, 1fr); }
  .guide-link .arrow { display: none; }
  .steps li { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-ghost, .p-card, .p-cover .sheet-thumb { transition: none; }
  .settle .settle-to { transition: none !important; }
  .settle.is-settled { animation: none !important; }
}
.motion-off .cta-ghost, .motion-off .p-card, .motion-off .p-cover .sheet-thumb { transition: none; }
.motion-off .p-card:hover, .motion-off .p-card:hover .sheet-thumb { transform: none; }
.motion-off .p-card:nth-child(odd) .sheet-thumb { transform: rotate(-4deg); }
.motion-off .p-card:nth-child(even) .sheet-thumb { transform: rotate(4deg); }

/* ------------------------------------------------------------ small props and the app phone */

.desk .prop-a.prop-small { width: 24%; left: 2%; bottom: 8%; }
.app-stage .app-phone { position: absolute; left: 6%; top: 0; width: min(48%, 260px); }
.app-stage .app-phone + .app-daykin { width: 46%; }
.pill-status[hidden] { display: none; }

/* A soft pool of light behind the desk, like the landing hero's stage. */
.desk::before { content: ""; position: absolute; inset: -8% -12% -6% -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 72%); pointer-events: none; }
.lib-hero .studio { position: relative; }
.field-white .pack-row { background: var(--field-lilac-soft); }
