/* CoWeave: the landing page (Cory, 2026-10-17: options A and B, blended, then refined). Colors and
   type are the site's own (pro.css). One signature moment, the weave, and then the real product,
   shown as pictures in three carousels (public/showcase, built by tools/showcase.mjs). */
body.lp { display: block; overflow-x: hidden; }
.lp main { max-width: none; padding: 0; margin: 0; }
.lp a.btn { display: inline-block; text-decoration: none; }
.lp .btn:focus-visible, .lp a:focus-visible, .lp button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lp .wrap { max-width: 70rem; margin: 0 auto; padding: 0 clamp(16px, 4vw, 2.5rem); }
.lp .kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 1rem; }

/* The bar: quiet at the top, a frosted strip once the page moves. */
.lp-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.4rem; padding: .85rem clamp(16px, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.lp-bar.scrolled { border-bottom-color: var(--line); }
.lp-bar .mark { margin-right: auto; }
.lp-bar nav { display: flex; align-items: center; gap: 1.3rem; font-size: .94rem; }
.lp-bar nav a { color: var(--muted); text-decoration: none; }
.lp-bar nav a:hover { color: var(--ink); }
.lp-bar nav a.btn, .lp-bar nav a.btn:hover { color: var(--bg); }
.lp-bar .btn { padding: .55rem 1.05rem; font-size: .92rem; }
@media (max-width: 760px) { .lp-bar nav .wide { display: none; } }

/* Reveal on scroll: visible by default, animated only where motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
}

/* ── The opening: the promise on the left, the product on the right, the weave beneath ── */
.lp-hero { padding-top: clamp(2.5rem, 8vh, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -.02em; max-width: 12ch; }
.lp-hero .lede { font-size: clamp(1.06rem, 1.8vw, 1.25rem); max-width: 34rem; margin-top: 1.4rem; color: var(--muted); }
.lp-hero .facts { margin: 1rem 0 0; font-size: .98rem; color: var(--ink); max-width: 34rem; }
.lp-hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
#loom { display: block; width: 100%; height: clamp(9rem, 24vh, 14rem); margin-top: clamp(2rem, 6vh, 3.5rem); }

/* The two tiles, layered: the comparison sits over the profile's lower right corner. */
.tile-stack { position: relative; }
.ui { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 4px rgba(29,22,38,.05), 0 18px 50px rgba(29,22,38,.14); padding: 1rem 1.1rem; font-size: .8rem; }
.ui .top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.ui .who { font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.ui .role { color: var(--muted); font-size: .76rem; }
.ui .pill { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: .2rem .55rem; font-weight: 600; white-space: nowrap; }
.ui-profile { width: 19rem; max-width: 84%; z-index: 1; }
.ui-profile dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .42rem .9rem; }
.ui-profile dt { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding-top: .15rem; }
.ui-profile dd { margin: 0; font-weight: 600; }
.ui-profile dd small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
.ui-profile .sep { grid-column: 1 / -1; height: 1px; background: var(--line); margin: .2rem 0; }
.ui-pair { width: 17.5rem; max-width: 80%; z-index: 2; margin: -5.5rem 0 0 auto; }
.ui-pair .lever { background: var(--gold-soft); border-radius: 12px; padding: .7rem .8rem; margin-bottom: .8rem; }
.ui-pair .lever b { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.ui-pair h4 { margin: .2rem 0 .3rem; font-size: .8rem; }
.ui-pair p { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .ui-profile { animation: float 9s ease-in-out infinite; }
  .ui-pair { animation: float 9s ease-in-out -4.5s infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}

/* ── Sections ── */
.lp-sec { padding: clamp(4.5rem, 11vh, 7.5rem) 0; }
.lp-sec h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 24ch; }
.lp-sec .sub { color: var(--muted); max-width: 40rem; margin: .8rem 0 2.2rem; }
/* After a carousel, the next section begins one gap later, the same gap that leads to the vision. */
.lp-lenses, .lp-gets { padding-top: 0; }

.lp-why .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lp-why h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; letter-spacing: -.01em; position: sticky; top: 6rem; max-width: none; }
.lp-why p { font-size: 1.1rem; line-height: 1.75; margin: 0 0 1.2rem; color: var(--ink); }
.lp-why p:last-child { color: var(--muted); }

.lp-moves { border-top: 1px solid var(--line); }
.lp-moves ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.lp-moves ol svg { width: 4.5rem; height: 3rem; display: block; margin-bottom: 1.2rem; overflow: visible; }
.lp-moves ol svg path { fill: none; stroke-width: 2; stroke-linecap: round; }
.lp-moves .t1 { stroke: var(--gold); } .lp-moves .t2 { stroke: color-mix(in srgb, var(--accent) 55%, var(--gold)); } .lp-moves .t3 { stroke: var(--accent); }
.lp-moves h3 { font-family: var(--serif); font-size: 1.45rem; margin: 0 0 .5rem; }
.lp-moves .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 .4rem; }
.lp-moves p { margin: 0; color: var(--muted); }
.lp-moves .sc { margin-top: clamp(5rem, 13vh, 8rem); }

/* ── The lenses ── */
.lens-cols { display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.loom-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.loom-list li { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.loom-list b { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; }
.loom-list .d { color: var(--muted); }
.loom-list li.grp { display: block; padding: 1.3rem 0 .4rem; border-bottom: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ── What your team gets ── */
.lp-gets .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lp-gets article { background: var(--surface); padding: clamp(1.4rem, 3vw, 2rem); }
.lp-gets h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 .6rem; }
.lp-gets article p { margin: 0 0 .7rem; color: var(--muted); }
.lp-gets article p:last-child { margin-bottom: 0; }

.lp-vision { background: var(--surface-2); text-align: center; }
.lp-vision blockquote { margin: 0 auto; max-width: 46ch; font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.95rem); line-height: 1.35; letter-spacing: -.005em; text-wrap: balance; }
.lp-vision blockquote p { margin: 0 0 1rem; }
.lp-vision blockquote p:last-child { margin: 0; }
.lp-vision .vision-tag { margin-top: 1.6rem; color: var(--muted); font-size: 1.02rem; }

.lp-price { text-align: center; padding-bottom: clamp(2rem, 6vh, 3.5rem); }
.lp-price h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 auto; }
.lp-price p { color: var(--muted); max-width: 32rem; margin: 1rem auto 2rem; }

.lp-faq { padding-top: clamp(2rem, 6vh, 3.5rem); }
.lp-faq .wrap { max-width: 46rem; }
.lp-faq h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .6rem; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq details p { margin: .6rem 0 0; color: var(--muted); }

/* ── The carousels. Each slide is a picture of the product in a browser window: drawn at
   desktop width and scaled to fit, nothing inside reacts, and "See the full view" opens the
   window to its full length. ── */
.sc-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.sc-head .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0; }
.sc-phase { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; transition: opacity .3s ease; }
.sc-phase .n { margin-right: .35rem; }
.sc-phase.swap { opacity: 0; }
.sc-count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }
.sc-tabs { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: .1rem 0 .8rem; }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tabs button { font: inherit; font-size: .86rem; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: .42rem .9rem; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sc-tabs button:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.sc-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sc-stage { position: relative; }
.sc-track { position: relative; display: flex; align-items: flex-start; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sc-track::-webkit-scrollbar { display: none; }
.sc-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg);
  box-shadow: 0 2px 4px rgba(29,22,38,.05), 0 24px 60px rgba(29,22,38,.14); }
