/* ==========================================================================
   Flow patterns (25 Nov 2026, asked by Tommy for the Pricing page).
   Shared sections that first lived inside one page's own <style>. Moved
   here word for word, so the pages that had them look exactly the same:
     - from vantage.html: the page background, navy sections with waves,
       the blue-to-navy close, the "Leave it to us" split, the suite cards
     - from index.html: the homepage FAQ, now .faq--ruled
     - from styles/pricing.css (25 Nov 2026, for the Speed demos page):
       the pale page background (.p-page), the left-aligned hero copy
       (.p-hero), form fields and the error box (.field, .qerr), the small
       arrow link (.text-more) and the close with buttons (.p-close)
   Used by: vantage.html, index.html (FAQ only), pricing.html, speed-demos.html.
   Load after product-page.css (or sections.css on the homepage).

   Page-specific extras stay on their page: Peter's swooshes and drawn
   pebbles on vantage.html, the homepage's own page background.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page background (Peter, 24 Nov 2026): one continuous layer behind the
   light sections, so the page reads as one. Desktop-first.
   <main class="v-page"><div class="v-page-bg" aria-hidden="true"></div> …
   A page can set its own wash with --page-wash on .v-page-bg.
   -------------------------------------------------------------------------- */
body { overflow-x: clip; }
.v-page { position: relative; isolation: isolate; }
.v-page-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: var(--page-wash, linear-gradient(180deg, #FFFFFF 0px, #EEF7FD 485px, #E4F2FC 970px, #F6FBFE 1500px, #E4F2FC 2080px, #F3F9FE 2408px, #FFFFFF 2990px, #EEF7FD 100%)); }
/* Light sections let the page background through */
.v-page > .v-hero, .v-page > .tour, .v-page > .section:not(.dark):not(.book) { background: transparent; }

/* --------------------------------------------------------------------------
   Navy sections swish into the light ones. Each navy section and its wave
   edges are ONE masked shape, so its gradient runs straight through the
   wave with no seam (Peter, 24 Nov 2026).
   -------------------------------------------------------------------------- */
.v-page > .section.dark, .v-page > .book { position: relative; z-index: 1; }
.v-page > .section.dark {
  margin: -90px 0; padding: 90px 0;
  background: linear-gradient(180deg, #0B4A86 0px, #0E2050 150px, #0E2050 calc(100% - 150px), #11306A 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 178px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0V40C300 86 600 90 880 62S1260 10 1440 46V0Z'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 178px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0V40C300 86 600 90 880 62S1260 10 1440 46V0Z'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; }
/* The close (.book): the wave's top half glows Odro Blue, fading into navy, which meets the navy footer cleanly */
.v-page > .book {
  margin-top: -90px; padding-top: 90px;
  background:
    linear-gradient(180deg, rgba(14,32,80,0) 55%, #0E2050 100%),
    linear-gradient(100deg, rgba(95,191,237,.22) 0%, rgba(95,191,237,0) 35%, rgba(0,148,198,0) 65%, rgba(0,148,198,.28) 100%),
    linear-gradient(180deg, #0094C6 0px, #0A5B9E 70px, #0E2050 230px, #0E2050 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 89px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 89px) no-repeat; }
.v-page > .section.dark + .section { padding-top: 90px; }   /* clear the wave above */

/* --------------------------------------------------------------------------
   Navy split: heading and button left, rows right (vantage.html "03 / Leave
   it to us", 24 Nov 2026). The 5/7 split of .v-split (product-page.css);
   .lead-line and .reasons from sections.css.
   The HTML is in phone order (heading, rows, button); on desktop, grid
   areas put the button under the heading. 900px and below: one column.
   -------------------------------------------------------------------------- */
.leave > .wrap { padding-top: var(--section-pad-y-sm); padding-bottom: var(--section-pad-y-sm); }
.leave .v-split { grid-template-areas: "head reasons" "cta reasons"; grid-template-rows: auto 1fr; align-items: start; row-gap: var(--space-13); }
.leave-head { grid-area: head; }
.leave .reasons { grid-area: reasons; gap: 0; margin: 0; }
.leave .reasons li { padding: var(--space-10) 0; border-top: 1px solid var(--border-on-dark); }
.leave .reasons li:first-child { padding-top: 0; border-top: 0; }
.leave .reasons li:last-child { padding-bottom: 0; }
.leave-cta { grid-area: cta; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6) var(--space-9); }
.leave-cta span { color: var(--color-soft-on-dark); }
@media (max-width: 900px) {
  .leave .v-split { grid-template-areas: "head" "reasons" "cta"; grid-template-rows: none; row-gap: var(--space-11); }
}

/* --------------------------------------------------------------------------
   Suite cards (vantage.html "The rest of Odro helps you win it.", Peter,
   24 Nov 2026): white cards, a product logo, a short line, lift on hover.
   -------------------------------------------------------------------------- */
.suite-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); width: 100%; max-width: 1100px; }
.suite-card { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding: 30px 24px 26px; background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); color: var(--color-ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.suite-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.suite-card:focus-visible { outline: 3px solid var(--odro-deep-blue); outline-offset: 3px; }
.suite-card img { height: 54px; width: auto; max-width: 100%; }
.suite-card span { font-size: var(--text-small); }
@media (max-width: 900px) { .suite-cards { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }

/* --------------------------------------------------------------------------
   Ruled FAQ (the homepage "Questions buyers ask us"): heading and an email
   line on the left, the questions on the right as a list split by thin
   rules, a plus that turns into a cross when open. No boxes. Stacks at 900px.
   <section class="faq--ruled"><div class="wrap"><div class="faq-side">…</div><div>details…</div></div></section>
   The boxed FAQ on the product pages (.faq in product-page.css) is separate:
   don't put both classes on one section outside the homepage.
   -------------------------------------------------------------------------- */
.faq--ruled { background: var(--surface-page); }
.faq--ruled .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); }
.faq--ruled h2 { font-weight: var(--weight-semibold); font-size: var(--text-h2-sm); line-height: var(--leading-heading); letter-spacing: -0.025em; }
.faq--ruled .faq-side { display: flex; flex-direction: column; gap: var(--space-7); align-self: start; }
.faq--ruled details { border-bottom: 1px solid var(--border-strong); padding: var(--space-8) 0; scroll-margin-top: calc(68px + var(--space-7)); }  /* clears the sticky header when linked to */
.faq--ruled details:first-child { border-top: 1px solid var(--border-strong); }
.faq--ruled summary { display: flex; justify-content: space-between; gap: var(--space-7); font-weight: var(--weight-bold); font-size: 18px; cursor: pointer; list-style: none; }
.faq--ruled summary::-webkit-details-marker { display: none; }
.faq--ruled summary svg { flex: none; margin-top: 5px; transition: transform .2s; }
.faq--ruled details[open] summary svg { transform: rotate(45deg); }
.faq--ruled details p { margin-top: var(--space-5); max-width: 62ch; }
@media (max-width: 900px) { .faq--ruled .wrap { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Navy button: Deep Navy with white text, Odro deep blue on hover.
   First used for "Book a demo" in the Pricing hero (25 Nov 2026).
   Pair with .btn from product-page.css.
   -------------------------------------------------------------------------- */
.btn-navy { background: var(--odro-navy); color: var(--odro-white); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-navy:hover { background: var(--odro-deep-blue); color: var(--odro-white); transform: translateY(-2px); box-shadow: 0 10px 22px var(--odro-navy-a18); }
/* Outlined button on navy: the lightest blue border, white text. Second button beside a gold one. */
.btn-outline-dark { background: transparent; color: var(--color-ink-on-dark); border: 2px solid var(--button-outline-on-dark); padding: 12px 24px; transition: background .2s ease; }
.btn-outline-dark:hover { background: var(--odro-white-a08); color: var(--color-ink-on-dark); }
@media (prefers-reduced-motion: reduce) { .btn-navy, .btn-navy:hover, .btn-outline-dark { transition: none; transform: none; } }

/* ==========================================================================
   From styles/pricing.css, word for word (25 Nov 2026), so the Speed demos
   page can share them. Used by pricing.html and speed-demos.html.
   ========================================================================== */

/* Pale page background: <main class="v-page p-page"> */
.p-page { --page-wash: linear-gradient(180deg, #FFFFFF 0px, #EEF7FD 480px, #E4F2FC 940px, #F6FBFE 1500px, #E4F2FC 2150px, #F3F9FE 2600px, #FFFFFF 3050px); }
.p-page .v-page-bg { background: var(--page-wash); }

/* Hero, split and left aligned: label, H1 on two lines, a line, a navy button.
   The right-hand side (form or pebble) is set on each page. */
.p-hero { position: relative; overflow: hidden; }   /* clips the pebble where it runs off the page */
/* Bottom padding adds 90px for the navy section's wave, which overlaps the hero by 90px (flow.css) */
.p-hero .wrap { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-12) 56px; padding-top: clamp(28px, 4vw, 56px); padding-bottom: calc(clamp(40px, 5vw, 64px) + 90px); }
.p-hero-copy { position: relative; z-index: 1; flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-7); }  /* copy and logos always sit above the pebble */
.p-hero-copy .eyebrow { margin: 0; }
.p-hero h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.p-hero h1 span { display: block; }
.p-hero-line { margin: var(--space-2) 0 0; font-size: clamp(19px, 1.7vw, 22px); max-width: 520px; }
.p-hero-cta { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-5); }
.p-hero .btn-navy { font-size: var(--text-body); }

/* Form fields and the error box (the form block's stand-ins; match a HubSpot raw HTML embed to these) */
.field { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-ui); font-weight: var(--weight-bold); }
.field input, .field select { min-height: 48px; border-radius: var(--radius-md); border: 1.5px solid var(--odro-mid-blue); padding: 0 var(--space-6); font-family: var(--font-body); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--color-ink); background: var(--surface-card); box-sizing: border-box; width: 100%; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--odro-deep-blue); outline-offset: 2px; }
.qerr { margin: 0; font-size: var(--text-caption); font-weight: var(--weight-bold); color: var(--color-ink); background: #FFF6CC; border-radius: 10px; padding: var(--space-2) var(--space-4); }
/* Empty live regions stay in the page (so screen readers announce them when filled) but take no space */
.qerr:empty { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }

/* Small bold link with an arrow */
.text-more { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-bold); font-size: var(--text-small); text-decoration: none; }

/* The close (.book) with two buttons in place of the form: copy left, buttons right */
.p-close .wrap { display: flex; flex-wrap: wrap; flex-direction: row; gap: var(--space-10) var(--space-14); align-items: center; justify-content: space-between; padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(56px, 6vw, 88px); }
.p-close .book-copy { flex: 1 1 440px; min-width: 0; }
.p-close-actions { display: flex; flex-wrap: wrap; gap: var(--space-5); }
