/* validated.directory 2.0.0 · How it works (DIR 2.0.0-preview.1, BEA-432). Loads after /brand/tokens.css, /brand/base.css
   and /dir/shell.css; only what is this page's own. Night to day: the first screen (the gauge at night, a reading taken),
   the record read from every page of a real site and carried, the same, to every place AI reads it; the two dates at
   dawn; what $29 a month includes by day; the AI box; the night footer. Every part is a still composition first (scripts
   off, reduced motion); html.m adds the motion (page.js). */

/* 1 · The first screen (night): the gauge's dawn multiplied down to night (.first-shade), the dial in the middle third. */
.first { position: relative; display: grid; background: var(--canvas); overflow-x: clip; }
.first-art, .first-copy { grid-area: 1 / 1; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; }
.first-art { position: relative; overflow: hidden; background: linear-gradient(180deg, #060a18 0%, #0b1328 40%, #141f3a 100%); }
.first-art picture { display: contents; }
.first-img { position: absolute; left: 0; top: var(--nj, 0px); width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 46%; }
.first-shade { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; background: linear-gradient(180deg, #161d3d 0%, #222b52 24%, #444e7c 42%, #6f78a3 56%, #727aa2 68%, #454e75 80%, #262e4e 100%); }
.first-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 10, 24, 0.7) 0%, rgba(6, 10, 24, 0.5) 18%, rgba(6, 10, 24, 0.14) 33%, rgba(6, 10, 24, 0) 42%, rgba(6, 10, 24, 0) 62%, rgba(10, 16, 36, 0.58) 72%, rgba(10, 16, 36, 0.88) 84%, #0a1024 100%); }
.first-art .sky, .first-art .glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.first-copy { position: relative; z-index: 5; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: calc(80px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.first-low { grid-row: 3; }
.first .eyebrow { width: fit-content; color: var(--cream); }
.first h1 { margin-top: 14px; color: var(--white); text-shadow: 0 2px 28px rgba(6, 10, 24, 0.7); }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; color: var(--cream); text-shadow: 0 1px 16px rgba(6, 10, 24, 0.8); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.actions .btn { min-width: 132px; }
.first .coords { margin-top: 18px; }

/* 2 · The record read from every page, still: the step lines as a list, the five pages, the record (each line says
   which page it came from), and the five places AI reads it, each with the same confirmation date. */
.feed { position: relative; background: linear-gradient(180deg, #0a1024 0%, #0f1830 55%, var(--night-2) 100%); }
html:not(.m) .feed { background-image: linear-gradient(rgba(240, 230, 207, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 230, 207, 0.06) 1px, transparent 1px), linear-gradient(180deg, #0a1024 0%, #0f1830 55%, var(--night-2) 100%); background-size: 62px 62px, 62px 62px, auto; }
.srcs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; width: min(100% - 32px, 560px); margin: 34px auto 0; }
.src { padding: 9px 11px; border: 1px solid rgba(244, 196, 90, 0.75); background: rgba(10, 16, 36, 0.82); font: 500 12.5px/1 var(--mono); color: var(--gold-bright); white-space: nowrap; }
#feed-rec { margin-top: 30px; }
#feed-rec dl { gap: 8px; }
#feed-rec .rl dt { display: flex; justify-content: space-between; gap: 12px; }
#feed-rec .rl dd.rec-name { padding-right: 0; } /* no brand on this record: the name has the whole line */
.from { font: 500 10px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: none; color: var(--gold-bright); }
.rl-conf { margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--rule); }
.conf-v { font: 500 12.5px/1.5 var(--mono); color: var(--gold-bright); }
.outs { position: relative; z-index: 2; display: grid; gap: 8px; width: min(100% - 32px, 560px); margin: 30px auto 0; }
.out { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 10px 12px; border: 1px solid rgba(244, 196, 90, 0.75); background: rgba(10, 16, 36, 0.82); }
.out-n { font: 600 14.5px/1.3 var(--sans); color: var(--white); }
.out-v { font: 400 12px/1.4 var(--mono); color: var(--gold-bright); }
html:not(.m) .srcs::after, html:not(.m) .outs::before { content: ""; position: absolute; left: 50%; height: 22px; border-left: 2px dotted rgba(244, 196, 90, 0.85); }
html:not(.m) .srcs::after { top: calc(100% + 4px); }
html:not(.m) .outs::before { bottom: calc(100% + 4px); }
.feed-cap { position: relative; padding-top: 22px; padding-bottom: 40px; font-size: 15px; line-height: 1.5; color: var(--cream-2); }
.feed-cap a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--cream); font-weight: 600; white-space: nowrap; }

/* The scene in motion: a tall track, a sticky stage. The pages light in turn; each fact's light runs from its page into
   its own line of the record, which writes in only when the light arrives; then the date goes out to each place. */
.m #feed-track { height: 440vh; height: 440svh; }
.m .srcs { position: absolute; left: 12px; right: 12px; top: 206px; width: auto; margin: 0; gap: 6px; }
@media (max-width: 899px) {
  .m .src { padding: 8px 7px; font-size: 10.5px; }
  .m #feed-rec .rec-lines { padding: 13px 14px 12px; }
  .m #feed-rec dl { gap: 6px; }
  .m #feed-rec .rl dd { font-size: 13.5px; line-height: 1.4; }
  .m #feed-rec .rl dd.rec-name { font-size: 23px; }
  .m #feed-rec .rl dt { font-size: 9.5px; }
  .m #feed-rec .conf-v { font-size: 11.5px; }
}
.m .src { border-color: var(--rule); color: var(--cream-2); transition: border-color 0.4s, color 0.4s, box-shadow 0.4s; }
.m .src.on { border-color: var(--gold-bright); color: var(--gold-bright); box-shadow: 0 0 20px rgba(244, 196, 90, 0.3); }
.m #feed-rec { position: absolute; left: 50%; top: 256px; margin: 0; width: min(100% - 32px, 520px); transform-origin: 50% 0; opacity: 0; will-change: transform, opacity; }
.m #feed-rec [data-from], .m #feed-rec .rl-conf dd, .m #feed-rec .from { opacity: 0; }
.m .outs { position: absolute; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; margin: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.m .out { grid-column: span 2; display: grid; justify-content: center; text-align: center; gap: 3px; padding: 8px 4px; border-color: var(--rule); opacity: 0.5; transition: border-color 0.4s, box-shadow 0.4s, opacity 0.4s; }
.m .out:nth-child(4) { grid-column: 2 / span 2; }
.m .out:nth-child(5) { grid-column: 4 / span 2; }
.m .out-n { font-size: 12.5px; color: var(--cream); }
.m .out-v { font-size: 11px; opacity: 0; transition: opacity 0.4s; }
.m .out.lit { border-color: var(--gold-bright); box-shadow: 0 0 22px rgba(244, 196, 90, 0.3); opacity: 1; }
.m .out.lit .out-v { opacity: 1; }
@media (max-width: 899px) {
  .m .out-f { display: none; }
  /* the five pages and the five places keep the page's 16px edge, and 12px between boxes so their corner marks never meet */
  .m .srcs, .m .outs { left: 16px; right: 16px; gap: 12px; }
}

/* 3 · Dawn: the two dates on the card, and the Box V (the kit's sunrise-wipe and brand-burn). */
.dated { position: relative; background: var(--paper); color: var(--ink); }
.dated-head { padding: 64px 0 30px; background: linear-gradient(180deg, var(--night-2) 0%, #24364f 60%, var(--indigo) 100%); color: var(--cream); }
.dated-head h2 { max-width: 13ch; margin-top: 0; color: var(--white); }
.dated-say { margin-top: 16px; max-width: 46ch; font-size: 17.5px; line-height: 1.55; color: var(--cream); }
.dates-card .face-day, .dates-card .face-night { display: block; }
.dates-card .card-body { padding: 20px 18px 20px; }
.dated .card-c { max-width: 100%; }
.dates-card .brand-day .b-label { white-space: nowrap; }

/* 4 · By day: what $29 a month includes, the price, the AI box. */
.day > .topo { -webkit-mask-image: linear-gradient(transparent 40px, #000 220px); mask-image: linear-gradient(transparent 40px, #000 220px); }
.inc { position: relative; padding-top: 56px; padding-bottom: 12px; }
.inc h2 { max-width: 13ch; }
.inc-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid rgba(35, 31, 26, 0.3); }
.inc-i { padding: 18px 0 20px; border-bottom: 1px solid rgba(35, 31, 26, 0.3); }
.inc-i h3 { font: 400 clamp(24px, 6.4vw, 30px)/1.15 var(--display); color: var(--ink); }
.inc-i p { margin-top: 8px; max-width: 62ch; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.read { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration-color: var(--barn); text-decoration-thickness: 2px; }
.buy { position: relative; padding-top: 36px; padding-bottom: 20px; }
.pc { max-width: 620px; padding: 22px 20px 22px; background: var(--paper-hi); border: 1px solid rgba(35, 31, 26, 0.3); box-shadow: 0 30px 60px -40px rgba(35, 31, 26, 0.6); }
.pc-price { font: 400 18px/1.2 var(--mono); color: var(--ink-2); }
.pc-price b { font-weight: 500; font-size: clamp(54px, 15vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.pc-say { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.pc-act { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; }
.pc-act .btn { min-width: 140px; }
.pc-act .more, .buy-notes a { color: var(--ink); text-decoration-color: var(--barn); }
.buy-notes { display: grid; gap: 10px; margin-top: 26px; max-width: 60ch; }
.buy-notes p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.buy-notes a { font-weight: 600; text-decoration-thickness: 2px; }
.buy-notes .n { font-family: var(--mono); font-size: 0.93em; white-space: nowrap; }
.ask-sec { position: relative; padding-top: 30px; padding-bottom: 96px; }
.ask-sec .aibox { max-width: 820px; margin: 0; }
.aibox h2 { font-size: clamp(28px, 7vw, 38px); line-height: 1.1; color: var(--white); margin-top: 0; }

/* Scripts off: the header is not fixed and its links wrap under it on a phone, so the first screen starts below them. */
@media (max-width: 899px) {
  html:not(.js) .first-copy { padding-top: calc(124px + env(safe-area-inset-top, 0px)); }
  html:not(.js) .first-art { --nj: 44px; }
}
@media (max-width: 599px) { html:not(.js) .first-copy { padding-top: calc(172px + env(safe-area-inset-top, 0px)); } html:not(.js) .first-art { --nj: 88px; } }
/* Short phones: set tighter, so Start keeps room under it. */
@media (max-height: 760px) and (max-width: 899px) {
  .first-copy { padding-top: calc(72px + env(safe-area-inset-top, 0px)); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  html:not(.js) .first-copy { padding-top: calc(164px + env(safe-area-inset-top, 0px)); }
  .first h1 { margin-top: 10px; }
  .lead { font-size: 16.5px; line-height: 1.42; }
  .actions { margin-top: 14px; }
  .first .coords { margin-top: 12px; }
  .m .srcs { top: 202px; }
  .m .out { padding: 6px 4px; gap: 1px; }
  .m .out-n { font-size: 12px; }
  .m .out-v { font-size: 10.5px; }
}
@media (max-width: 360px) {
  .lead { font-size: 16px; line-height: 1.42; }
  .actions { gap: 10px 16px; }
  .actions .btn { min-width: 108px; padding-left: 18px; padding-right: 18px; }
  .actions .more { font-size: 15px; gap: 7px; }
  .first .coords { font-size: 11px; }
  .m .out-n { font-size: 11.5px; }
}
/* A phone at about 125% zoom (314px): the five pages set a little smaller to keep one row with room inside each box;
   the places on twelve columns, so the two under the three are wider and "The open door" keeps room inside its box. */
@media (max-width: 340px) {
  .m .srcs { left: 14px; right: 14px; }
  .m .src { padding: 8px 6px; font-size: 9.5px; }
  .m .outs { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .m .out { grid-column: span 4; padding: 8px 4px; }
  .m .out:nth-child(4) { grid-column: 2 / span 5; }
  .m .out:nth-child(5) { grid-column: 7 / span 5; }
  .m .out-n { font-size: 11px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .first h1 { font-size: clamp(56px, 10.2vw, 84px); }
  .lead { font-size: 19px; }
}

/* Laptop and up: the words left on night, the gauge in a square panel at the right; the scene runs left to right. */
@media (min-width: 900px) {
  .first-art, .first-copy { min-height: 640px; }
  .first-img { left: auto; right: var(--read-x); width: var(--hero-art); max-width: var(--hero-art); aspect-ratio: 1 / 1; object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.5) 13%, #000 32%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.5) 13%, #000 32%); }
  .first-shade { background: linear-gradient(180deg, #1a2244 0%, #2a335c 16%, #545e8c 38%, #7a83ab 56%, #6f78a0 74%, #3c4569 90%, #262e4e 100%); }
  .first-scrim { background: linear-gradient(180deg, rgba(6, 10, 24, 0.8) 0%, rgba(6, 10, 24, 0.4) 8%, rgba(6, 10, 24, 0) 18%, rgba(6, 10, 24, 0) 74%, rgba(10, 16, 36, 0.6) 88%, rgba(10, 16, 36, 0.9) 100%); }
  .first-copy { grid-template-columns: minmax(0, 600px); grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1.2fr); padding-top: 96px; padding-bottom: 64px; }
  .first-top { grid-row: 2; }
  .first-low { grid-row: 3; margin-top: 30px; }
  .first h1 { max-width: 9.5ch; font-size: clamp(64px, 7vw, 104px); }
  .lead { font-size: 20px; }
  .first .coords { position: absolute; left: max(32px, env(safe-area-inset-left, 0px)); right: max(32px, env(safe-area-inset-right, 0px)); bottom: 26px; margin: 0; }
  .src { font-size: 14px; padding: 12px 14px; }
  .m #feed-track { height: 400vh; }
  .m .srcs { left: var(--read-x); right: auto; top: calc(max(86px, 10vh) + 210px); width: min(210px, 18%); display: grid; gap: 14px; }
  .m #feed-rec { top: calc(max(86px, 10vh) + 168px); width: min(560px, 40vw); }
  .m .outs { left: auto; right: var(--read-x); top: calc(max(86px, 10vh) + 190px); bottom: auto; width: min(300px, 24%); grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .m .out, .m .out:nth-child(4), .m .out:nth-child(5) { grid-column: auto; justify-content: start; text-align: left; padding: 10px 14px; }
  .m .out-n { font-size: 14px; }
  .m .out-v { font-size: 12px; }
  .feed-cap { padding-top: 26px; padding-bottom: 56px; }
  .dated-head { padding: 100px 0 40px; }
  .dated-say { font-size: 19px; }
  .dates-card .card-body { padding: 30px 36px 30px; }
  .inc { padding-top: 96px; }
  .inc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
  .inc-i { padding: 24px 0 26px; }
  .buy { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); column-gap: 56px; align-items: start; padding-top: 56px; }
  .buy-notes { margin-top: 6px; }
  .pc { padding: 30px 32px 30px; }
  .ask-sec { padding-top: 56px; padding-bottom: 130px; }
}