.sc-chrome { display: flex; align-items: center; gap: .42rem; padding: .62rem .95rem; background: var(--surface); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.sc-chrome i { width: .62rem; height: .62rem; border-radius: 50%; background: var(--line); flex: none; }
.sc-chrome .url, .sc-chrome .sc-demo { display: inline-flex; align-items: center; height: 1.45rem; line-height: 1; border-radius: 999px; }
.sc-chrome .url { margin-left: .5rem; padding: 0 .7rem; background: var(--bg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sc-chrome .sc-demo { flex: none; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); padding: 0 .55rem; }
.sc-view { position: relative; overflow: hidden; height: min(34rem, 62vh); background: color-mix(in srgb, var(--surface) 60%, var(--bg)); transition: height .55s cubic-bezier(.3,.6,.2,1); }
.sc-view iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: var(--bg); }
.sc-view iframe.ready { opacity: 1; }
.sc-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; background: linear-gradient(transparent, var(--bg)); pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.sc-slide.clipped:not(.open) .sc-view::after { opacity: 1; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; flex-wrap: wrap; padding: .8rem .95rem; background: var(--surface); border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.sc-foot > span { flex: 1 1 18rem; }
.sc-more { flex: none; font: inherit; font-size: .84rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 999px; padding: .45rem .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.sc-more svg { width: .85rem; height: .85rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.sc-slide.open .sc-more svg { transform: rotate(180deg); }
.sc-slide:not(.clipped) .sc-more { display: none; }
.sc-arrow { position: absolute; top: 18rem; z-index: 2; width: 3rem; height: 3rem; margin-top: -1.5rem; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; transition: transform .2s ease, opacity .2s ease, top .4s ease; }
.sc-arrow:hover:not(:disabled) { transform: scale(1.06); }
.sc-arrow:disabled { opacity: .3; cursor: default; }
.sc-prev { left: -1.5rem; } .sc-next { right: -1.5rem; }
.sc-arrow svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* A call to action within thumb's reach on a phone, once the opening has scrolled away. */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; }
.sticky-cta .btn { width: 100%; text-align: center; box-shadow: var(--shadow); }
@media (max-width: 760px) { .sticky-cta.on { display: block; } }

@media (max-width: 1180px) { .sc-prev { left: .6rem; } .sc-next { right: .6rem; } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tile-stack { max-width: 30rem; margin: .5rem auto 0; }
}
@media (max-width: 560px) {
  .ui-profile { width: 88%; max-width: none; padding-bottom: 2.6rem; }
  .ui-pair { width: 80%; max-width: none; margin-top: -2.2rem; }
}
@media (max-width: 860px) {
  .lp-why .cols, .lp-moves ol, .lp-gets .cards { grid-template-columns: 1fr; }
  .lp-why h2 { position: static; }
  .lens-cols { grid-template-columns: 1fr; gap: .35rem; }
  .sc-arrow { width: 2.5rem; height: 2.5rem; margin-top: -1.25rem; }
  .sc-prev { left: .4rem; } .sc-next { right: .4rem; }
}
