/* Complete AI Strategy, new homepage design (design-v2).
   Builds on site.css, the shared family stylesheet (same file as completeaibusiness.com).
   Only the parts that are new on this page live here. */

.brand img { height: 44px; }
/* menu in the centre: logo left, menu centred, button right */
@media (min-width: 961px) {
  .top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .top .brand { justify-self: start; }
  .top .nav { margin: 0; justify-self: center; }
  .top .cta { margin: 0; justify-self: end; }
}
@media (max-width: 960px) { .top .cta { margin-left: auto; } .menu-btn { margin-left: 0; } }
@media (max-width: 520px) { .brand img { height: 38px; } .menu-btn { margin-left: auto; } }

/* small brand marks (square) */
.mk { flex: none; display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; }
.mk img, .mk picture { width: 100%; height: 100%; display: block; }
/* Training only has a wide PNG logo: show its left part, which is the mark */
.mk-tr { justify-items: start; }
.mk-tr img { width: auto; max-width: none; height: 30px; }

/* hero: the three platforms in one row */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 26px 0 0; max-width: 560px; }
.trio a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: border-color .15s, transform .15s; }
.trio a:hover { text-decoration: none; border-color: var(--blue-100); transform: translateY(-1px); }
.trio b { display: block; font: 700 15.5px/1.15 var(--display); letter-spacing: -.01em; }
.trio small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
@media (max-width: 560px) {
  .trio { gap: 6px; margin-top: 22px; }
  .trio a { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
  .trio small { font-size: 12px; }
}

/* hero: the form card */
.getform { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lift); padding: clamp(22px, 3.4vw, 32px); }
.getform form { display: grid; gap: 16px; }
.getform h2 { font-size: clamp(25px, 2.6vw, 30px); letter-spacing: -.025em; }
.getform .sub { margin-top: -10px; font-size: 14.5px; color: var(--muted); }
.getform .covers { padding: 12px 14px; border-radius: 14px; background: var(--blue-50); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.getform .covers b { color: var(--blue); font-weight: 700; }
.getform .fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.getform .fine { text-align: center; margin-top: -4px; }
.input[aria-invalid="true"] { border-color: var(--red); }
.form-error { font-size: 14px; color: var(--red); margin-top: -4px; }

/* after sending: what happens now */
.sent { display: grid; gap: 14px; }
.sent h2 { font-size: clamp(24px, 2.4vw, 28px); letter-spacing: -.025em; }
.sent > p { color: var(--ink-2); font-size: 15px; }
.sent > p b { color: var(--ink); }
.prog { display: grid; gap: 2px; padding: 10px 14px; border-radius: 16px; background: var(--ground); counter-reset: none; }
.prog li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 0; font-size: 14.5px; color: var(--muted); transition: color .3s; }
.prog li::before { content: ""; width: 18px; height: 18px; border-radius: 99px; border: 2px solid var(--line); box-sizing: border-box; }
.prog li.on { color: var(--ink); font-weight: 600; }
.prog li.on::before { border-color: var(--blue-100); border-top-color: var(--blue); animation: spin .9s linear infinite; }
.prog li.done { color: var(--ink-2); }
.prog li.done::before { content: "\2713"; display: grid; place-items: center; border: 0; background: var(--green-50); color: var(--green); font-size: 11px; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .prog li.on::before { animation: none; border-color: var(--blue); } }
.sent .again { justify-self: start; }

