/* The shared look (shared/look/README.md). Loaded after a page's own stylesheet, only on a
   site whose ventures.json says "look": "shared". Fonts are served from the site itself:
   Hanken Grotesk for the text, Source Serif 4 for headings and the wordmark (both SIL OFL 1.1,
   licences in /_look/fonts/). No third-party request. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/_look/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/_look/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/_look/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Colours. The names of the practice-test pages (--fg, --panel, --accent …) and of the
   legal pages (--text, --link, --note-bg …) both point at the same few. */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --fg: #1a1e26;
  --muted: #5a5f6b;
  --line: #e4dfd3;
  --panel: #ffffff;
  --quiet: #f2efe7;
  --accent: #1f3b63;
  --accent-strong: #152b4a;
  --accent-fg: #ffffff;
  --accent-soft: #e8edf5;
  --rule: #b08a3e;
  --right: #1d6a3e;
  --right-bg: #ebf5ee;
  --wrong: #9b1c31;
  --wrong-bg: #fcefef;
  --focus: #d08c00;
  --text: var(--fg);
  --link: var(--accent);
  --note-bg: var(--quiet);
  --shadow: 0 1px 2px rgba(26, 30, 38, 0.05), 0 6px 20px rgba(26, 30, 38, 0.06);
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141b;
    --surface: #161c26;
    --fg: #e8eaee;
    --muted: #a3a9b5;
    --line: #2b3340;
    --panel: #161c26;
    --quiet: #131922;
    --accent: #a9c2e8;
    --accent-strong: #c3d5f0;
    --accent-fg: #0f1724;
    --accent-soft: #1c2738;
    --rule: #c8a564;
    --right: #8fd6a8;
    --right-bg: #13281c;
    --wrong: #f2a3ae;
    --wrong-bg: #2a1418;
    --shadow: none;
  }
  .wordmark svg > path:first-of-type { fill: #3a6098; }
}

/* Type: a scale of 1.25 from 17px, serif headings, a calm measure. */
body.look {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
.look h1, .look h2, .look h3, .look .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--fg);
}
.look h1 { font-size: 2.125rem; line-height: 1.15; margin: 0.25rem 0 0.75rem; }
.look h2 { font-size: 1.5rem; line-height: 1.25; margin: 2.5rem 0 0.6rem; }
.look h3 { font-size: 1.2rem; line-height: 1.3; }
.look a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.look a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
.look strong { font-weight: 600; }
.look :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.look [tabindex="-1"]:focus { outline: none; }
.look select {
  min-height: 44px;
  max-width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}

/* The wordmark: the product's mark and its name, at the top of every page. */
.topbar {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--fg);
}
.look a.wordmark, .look a.wordmark:hover { color: var(--fg); text-decoration: none; }
.wordmark svg { width: 2rem; height: 2rem; flex: none; }
.look header .topbar { margin-top: -0.25rem; }

/* Buttons: one solid action, the rest outlined. */
.look button, .look .button, .look .buy {
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.005em;
  box-shadow: 0 1px 2px rgba(21, 43, 74, 0.18);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.look .button { text-decoration: none; color: var(--accent-fg); }
.look button:hover, .look .button:hover, .look .buy:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-fg);
  text-decoration: none;
}
.look .buy.secondary, .look button.quiet, .look .ventures-ask-answers button {
  background: var(--surface);
  color: var(--accent);
  box-shadow: none;
}
.look .buy.secondary:hover, .look button.quiet:hover, .look .ventures-ask-answers button:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}
/* The close of the left-checkout question: a 44 px square, clear of the question. The button
   rule above pads every button, which made it 53 px wide (ventures#759). */
.look .ventures-ask-close { box-shadow: none; background: transparent; border: 0; color: var(--muted);
  padding: 0; width: 44px; min-width: 44px; min-height: 44px; }

