/* Intellica homepage — section layouts. Component styles live in components.css. */

/* ---------- hero: see hero.css (v3, 2026-09-22) ---------- */
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- trust ---------- */
.trust { padding: 40px 0 50px; }
.trust .label { text-align: center; margin-bottom: 26px; }

/* ---------- why ---------- */
.why { padding: 130px 0 120px; text-align: center; }
.why .h2 { max-width: 900px; margin: 0 auto 22px; }
.why .lede { max-width: 600px; margin: 0 auto; }
.why .lede + .lede { margin-top: 16px; }

/* ---------- how it works (heyclicky feature flow: chat above copy, big media panel) ---------- */
.how { padding: 30px 0 60px; }
.how .wrap { max-width: 1280px; }
.how .wrap > .head { text-align: center; margin-bottom: 70px; }
.how .wrap > .head .h2 { margin-top: 14px; }
.step { display: grid; grid-template-columns: minmax(300px, .8fr) 1.55fr; gap: 56px; align-items: center; padding: 48px 0; }
.step:first-child { padding-top: 24px; }
.step.flip { grid-template-columns: 1.55fr minmax(300px, .8fr); }
.step.flip .copy { order: 2; }
.step .copy .n { font-family: var(--mono); font-size: 12px; color: var(--hero); letter-spacing: .1em; margin-bottom: 14px; }
.step .copy .h3 { margin-bottom: 10px; font-family: var(--sans); font-weight: 600; font-variation-settings: normal; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.02em; line-height: 1.25; text-transform: lowercase; }   /* subhead register: Geist, lowercase */
.step .copy p { color: var(--ink-2); max-width: 440px; font-size: 17px; }
@media (max-width: 900px) { .step { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; } .step.flip { grid-template-columns: 1fr; } .step.flip .copy { order: 0; } .panel .beside { display: none; } .panel { min-height: 0; aspect-ratio: 4/3; } .cb { font-size: 18px; } }

