/* Subito Video — public landing page.
 *
 * Look #4, DD product variant (canonized in the look library under this
 * project's former name, ClassicalReels): navy ink on off-white, one
 * warm-orange accent, Lato,
 * Apple-clean with generous whitespace. Reuses the app's tokens from
 * style.css so the page and the tool cannot drift apart.
 *
 * LAYOUT: one screen on desktop, no scrolling. Two columns — the claim and
 * the crop demonstration on the left, the way in and the reasons on the
 * right — so a visitor sees what this is AND can enter their code without
 * moving. It stacks and scrolls on phones, where scrolling is expected.
 *
 * Two signatures only: spec micro-labels, and the crop demonstration.
 */

body.landing, body.landing header { text-align: left; }
body.landing {
  background: var(--navy);
  color: var(--text);
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* The whole page is one viewport: nav / content / footer. */
.ln-shell {
  min-height: 100vh;
  min-height: 100dvh;          /* phones: excludes the browser chrome */
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.ln-inner { max-width: 1140px; margin: 0 auto; padding: 0 1.6rem; width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.ln-nav { border-bottom: 1px solid var(--border); }
.ln-nav-inner {
  display: flex; align-items: baseline; gap: 0.85rem;
  height: 54px; padding-top: 0.9rem;
}
.ln-mark {
  font-size: 1.12rem; font-weight: 900; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
}
.ln-mark span { font-weight: 300; color: var(--text-dim); }
.ln-by {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ── The two columns ───────────────────────────────────────────────────── */
.ln-main { display: flex; align-items: center; padding: clamp(1rem, 3vh, 2.4rem) 0; }
.ln-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
}

/* Left */
.ln-left h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 900;
}
/* The app draws a small accent rule under its header h1; not on this page,
   where the headline itself is the mark and the rule reads as a stray line. */
body.landing header h1::after,
.ln-left h1::after { content: none; }
.ln-lede {
  margin: 0 0 clamp(1rem, 2.4vh, 1.6rem);
  font-size: clamp(0.94rem, 1.1vw, 1.05rem);
  line-height: 1.55; color: var(--text-dim); max-width: 54ch;
}

/* Signature: the crop demonstration */
.ln-demo { margin: 0; }
.ln-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  max-height: 34vh;
  border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 140% at 20% 15%, #17324f 0%, #0d1c2e 55%, #0a1524 100%);
  box-shadow: 0 14px 40px rgba(10, 22, 40, 0.16);
}
.ln-stage > .ln-spec { position: absolute; left: 0.85rem; bottom: 0.7rem; }
.ln-crop {
  /* The literal crop rectangle, shown as a demonstration — stays the tool's
     own colour (--tool-mark), never the general accent. */
  position: absolute; top: 6%; bottom: 6%; left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 9 / 16;
  border: 2.5px solid var(--tool-mark); border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(10, 22, 40, 0.52);
}
.ln-spec {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}
.ln-spec-on { position: absolute; right: 0.5rem; bottom: 0.45rem; color: var(--tool-mark); }
.ln-spec-dark { color: var(--orange); margin: 0 0 0.5rem; display: block; }
.ln-cap {
  margin: 0.7rem 0 0; font-size: 0.83rem; line-height: 1.5;
  color: var(--text-dim); max-width: 50ch;
}

/* Right */
.ln-right { display: grid; gap: clamp(1rem, 2.4vh, 1.5rem); }

/* The way in. A soft tinted panel, not a boxed card. */
.ln-card {
  padding: clamp(1rem, 2.2vh, 1.4rem) clamp(1rem, 2vw, 1.4rem);
  background: rgba(31, 95, 208, 0.07);
  border-radius: 12px;
}
.ln-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.015em;
}
.ln-form { display: flex; gap: 0.55rem; flex-wrap: wrap; align-items: center; }
.ln-code {
  flex: 1 1 200px; min-height: 46px;
  padding: 0.6rem 0.9rem;
  font-family: inherit; font-size: 1.06rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: 9px;
}
.ln-code:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ln-form .btn-accent { min-height: 46px; padding-inline: 1.3rem; }
.ln-small {
  margin: 0.7rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--text-dim);
}
.ln-small a { color: var(--orange); }
.ln-error {
  margin: 0 0 0.8rem; padding: 0.6rem 0.85rem;
  background: rgba(163, 60, 42, 0.1); border-radius: 8px;
  color: #a33c2a; font-size: 0.88rem;
}

/* Why not an editor */
.ln-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.ln-points li {
  font-size: 0.87rem; line-height: 1.5; color: var(--text-dim);
  padding-left: 0.9rem; position: relative;
}
.ln-points li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--orange);
}
.ln-points strong { color: var(--text); font-weight: 700; }
.ln-honest {
  margin: 0.8rem 0 0; font-size: 0.82rem; line-height: 1.5;
  color: var(--text-dim); font-style: italic;
}

/* ── Footer: slim, sponsors on the left, law on the right ──────────────── */
.ln-foot { border-top: 1px solid var(--border); }
.ln-foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; min-height: 52px;
  font-size: 0.82rem; color: var(--text-dim);
}
.ln-sponsors { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.ln-sponsor-head {
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}
.ln-sponsor {
  padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: 0.8rem;
}
.ln-sponsor:hover { border-color: var(--orange); color: var(--orange); }
.ln-sponsor-open { border-style: dashed; color: var(--text-dim); font-style: italic; }
.ln-foot-links { display: flex; gap: 1.1rem; }
.ln-foot-links a { color: var(--text-dim); text-decoration: none; padding: 0.5rem 0; }
.ln-foot-links a:hover { color: var(--orange); }

.ln-sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Motion ────────────────────────────────────────────────────────────
   Pure CSS, no JavaScript, no IntersectionObserver. The scroll-driven
   version blanked this page on the live site: the observer only fires on
   ENTRY, so anything above a restored scroll position stayed at opacity 0
   forever. A nicer entrance is not worth a page that can render blank.
   This runs on load and always finishes.
   (Recorded departure from the house scroll-reveal default, with cause.) */
@keyframes ln-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: ln-rise 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.ln-right .ln-card { animation-delay: 0.08s; }
.ln-right .ln-why  { animation-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

/* ── Narrow: stack, and let it scroll (expected on a phone) ────────────── */
@media (max-width: 900px) {
  .ln-shell { min-height: 0; }
  .ln-cols { grid-template-columns: 1fr; gap: 1.8rem; }
  .ln-main { display: block; padding: 1.6rem 0 2.2rem; }
  .ln-stage { max-height: none; }
  .ln-form .btn-accent { flex: 1 1 100%; }
  .ln-foot-inner { justify-content: flex-start; }
}

/* A short desktop window: trim the demo before anything else. */
@media (min-width: 901px) and (max-height: 760px) {
  .ln-stage { max-height: 26vh; }
  .ln-cap { display: none; }
}
