/* Landing v3 — loads after /styles.css and only adds to it.
   The one new idea: the sky is paint. Watercolor slices from the app's own planet
   set sit behind content at 20–35% opacity and drift slowly. No new hex values. */

.wrap { max-width: 980px; }
nav .navlink { color: var(--ink2); font-size: 14px; margin-left: 20px; }
@media (max-width: 620px) { nav .navlink { display: none; } }

/* A slice of one long painting. The inner layer is wider than its frame and
   drifts, so the paint moves like weather rather than sliding like a banner. */
.paint { position: absolute; overflow: hidden; pointer-events: none; border-radius: 2px; }
.paint i { position: absolute; inset: -40% -30%; background-size: cover; background-position: center;
  animation: drift 70s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-9%, 0, 0) scale(1.02); } to { transform: translate3d(9%, 0, 0) scale(1.08); } }
.paint.venus i { background-image: url(/assets/sky-venus.jpg); }
.paint.saturn i { background-image: url(/assets/sky-saturn.jpg); }
.paint.jupiter i { background-image: url(/assets/sky-jupiter.jpg); }

/* Hero */
.hero3 { position: relative; display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: center; padding: 40px 0 64px; }
@media (max-width: 760px) { .hero3 { grid-template-columns: 1fr; } }
.hero3 .paint { left: calc(50% - 50vw); width: 100vw; top: 22%; height: 46%; opacity: 0.3; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.hero3 h1 { font: 400 clamp(36px, 4.8vw, 54px)/1.1 var(--serif); }
.hero3 p.sub { color: var(--ink2); font-size: 17.5px; margin: 20px 0 28px; max-width: 30em; }
.hero3 .phone { max-width: 360px; }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
  border-top: 1px solid var(--hair); padding: 24px 0; }
.proof div { font-size: 13.5px; color: var(--ink2); }
.proof strong { display: block; font: 600 14px var(--sans); color: var(--ink); }

/* The example month. Month-view chips follow the app: a 3px saturated bar and an ink title. */
.month-sec { border-top: 1px solid var(--hair); padding: 56px 0; }
.month-sec h2, .ai h2, .faq h2, .versus h2 { font: 400 32px/1.2 var(--serif); margin: 8px 0 10px; }
.month-sec p.lead, .ai p.lead, .versus p.lead { color: var(--ink2); max-width: 38em; }
.month-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; margin-top: 32px; align-items: start; }
@media (max-width: 820px) { .month-grid { grid-template-columns: 1fr; } }

.month { background: var(--raised); border: 1px solid var(--hair); border-radius: 20px; padding: 20px 14px 10px; }
.month h3 { font: 400 26px/1 var(--serif); padding: 0 6px 12px; }
.dow, .week { display: grid; grid-template-columns: repeat(7, 1fr); }
.dow span { font: 500 11px var(--sans); color: var(--ink3); padding: 0 6px 6px; }
.week { position: relative; min-height: 88px; padding-bottom: 30px; margin-bottom: 8px; }
.d { padding: 4px 6px; min-width: 0; position: relative; }
.d b { font: 500 13px var(--sans); font-variant-numeric: tabular-nums; display: inline-grid; place-items: center;
  width: 26px; height: 26px; position: relative; z-index: 1; }
/* The planet stands behind the date on the day a transit is exact. */
.d.exact b::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -1; opacity: 0.75;
  background-size: 118%; background-position: center; }