/* ---------- outcomes ---------- */
.outcomes { padding: 30px 0 110px; }
.outcomes .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.outcome { padding: 22px 22px 24px; }
.outcome b { display: block; font-family: var(--display); font-weight: 400; font-variation-settings: var(--display-fvs); font-size: 30px; letter-spacing: -.01em; line-height: 1; margin-bottom: 8px; }
.outcome .t { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.outcome .d { color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 900px) { .outcomes .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .outcomes .grid { grid-template-columns: 1fr; } }

/* ---------- customers ---------- */
.customers { padding: 40px 0 110px; }
.customers .wrap > .head { text-align: center; padding: 70px 0 40px; }
.customers .wrap > .head .h2 { margin-top: 14px; }
.customers .marquee + .marquee { margin-top: 18px; }
.customers .marquee .track { gap: 18px; padding: 10px 20px; }
.vtile { width: 300px; height: 190px; border-radius: 18px; position: relative; overflow: hidden; background: linear-gradient(160deg, #1B2333, #0F131C); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-1); }
.vtile img.scan { position: absolute; right: -10px; top: -6px; height: 115%; opacity: .22; filter: invert(1); }
.vtile .play { position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.vtile .play svg { width: 12px; height: 12px; margin-left: 2px; }
.vtile .who { font-weight: 600; font-size: 15px; position: relative; }
.vtile .who small { display: block; font-weight: 400; color: rgba(255,255,255,.7); font-size: 12px; font-family: var(--mono); margin-top: 3px; }
.vtile .dur { position: absolute; right: 14px; bottom: 14px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.7); }
.quote-bubble { max-width: 340px; }
.quote-bubble .by { display: block; font-family: var(--mono); font-size: 10.5px; opacity: .8; margin-top: 6px; letter-spacing: .04em; }
.solo.in.quote-bubble .by { color: var(--ink-3); }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 60px auto 0; padding: 30px 34px; }
.proof .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.proof .nums b { display: block; font-family: var(--display); font-weight: 400; font-variation-settings: var(--display-fvs); font-size: 34px; letter-spacing: -.01em; line-height: 1; }
.proof .nums span { font-size: 13px; color: var(--ink-2); }
.proof .txt img { height: 26px; margin-bottom: 14px; }
.proof .txt p { color: var(--ink-2); font-size: 15px; }
.proof .txt a { color: var(--hero); font-weight: 500; font-size: 14px; display: inline-block; margin-top: 10px; }
@media (max-width: 800px) { .proof { grid-template-columns: 1fr; } }

/* ---------- industries ---------- */
.industries { padding: 100px 0; }
.industries .wrap > .head { margin-bottom: 40px; max-width: 640px; }
.industries .wrap > .head .h2 { margin-top: 14px; }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 200px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.ind:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.ind .t { font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.ind .t span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); font-weight: 400; }
.ind .solo { max-width: 100%; box-shadow: none; align-self: flex-start; }
.ind .logos { margin-top: auto; display: flex; gap: 16px; align-items: center; }
.ind .logos img { height: 16px; opacity: .6; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { padding: 100px 0; }
.pricing .wrap > .head { text-align: center; margin-bottom: 44px; }
.pricing .wrap > .head .h2 { margin-top: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price { padding: 34px 36px; border-radius: 24px; }
.price .big { font-family: var(--display); font-weight: 400; font-variation-settings: var(--display-fvs); letter-spacing: -.02em; font-size: 88px; line-height: 1; }
.price .big small { font-size: 18px; letter-spacing: 0; font-weight: 500; color: var(--ink-2); margin-left: 8px; font-family: var(--sans); }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.price li i { width: 18px; height: 18px; border-radius: 50%; background: var(--hero); display: grid; place-items: center; flex: none; }
.price li i svg { width: 10px; height: 10px; }
.attrib { padding: 34px 36px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.attrib .h3 { font-size: 22px; }
.attrib p { color: var(--ink-2); font-size: 15px; }
.attrib .ledger { width: 100%; margin-top: auto; }
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } .price .big { font-size: 72px; } }

/* ---------- faq ---------- */
.faq { padding: 100px 0; }
.faq .grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.faq .h2 { margin-top: 14px; }
@media (max-width: 900px) { .faq .grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- close + footer ---------- */
.close { padding: 120px 0 110px; text-align: center; position: relative; overflow: hidden; }
.close .h2 { max-width: 760px; margin: 0 auto 28px; }
.close .lede { max-width: 520px; margin: 0 auto 30px; }
.close .mark-big { position: absolute; right: -40px; bottom: -40px; height: 380px; opacity: .06; pointer-events: none; }
.footer { padding: 34px 0 44px; font-size: 13px; color: var(--ink-2); }
.footer .lockup { font-size: 18px; }
.footer .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a:hover { color: var(--ink); }
.footer .legal { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 16px; }

/* ---------- results (2026-10-12): stats + testimonials in one grid, the amplemarket.com pattern (Calvin).
   Replaces the outcomes strip, the customers marquee and the industries cards on index.html / index-alt.html
   (v1 keeps its own markup, so the old rules above stay). Stat cards in our pigments, quotes on a cool grey card. ---------- */
.results { padding: 40px 0 110px; }
.results .wrap { max-width: 1240px; }
.results .wrap > .head { text-align: center; padding: 70px 0 44px; }
.results .wrap > .head .h2 { margin-top: 0; }   /* no eyebrow (Calvin) */
.rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(264px, auto); gap: 22px; }
.rc { position: relative; border-radius: 18px; padding: 28px 28px 26px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.rc-logo { display: block; height: 22px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }
/* a stat: the number, what it means, whose number it is */
.rc.stat { border: 1px solid color-mix(in oklab, var(--ink) 5%, transparent); }
.rc.stat b { display: block; font-family: var(--sans); font-weight: 400; font-size: clamp(56px, 4.9vw, 72px); line-height: 1; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }   /* one line, always */
.rc.stat > div > span { display: block; margin-top: 10px; font-size: 17px; line-height: 1.35; color: var(--ink-2); max-width: 15em; }
.rc.yel { background: color-mix(in oklab, var(--yellow-paper) 52%, #fff); }
.rc.grn { background: var(--green-paper); }
.rc.blu { background: var(--hero-tint); }
.rc.crm { background: var(--wash); }
/* a quote: two columns wide, the person and the brand underneath */
.rc.quote { grid-column: span 2; margin: 0; background: #F3F5F8; border: 1px solid var(--line); }
.rc.quote blockquote { margin: 0; font-size: 24px; line-height: 1.36; letter-spacing: -.012em; color: var(--ink); max-width: 30em; }
.rc.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.rc .av { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; object-position: 50% 24%; flex: none; }
.rc .who { display: block; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.rc .who small { display: block; font-size: 15px; font-weight: 400; color: var(--ink-3); }
.rc.quote .rc-logo { margin-left: auto; }
@media (max-width: 1023px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rgrid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .rc.quote { grid-column: auto; }
  .rc { min-height: 220px; }
  .rc.stat b { font-size: 46px; }
  .rc.quote blockquote { font-size: 20px; }
  /* the person and the brand on one row (Calvin, 2026-10-17, after Amplemarket): a smaller face, name and logo, and the
     logo gives way first, so the name keeps its line */
  .rc.quote { padding: 22px 20px 20px; }
  .rc.quote figcaption { gap: 10px; margin-top: 20px; }
  .rc.quote .av { width: 40px; height: 40px; border-radius: 10px; }
  .rc.quote .who { flex: none; font-size: 15px; }   /* the name keeps its line; the logo shrinks instead */
  .rc.quote .who small { font-size: 13.5px; }
  .rc.quote .rc-logo { flex: 0 1 auto; min-width: 0; height: 16px; max-width: 42%; object-position: right center; }
}
@media (max-width: 340px) {
  .rc.quote .who { flex: 0 1 auto; min-width: 0; }   /* the smallest phones: the name may take two lines */
}

/* how it works: a panel's min-height × its 16:10 ratio forced a 768px minimum width, so the page ran wide at ~960–1180px
   (found 2026-10-13). Let the panel shrink with its column there; the rig inside already scales to the frame. */
.step > .panel { min-width: 0; }
@media (max-width: 1180px) { .step > .panel { min-height: 0; } }

/* ---------- results: the stat cards flip (client feedback, 2026-10-17). Calvin: "very light movement on hover to signify
   interactive, then a click to flip and show another stat." Each card is a button holding both faces, so both read out;
   the back is a second number from the same source (Manly Bands' case study, or Intellica's deck). A faint turn and lift on
   hover, the ↻ in the corner, a click or Enter turns it over (home.js). Reduced motion: the faces swap in place. ---------- */
.results .wrap > .head .rsub { margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.rc.stat.flip { padding: 0; border: 0; background: none; overflow: visible; perspective: 1400px; cursor: pointer;
  font: inherit; color: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
.rc.flip:focus-visible { outline: none; }
.rc.flip:focus-visible .rc-face { box-shadow: 0 0 0 3px color-mix(in oklab, var(--hero) 32%, transparent); }
/* the flip rides on transform (.8s); the hover lean rides on rotate, so it lands with the lift and the ↻ on one .35s beat.
   The two compose: a turned card leans to 171° */
.rc-in { position: relative; flex: 1; display: grid; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.3,.8,.25,1), rotate .35s var(--ease), translate .35s var(--ease); }
.rc-face { position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 28px 28px 26px; border-radius: 18px; border: 1px solid color-mix(in oklab, var(--ink) 5%, transparent);
  background: var(--face); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rc-face.back { transform: rotateY(180deg); }
.rc.flip.yel { --face: color-mix(in oklab, var(--yellow-paper) 52%, #fff); }
.rc.flip.grn { --face: var(--green-paper); }
.rc.flip.blu { --face: var(--hero-tint); }
.rc.flip.crm { --face: var(--wash); }
/* the number holds the bottom (Calvin, 2026-10-19, option 01 of _explorations/stat-cards.html): no mark on the card; the label sits at
   the top, clear of the turn icon, and the number anchors the card */
.rc-num { flex: 1; display: flex; flex-direction: column-reverse; justify-content: space-between; gap: 18px; }
.rc-num > span { display: block; margin-top: 0; padding-right: 26px; font-size: 17px; line-height: 1.35; color: var(--ink-2); max-width: 15em; }
.rc-turn { position: absolute; top: 20px; right: 20px; width: 18px; height: 18px; color: var(--ink); opacity: .32; transition: opacity .35s var(--ease), rotate .35s var(--ease); }
.rc-turn svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .rc.flip:hover .rc-in { rotate: y -9deg; translate: 0 -3px; }
  .rc.flip:hover .rc-turn { opacity: .75; rotate: 45deg; }
}
.rc.flip[aria-pressed="true"] .rc-in { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) {
  .rc-in, .rc.flip:hover .rc-in, .rc.flip[aria-pressed="true"] .rc-in, .rc.flip[aria-pressed="true"]:hover .rc-in { transform: none; rotate: none; translate: none; }
  .rc-face { backface-visibility: visible; -webkit-backface-visibility: visible; transition: opacity .3s; }
  .rc-face.back { transform: none; opacity: 0; }
  .rc.flip[aria-pressed="true"] .rc-face.front { opacity: 0; }
  .rc.flip[aria-pressed="true"] .rc-face.back { opacity: 1; }
}

/* ---------- results on phones (Calvin, 2026-10-17, after Amplemarket's mobile grid): the stat cards two to a row and
   smaller, the quotes full width. Desktop and tablet are untouched. ---------- */
@media (max-width: 640px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rc.quote { grid-column: 1 / -1; }
  .rc.stat.flip { min-height: 0; }
  .rc-face { gap: 12px; padding: 18px 16px 16px; border-radius: 16px; }
  .rc.stat b { font-size: 40px; }
  .rc-num > span { padding-right: 18px; font-size: 13.5px; line-height: 1.3; }
  .rc-face .rc-logo { height: 16px; max-width: 100%; }
  .rc-face .lk-card { font-size: 16px; }
  .rc-turn { top: 12px; right: 12px; width: 15px; height: 15px; }
}

/* ---------- phones: the section rhythm, about a third tighter (Calvin, 2026-10-17: "all sections a bit too spaced on mobile"). Each section file carries its own share: examples.css, team.css, pricing.css, faq.css. ---------- */
@media (max-width: 640px) {
  .trust { padding: 14px 0 30px; }
  .results { padding: 20px 0 56px; }
  .results .wrap > .head { padding: 46px 0 32px; }
}
