/* /found only. Everything here is prefixed fd- and sits on top of styles.css, so the shared sheet
   and its cache version are untouched.

   The page's one idea is that a site has two readers. The hero draws one business twice: the page a
   customer sees, and the same facts as a machine reads them, wired across row by row. That device is
   built from real text on purpose, so an AI reader gets it too, and it stays on the right side of
   docs/marketing/messaging.md section 12: it shows what a machine READS, never an assistant answering
   with the business. Do not turn it into a mock ChatGPT reply.

   The ink card is the page's only dark surface. Monospace appears only where the text really is a
   file (robots.txt, HTML, structured data). */

.found-page ::selection { background: var(--color-lime-wash); color: var(--color-ink-black); }

:root { --fd-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace; }

/* ---------- Hero ---------- */

.fd-hero { padding: 48px 0 56px; margin-bottom: 0; }
#ships { padding-top: 56px; }
.fd-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
.fd-crumb { font-size: 13px; color: var(--color-muted-text-strong); margin-bottom: 28px; }
.fd-crumb a { color: var(--color-muted-text-strong); text-decoration: none; }
.fd-crumb a:hover { color: var(--color-ink-black); text-decoration: underline; text-underline-offset: 3px; }
.fd-hero h1 { margin-bottom: 20px; }
.page-hero .fd-lead { font-size: 19px; line-height: 1.45; color: var(--color-ink-black); margin-bottom: 14px; text-wrap: pretty; }
.page-hero .fd-sub { font-size: 16px; color: var(--color-graphite); margin-bottom: 28px; text-wrap: pretty; }
.fd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .fd-price { font-size: 14px; color: var(--color-muted-text-strong); margin-top: 16px; }

/* ---------- The two readers ----------
   One grid, so a fact on the left and the same fact on the right share a row whatever their height.
   The two cards are background blocks spanning every row, and the DOM stays card by card (all of the
   page, then all of the machine) so a screen reader gets each reader whole, not interleaved. */

.fd-figure { min-width: 0; }
.fd-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  grid-template-rows: auto repeat(4, auto) 18px;
}
.fd-two-list { display: contents; }
.fd-card-bg { grid-row: 1 / -1; border-radius: 20px; }
.fd-card-bg.is-page { grid-column: 1; background: var(--color-card-white); border: 1px solid var(--color-soft-border); box-shadow: var(--shadow-lg); }
.fd-card-bg.is-machine { grid-column: 3; background: var(--color-ink-black); box-shadow: 0 18px 40px -18px rgba(15, 15, 15, 0.55); }

.fd-cell { position: relative; min-width: 0; padding: 12px 20px; display: flex; flex-direction: column; justify-content: center; }
.fd-col-page .fd-cell { grid-column: 1; }
.fd-col-machine .fd-cell { grid-column: 3; }
.fd-r1 { grid-row: 1; }
.fd-r2 { grid-row: 2; }
.fd-r3 { grid-row: 3; }
.fd-r4 { grid-row: 4; }
.fd-r5 { grid-row: 5; }

.fd-bar { padding: 14px 20px; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.fd-col-page .fd-bar { color: var(--color-graphite); border-bottom: 1px solid var(--color-soft-border); }
.fd-col-machine .fd-bar { color: var(--color-lime-wash); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.fd-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-soft-border); flex: none; }
.fd-bar i:nth-of-type(3) { margin-right: 6px; }

