/* Moodsharer — recreated from the 2022 home-page design (Home-Page---V2.pdf) and the brand colour guide */

:root {
  --navy: #343b4f;
  --navy-deep: #2b3144;
  --green: #48bb8e;
  --green-dark: #3ea67c;
  --cyan: #41c2cf;
  --lime: #a9c75b;
  --text: #6b7080;
  --text-dark: #343b4f;
  --line: #e4e6ea;
  --font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1310px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 18px; line-height: 1.5; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--text-dark); font-weight: 800; line-height: 1.1; letter-spacing: 0.01em; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 7vw, 120px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.h2 { font-size: clamp(32px, 3.2vw, 48px); }
.h2-light { color: #fff; }
.h2-xl { font-size: clamp(36px, 3.7vw, 56px); }
.lead { font-size: clamp(20px, 1.5vw, 26px); font-weight: 300; line-height: 1.45; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 28px; height: 54px; border: 0; border-radius: 6px;
  background: var(--green); color: #fff; font: 800 16px/1 var(--font); letter-spacing: 0.02em;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 100px; }
.logo img { width: 160px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; color: var(--navy); font-size: 15px; font-weight: 500; line-height: 1.2; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.site-nav li a:hover, .site-nav li a.is-active { color: var(--green); border-color: var(--green); }
.btn-login { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 12px; border: 2px solid var(--green); border-radius: 999px; color: var(--green); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; transition: background .15s ease, color .15s ease; }
.btn-login:hover { background: var(--green); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); min-height: clamp(520px, 42vw, 810px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 24%, rgba(52, 59, 79, 0.92) 38%, rgba(52, 59, 79, 0.45) 58%, rgba(52, 59, 79, 0.1) 100%); }
.hero-pattern { position: absolute; left: 0; bottom: clamp(12px, 2.5vw, 48px); width: clamp(360px, 42vw, 805px); z-index: 0; opacity: .9; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: clamp(64px, 7vw, 130px) 0 clamp(150px, 15vw, 260px); }
.hero-title { font-size: clamp(44px, 5.6vw, 80px); font-weight: 900; line-height: 1.08; letter-spacing: 0.03em; color: #fff; display: grid; gap: 0.08em; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .line-2 { padding-left: 0.5em; }
.hero-title .line-3 { padding-left: 1em; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px #fff; paint-order: stroke fill; }
.hero-title .solid { color: #fff; }
.hero-title .dot { font-weight: 900; margin-left: 0.1em; }
.dot-cyan { color: var(--cyan); } .dot-green { color: var(--green); } .dot-lime { color: var(--lime); }
.hero .btn { margin-top: clamp(28px, 3vw, 44px); margin-left: 1em; }

/* ---------------------------------------------------------------- challenge */
.challenge-grid { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.9fr); gap: 0 clamp(32px, 4.5vw, 64px); align-items: start; }
.challenge-grid::after { content: ""; grid-column: 2; grid-row: 1; width: 1px; background: #c9ccd3; align-self: stretch; }
.challenge-left { grid-column: 1; }
.challenge-right { grid-column: 3; padding-top: clamp(24px, 3vw, 48px); }
.challenge-left .lead { margin-top: 36px; }
.quote-mark { width: 81px; height: auto; }
.quote-text { margin-top: 36px; font-size: 20px; font-weight: 300; line-height: 1.5; max-width: 60ch; }
.signature { margin-top: 32px; font-size: 16px; display: grid; gap: 2px; }
.signature strong { color: var(--text-dark); font-weight: 700; }
.signature span { color: var(--green); }
.signature-light strong { color: #fff; }

/* ---------------------------------------------------------------- what is */
.what-is { margin-top: clamp(40px, 5vw, 80px); }
.what-is-band { display: grid; grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 545px) minmax(0, 1075px) minmax(0, 1fr); min-height: clamp(420px, 29vw, 555px); position: relative; }
.what-is-green { grid-column: 1; background: var(--green); }
.what-is-box { grid-column: 2; background: var(--navy); color: #fff; padding: clamp(36px, 3.5vw, 64px) clamp(28px, 2.8vw, 48px) clamp(36px, 3.5vw, 64px) clamp(28px, 2.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.what-is-box p { margin-top: 32px; font-size: clamp(20px, 1.5vw, 28px); font-weight: 300; line-height: 1.4; }
.what-is-map { grid-column: 3 / 5; position: relative; background: #fff url("img/world-map.webp") center / cover no-repeat; }
.what-is-map .man { position: absolute; left: clamp(8px, 6%, 120px); bottom: 0; height: 118%; width: auto; max-width: none; }

/* ---------------------------------------------------------------- benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.benefit { padding: 0 clamp(0px, 2vw, 32px) 24px 0; }
.benefit + .benefit { border-left: 1px solid #c9ccd3; padding-left: clamp(24px, 3vw, 48px); }
.benefit img { height: 140px; width: auto; }
.benefit .num { margin-top: 32px; color: var(--green); font-size: 20px; font-weight: 700; }
.benefit h3 { margin-top: 8px; font-size: clamp(22px, 1.7vw, 28px); }
.benefit p:last-child { margin-top: 20px; font-size: 18px; font-weight: 300; max-width: 30ch; }
.benefit strong, .needs-list strong { color: var(--green); font-weight: 700; }

.big-quote { margin-top: clamp(72px, 8vw, 140px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; max-width: 1160px; }
.big-quote p { font-size: clamp(22px, 2vw, 32px); font-weight: 300; line-height: 1.4; color: var(--text-dark); max-width: 36ch; }
.big-quote strong { font-weight: 800; }

/* ---------------------------------------------------------------- 85% band */
.stat-band { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); min-height: clamp(420px, 32vw, 615px); }
.stat-box { background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 5vw, 80px) clamp(28px, 4vw, 64px) clamp(48px, 5vw, 80px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.stat-title { color: #fff; font-size: clamp(18px, 1.3vw, 22px); font-weight: 800; line-height: 1.35; max-width: 26ch; }
.stat-figure { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.stat-figure img { width: 56px; height: auto; align-self: flex-start; margin-top: 10px; }
.stat-number { color: var(--green); font-size: clamp(72px, 6.5vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.stat-number span { font-size: 0.4em; margin-left: 0.05em; }
.stat-caption { margin-top: 24px; margin-left: 80px; color: var(--green); font-size: clamp(18px, 1.4vw, 24px); font-weight: 300; line-height: 1.35; max-width: 22ch; }
.stat-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip { width: 100%; height: auto; }

/* ---------------------------------------------------------------- needs */
.needs-list { list-style: none; margin: clamp(40px, 4vw, 64px) 0 0; padding: 0; }
.needs-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(28px, 3vw, 48px) 0; max-width: 1240px; }
.needs-list li + li { border-top: 1px solid var(--line); box-shadow: 0 -10px 18px -16px rgba(52, 59, 79, 0.35); }
.needs-list img { width: 105px; height: auto; justify-self: center; }
.needs-list h3 { font-size: clamp(22px, 1.7vw, 28px); }
.needs-list p { margin-top: 12px; font-size: 18px; font-weight: 300; }

/* ---------------------------------------------------------------- founder */
.founder { margin-top: clamp(120px, 10vw, 160px); }
.founder-band { position: relative; background: var(--navy); color: #fff; overflow-x: clip; }
.founder-pattern { position: absolute; width: clamp(240px, 25vw, 480px); opacity: .55; pointer-events: none; }
.founder-pattern-right { right: 0; top: 48px; }
.founder-pattern-left { left: 0; bottom: 160px; transform: scaleX(-1); opacity: .35; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; position: relative; z-index: 1; }
.founder-visual { position: relative; min-height: 420px; }
.founder-shapes { position: absolute; left: 9%; bottom: -8px; width: 96%; height: auto; }
.founder-photo { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: calc(100% + 90px); max-height: 820px; width: auto; max-width: none; }
.founder-text { padding: clamp(56px, 6vw, 110px) 0 clamp(56px, 6vw, 100px); font-size: 18px; font-weight: 300; line-height: 1.4; }
.founder-text .quote-mark { width: 81px; }
.founder-text .h2 { margin-top: 20px; }
.founder-intro { margin-top: 28px; color: var(--green); font-size: 20px; font-weight: 700; }
.founder-text p + p { margin-top: 20px; }
.founder-text p strong { font-weight: 700; color: #fff; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact-list { list-style: none; margin: clamp(32px, 3vw, 48px) 0 0; padding: 0; display: grid; gap: 28px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 28px; align-items: start; font-size: clamp(20px, 1.5vw, 26px); font-weight: 300; line-height: 1.35; color: #7d8291; }
.contact-list img { width: 40px; height: auto; margin-top: 2px; }
.contact-list a:hover { color: var(--green); }
.contact-intro { font-size: 20px; font-weight: 300; padding-top: 24px; }
.contact-form { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; height: 54px; padding: 0 24px; border: 2px solid var(--navy); border-radius: 6px; background: #fff; font: 400 16px/1.3 var(--font); color: var(--text-dark); letter-spacing: 0.02em; }
.contact-form textarea { height: auto; min-height: 210px; padding: 18px 24px; resize: vertical; }
.contact-form ::placeholder { color: #8a8f9c; text-transform: uppercase; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(72, 187, 142, 0.25); }
.contact-form .is-invalid { border-color: #d9534f; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot .btn { height: 54px; padding: 0 36px; }
.form-foot .btn[disabled] { opacity: .7; cursor: wait; }
.form-status { font-size: 16px; min-height: 1.4em; }
.form-status.is-error { color: #c0392b; }
.form-status.is-ok { color: var(--green); font-weight: 700; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #fff; }
.footer-inner { display: flex; align-items: center; gap: 48px; min-height: 92px; padding: 16px 0; }
.footer-logo img { width: 125px; height: auto; }
.copyright { font-size: 14px; font-weight: 300; opacity: .9; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1279px) {
  .site-nav ul { gap: 18px; }
  .site-nav li a { font-size: 14px; }
  .what-is-band { grid-template-columns: var(--gutter) minmax(0, 46fr) minmax(0, 54fr); }
  .what-is-map { grid-column: 3; }
}

@media (max-width: 1023px) {
  .header-inner { min-height: 84px; }
  .logo img { width: 136px; }
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: #fff; box-shadow: 0 16px 24px -12px rgba(52, 59, 79, 0.3); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .btn-login { margin-top: 20px; justify-content: center; height: 48px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-shade { background: linear-gradient(90deg, var(--navy) 0%, rgba(52, 59, 79, 0.9) 45%, rgba(52, 59, 79, 0.35) 100%); }
  .challenge-grid { grid-template-columns: minmax(0, 1fr); }
  .challenge-grid::after { display: none; }
  .challenge-left, .challenge-right { grid-column: 1; }
  .challenge-right { padding-top: 48px; }

  .what-is-band { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .what-is-green { display: none; }
  .what-is-box { grid-column: 1; padding: 48px var(--gutter); border-left: 16px solid var(--green); }
  .what-is-map { grid-column: 1; min-height: 360px; }
  .what-is-map .man { height: 100%; left: 50%; transform: translateX(-50%); }

  .benefits-grid { grid-template-columns: minmax(0, 1fr); gap: 48px 0; }
  .benefit + .benefit { border-left: 0; padding-left: 0; border-top: 1px solid #c9ccd3; padding-top: 48px; }
  .benefit p:last-child { max-width: 50ch; }

  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .stat-box { padding: 56px var(--gutter); }
  .stat-photo img { max-height: 420px; }

  .founder { margin-top: 140px; }
  .founder-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .founder-visual { min-height: 0; width: min(100%, 520px); margin-inline: auto; height: 560px; }
  .founder-photo { height: calc(100% + 80px); }
  .founder-text { padding-top: 40px; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 639px) {
  body { font-size: 17px; }
  .hero-inner { padding: 64px 0 150px; }
  .hero-title .line-2 { padding-left: 0.3em; }
  .hero-title .line-3 { padding-left: 0.6em; }
  .hero .btn { margin-left: 0; width: 100%; }
  .hero-pattern { width: 300px; bottom: 20px; }
  .big-quote { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .big-quote .quote-mark { width: 56px; }
  .stat-caption { margin-left: 0; }
  .needs-list li { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .needs-list img { justify-self: start; width: 80px; }
  .founder-visual { height: 420px; }
  .founder-photo { height: calc(100% + 60px); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
}