/* Cards and notes. */
.look .price, .look .mode, .look .proof, .look .ventures-ask {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.look .price { padding: 0.5rem 1.5rem 1.5rem; }
.look .price h2 { margin-top: 1rem; }
.look .notices {
  background: var(--quiet);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem 1.5rem 1.25rem;
}
.look .notices h2 { font-size: 1.15rem; margin-top: 0.75rem; }
.look .notices li { margin-bottom: 0.35rem; }
.look .proof-choices li, .look .choice { border-color: var(--line); background: var(--surface); }
.look .choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.look blockquote {
  border-left: 3px solid var(--rule);
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}
.look table th[scope="col"] { font-weight: 600; color: var(--muted); font-size: 0.9375rem; }
.look th, .look td { border-bottom-color: var(--line); }
.look .note, .look .cta-note, .look .progress { color: var(--muted); }
.look .resend input[type="email"] { background: var(--surface); border-color: var(--line); min-height: 48px; }

/* The landing page: the first screen. */
.look.landing .topbar { margin-bottom: 1.5rem; }
.look .hero { padding-top: 0; }
.look .hero h1 { margin-top: 0; }
.look .hero .lead { font-size: 1.1875rem; line-height: 1.5; color: var(--fg); margin-bottom: 1.1rem; }
.look .hero .cta { margin: 0.9rem 0 0.3rem; }
.look .proof { padding: 1rem 1.25rem; }
.look .proof-label { color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
.look .proof .stem { font-size: 1.0625rem; }
.look .proof-choices li.right { border-color: var(--right); background: var(--right-bg); }

/* Who is behind it: near the buy button and in every footer. Each line has a small tick. */
.behind, .footer-behind ul { list-style: none; padding: 0; margin: 0; }
.behind {
  display: grid;
  gap: 0.2rem;
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}
.behind li, .footer-behind li { position: relative; padding-left: 1.35rem; margin: 0; }
.behind li::before, .footer-behind li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.28em;
  width: 0.32rem;
  height: 0.62rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.behind strong { color: var(--fg); }

/* The three bullets under the first screen. */
.look .objections ul { gap: 1.25rem; }
.look .objections li {
  border-left: 0;
  border-top: 2px solid var(--rule);
  padding: 0.85rem 0 0;
}
.look .objections strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  color: var(--fg);
}

/* The footer of every page. */
.site-footer {
  margin-top: 3.5rem;
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.look.landing .site-footer { max-width: none; }
.footer-top { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.footer-top .wordmark { font-size: 1.1rem; align-self: start; }
.footer-top .wordmark svg { width: 1.75rem; height: 1.75rem; }
.footer-top .wordmark span { white-space: nowrap; }
.footer-behind h2 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.footer-behind ul { display: grid; gap: 0.3rem; }
.footer-behind strong { color: var(--fg); }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 0.6rem; }
.site-footer nav a { margin: 0; color: var(--muted); }
.site-footer nav a:hover { color: var(--fg); }

/* The legal pages (shared/legal/templates/layout.html): their own frame, narrower. */
.legal > .topbar { max-width: 42rem; margin: 0 auto 0.5rem; padding: 0 16px; border-bottom: 0; }
.legal main, .legal .site-footer { max-width: 42rem; }
.legal .site-footer { padding-left: 16px; padding-right: 16px; }
.legal h1 { margin-top: 1rem; }

/* The index site (shared/site/templates/index.html, ventures#731): each product a card. */
.look .product {
  margin: 0 0 1rem;
  padding: 0.2rem 1.25rem 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.look .product h3 { margin: 0.9rem 0 0.35rem; }
.look .product p { margin: 0 0 0.6rem; }
.look .product .muted { font-size: 0.9375rem; }
.footer-company { margin: 0; }

/* The contact form (ventures#715): two fields and one button. The trap field is for bots
   only: out of sight and out of the tab order, never display: none (some bots skip those). */
.contact-form { display: grid; gap: 0.35rem; margin: 1.25rem 0 1rem; }
.contact-form label { font-weight: 600; margin-top: 0.6rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form button { justify-self: start; margin-top: 0.9rem; }
.contact-form button:disabled { opacity: 0.6; cursor: progress; }
/* The page script hides the form after a send, and shows the status: `hidden` must win over
   the display set above. */
.contact-form[hidden], .contact-status[hidden] { display: none; }
.contact-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-status { padding: 0.75rem 1rem; border-radius: 8px; border-left: 4px solid var(--accent); background: var(--accent-soft); }
.contact-status.error { border-left-color: var(--wrong); background: var(--wrong-bg); }

@media (min-width: 52rem) {
  .look h1 { font-size: 2.5rem; }
  .look .hero h1 { font-size: 2.75rem; }
  .look .hero { gap: 3rem; }
  .look .hero .cta .button, .look .hero .cta .buy { min-width: 19rem; }
  .look .proof { padding: 1.25rem 1.5rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .look button, .look .button, .look .buy { transition: none; }
}
