/* SmartDermNI — static rebuild of https://smartdermni.com/ (Weblium)
   All sizes/colours pulled from live via getComputedStyle at 1920 / 900 / 390px.
   Breakpoints match live: <=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; }
.benefit-card { overflow-wrap: anywhere; } /* live breaks words mid-word in narrow tablet cards */

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

.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 */
.problem h2, .hero h1 { font-size: 40px; line-height: 1.4; font-weight: 700; }
.hero h2, .problem p, .intro-banner h2, .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); }
.logo .name { font-weight: 700; font-size: 26px; line-height: 26px; }
.logo .tagline { font-size: 18px; line-height: 18px; }

/* HERO */
.hero {
  text-align: center;
  padding: 0 0 340px;
  background: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)), url('images/hero.webp') 55.31% 66.88% / cover;
}
.hero h2 { margin-top: 40px; }
.hero .btn { margin-top: 173px; }

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

/* PROBLEM */
.problem { text-align: center; padding: 0 0 400px; }
.problem h2 + p { margin-top: 40px; }
.problem p + p { margin-top: 46px; }

/* INTRO */
.intro-banner, .product-intro, .benefits-section { background: rgba(51,102,153,.43); text-align: center; }
.product-intro { padding: 20px 0 10px; }
.product-intro h3 { font-size: 28px; line-height: 1.4285; }
.product-intro p { font-size: 18px; line-height: 1.4444; margin-top: 24px; }

.benefits-section { padding: 50px 0 100px; }
.benefits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.benefit-card { background: #fff; padding: 40px 30px; }
.benefit-card.grey { background: #f7f7f7; }
.benefit-card svg { width: 100%; max-width: 100px; height: 100px; margin: 0 auto 20px; }
.benefit-card h4 { font-size: 20px; line-height: 30px; margin-bottom: 23px; }

/* FEATURES */
.features { background: #e9e9e9; padding: 50px 0 135px; text-align: center; }
.features .lead { font-size: 18px; line-height: 1.4444; margin-top: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 51px; }
.feature-grid img { width: 100%; aspect-ratio: 3 / 1; object-fit: contain; margin-bottom: 20px; }
.feature-grid h4 { font-size: 22px; line-height: 1.4545; margin-bottom: 6px; }
.feature-grid p { line-height: 32px; } /* live: parent strut sets 32px pitch */
.feature-grid .customisable p { font-size: 18px; }

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

/* TESTIMONIALS */
.testimonials { background: rgba(51,102,153,.31); padding: 50px 0 70px; }
.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-bottom: 17px; }
.testimonial-grid p { font-size: 22px; line-height: 1.4545; margin-bottom: 32px; }
.testimonial-grid cite { font-style: normal; font-weight: 700; }

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

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

/* CONTACT */
.contact { position: relative; background: rgba(51,102,153,.1); padding: 150px 0 139px; }
.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: 1.4444; margin-top: 24px; }
.contact-form form { text-align: left; margin-top: 25px; }
.contact-form label { display: block; margin-bottom: 13px; }
.contact-form input {
  display: block; width: 100%; margin-bottom: 23px;
  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: 64px; 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: 13px 0; }

/* TABLET (live: <=991px) */
@media (max-width: 991px) {
  .wrap { padding: 0 32px; }
  .site-header .wrap { min-height: 85px; }
  .site-header .btn { display: none; } /* ponytail: live shows a hamburger here that only holds this button; add when Michael asks */
  .hero h1, .problem h2 { font-size: 39px; }
  .hero h2, .problem p, .intro-banner h2, .features h2, .steps h2, .key-facts h2, .contact-form h2 { font-size: 31px; }
  .hero { padding: 115px 0 245px; }
  .hero h2 { margin-top: 35px; }
  .hero .btn { margin-top: 164px; }
  .problem { padding-bottom: 275px; }
  .problem h2 + p { margin-top: 35px; }
  .problem p + p { margin-top: 44.56px; }
  .product-intro h3 { font-size: 26px; }
  .benefits-section { padding-bottom: 95px; }
  .benefit-card { padding: 34px 28px 40px; }
  .features { padding-bottom: 112.5px; }
  .features .lead { margin-top: 27px; }
  .feature-grid { margin-top: 46px; }
  .feature-grid .customisable h4 { font-size: 20px; }
  .step-grid { margin-top: 45px; }
  .step-grid h4, .we-care-inner h2 { font-size: 23px; }
  .testimonial-grid p { font-size: 20px; }
  .we-care { padding: 95px 0; }
  .fact-circle.big { font-size: 24px; }
  .contact { padding: 125px 0 114px; }
  .contact-form { padding: 0 92px; }
  .site-footer { padding: 7.5px 0; line-height: 32px; }
  .site-footer .wrap { max-width: 400px; margin: 0; }
}

/* MOBILE (live: <=767px) */
@media (max-width: 767px) {
  .wrap { padding: 0 24px; }
  .site-header .wrap { min-height: 95px; }
  .grid3, .benefits, .feature-grid, .testimonial-grid, .we-care-inner, .facts-grid { grid-template-columns: 1fr; row-gap: 50px; }
  .hero h1, .problem h2 { font-size: 38px; }
  .hero h2, .problem p, .intro-banner h2, .features h2, .steps h2, .key-facts h2, .contact-form h2 { font-size: 30px; }
  .hero { padding: 0 0 150px; }
  .hero .btn { margin-top: 159px; }
  .problem { padding-bottom: 150px; }
  .product-intro h3 { font-size: 24px; }
  .benefits-section { padding-bottom: 90px; }
  .benefit-card { padding: 31px 31px 40px; }
  .benefit-card svg, .step-grid svg { width: 70px; height: 70px; }
  .features { padding-bottom: 90px; }
  .feature-grid .customisable h4 { font-size: 18px; }
  .feature-grid .customisable p { line-height: 26px; }
  .feature-grid > div:first-child p { line-height: 27px; }
  .feature-grid { row-gap: 44px; }
  .step-grid h4, .we-care-inner h2 { font-size: 22px; }
  .testimonial-grid p { font-size: 18px; margin-bottom: 30px; }
  .we-care { padding: 90px 0; }
  .fact-circle.big { font-size: 22px; }
  .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; }
  .site-footer .wrap { max-width: 360px; margin: 0 auto; }
  .stats-bar .grid3 > div:first-child p { margin-top: 30px; }
  .facts-grid { row-gap: 40px; margin-top: 30px; }
  .fact-circle { margin-bottom: 20px; }
}
