/* Generated from the design canvas helmet styles, then the tablet and phone rules from src/home-responsive.css. */



input,select,textarea{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:16px;color:#16191D}
/* evidence network */.ev-edge{fill:none;stroke:#3A4047;stroke-width:1.2}.ev-ro{fill:none;stroke:#E08A62;stroke-width:2}.ev-rb{fill:none;stroke:#5CCBF2;stroke-width:2;filter:drop-shadow(0 0 2.5px rgba(92,203,242,.8))}.ev-xb{fill:none;stroke:#5CCBF2;stroke-width:1.1;filter:drop-shadow(0 0 2.5px rgba(92,203,242,.8))}.ev-inode{fill:#3A4047;transition:fill .6s}.ev-inode.o{fill:#E08A62}.ev-inode.b{fill:#5CCBF2;filter:drop-shadow(0 0 2.5px rgba(92,203,242,.8))}.ev-leaf{color:#6B7178;transition:color .6s}.ev-leaf .ev-ring{fill:#16191D;stroke:#454B52;stroke-width:1.2;transition:stroke .6s,fill .6s}.ev-leaf text{fill:#7C8288;stroke:none;transition:fill .6s}.ev-leaf.o{color:#E08A62;transition:color 2s}.ev-leaf.o .ev-ring{stroke:#E08A62;stroke-width:1.6;fill:#2B2521;transition:stroke 2s,fill 2s}.ev-leaf.o text{fill:#F4F2EC;transition:fill 2s}.ev-leaf.up text{stroke:#16191D;stroke-width:5px;stroke-linejoin:round;paint-order:stroke}.ev-leaf.b{color:#F4F2EC;transition:color .6s}.ev-leaf.b .ev-ring{stroke:#5CCBF2;fill:#1A2A31;transition:stroke .6s,fill .6s}.ev-leaf.b text{fill:#F4F2EC;transition:fill .6s}.ev-root text{fill:#F4F2EC}.ev-rring{fill:#16191D;stroke:#8C5A43;stroke-width:1.2;transition:stroke .4s,fill .4s}.ev-core{fill:#8C5A43;transition:fill .4s}.ev-root.arr .ev-core{fill:#E08A62}.ev-root.arr .ev-rring{stroke:#5CCBF2;fill:#1A2A31}

/* Home page on tablets and phones: the desktop design (design/Main.dc.html), same words, reflowed.
   The sections keep the canvas inline styles; these rules override layout and type sizes only.
   Tiers: small laptop and tablet landscape (1000 to 1179px), tablet portrait (600 to 999px), phone (up to 599px). */

/* ---------- 1000 to 1179px: same two-column layout, tighter ---------- */
@media (max-width: 1179px) {
  .layout-d > .root > section { padding-left: 48px !important; padding-right: 48px !important; }
  .layout-d > .root > section[style*="linear-gradient(#D9D5CA"] { background-size: calc(100% - 96px) 1px !important; }
  .layout-d > .root [style*="gap: 72px"], .layout-d > .root [style*="gap: 96px 72px"], .layout-d > .root [style*="gap: 96px 80px"], .layout-d > .root [style*="gap: 80px"] { column-gap: 48px !important; }
  .layout-d > .root [style*="column-gap: 72px"] { column-gap: 48px !important; }
  .layout-d > .root h2[style*="font-size: 52px"] { font-size: 46px !important; }
  .layout-d > .root [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] > * { grid-column: span 2; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] > :nth-child(4) { grid-column: 2 / span 2; }
  .layout-d #engine > div[style*="grid-column: 1 / -1"] { padding: 36px 36px !important; }
}

/* ---------- up to 999px: one column for text and figures, cards in pairs ---------- */
@media (max-width: 999px) {
  .layout-d > .root > section { padding: 64px 40px !important; }
  .layout-d > .root > section[style*="linear-gradient(#D9D5CA"] { background-size: calc(100% - 80px) 1px !important; }
  .layout-d > .root [style*="grid-template-columns: 7fr 5fr"], .layout-d > .root [style*="grid-template-columns: 5fr 7fr"],
  .layout-d > .root [style*="grid-template-columns: 6fr 5fr"], .layout-d > .root [style*="grid-template-columns: 4fr 8fr"] { grid-template-columns: minmax(0, 1fr) !important; row-gap: 40px !important; }
  .layout-d > .root [style*="gap: 96px 72px"], .layout-d > .root [style*="gap: 96px 80px"] { row-gap: 48px !important; }
  .layout-d > .root > section > [style*="column-gap: 72px"] { row-gap: 18px !important; }
  .layout-d > .root :not(section)[style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .layout-d > .root :not(section)[style*="grid-template-columns: repeat(3"] > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] > * { grid-column: auto; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] > :nth-child(4) { grid-column: auto; }
  .layout-d > .root [style*="grid-template-columns: repeat(5"] > :last-child { grid-column: 1 / -1; }
  .layout-d > .root section[aria-label="Principles"] { gap: 28px !important; }

  /* Type */
  .layout-d > .root h1[style*="font-size: 84px"] { font-size: 64px !important; }
  .layout-d > .root h2[style*="font-size: 52px"] { font-size: 42px !important; }
  .layout-d > .root h2[style*="font-size: 36px"] { font-size: 30px !important; }
  .layout-d > .root h3[style*="font-size: 40px"] { font-size: 34px !important; }
  .layout-d > .root p[style*="font-size: 22px"] { font-size: 20px !important; }

  /* Hero: text first, the animation below it, centred */
  .layout-d #top { align-items: start !important; }
  .layout-d #top figure { width: 100%; max-width: 560px; margin: 0 auto !important; }

  /* About: portrait beside the name, not full width */
  .layout-d #about figure img { height: auto !important; aspect-ratio: 4 / 5; max-height: 560px; }
  .layout-d #about figure { max-width: 440px; }


  .layout-d #engine > div[style*="grid-column: 1 / -1"] { padding: 32px !important; }
  .layout-d #contact form { padding: 28px !important; }
}

/* ---------- up to 599px: phones ---------- */
@media (max-width: 599px) {
  .layout-d > .root > section { padding: 48px 20px !important; }
  .layout-d > .root > section[style*="linear-gradient(#D9D5CA"] { background-size: calc(100% - 40px) 1px !important; }
  .layout-d > .root [style*="grid-template-columns: repeat(2"], .layout-d > .root [style*="grid-template-columns: repeat(3"],
  .layout-d > .root [style*="grid-template-columns: repeat(4"], .layout-d > .root [style*="grid-template-columns: repeat(5"],
  .layout-d > .root section[aria-label="Principles"] { grid-template-columns: minmax(0, 1fr) !important; }
  .layout-d > .root [style*="grid-template-columns: repeat(2"] > *, .layout-d > .root [style*="grid-template-columns: repeat(3"] > *,
  .layout-d > .root [style*="grid-template-columns: repeat(5"] > * { grid-column: auto !important; }
  .layout-d > .root [style*="gap: 48px 40px"] { gap: 28px !important; }
  .layout-d > .root [style*="gap: 48px 56px"], .layout-d > .root [style*="gap: 0 40px"] { gap: 0 !important; row-gap: 24px !important; }
  .layout-d > .root [style*="gap: 0 40px"] { row-gap: 0 !important; }
  .layout-d > .root > section { gap: 28px !important; }
  .layout-d > .root > section > div[style*="flex-direction: column; gap: 48px"] { gap: 32px !important; }

  /* Type */
  .layout-d > .root h1[style*="font-size: 84px"] { font-size: 46px !important; line-height: 1.05 !important; }
  .layout-d > .root h2[style*="font-size: 52px"] { font-size: 34px !important; line-height: 1.1 !important; }
  .layout-d > .root h2[style*="font-size: 36px"] { font-size: 26px !important; }
  .layout-d > .root h2[style*="font-size: 28px"] { font-size: 26px !important; }
  .layout-d > .root h3[style*="font-size: 40px"] { font-size: 28px !important; }
  .layout-d > .root h3[style*="font-size: 30px"], .layout-d > .root h3[style*="font-size: 28px"] { font-size: 26px !important; }
  .layout-d > .root p[style*="font-size: 22px"], .layout-d > .root p[style*="font-size: 20px"] { font-size: 18px !important; }
  .layout-d > .root p[style*="font-size: 19px"] { font-size: 17px !important; }
  .layout-d > .root [style*="font-size: 17px; letter-spacing: 0.1em"], .layout-d > .root [style*="font-size: 17px; letter-spacing: 0.08em"] { font-size: 14px !important; }

  /* Hero */
  .layout-d #top > div:first-child { gap: 20px !important; }
  .layout-d #top a[style*="min-height: 52px"] { flex: 1 1 100%; justify-content: center; }
  .layout-d #top figure > div { padding: 16px 12px 8px !important; }
  .layout-d #top figure p[data-evh] { font-size: 20px !important; }
  .layout-d #top figure p[data-evh="d"] { font-size: 34px !important; }
  .layout-d #top figcaption { font-size: 12px !important; }

  /* Cards and panels */
  .layout-d > .root [style*="padding: 32px 28px"] { padding: 24px 22px !important; }
  .layout-d > .root [style*="padding: 28px 32px"], .layout-d > .root [style*="padding: 28px;"] { padding: 22px !important; }
  .layout-d #engine > div[style*="grid-column: 1 / -1"] { padding: 24px 20px !important; gap: 22px !important; }

  /* Engine comparison: two narrow columns, smaller type */
  .layout-d #engine div[style*="background: #FFFFFF; border: 1px solid #D9D5CA; border-radius: 10px; overflow: hidden"] > div { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; padding: 14px 16px !important; font-size: 15px !important; }
  .layout-d #engine div[style*="overflow: hidden"] > div:first-child { font-size: 12px !important; letter-spacing: 0.06em !important; }
  /* AI + scientist = result: stacked */
  .layout-d #engine [style*="minmax(0, 1fr) 40px minmax(0, 1fr) 40px"] { grid-template-columns: minmax(0, 1fr) !important; }
  .layout-d #engine [style*="minmax(0, 1fr) 40px minmax(0, 1fr) 40px"] > span[aria-hidden] { height: 40px; font-size: 28px !important; }

  /* About */
  .layout-d #about figure { max-width: none; }
  .layout-d #about figure img { aspect-ratio: 1 / 1; }


  /* Contact form */
  .layout-d #contact form { padding: 22px !important; }
}
