/* ProtoScape — static rebuild of protoscape.site (Weblium editor copy; live domain lapsed).
   Base copied from the Support rebuild (same Weblium template); sizes/colours/offsets
   pulled from the editor preview via getComputedStyle + text-node rects at ~1900px.
   Breakpoints match the template: <=991px (tablet), <=767px (mobile). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #434343;
  --blue: #336699;
  --btn: #555;
  --sans: 'Montserrat', Arial, sans-serif;
  --btn-font: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; fill: currentColor; }
h1, h2, h3, h4 { font-weight: 400; overflow-wrap: break-word; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.grid3, .grid4 { display: grid; column-gap: 30px; }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff;
  font-family: var(--btn-font);
  font-size: 15.4px;
  line-height: 15.4px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 34px;
  border: none;
  cursor: pointer;
}
.btn-sm { font-size: 12.6px; line-height: 12.6px; padding: 10px 16px; border-radius: 32px; }

/* Headings shared scale */
.hero h1, .problem h2 { font-size: 40px; line-height: 1.4; font-weight: 700; }
.intro h2, .problem p, .features h2, .steps h2, .key-facts h2, .contact-form h2 { font-size: 32px; line-height: 1.4375; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.logo { text-decoration: none; color: var(--blue); position: relative; top: 5px; }
.site-header .btn { position: relative; top: 2px; }
.logo b { font-size: 26px; line-height: 26px; }
.logo span { font-size: 18px; line-height: 18px; margin-left: 2px; }

/* HERO */
.hero {
  text-align: center;
  padding: 139px 0 140px;
  background: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)), url('images/hero.jpg') 52.5% 5.76% / cover;
}
.hero p { font-size: 28px; line-height: 40px; margin: 40px 0 41px; }