.d.exact.venus b::before { background-image: url(/assets/disc-venus.jpg); }
.d.exact.jupiter b::before { background-image: url(/assets/disc-jupiter.jpg); }
.ev { display: block; margin-top: 3px; padding-left: 5px; border-left: 3px solid; font: 500 10px/1.35 var(--sans);
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.blue { border-color: #3e6e9e; } .ev.green { border-color: #4e7c5a; } .ev.plum { border-color: #7a4e6e; }
.ev.mustard { border-color: #8a6a18; } .ev.coral { border-color: #b8503a; }

/* On a phone the cells are too narrow for titles, so an event is just its colour bar. */
@media (max-width: 520px) {
  .ev { font-size: 0; padding: 0; border-left: 0; border-top: 4px solid; border-radius: 2px; width: 78%; margin-top: 6px; }
  .week { min-height: 72px; }
}

/* A band is a button: --c is its first column (0–6), --s how many days it spans. */
.band { position: absolute; bottom: 2px; height: 22px; left: calc(var(--c) / 7 * 100%); width: calc(var(--s) / 7 * 100%);
  border: 0; padding: 0; background: none; cursor: pointer; }
.band::after { content: ""; position: absolute; inset: -11px 0; }            /* 44px tap target */
.band .paint i { background-size: 170% auto; }
.band .paint.saturn i { background-size: 320% auto; background-position: 29% 20%; }   /* the slate edge of the painting: demanding */
.band.cont-r .paint i { background-position: 35% 50%; }
.band.cont-l .paint i { background-position: 65% 50%; }                          /* the next stretch of the same painting */
.band .paint { inset: 0; opacity: 0; transition: opacity 400ms cubic-bezier(0.33, 1, 0.68, 1); transition-delay: calc(var(--i) * 60ms);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 35%, #000 65%, transparent); }
.band.cont-r .paint { -webkit-mask-image: linear-gradient(to right, transparent, #000 60%); mask-image: linear-gradient(to right, transparent, #000 60%); }
.band.cont-l .paint { -webkit-mask-image: linear-gradient(to right, #000 40%, transparent); mask-image: linear-gradient(to right, #000 40%, transparent); }
.month.in .band .paint { opacity: 0.5; }
.month.in .band[aria-pressed="true"] .paint, .month.in .band:hover .paint { opacity: 0.9; }
.band:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.legend { list-style: none; padding: 12px 6px 4px; margin-top: 6px; border-top: 1px solid var(--hair);
  font-size: 12px; color: var(--ink3); display: flex; flex-wrap: wrap; gap: 4px 18px; }

.reading { padding-top: 6px; }
.reading .micro { font: 600 10px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink3); }
.reading h3 { font: 400 26px/1.2 var(--serif); margin: 8px 0 10px; }
.reading p.voice { font: 400 17px/1.55 var(--serif); color: var(--ink); }
.reading p.tech { font-size: 13px; color: var(--ink3); margin-top: 14px; }
.reading ul { list-style: none; padding: 0; margin-top: 8px; }
.reading li { font-size: 14px; color: var(--ink2); padding: 7px 0; border-top: 1px solid var(--hair); }
.reading li span { color: var(--ink3); font-variant-numeric: tabular-nums; margin-right: 10px; }
.reading .hint { font-size: 12.5px; color: var(--ink3); margin-top: 18px; }

/* A phone you can scroll: the whole Elect result is one tall capture inside a device-shaped window. */
.phone-scroll-wrap { text-align: center; }
.phone-scroll { width: 100%; max-width: 340px; aspect-ratio: 402 / 874; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 42px; border: 1px solid var(--hair); box-shadow: 0 24px 60px rgba(26,24,21,0.14); background: var(--paper);
  scrollbar-width: none; }
.phone-scroll::-webkit-scrollbar { display: none; }
.phone-scroll img { display: block; width: 100%; height: auto; }
.phone-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.phone-hint { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 14px; }

/* Trine in your AI assistant */
.ai { position: relative; border-top: 1px solid var(--hair); padding: 56px 0; }
.asks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.asks li { background: var(--raised); border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px;
  font: 400 16.5px/1.45 var(--serif); color: var(--ink); }
.asks li small { display: block; font: 400 12.5px/1.5 var(--sans); color: var(--ink3); margin-top: 8px; }
.ghost-btn { display: inline-block; border: 1px solid var(--accent); color: var(--accent); border-radius: 12px;
  padding: 13px 24px; font: 600 15px var(--sans); margin-left: 10px; }
.ghost-btn:hover { background: rgba(201,138,107,0.12); text-decoration: none; }
@media (max-width: 520px) { .ghost-btn { margin: 12px 0 0; } }

/* Comparison + FAQ: written so each row and each answer stands alone when quoted. */
.versus { border-top: 1px solid var(--hair); padding: 56px 0; }
.versus table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14.5px; }
.versus th, .versus td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--hair); color: var(--ink2); }
.versus thead th { border-top: 0; font: 600 11px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink3); }
.versus tbody th { font-weight: 500; color: var(--ink); width: 24%; }
.versus td.us { color: var(--ink); }

.faq { border-top: 1px solid var(--hair); padding: 56px 0; }
.faq details { border-top: 1px solid var(--hair); padding: 16px 0; max-width: 46em; }
.faq summary { font: 500 16px var(--sans); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink2); font-size: 15px; margin-top: 10px; }

.final-cta { position: relative; overflow: hidden; }
.final-cta .paint { inset: 0; opacity: 0.22; z-index: -1; }

.draft { background: var(--sunken); color: var(--ink2); font-size: 13px; text-align: center; padding: 8px 16px; }
.legal h3 { font: 600 15px var(--sans); color: var(--ink); margin: 20px 0 6px; }
.legal table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--hair); color: var(--ink2); }
.legal th { color: var(--ink); font-weight: 600; width: 32%; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 38px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(201,138,107,0.16); color: var(--accent); font: 600 13px/26px var(--sans); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .paint i { animation: none; }
  .band .paint { transition: opacity 150ms linear; transition-delay: 0s; }
}
