/* Takeoff site styles
   Layout idea: CAP's structure (light page, alternating bands, one dark band, dark footer),
   recoloured in the logo's royal blue and cream. Colour rule: YELLOW MEANS CLICK. Sunflower yellow is
   used only on things you can click (buttons, link underlines) plus the one headline highlight.
   Everything else is navy-black, cream and the logo blue. */
:root {
  --cream: #FEF8EE;      /* page background; the same cream as the logo */
  --paper: #F5ECD9;      /* alternate band */
  --card: #FFFCF6;       /* cards on cream */
  --ink: #0F1A3A;        /* body text, navy-black */
  --muted: #5E6787;      /* secondary text, blue-grey */
  --soft: #002C90;       /* second half of two-tone headings: logo blue */
  --line: #E4D7BE;       /* hairlines */
  --blue: #002C90;       /* logo blue: buttons, dark bands */
  --blue-deep: #002C90;  /* dark panels, closing band, footer: the same blue as the logo (one blue site-wide) */
  --on-blue: #FEF8EE;    /* cream text on blue: the same cream as the logo */
  --accent: #F2B829;     /* sunflower yellow: ONLY for clickable things and the headline highlight */
  --btn-text: #000000;   /* black lettering on yellow buttons */
  --sky: #9CCBF2;        /* sky blue: small labels on the blue sections and footer (never clickable) */
  --support: #D3E6F7;    /* pale sky: icon circles on cream (never clickable) */
  --gold: var(--accent); /* old name for the accent */
  --ph: #C79A3E;         /* placeholder boxes only, so they stand out until replaced */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 600; /* headline thickness, the same as CAP's */
  --font-logo: "Figtree", "Helvetica Neue", Arial, sans-serif; /* wordmark only: swap here to try another */
  --gold-text: var(--blue); /* small labels on cream: yellow is too pale there, so they use the logo blue */
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--heading); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: var(--display-weight); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: var(--display-weight); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.soft { color: var(--soft); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.small { font-size: 0.92rem; color: var(--muted); }
.mark {
  /* a marker stroke behind the words: the dark text carries the contrast, the yellow just highlights */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 86%;
  padding: 0 0.06em;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.band { background: var(--paper); }
.stack { display: grid; gap: 18px; }
.section-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--btn-text);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #E3A812; transform: translateY(-1px); }
.btn.big { padding: 18px 34px; font-size: 1.08rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--card); }
.btn.cream { background: var(--accent); color: var(--btn-text); }
.btn.cream:hover { background: #FFD25A; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
.textlink:hover { color: var(--blue); }
.arrow::after { content: " \2192"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(254, 248, 238, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
/* Wordmark: Figtree 800, stacked (Takeoff above Partners), both words the same weight.
   The two lines together are about the height of the logo circle, like Mailchimp's. */
.wordmark { font-family: var(--font-logo); font-weight: 800; font-size: 1.36rem; letter-spacing: -0.01em; line-height: 0.94; color: var(--blue); white-space: nowrap; display: inline-flex; flex-direction: column; }
.wordmark span { font-weight: inherit; }
@media (max-width: 420px) { .wordmark { font-size: 1.16rem; } .brand img { width: 42px; height: 42px; } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav .drop > button { font-size: 0.98rem; text-decoration: none; color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; padding: 6px 0; }
.nav > a:hover, .nav .drop > button:hover { color: var(--blue); }
.drop { position: relative; }
.drop > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 8px; position: relative; top: -3px; }
.drop-menu { position: absolute; top: 100%; left: -18px; min-width: 290px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: 0 14px 40px rgba(15, 26, 58, 0.12); display: none; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: grid; }
.drop-menu a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 0.96rem; }
.drop-menu a:hover { background: var(--paper); color: var(--blue); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.mobile-panel { display: none; border-top: 1px solid var(--line); padding: 14px 24px 22px; background: var(--cream); }
.mobile-panel a { display: block; padding: 10px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 16px; border-bottom: 0; }
.mobile-panel.open { display: block; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header .header-cta { display: none; }
}

/* Hero */
.hero { padding: 56px 0 48px; text-align: center; } /* 56px from the bar to the headline: the middle of Mailchimp, Gusto, Acquisition.com and CAP */
.hero .wrap { display: grid; justify-items: center; gap: 24px; }
.hero .eyebrow { margin-bottom: -6px; }
@media (max-width: 560px) { .hero { padding: 32px 0 48px; } section { padding: 64px 0; } }
.hero .lede { margin: 0 auto; }
.hero .hero-links { margin-top: 16px; } /* 40px below the button, up from 24px */
.hero-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 0.96rem; color: var(--muted); }
.hero-links a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); font-weight: 600; }
.hero-links a:hover { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { font-size: 0.92rem; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--card); }
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* Placeholder marker: anything here still needs your real content */
.ph {
  border: 1.5px dashed var(--ph);
  background: repeating-linear-gradient(135deg, rgba(199,154,62,0.07) 0 10px, rgba(199,154,62,0.02) 10px 20px);
  color: var(--muted); border-radius: 12px;
}
.ph-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8A6620; background: rgba(199,154,62,0.18); padding: 3px 8px; border-radius: 6px; }