/* BENEFITS BAR */
.benefits { background: var(--blue); color: #fff; padding: 60px 0 30px; text-align: center; }
.benefits h3, .benefits p { font-size: 20px; line-height: 30px; }
.benefits h3 { font-weight: 700; }

/* PROBLEM */
.problem { text-align: center; padding: 130px 0 7px; }
.problem h2 { margin-bottom: 40px; }

/* INTRO BANDS */
.intro, .intro-sub, .about { background: rgba(51,102,153,.43); text-align: center; }
.intro { padding: 69px 0 2px; }
.intro-sub { padding: 16px 0 14px; }
.intro-sub h2 { font-size: 28px; line-height: 40px; }
.about { padding: 48px 0 104px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.card { background: #fff; padding: 40px 40px 36px; font-size: 20px; line-height: 30px; }
.card.grey { background: #f7f7f7; }

/* FEATURES */
.features { background: #e9e9e9; padding: 50px 0 164px; text-align: center; }
.features .lead { font-size: 18px; line-height: 26px; margin-top: 22px; }
.feature-grid { margin-top: 53px; }
.feature-grid img { width: 100%; aspect-ratio: 370 / 123; object-fit: contain; margin-bottom: 19px; }
.feature-grid h3 { font-size: 22px; line-height: 32px; margin-bottom: 7px; }
.feature-grid p { line-height: 23.27px; }

/* STEPS */
.steps { padding: 51px 0 80px; text-align: center; }
.step-grid { margin: 47px 0 57px; }
.step-grid svg { width: 100px; height: 100px; margin: 0 auto 20px; }
.step-grid h3 { font-size: 24px; line-height: 1.5; margin-bottom: 20px; }

/* TESTIMONIALS */
.testimonials { background: rgba(51,102,153,.31); padding: 48px 0 72px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.testimonial-grid blockquote { position: relative; padding: 5px 0 5px 20px; text-align: center; }
.testimonial-grid blockquote::before { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--ink); }
.testimonial-grid svg { width: 50px; height: 50px; margin: 0 auto 19px; }
.testimonial-grid p { font-size: 22px; line-height: 1.4545; margin-bottom: 30px; }
.testimonial-grid cite { font-style: normal; font-weight: 700; }

/* STORY */
.story { background: #f7f7f7; padding: 100px 0; text-align: center; }
.story-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; text-align: left; margin-bottom: 75px; }
.story-inner img { width: 100%; aspect-ratio: 570 / 596; object-fit: cover; }
.story-inner h2 { font-size: 24px; line-height: 1.5; margin-bottom: 20px; }
.story-inner p + p { margin-top: 24px; }

/* KEY FACTS */
.key-facts { padding: 50px 0 50px; text-align: center; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 50px; }
.fact-circle {
  width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%;
  background: rgb(226,232,240);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 42px;
}
.facts-grid p { font-size: 11px; line-height: 1.5; }

/* CONTACT */
.contact { position: relative; background: rgba(51,102,153,.1); padding: 150px 0 138px; }
.contact > img { position: absolute; left: 0; top: 0; width: 50%; height: 100%; object-fit: cover; }
.contact-form { margin-left: 50%; text-align: center; }
.contact-form > * { max-width: 370px; margin-left: auto; margin-right: auto; }
.contact-form > p { font-size: 18px; line-height: 26px; margin-top: 26px; }
.contact-form form { text-align: left; margin-top: 26px; }
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form input {
  display: block; width: 100%; margin-bottom: 22px;
  padding: 12px 24px; border: none; border-radius: 34px;
  background: rgba(67,67,67,.12); color: var(--ink);
  font: 14px/17px var(--sans);
}
.contact-form input:focus { outline: 2px solid var(--blue); }
.contact-form button { display: block; width: 100%; margin-top: 56px; font-size: 14px; line-height: 14px; padding: 12px 24px; }
.contact-form input[type=tel] { margin-bottom: 0; }

/* FOOTER */
.site-footer { background: var(--btn); color: #fff; font-size: 21px; line-height: 21px; padding: 21px 0; }

/* TABLET (template: <=991px) */
@media (max-width: 991px) {
  .wrap { padding: 0 32px; }
  .site-header .wrap { min-height: 85px; }
  .site-header .btn { display: none; } /* ponytail: Weblium shows a hamburger here that only holds this button; add when Michael asks */
  .hero h1, .problem h2 { font-size: 39px; }
  .intro h2, .problem p, .features h2, .steps h2, .key-facts h2, .contact-form h2 { font-size: 31px; }
  .hero p { font-size: 26px; line-height: 37px; margin: 35px 0 36px; }
  .hero { padding: 115px 0 109px; }
  .problem { padding: 110px 0 0; }
  .intro { padding-top: 66px; }
  .features { padding-bottom: 113px; }
  .story-inner { margin-bottom: 64px; }
  .intro-sub h2 { font-size: 26px; }
  .card { padding-left: 32px; padding-right: 32px; }
  .step-grid h3 { font-size: 23px; }
  .testimonial-grid p { font-size: 20px; }
  .fact-circle { font-size: 24px; }
  .story-inner h2 { font-size: 23px; margin-bottom: 15px; }
  .contact { padding: 125px 0 114px; }
  .contact-form { padding: 0 92px; }
  .site-footer { padding: 7.5px 0; line-height: 32px; }
}

/* MOBILE (template: <=767px) */
@media (max-width: 767px) {
  .wrap { padding: 0 24px; }
  .grid3, .grid4, .cards, .testimonial-grid, .story-inner, .facts-grid { grid-template-columns: 1fr; row-gap: 50px; }
  .hero h1, .problem h2 { font-size: 38px; }
  .intro h2, .problem p, .features h2, .steps h2, .key-facts h2, .contact-form h2 { font-size: 30px; }
  .hero p { font-size: 24px; line-height: 34px; margin: 35px 0 37px; }
  .step-grid h3 { font-size: 22px; }
  .testimonial-grid p { font-size: 18px; }
  .fact-circle { font-size: 22px; width: 80px; height: 80px; margin-bottom: 14px; }
  .story-inner h2 { font-size: 22px; }
  .site-header .wrap { min-height: 117px; }
  .grid4 { row-gap: 45px; }
  .intro-sub h2 { font-size: 24px; }
  .about { padding: 28px 0 139px; }
  .cards { row-gap: 60px; }
  .card { padding: 40px 25px 12px; }
  .features { padding-bottom: 92px; }
  .testimonials { padding-bottom: 59px; }
  .facts-grid { row-gap: 46px; margin-top: 40px; }
  .hero { padding: 90px 0; }
  .problem { padding-top: 90px; }
  .step-grid svg { width: 70px; height: 70px; }
  .contact { padding: 0; }
  .contact > img { position: static; width: 100%; height: 225px; }
  .contact-form { margin-left: 0; padding: 100px 30px; }
  .site-footer { text-align: center; line-height: 26px; }
}