/* the three platform cards */
.plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plat { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); scroll-margin-top: calc(var(--top-h) + 24px); transition: border-color .15s, box-shadow .15s; }
.plat:hover, .plat:target { border-color: var(--blue-100); box-shadow: var(--shadow); }
.plat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.plat-logo { height: 52px; width: auto; }
.plat-k { flex: none; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 5px 9px; border-radius: 999px; margin-top: 4px; }
.plat h3 { font-size: clamp(21px, 2vw, 24px); letter-spacing: -.022em; }
.plat > p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.plat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.plat-tiles .tile { background: var(--ground); border-color: transparent; padding: 12px 14px; }
.plat-tiles .tile b { color: var(--blue); font-size: 22px; }
.plat .list li { font-size: 14.5px; }
.plat-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); display: grid; gap: 12px; }
.plat-price { font-size: 14px; color: var(--ink-2); }
.plat-price b { font: 800 22px var(--display); letter-spacing: -.02em; color: var(--ink); margin-right: 2px; }
.plat-foot .btn span { color: var(--muted); }
@media (max-width: 1020px) { .plats { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* where to start */
.fits { display: grid; gap: 10px; max-width: 980px; }
.fits li { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(220px, auto); gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.fits p { font: 600 clamp(17px, 1.6vw, 19.5px)/1.35 var(--display); letter-spacing: -.012em; }
.fit-arrow { position: relative; height: 2px; background: var(--blue-100); }
.fit-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 10px; height: 10px; border-top: 2px solid var(--blue-100); border-right: 2px solid var(--blue-100); transform: rotate(45deg); }
.fit-go { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 16px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.fit-go:hover { text-decoration: none; border-color: var(--blue-100); background: var(--blue-50); color: var(--blue); }
.fit-go .mk { width: 26px; height: 26px; }
.fit-go .mk-tr img { height: 26px; }
.fit-any { background: var(--blue-50) !important; border-color: var(--blue-100) !important; }
@media (max-width: 720px) {
  .fits li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fit-arrow { display: none; }
}

/* the free report */
.rep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.rep .sec-head h2 { font-size: clamp(28px, 3.3vw, 40px); }
.rep-list { display: grid; gap: 16px; }
.rep-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.rep-list b { font: 700 17px var(--display); letter-spacing: -.01em; }
.rep-list p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .rep { grid-template-columns: minmax(0, 1fr); } }

/* the report preview (moving card) */
.rp { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lift); padding: 22px; display: grid; gap: 16px; }
.rp-k { display: block; font: 600 11px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.rp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rp-head b { display: block; font: 700 22px/1.15 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.rp-head small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rp-tab { appearance: none; font: inherit; cursor: pointer; display: grid; gap: 2px; justify-items: start; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2); transition: background .25s, border-color .25s, color .25s; }
.rp-tab b { font: 700 15px var(--display); letter-spacing: -.01em; }
.rp-tab small { font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.rp-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.rp-panel { border-radius: 16px; background: var(--ground); padding: 18px; min-height: 268px; display: grid; gap: 12px; align-content: start; }
.rp-panel h3 { font-size: 20px; }
.rp-fit { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.rp-fit i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rp-fit i span { display: block; height: 100%; border-radius: 99px; background: var(--blue); transition: width .5s ease; }
.rp-rows { display: grid; gap: 0; }
.rp-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.rp-rows li:last-child { border-bottom: 0; }
.rp-rows li span:last-child { flex: none; font-weight: 600; color: var(--ink); }
.rp-sum { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.rp-sum b { color: var(--blue); font: 700 16px var(--display); }
.rp-advice { padding: 14px 16px; border-radius: 14px; background: var(--orange-50); display: grid; gap: 4px; }
.rp-advice .rp-k { color: var(--orange-ink); }
.rp-advice p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.rp-advice b { color: var(--ink); }

/* how it works: numbered cards */
.steps { counter-reset: none; }
.steps .card { padding: 24px; }

/* the example card has four tabs on the live site */
.rp-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 420px) { .rp-tab { padding: 9px 8px; } .rp-tab b { font-size: 14px; } .rp-tab small { font-size: 9.5px; letter-spacing: .03em; } }

/* form honeypot: off-screen for people, still filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent-go:empty { display: none; }
.sent-clock:empty { display: none; }

/* testimonial slideshow (same as completeaibusiness.com) */
.q-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.quote-band .ph img { transition: opacity .35s; }

/* footer, 4 columns: logo and tagline · the Complete AI family · Complete AI Strategy links · contact */
@media (min-width: 1001px) { .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, 1.1fr); } }
@media (min-width: 761px) and (max-width: 1000px) { .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
@media (max-width: 760px) { .foot .wrap > div:first-child, .foot .foot-fam { grid-column: 1 / -1; } }
.foot .foot-fam .fam-list { margin-top: 0; }
.foot .foot-fam .fam-h { margin-bottom: 4px; }
.foot .foot-addr { font-style: normal; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 4px; }
