/* Brainviser - brainviser.co
   Styled to match TimetablePro (brainviser.in/timetable/): Materialize blue top bar, pale-blue and white
   sections, blue centred headings, Roboto, white cards with soft shadows, teal action buttons.
   Static homepage. No build step; edit this file directly. Fonts are self-hosted in ../fonts/. */

@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  --blue: #2196f3;       /* top bar */
  --blue-d: #1976d2;     /* headings, links */
  --blue-l: #64b5f6;
  --indigo: #3949ab;     /* pill gradient start */
  --page: #f5faff;       /* pale-blue sections */
  --grey: #f5f5f5;
  --text: #444;
  --text-2: #666;
  --ink: #263238;
  --teal: #26a69a;       /* action buttons */
  --teal-d: #00897b;
  --rule: #dbe5ee;
  --ok: #2e7d32;
  --fail: #d32f2f;
  --stalled: #90a4ae;
  --shadow: 0 2px 8px rgba(33, 80, 130, 0.12);
  --btn-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
  --max: 72rem;
  --gutter: 1.5rem;
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 1.0625rem; font-weight: 400; line-height: 1.65; }
a { color: var(--blue-d); }
:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.86em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; z-index: 30; padding: 0.6rem 1rem; color: #fff; background: var(--blue-d); }
.skip:focus { left: var(--gutter); top: 0.5rem; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font); }
h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 400; line-height: 1.2; color: var(--blue-d); }
h3 { font-size: 1.1875rem; font-weight: 500; line-height: 1.3; }
section { padding: 4.5rem 0; }
.section-lede { max-width: var(--measure); margin: 1rem auto 0; text-align: center; color: var(--text-2); font-weight: 300; font-size: 1.125rem; }