/* Logo strip */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.logos .wrap { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.logos .label { font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-slot { height: 54px; display: grid; place-items: center; font-size: 0.78rem; text-align: center; padding: 4px; }
@media (max-width: 760px) { .logos .wrap { grid-template-columns: 1fr; } .logo-row { grid-template-columns: repeat(3, 1fr); } }


/* Industry cards */
.ind-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.ind-grid .col { display: grid; gap: 18px; }
.ind-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; align-content: space-between; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.ind-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.ind-card.feature { background: var(--blue); color: var(--on-blue); border-color: var(--blue); min-height: 100%; position: relative; overflow: hidden; }
.ind-card.feature h3, .ind-card.feature .result strong { color: #fff; }
.ind-card.feature p { color: rgba(254, 248, 238, 0.85); }
.ind-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ind-card h3 { font-size: 1.6rem; }
.ind-card p { color: var(--muted); }
.ind-card .result strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
.ind-card .result .ph { padding: 10px 14px; display: grid; gap: 4px; }
.ind-card.feature .ph { border-color: var(--on-blue); color: var(--on-blue); background: rgba(252,238,213,0.08); }
.ind-card.feature .ph-tag { color: var(--blue); background: var(--on-blue); }
.ind-card .go { font-weight: 600; font-size: 0.95rem; }
.ind-card .go::after { content: " \2192"; }
.plane-trail { position: absolute; right: -50px; bottom: 40px; width: 300px; opacity: 0.18; pointer-events: none; }
@media (max-width: 860px) { .ind-grid, .ind-card.wide { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 6px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num.ph { font-size: 1.6rem; padding: 10px 12px; border-radius: 10px; }
.stat:first-child .num:not(.ph) { color: var(--blue); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 26px 0; } .stat { padding: 0 16px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pillar { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 12px; align-content: start; }
.pillar svg { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--support); stroke: var(--blue); fill: none; stroke-width: 1.8; }
.pillar p { color: var(--muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo-slot { aspect-ratio: 4 / 3; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 24px; }
.founder .stack { gap: 22px; }
.founder .photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: 0 16px 40px rgba(15, 26, 58, 0.12); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 32px; } }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.case:first-child { background: var(--blue); color: var(--on-blue); border-color: var(--blue); }
.case:first-child .ph { border-color: var(--on-blue); color: var(--on-blue); background: rgba(252,238,213,0.08); }
.case:first-child .ph-tag { color: var(--blue); background: var(--on-blue); }
.case .ph { padding: 12px 14px; }
.case .big { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.case .who { font-size: 0.9rem; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* Testimonial */
.quote { text-align: center; display: grid; gap: 22px; justify-items: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; max-width: 30ch; padding: 22px 28px; }
.quote .person { display: flex; gap: 14px; align-items: center; text-align: left; }
.quote .avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 0.65rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 62ch; }
.faq .faq-after { margin: 24px 0 0; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 28px; } }

/* Closing band and footer */
.closing { background: var(--blue-deep); color: var(--on-blue); text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.closing .wrap { display: grid; gap: 22px; justify-items: center; position: relative; }
.closing h2 { color: #fff; }
.closing p { color: rgba(254, 248, 238, 0.86); max-width: 52ch; font-size: 1.12rem; }
.site-footer { background: var(--blue-deep); color: rgba(254, 248, 238, 0.82); padding: 72px 0 36px; font-size: 0.95rem; border-top: 1px solid rgba(156, 203, 242, 0.18); }   /* same blue as the closing band, so a fine line separates them */
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .wordmark { color: var(--on-blue); }
.footer-brand .brand img { background: var(--cream); border-radius: 50%; padding: 2px; width: 46px; height: 46px; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(254, 248, 238, 0.18); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .ph { border-color: rgba(252,238,213,0.55); color: rgba(252,238,213,0.8); background: transparent; padding: 2px 8px; border-radius: 6px; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Inner page hero */
.page-hero { padding: 84px 0 56px; }
.page-hero .wrap { display: grid; gap: 22px; max-width: 900px; margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.price.dark .eyebrow { color: var(--sky); }
.eyebrow a { text-decoration: none; color: var(--muted); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Tiles row (industry pages) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; align-content: start; }
.tile strong { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.tile.ph strong { font-size: 1.3rem; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* Work grid */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work .item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.work .item p { color: var(--muted); }
.work .n { font-family: var(--font-display); font-weight: 800; color: var(--gold-text); font-size: 0.95rem; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work { grid-template-columns: 1fr; } }

.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tools span { background: var(--card); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.timeline .step { border-top: 3px solid var(--blue); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.timeline .when { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.timeline p { color: var(--muted); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* Pricing */
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 16px; align-content: start; }
.price.dark { background: var(--blue); color: var(--on-blue); border-color: var(--blue); }
.price.dark h3, .price.dark .amount { color: #fff; }
.price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1.05; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.price-stack { display: grid; gap: 18px; }
.price-main { display: grid; gap: 16px; align-content: start; }
@media (min-width: 861px) {
  .price-stack .price { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 56px; align-items: center; padding: 40px 44px; }
}

/* Forms, quiz, report */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: 0 18px 50px rgba(15, 26, 58, 0.07); }
.quiz { max-width: 720px; margin: 0 auto; scroll-margin-top: 96px; }
#book-next, #book-next h3 { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
.progress { height: 6px; background: var(--paper); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.progress div { height: 100%; background: var(--blue); width: 0; transition: width .25s ease; }
.qcount { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.quiz h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 22px; }
.options { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--cream); font-weight: 500; }
.opt:hover { border-color: var(--blue); }
.opt input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; flex-shrink: 0; border: 2px solid #B9AB8C; background: #fff; border-radius: 50%; display: grid; place-content: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.opt input[type=checkbox] { border-radius: 6px; }
.opt input:checked { border-color: var(--blue); }
.opt input[type=radio]:checked { background: radial-gradient(circle, var(--blue) 0 4.5px, #fff 5px); }
.opt input[type=checkbox]:checked { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23FEF8EE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.opt input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--blue); background: #EEF1FA; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.back { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 8px 0; }
.back:hover { color: var(--ink); }
.back[disabled] { visibility: hidden; }
.hint { font-size: 0.88rem; color: #A0412D; min-height: 1.4em; margin-top: 10px; }
.report { display: grid; gap: 22px; }
.report .tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.report h2 { margin: 0; }
.report .numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report .numbers div { background: var(--paper); border-radius: 14px; padding: 16px; display: grid; gap: 2px; }
.report .numbers strong { font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.report ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prompt-box { background: var(--ink); color: #EDEFF7; border-radius: 14px; padding: 18px 20px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9rem; line-height: 1.55; white-space: pre-wrap; }
.copy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 560px) { .report .numbers { grid-template-columns: 1fr; } .panel { padding: 24px; } }

/* Report: email gate, writing screen, report sections */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.gate, .gate-box, .writing, .report { grid-template-columns: minmax(0, 1fr); }
.gate { display: grid; gap: 16px; }
.gate .tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.gate h2 { margin: 0; }
.gate-lead { font-size: 1.12rem; }
.gate-box { background: var(--paper); border-radius: 16px; padding: 22px; display: grid; gap: 12px; margin-top: 6px; }
.gate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gate-row input { flex: 1 1 240px; min-width: 0; font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.gate-row input:focus { border-color: var(--blue); outline: none; }
.gate-box .hint { margin: 0; min-height: 0; }
.gate-box .hint:empty { display: none; }
.gate .back { justify-self: start; }

.writing { display: grid; gap: 20px; padding: 6px 0 4px; }
.writing h2 { margin: 0; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stages li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.stages li::before { content: ""; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.stages li.now { color: var(--ink); font-weight: 600; }
.stages li.now::before { border-color: var(--blue); border-right-color: transparent; animation: stage-spin .8s linear infinite; }
.stages li.done { color: var(--ink); }
.stages li.done::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23FEF8EE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@keyframes stage-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stages li.now::before { animation: none; } }

.report section { padding: 0; display: grid; gap: 10px; }
.report-head { display: grid; gap: 8px; }
.report .sent { min-height: 1.4em; }
.report-lead { font-size: 1.1rem; }
.report-note { background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; }
.report .numbers strong { font-size: 1.35rem; line-height: 1.25; }
.report ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.report-quote { margin: 0; border-left: 3px solid var(--blue); padding: 2px 0 2px 18px; display: grid; gap: 6px; text-align: left; }
.report-quote figcaption { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.report-quote blockquote { margin: 0; font-style: italic; font-size: 1.05rem; color: var(--ink); }
.compare { width: 100%; border-collapse: collapse; }
.compare th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px 8px; color: var(--muted); }
.compare th + th { color: var(--blue); }
.compare td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; width: 50%; }
.compare td:first-child { color: var(--muted); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.next-grid > div { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.report-cta { box-shadow: none; background: var(--paper); border: 0; display: grid; gap: 12px; }
.report-meta { color: var(--muted); }
.other-field { margin-top: 12px; }
.other-field input { width: 100%; font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.other-field input:focus { border-color: var(--blue); outline: none; }

/* "What the fixed version looks like": numbered steps, each with who does it once AI is in */
.report .flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.flow li:first-child { border-top: 0; padding-top: 4px; }
.flow-n { width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; }
.flow-body { display: grid; gap: 4px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
.flow-top strong { font-size: 1.02rem; }
.flow-when { display: inline-block; min-width: 4.6em; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.flow-when.flow-ai { color: var(--blue); }
.who { font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.who-ai { background: var(--blue); color: var(--on-blue); }
.who-checked { background: #E3ECFA; color: var(--blue); }
.who-person { background: var(--paper); color: var(--ink); }

.report-share { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; }
.report-share button.textlink { background: none; border: 0; border-bottom: 3px solid var(--accent); padding: 0 0 2px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.report-share #share-note { color: var(--muted); }

/* The saved report page */
.report-page { max-width: 760px; margin: 0 auto; }
.report-missing { display: grid; gap: 14px; }
.report-missing h2 { margin: 0; }
@media (max-width: 560px) {
  .gate-row .btn { width: 100%; justify-content: center; }
  .compare thead { display: none; }
  .compare tr { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 12px 0; }
  .compare td { border: 0; padding: 0; width: auto; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .compare td + td { margin-top: 6px; }
  .compare td + td::before { color: var(--blue); }
  .next-grid { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .closing, .page-hero, .mobile-panel, .report-cta, .copy-row, .quiz-head, .quiz-nav { display: none !important; }
  main > section:not(:has(#quiz)):not(:has(#report-page)) { display: none !important; }
  section:has(#quiz), section:has(#report-page) { padding: 0; }
  .report-share, .report-note { display: none !important; }
  .flow li, .next-grid > div, .numbers > div { break-inside: avoid; }
  .report h3 { break-after: avoid; }
  .next-up, .report-quote { break-inside: avoid; }
  .who-ai { background: #fff; color: #000; border: 1px solid #000; }
  .panel { box-shadow: none; border: 0; padding: 0; }
  .prompt-box { background: #fff; color: #000; border: 1px solid #999; }
}

.sample { display: grid; gap: 18px; }
.sample .report { gap: 16px; }
.sample .report .numbers strong { font-size: 1.08rem; }
.sample .report .numbers .small { font-size: 0.78rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.notice { padding: 16px 18px; display: grid; gap: 6px; }

/* Yellow where it reads well: on blue */
.price.dark li::before { border-color: var(--sky); }
.ind-card.feature .go { color: var(--accent); }   /* a link, so yellow */

/* Sky blue on dark sections: labels and highlights that are not clickable */
.band-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky) !important; margin-bottom: -8px !important; }
.sky-hl { color: var(--sky) !important; }

/* ---------- Optional coloured top of page (switch on with a class on <body>) ---------- */
/* hdr-blue: the navigation bar in logo blue */
.hdr-blue .site-header { background: rgba(0, 44, 144, 0.97); border-bottom-color: rgba(254, 248, 238, 0.14); }
.hdr-blue .site-header .wordmark { color: var(--on-blue); }
.hdr-blue .site-header .brand img { background: var(--cream); border-radius: 50%; padding: 2px; }
.hdr-blue .nav > a, .hdr-blue .nav .drop > button { color: var(--on-blue); }
.hdr-blue .nav > a:hover, .hdr-blue .nav .drop > button:hover { color: var(--accent); }
.hdr-blue .menu-toggle { color: var(--on-blue); border-color: rgba(254, 248, 238, 0.7); }
.hdr-blue .mobile-panel { background: var(--blue); border-top-color: rgba(254, 248, 238, 0.14); }
.hdr-blue .mobile-panel a:not(.btn) { color: var(--on-blue); border-bottom-color: rgba(254, 248, 238, 0.14); }

/* hero-blue: the main banner in logo blue with light lettering.
   The highlighted words turn yellow (yellow behind white text would be unreadable). */
.hero-blue .hero { background: var(--blue); color: var(--on-blue); position: relative; overflow: hidden; }
.hero-blue .hero h1 { color: #fff; }
.hero-blue .hero .mark { background: none; color: var(--accent); padding: 0; }
.hero-blue .hero .eyebrow { color: var(--sky); }
.hero-blue .hero .lede { color: rgba(254, 248, 238, 0.88); }
.hero-blue .hero-links { color: rgba(254, 248, 238, 0.72); }
.hero-blue .hero-links a { color: var(--on-blue); }
.hero-blue .chip { background: transparent; border-color: rgba(254, 248, 238, 0.35); color: var(--on-blue); }
.hero-blue .chip:hover { border-color: var(--accent); color: var(--accent); }
.hero-blue .logos { border-top: 0; }

/* hero-plane: the logo's plane, large and faint, climbing behind the blue banner */
.hero-plane .hero::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 560px; height: 560px; background: url("img/logo-640.png") center / contain no-repeat; opacity: 0.13; pointer-events: none; }
.hero-plane .hero .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .hero-plane .hero::after { width: 340px; height: 340px; right: -120px; bottom: -110px; } }

/* The line under the main headline: dark and 20px, like CAP, Acquisition.com, Mailchimp and Gusto.
   Section intros further down stay in the softer grey. */
:root { --heading: #000000; /* headings in black, like the button lettering */ --sub: #2B2B2B; /* neutral charcoal so it sits with the black headline */ }
.hero .lede, .page-hero .lede { color: var(--sub); font-size: 1.25rem; line-height: 1.5; }
.hero .lede { max-width: 880px; }
@media (max-width: 560px) { .hero .lede, .page-hero .lede { font-size: 1.1rem; } }

/* Space under the line beneath the headline, so the button reads as the next step (CAP and Mailchimp use 40px) */
.hero .btn.big { margin-top: 16px; }

/* Option 3: lighter headings with slightly tighter letter spacing, like CAP */
h1, h2 { letter-spacing: -0.035em; }

/* Hand-drawn underline under the highlighted words (replaces the marker stroke) */
:root {
  --underline-swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath fill='%23F2B829' d='M5 14 C70 8.5 160 5 250 4.5 C318 4.3 368 5.5 396 9.5 C372 12 322 11.8 252 12.6 C166 13.6 82 17 7 20.5 Q1 18.5 5 14 Z'/%3E%3C/svg%3E");
  --underline-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath fill='%23F2B829' d='M3 14 C40 9 90 8.5 140 9.5 C200 10.5 260 7 330 7.5 C360 7.8 385 9 397 12 C398 16 396 19 392 21 C360 19.5 320 20.5 270 21.5 C200 23 130 21 70 23.5 C40 24.5 18 25 5 24 C1 21 1 17 3 14 Z'/%3E%3C/svg%3E");
  --underline-double: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23F2B829' stroke-linecap='round'%3E%3Cpath d='M6 12 C120 6 260 5 394 9' stroke-width='5' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M30 23 C150 16 280 15 380 19' stroke-width='4' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E");
}
.mark {
  background-image: var(--underline-swoosh);
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 94%;
  padding: 0 0.05em;
  border-radius: 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Industries: four equal photo cards (home page) */
.ind-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ind-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); min-height: 500px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; text-decoration: none; color: var(--on-blue); background: var(--blue-deep); transition: transform .2s ease, box-shadow .2s ease; }
.ind-photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.ind-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 44, 144, 0.5) 0%, rgba(0, 44, 144, 0.22) 45%, rgba(0, 44, 144, 0.5) 100%); }
/* Shading that follows the text, so it reads on any photo and at any screen width */
.ind-photo .top, .ind-photo .bottom { position: relative; }
.ind-photo .top::before, .ind-photo .bottom::before { content: ""; position: absolute; left: -40px; right: -40px; z-index: -1; pointer-events: none; }
.ind-photo .top::before { top: -40px; bottom: -56px; background: linear-gradient(180deg, rgba(0, 44, 144, 0.88) 0%, rgba(0, 44, 144, 0.72) 62%, rgba(0, 44, 144, 0) 100%); }
.ind-photo .bottom::before { top: -64px; bottom: -40px; background: linear-gradient(180deg, rgba(0, 44, 144, 0) 0%, rgba(0, 44, 144, 0.86) 64px, rgba(0, 44, 144, 0.94) 100%); }
.ind-photo:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 44, 144, 0.22); }
.ind-photo:hover .bg { transform: scale(1.04); }
.ind-photo h3 { color: #fff; font-size: 1.7rem; margin: 0; }
.ind-photo .pain { color: #fff; margin: 10px 0 0; max-width: 46ch; }
.ind-photo .can { color: var(--sky); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 12px; }
.ind-photo .bottom .go { display: inline-block; margin-top: 22px; }
.ind-photo ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ind-photo li { position: relative; padding-left: 26px; color: #fff; font-weight: 500; line-height: 1.4; }
.ind-photo li::before { content: ""; position: absolute; left: 2px; top: 0.36em; width: 11px; height: 6px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg); }
.ind-photo .go { color: var(--accent); font-weight: 700; font-size: 0.98rem; }   /* a link, so yellow */
.ind-photo .go::after { content: " \2192"; }
@media (max-width: 860px) { .ind-photo-grid { grid-template-columns: 1fr; } .ind-photo { min-height: 540px; padding: 26px; } }

/* Private equity strip under the industry cards: its own thing, not a fifth industry. Laid out like CAP's. */
.pe-strip { position: relative; isolation: isolate; overflow: hidden; margin-top: 20px; border-radius: var(--radius); background: var(--blue-deep); color: var(--on-blue); text-decoration: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: center; padding: 40px; transition: transform .2s ease, box-shadow .2s ease; }
.pe-strip .bg { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: 100%; object-fit: cover; z-index: -2; }
.pe-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--blue-deep) 40%, rgba(0, 44, 144, 0.86) 70%, rgba(0, 44, 144, 0.78) 100%); }
.pe-strip:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 44, 144, 0.22); }
.pe-strip h3 { color: #fff; font-size: 1.7rem; margin: 0 0 10px; }
.pe-strip .txt p { color: #fff; margin: 0; max-width: 50ch; }
.pe-strip .promise strong { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 2rem; line-height: 1.1; color: var(--sky); }
.pe-strip .promise p { color: #fff; margin: 8px 0 14px; }
.pe-strip .go { color: var(--accent); font-weight: 700; font-size: 0.98rem; }   /* a link, so yellow */
.pe-strip .go::after { content: " \2192"; }
@media (max-width: 860px) { .pe-strip { grid-template-columns: 1fr; padding: 28px 26px; } .pe-strip .bg { width: 100%; } .pe-strip::before { background: linear-gradient(180deg, rgba(0, 44, 144, 0.95) 0%, rgba(0, 44, 144, 0.88) 100%); } .pe-strip .promise strong { font-size: 1.6rem; } }

/* What we are: "We become your AI department" (replaces the four pillars) */
.dept-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 44px; }
.dept { padding-top: 56px; }   /* less of a gap under the hero, so the start of this section shows on a laptop screen */
.dept-head { max-width: 980px; }
.dept h2 { margin-top: 6px; }
.dept-list { display: grid; gap: 24px; }
.dept-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.dept-row .ico svg { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--support); stroke: var(--blue); fill: none; stroke-width: 1.8; display: block; }
.dept-row h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.dept-row p { color: var(--muted); margin: 0; }
.dept-close { margin: 32px 0 0; font-weight: 600; color: var(--ink); font-size: 1.08rem; }

.org { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px 28px; display: grid; justify-items: center; text-align: center; box-shadow: 0 1px 0 rgba(15, 26, 58, 0.03); }
.org-top { border: 1.5px solid var(--org-line); background: #fff; border-radius: 12px; padding: 11px 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.org { --org-line: #D6C7A6; }
.org-lines { display: block; width: 100%; height: 36px; overflow: visible; }
.org-lines path { fill: none; stroke: var(--org-line); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.org-row { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.org-box { margin: 0 3px; border: 1.5px solid var(--org-line); background: #fff; border-radius: 12px; height: 84px; padding: 8px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.org-box .t { display: grid; gap: 2px; line-height: 1.2; }
.org-box.ai { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgba(0, 44, 144, 0.25); }
.org-box.ai strong { color: #fff; font-size: 0.88rem; letter-spacing: -0.01em; white-space: nowrap; }
.org-box.ai small { color: var(--sky); font-size: 0.72rem; font-weight: 600; }
.org-inside { width: 100%; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; text-align: left; }
.org-inside .lbl { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.org-inside ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.org-inside li { position: relative; padding-left: 24px; font-size: 0.95rem; line-height: 1.4; }
.org-inside li::before { content: ""; position: absolute; left: 2px; top: 0.36em; width: 10px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 1120px) { .dept-grid { grid-template-columns: 1fr; gap: 44px; } .org { max-width: 620px; } }
@media (max-width: 520px) {
  .org { padding: 24px 18px; justify-items: start; text-align: left; }
  .org-lines { display: none; }
  .org-top { position: relative; }
  .org-top::after { content: ""; position: absolute; left: 18.5px; top: 100%; width: 2px; height: 17.5px; background: var(--org-line); }   /* offsets allow for the 1.5px border */
  .org-row { position: relative; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; padding-left: 40px; }
  .org-row::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 30px; width: 2px; background: var(--org-line); }
  .org-box { position: relative; margin: 0; height: 60px; align-items: flex-start; padding: 0 16px; text-align: left; }
  .org-box::before { content: ""; position: absolute; right: 100%; top: 50%; width: 19.5px; height: 2px; margin-top: -1px; background: var(--org-line); }
  .org-inside ul { grid-template-columns: 1fr; }
}
}
