/* Wat If Solutions — shared site stylesheet */

:root {
  --bg: #F9F9FB;
  --ink: #1E2229;
  --teal: #00A896;
  --slate: #8D99AE;
  --muted: #5B6678;
  --card: #FFFFFF;
  --rule: rgba(30,34,41,0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249,249,251,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 88px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: baseline;
  gap: 32px;
  font-size: 15px;
}
.nav-links a { color: var(--ink); opacity: 0.85; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav-links a:hover { opacity: 1; }
.nav-links a.current { opacity: 1; border-bottom-color: var(--teal); }
.cta-btn { align-self: center; background: var(--ink); color: var(--bg); padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; display: inline-block; border: none; cursor: pointer; font-family: inherit; }
.cta-btn:hover { background: #2c323c; }
.cta-btn.teal { background: var(--teal); color: #05221d; }
.cta-btn.teal:hover { background: #05a892; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 32px 130px;
  border-bottom: 1px solid var(--rule);
}
.hero-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  width: 100%;
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
@media (min-width: 900px) { .hero h1 { white-space: nowrap; } }
.hero .sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto 36px;
  text-wrap: balance;
}
@media (max-width: 760px) { .hero .sub { font-size: 17px; } }
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.highlights {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.highlight h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}
.highlight .rule {
  width: 32px;
  height: 3px;
  background: var(--teal);
  margin: 0 0 16px;
}
.highlight p {
  font-size: 15px;
  color: #3B4148;
  margin: 0;
}
footer { background: var(--ink); color: #C9CFD6; padding: 64px 32px 32px; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h2 { font-size: 12px; color: #9AA3AE; margin: 0 0 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: #D6DAE0;
  margin: 0 0 10px;
}
.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: #9AA3AE;
}
.page-header { max-width: 1180px; margin: 0 auto; padding: 72px 32px 24px; }
.page-header .eyebrow { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: 3px; margin: 0 0 16px; }
.page-header h1 { font-size: 36px; font-weight: 700; margin: 0; letter-spacing: -0.5px; }
section.block { max-width: 1180px; margin: 0 auto; padding: 72px 32px; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.two-col.reverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.two-col.reverse .media { order: 2; }
.block h2 { font-size: 24px; font-weight: 700; margin: 0 0 20px; }
.block h3.subhead { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: none; margin: 28px 0 10px; }
.block p { font-size: 15.5px; color: #3B4148; margin: 0 0 16px; }
.media {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7C848F;
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.values-list { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 0; list-style: none; }
.values-list li { border: 1px solid var(--rule); border-radius: 999px; padding: 5px 14px; font-size: 13px; }
.quote-card {
  background: var(--ink);
  color: #F4F6F8;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  font-size: 14px;
}
.quote-card .q { font-weight: 700; margin: 0 0 8px; color: #F4F6F8; }
.quote-card .who { color: #9AA3AE; font-size: 13px; }
.challenge-list { columns: 2; gap: 40px; padding-left: 20px; margin: 0; }
.challenge-list li { break-inside: avoid; margin-bottom: 10px; font-size: 15px; color: #3B4148; }
.credentials { font-size: 14px; color: #3B4148; margin-top: 24px; }
.map-block { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; margin: 8px 0 40px; }
.us-tilemap { width: 100%; height: auto; display: block; }
.match-card { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 28px 26px; align-self: start; }
.match-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.match-card ul { padding-left: 20px; margin: 0; }
.match-card li { font-size: 14.5px; color: #3B4148; margin-bottom: 12px; }
.match-card li strong { color: var(--ink); }
.cta-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.page-header p { font-size: 16px; color: var(--muted); max-width: 62ch; margin: 0; }
.page-header p.lead-wide { max-width: none; }
.block .block-intro { font-size: 15.5px; color: #3B4148; max-width: 62ch; margin: 0 0 36px; }
.block .block-intro.wide { max-width: none; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.overview-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.overview-card ul { padding-left: 18px; margin: 0; font-size: 14.5px; color: #3B4148; }
.overview-card li { margin-bottom: 8px; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.library-card { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; }
.library-card h3 { font-size: 14.5px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.library-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); display: inline-block; }
.library-card ul { padding-left: 16px; margin: 0; font-size: 13.5px; color: #3B4148; }
.library-card li { margin-bottom: 6px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.block p.pricing-note { font-size: 13px; color: var(--muted); margin: 36px 0 0; text-align: left; }
.steps { display: flex; justify-content: space-between; position: relative; }
.steps::before { content: ""; position: absolute; top: 17px; left: 40px; right: 40px; height: 1px; background: var(--rule); }
.step { position: relative; flex: 1; text-align: center; padding: 0 8px; }
.step .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 2px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; margin: 0 auto 14px; position: relative; z-index: 1; }
.step .label { font-size: 13.5px; font-weight: 700; }
.step .sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.contact-block { max-width: 1180px; margin: 0 auto; padding: 40px 32px 96px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 36px; }
.required-note { font-size: 12.5px; color: var(--muted); margin: 0 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 8px;
  font-family: inherit; font-size: 14.5px; background: var(--bg); color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
textarea { min-height: 140px; resize: vertical; }
.error-text { color: #C0392B; font-size: 12.5px; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #C0392B; }
.field.invalid .error-text { display: block; }
.submit-row { margin-top: 8px; display: flex; align-items: center; gap: 16px; }
.confirm-msg { font-size: 13.5px; color: var(--teal); font-weight: 700; display: none; }
.confirm-msg.show { display: inline; }
.error-msg { font-size: 13.5px; color: #C0392B; font-weight: 700; display: none; }
.error-msg.show { display: inline; }
.error-msg a { color: inherit; text-decoration: underline; }
.enquiries h2 { font-size: 20px; font-weight: 700; margin: 0 0 20px; }
.enq-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.enq-item .ico { width: 34px; height: 34px; border-radius: 8px; background: rgba(0,168,150,0.10); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; font-weight: 700; }
.enq-item p { margin: 0; font-size: 14.5px; }
.enq-item .k { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.enq-item a, .footer-col a[href^="mailto:"], .footer-col a[href^="tel:"] { color: inherit; text-decoration: none; }
.enq-item a:hover, .footer-col a[href^="mailto:"]:hover, .footer-col a[href^="tel:"]:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Responsive (largest to smallest, so the narrowest rule always wins) */
@media (max-width: 900px) {
  .overview-grid, .library-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .nav-inner > .cta-btn { margin-left: auto; }
  .contact-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .highlights { grid-template-columns: 1fr; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .media { order: 0; }
  .challenge-list { columns: 1; }
  .map-block { grid-template-columns: 1fr; }
  .overview-grid, .library-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 24px; align-items: flex-start; }
  .steps::before { display: none; }
  .step { text-align: left; display: flex; gap: 14px; align-items: center; }
  .step .dot { margin: 0; }
}
/* ---- Home: value highlights + AI First strip ---- */
.highlights { padding: 80px 32px 48px; gap: 48px; }
.highlight h2 { font-size: 20px; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 8px; }
.highlight .quote { font-style: italic; color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.highlight p { font-size: 14.5px; line-height: 1.7; color: #3B4148; margin: 0 0 14px; }
.ai-first-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px 96px; }
.ai-first-strip { background: var(--ink); border-radius: 14px; padding: 24px 32px; text-align: center; }
.ai-first-strip p { margin: 0; font-size: 18px; letter-spacing: 3px; color: #F4F6F8; }
.ai-first-strip strong { color: var(--teal); }
.cta-btn.ghost:hover { background: rgba(30,34,41,0.04); }
/* ---- Footer brand ---- */
.footer-brand .badge { height: 104px; width: auto; display: block; margin: 0 auto 18px; }
.footer-brand .tag-eyebrow { font-size: 11px; letter-spacing: 3px; padding-left: 3px; color: var(--teal); font-weight: 700; margin: 0 0 8px; }
.footer-brand .tag-main { font-size: 16px; font-weight: 700; color: #F4F6F8; margin: 0; line-height: 1.4; }
@media (min-width: 761px) { .footer-brand .tag-main { white-space: nowrap; } }
/* ---- About: sub-sections, lists, purpose card, name card ---- */
.block h3.sub-section { font-size: 21px; font-weight: 700; color: var(--ink); margin: 64px 0 14px; }
.plain-list { padding-left: 20px; margin: 0 0 14px; }
.plain-list li { font-size: 15px; color: #3B4148; margin-bottom: 8px; }
.plain-list ul { padding-left: 20px; margin: 8px 0 4px; }
.block p.closing-line { margin-top: 28px; font-weight: 700; }
.purpose-card { background: var(--ink); border-radius: 14px; padding: 30px 36px; margin-bottom: 8px; }
.purpose-card .label { color: var(--teal); font-weight: 700; font-size: 11px; letter-spacing: 3px; margin: 0 0 10px; }
.purpose-card p { color: #F4F6F8; font-size: 18px; line-height: 1.6; margin: 0; }
.purpose-card p.label { font-size: 11px; color: var(--teal); margin: 0 0 10px; }
.name-card { background: var(--ink); border-radius: 14px; padding: 24px; text-align: center; align-self: start; aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: center; }
/* ---- Solutions: bundles without prices ---- */
.inline-link { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Founder photo: framed at its true size (no enlargement), same card footprint as the Genesis and Journey cards */
.founder-frame { background: #fff; border: 1px solid var(--rule); padding: 0; align-self: start; position: sticky; top: 110px; }
.founder-frame img { width: calc(100% - 82px); max-width: 355px; height: auto; aspect-ratio: 355 / 266; object-fit: cover; object-position: center 22%; border-radius: 10px; display: block; }

/* Founder -> Journey: identical text-column and media-column widths */
.two-col > .media, .two-col > .name-card { width: 100%; }
.name-card img { width: 86%; max-width: 380px; height: auto; display: block; margin: 0 auto; }
.sales-item-note { font-size: 14px; color: var(--ink); background: rgba(0,168,150,0.08); border-radius: 8px; padding: 10px 14px; margin: 0 0 20px; }
@media (max-width: 760px) { .brand img { height: 64px; } }

/* ---- Solution bundles (colour-coded tiers) ---- */
.price-card { --tier: #A9A9A9; --marker: #0E2E4D; background: var(--card); border: 1px solid var(--tier); border-radius: 18px; padding: 14px 14px 24px; display: flex; flex-direction: column; }
.price-card.tier-discover  { --tier: #A9A9A9; }
.price-card.tier-essential { --tier: #4B4B4B; }
.price-card.tier-premium   { --tier: #C9A44C; --marker: #E8A33D; }
.price-card.tier-ultimate  { --tier: #B07A3A; }
.price-card .tier-head { background: var(--tier); color: #fff; border-radius: 14px; padding: 26px 12px; text-align: center; margin-bottom: 24px; }
.price-card .tier-name { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.price-card .tier-price { margin: 4px 0 0; font-size: 15px; color: #fff; }
.price-card ul { list-style: none; padding: 0 6px; margin: 0 0 24px; font-size: 13.5px; color: #1E2229; flex: 1; }
.price-card li { position: relative; padding-left: 16px; margin-bottom: 7px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; background: var(--marker); }

/* ---- About: sub-sections inside a group (e.g. Our Story) ---- */
.two-col h3.sub-section { margin: 0 0 14px; }
.block .two-col + .two-col { margin-top: 72px; }

/* ---- Menu button for phones and small tablets (native <details>, works without JavaScript) ---- */
.menu { display: none; position: static; }
@media (max-width: 860px) { .menu { display: block; } }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; transition: transform 0.15s ease, top 0.15s ease; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 14px 28px rgba(30, 34, 41, 0.10); padding: 6px 32px 14px; }
.menu-panel a { display: block; padding: 15px 0 15px 14px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; }
.menu-panel a:last-child { border-bottom: none; }
.menu-panel a[aria-current="page"] { font-weight: 700; border-left-color: var(--teal); }

/* ---- Accessibility: skip link, visible focus, reduced motion ---- */
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px; font-weight: 700; z-index: 100; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #0E7C86; outline-offset: 3px; border-radius: 4px; }
footer a:focus-visible { outline-color: #40BEB0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .menu-icon::before, .menu-icon::after { transition: none; } }

/* ---- Very narrow phones (about 360px and below): tighter header so everything fits with margins ---- */
@media (max-width: 400px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; gap: 8px; }
  .nav-inner > .cta-btn { padding: 10px 14px; }
  .menu-panel { padding-left: 20px; padding-right: 20px; }
}
.block p.signature { font-weight: 700; color: var(--ink); margin-top: 4px; }

/* ---- Privacy page, form notice, footer link ---- */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { font-size: 15.5px; color: #3B4148; margin-bottom: 8px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-notice { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.form-notice a, .footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-notice a:hover, .footer-bottom a:hover { text-decoration-thickness: 2px; }

/* ---- Unsubscribe page ---- */
.unsub-card { max-width: 560px; }
.unsub-intro { font-size: 15px; color: #3B4148; margin: 0 0 22px; }
.unsub-done { display: none; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 36px; }
.unsub-done.show { display: block; }
.unsub-done h2 { font-size: 22px; margin: 0 0 12px; }
.unsub-done p { font-size: 15px; color: #3B4148; margin: 0 0 12px; }
.unsub-done a, .unsub-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.block p.unsub-alt { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.block p.form-notice { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