/* Buttons: teal, uppercase, Materialize shadow; the header pill is the indigo-to-blue gradient from TimetablePro */
.button { display: inline-block; padding: 0.7rem 1.6rem; color: #fff; font: inherit; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  background: var(--teal); border: 0; border-radius: 2px; box-shadow: var(--btn-shadow); cursor: pointer; }
.button:hover { background: #2bbbad; }
.button-ghost { color: var(--blue-d); background: #fff; box-shadow: inset 0 0 0 1px var(--blue-l); }
.button-ghost:hover { color: #fff; background: var(--blue-d); }
.pill { display: inline-block; padding: 0.55rem 1.4rem; color: #fff; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  background: linear-gradient(90deg, var(--indigo) 0%, #1e88e5 100%); border-radius: 28px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); }
.pill:hover { filter: brightness(1.1); }

/* Masthead: the blue bar */
.masthead { position: sticky; top: 0; z-index: 20; background: #2196f3; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18); }
.masthead-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.logo { margin: 0; color: #fff; font-size: 1.375rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.masthead nav { display: flex; flex: 1; justify-content: flex-end; gap: 1.6rem; }
.masthead nav a { color: #fff; font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* Hero */
.hero { padding: 4.5rem 0 4rem; background: var(--page); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.5rem 3rem; align-items: center; }
.hero-art { display: block; width: 100%; max-width: 31rem; height: auto; justify-self: center; }
.eyebrow { margin: 0 0 1rem; color: var(--blue-d); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 300; line-height: 1.15; color: #37474f; }
.lede { max-width: 40rem; margin: 1.5rem 0 0; font-size: 1.1875rem; font-weight: 300; color: #455a64; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 0; }

/* Three plain promises under the hero buttons */
.promises { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.promises li { padding: 1.1rem 1.25rem; background: #fff; border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; box-shadow: var(--shadow); }
.promises strong { display: block; color: var(--blue-d); font-size: 1.0625rem; font-weight: 500; }
.promises span { display: block; margin-top: 0.3rem; color: var(--text-2); font-size: 0.9375rem; }

/* What we fix */
.work { background: var(--page); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; padding: 1.5rem; background: #fff; border-top: 4px solid var(--blue-l); border-radius: 8px; box-shadow: var(--shadow); }
.card-img { display: block; width: 100%; height: 9.5rem; margin: 0 0 1rem; object-fit: contain; }
.card h3 { color: var(--ink); }
.card p { margin: 0.7rem 0 0; font-size: 1rem; }
.card .dur { margin-top: auto; padding-top: 1rem; color: var(--blue-d); font-size: 0.9375rem; font-weight: 500; }
.card-cta { border-top-color: var(--teal); background: #e0f7fa; }

/* Who it's for */
.audience { background: #fff; }
.audience-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem 2.5rem; max-width: 56rem; margin: 2.5rem auto 0; padding: 0; list-style: none; }
.audience-list li { position: relative; padding-left: 2rem; }
.audience-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.audience-list strong { color: var(--ink); font-weight: 500; }

/* How we work */
.how { background: var(--grey); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.how-grid article { padding: 1.5rem; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.how-grid h3 { color: var(--blue-d); font-weight: 400; }
.how-grid p { margin: 0.7rem 0 0; font-size: 1rem; }

/* The three questions */
.ask { background: #fff; }
.qa { max-width: var(--measure); margin: 2.5rem auto 0; }
.qa dt { margin-top: 2rem; color: var(--blue-d); font-size: 1.1875rem; font-weight: 500; }
.qa dt:first-child { margin-top: 0; }
.qa dd { margin: 0.5rem 0 0; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
.qa dd:last-child { border-bottom: 0; }

/* Who we are */
.who { background: var(--page); }
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; max-width: 60rem; margin: 2.5rem auto 0; }
.who-art { display: block; width: 100%; height: auto; }
.who-body { max-width: none; margin: 0; }
.who-body p { margin: 0 0 1.1rem; }

/* Call to action */
.band { padding: 4rem 0; color: #fff; text-align: center; background: linear-gradient(45deg, var(--blue-d), var(--blue-l)); }
.band h2 { color: #fff; }
.band p { max-width: 36rem; margin: 1rem auto 0; font-weight: 300; font-size: 1.1875rem; }
.band .band-cta { margin-top: 1.75rem; }
.band .button { color: var(--blue-d); background: #fff; }
.band .button:hover { background: #e3f2fd; }

/* Contact */
.contact { background: #fff; }
.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; max-width: 46rem; margin: 2.5rem auto 0; padding: 2rem; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #9e9e9e; font-size: 0.875rem; }
.field input, .field textarea { padding: 0.45rem 0; color: #212121; font: inherit; background: transparent; border: 0; border-bottom: 1px solid #9e9e9e; border-radius: 0; outline: 0; }
.field input:focus, .field textarea:focus { border-bottom: 2px solid var(--teal); margin-bottom: -1px; }
.field textarea { resize: vertical; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-note { color: var(--text-2); font-size: 0.9375rem; }

/* Footer */
.foot { padding: 3.5rem 0 1.5rem; color: #e3f2fd; background: linear-gradient(45deg, #2980b9, #2c3e50); }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot .logo { margin: 0 0 0.6rem; }
.foot h4 { margin: 0 0 0.75rem; color: #fff; font-size: 1rem; font-weight: 500; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin: 0.35rem 0; font-size: 0.9375rem; }
.foot p { margin: 0; font-size: 0.9375rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.875rem; }

@media (max-width: 860px) {
  section { padding: 3.25rem 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 19rem; }
  .who-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .who-art { max-width: 22rem; margin: 0 auto; }
  .masthead nav { display: none; }
  .masthead-inner { justify-content: space-between; }
  .enquiry { grid-template-columns: 1fr; padding: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .masthead-inner { gap: 0.75rem; }
  .logo { font-size: 1.0625rem; letter-spacing: 0.05em; }
  .pill { padding: 0.45rem 0.9rem; font-size: 0.75rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