.fd-col-page .fd-cell:not(.fd-bar) { font-size: 15px; line-height: 1.4; color: var(--color-graphite); }
.fd-col-page .fd-name { font-family: var(--font-display); font-size: 24px !important; letter-spacing: -0.01em; color: var(--color-ink-black) !important; }
.fd-two mark { background: var(--color-lime-wash); color: var(--color-ink-black); border-radius: 4px; padding: 1px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fd-faqline { display: block; }
.fd-faqline + .fd-faqline { margin-top: 4px; }

.fd-key { font-family: var(--fd-mono); font-size: 11.5px; color: #a0a0a0; }
.fd-val { font-family: var(--fd-mono); font-size: 13.5px; line-height: 1.4; color: var(--color-lime-wash); overflow-wrap: anywhere; }
.fd-val + .fd-key { margin-top: 8px; }

.fd-wire { grid-column: 2; align-self: center; height: 0; border-top: 1.5px dashed var(--color-lime-ui); transform-origin: left center; margin: 0 -2px; position: relative; z-index: 1; }
.fd-wire::after { content: ""; position: absolute; right: -1px; top: -4.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--color-lime-ui); }

.fd-figure figcaption { font-size: 13px; color: var(--color-muted-text-strong); margin-top: 16px; text-align: center; }

/* The one authored moment: the facts cross over, once, top to bottom, on arrival. The drawn state is
   the default, so without motion (or before it runs) the device is simply complete. */
@media (prefers-reduced-motion: no-preference) {
  .fd-wire { animation: fd-wire 520ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
  .fd-col-machine .fd-cell:not(.fd-bar) { animation: fd-land 420ms ease-out backwards; }
  .fd-wire.fd-r2, .fd-col-machine .fd-r2 { animation-delay: 500ms; }
  .fd-wire.fd-r3, .fd-col-machine .fd-r3 { animation-delay: 780ms; }
  .fd-wire.fd-r4, .fd-col-machine .fd-r4 { animation-delay: 1060ms; }
  .fd-wire.fd-r5, .fd-col-machine .fd-r5 { animation-delay: 1340ms; }
  .fd-col-machine .fd-r2 { animation-delay: 760ms; }
  .fd-col-machine .fd-r3 { animation-delay: 1040ms; }
  .fd-col-machine .fd-r4 { animation-delay: 1320ms; }
  .fd-col-machine .fd-r5 { animation-delay: 1600ms; }
}
@keyframes fd-wire { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes fd-land { from { opacity: 0.15; } to { opacity: 1; } }

/* ---------- Find, read, understand ---------- */

.fd-rows { border-bottom: 1px solid var(--color-hairline); }
.fd-row {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 330px;
  gap: 44px;
  padding: 44px 0;
  border-top: 1px solid var(--color-hairline);
  align-items: start;
}
.fd-verb { font-size: clamp(36px, 3.6vw, 46px); line-height: 1; letter-spacing: -0.02em; }
.fd-item + .fd-item { margin-top: 28px; }
.fd-item h4 { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--color-ink-black); margin-bottom: 8px; }
.fd-item p { font-size: 16px; color: var(--color-graphite); max-width: 62ch; text-wrap: pretty; }
.fd-note { font-size: 14px !important; color: var(--color-muted-text-strong) !important; margin-top: 8px; }

.fd-file { background: var(--color-card-white); border: 1px solid var(--color-soft-border); border-radius: var(--radius-cards); overflow: hidden; }
.fd-file-name { font-family: var(--fd-mono); font-size: 12px; color: var(--color-muted-text-strong); padding: 10px 16px; border-bottom: 1px solid var(--color-soft-border); background: var(--surface-soft-cream); }
.fd-file pre { font-family: var(--fd-mono); font-size: 13px; line-height: 1.6; color: var(--color-graphite); padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.fd-file b { font-weight: 400; background: var(--color-lime-wash); color: var(--color-ink-black); border-radius: 3px; padding: 0 3px; }

/* ---------- Kept current, and their Google listing ---------- */

.fd-kept { padding: 80px 0; }
.fd-kept-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.fd-kept-copy h2 { margin-bottom: 20px; }
.fd-kept-copy p { font-size: 17px; text-wrap: pretty; }
.fd-listing { background: var(--color-card-white); border: 1px solid var(--color-soft-border); border-radius: var(--radius-large-cards); box-shadow: var(--shadow-lg); padding: 32px; }
.fd-listing h3 { font-size: 23px; margin-bottom: 20px; }
.fd-beats { list-style: none; }
.fd-beats li { position: relative; padding: 0 0 16px 26px; font-size: 15.5px; line-height: 1.45; color: var(--color-graphite); }
.fd-beats li:last-child { padding-bottom: 0; }
.fd-beats li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-lime-wash); border: 1.5px solid var(--color-lime-ui); }
.fd-beats li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: -4px; width: 1px; background: var(--color-hairline); }

/* ---------- The site check ---------- */

.fd-check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin: 0; padding: 44px; }
.fd-check h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.fd-check p { font-size: 16px; color: var(--color-graphite); text-wrap: pretty; }
.fd-check .tool-row { flex-wrap: wrap; }
.fd-check .prompt-input2 { flex: 1 1 200px; min-width: 0; }
.fd-check-more { font-size: 14px !important; margin-top: 14px; }
.fd-check-more a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Where the line sits ---------- */

.fd-line-note { margin-top: 12px; font-size: 15px; color: var(--color-graphite); }
.fd-rules { max-width: 920px; margin: 0 auto; }
.fd-rules .rules-card { padding: 32px; }

.fd-faq-note { font-size: 15px; color: var(--color-muted-text-strong); margin-top: 16px; max-width: 34ch; text-wrap: pretty; }

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  .fd-row { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 36px; }
  .fd-verb { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .fd-hero-grid, .fd-kept-grid, .fd-check { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fd-check { padding: 28px; }
}

@media (max-width: 640px) {
  .fd-hero { padding: 28px 0 56px; }
  .fd-crumb { margin-bottom: 20px; }
  .fd-actions .btn { width: 100%; justify-content: center; }
  .fd-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
  /* On a phone these three would stack up as a screen of code each. robots.txt stays, because nothing
     else on the page shows it; the other two repeat what the hero's ink card already shows. */
  .fd-row:not(:first-child) .fd-file { display: none; }
  .fd-kept { padding: 56px 0; }
  .fd-listing { padding: 24px; border-radius: 20px; }
  .fd-check .tool-row { flex-direction: column; }
  .fd-check .prompt-input2 { flex: none; width: 100%; }
  .fd-check .tool-row .btn { width: 100%; justify-content: center; }

  /* The two readers stack: the page, a short join, the machine. No sideways scroll, no toggle. */
  .fd-two { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .fd-wire, .fd-card-bg { display: none; }
  .fd-two-list { display: block; }
  .fd-col-page, .fd-col-machine { display: block; border-radius: 20px; padding-bottom: 8px; }
  .fd-col-page { background: var(--color-card-white); border: 1px solid var(--color-soft-border); box-shadow: var(--shadow-lg); }
  .fd-col-machine { background: var(--color-ink-black); margin-top: 26px; position: relative; }
  .fd-col-machine::before { content: ""; position: absolute; left: 50%; top: -26px; height: 26px; border-left: 1.5px dashed var(--color-lime-ui); }
  .fd-cell { padding: 8px 18px; }
  .fd-bar { padding: 13px 18px; margin-bottom: 6px; }
}
