/* Shared accessibility, navigation, form and privacy controls. Loaded last. */
html {
  overflow-wrap: break-word;
  scroll-padding-top: 120px;
}
body {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid #145e34;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  background: #fff;
  color: #123b2a;
  padding: 12px 18px;
  border: 2px solid #145e34;
  border-radius: 9px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 76px;
}
.brand img {
  display: block;
  width: 216px;
  height: 108px;
  object-fit: contain;
  margin: -16px 0;
}
.nav .links > a {
  font-size: 14px !important;
  min-height: 44px;
}
.eyebrow,
.number,
.info-card .step {
  color: #205d38;
}
.number {
  background: #e2f5d9;
  color: #145e34;
}
.brand b,
.app-logo-text b {
  color: #167536;
}
.banner h2,
.banner h3,
.contact-note h2,
.business-banner h2 {
  color: #fff;
}
.banner .eyebrow,
.contact-note .eyebrow {
  color: #d4f2c8;
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 3px;
}
.footer button {
  font: inherit;
  color: #d8f4d7;
  background: transparent;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px 4px;
  min-height: 44px;
}
.footer .notice {
  color: #d5e7d8;
}
summary {
  min-height: 44px;
  padding-block: 9px;
}
.consent-panel {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  max-width: 740px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #bdd5b9;
  border-radius: 18px;
  box-shadow: 0 8px 40px #123b2a30;
  color: #123b2a;
}
.consent-panel p {
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0;
}
.consent-panel a {
  text-decoration: underline;
}
.consent-panel .actions {
  margin: 12px 0 0;
}
.consent-panel .btn {
  font-size: 14px;
  min-height: 44px;
}
.enquiry-panel {
  background: white;
  border: 1px solid #d4e3d1;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 42px);
  scroll-margin-top: 120px;
}
.enquiry-panel h2 {
  margin-top: 0;
}
.enquiry-intro {
  max-width: 740px;
}
.contact-form {
  max-width: 800px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  min-width: 0;
}
.form-field label,
.privacy-check {
  font-weight: 650;
  color: #123b2a;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  border: 1.5px solid #6d8972;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  color: #123b2a;
}
.form-field textarea {
  resize: vertical;
  min-height: 160px;
}
.form-hint {
  font-size: 14px;
  color: #425e4c;
  line-height: 1.6;
  margin: 0;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  min-height: 44px;
  margin: 12px 0 20px;
}
.privacy-check input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin: 2px 0 0;
}
.privacy-check a {
  text-decoration: underline;
}
.contact-form button:disabled {
  opacity: 0.8;
  cursor: default;
  transform: none;
}
.form-status {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #145e34;
  background: #edf7e9;
  color: #123b2a;
  max-width: 800px;
  overflow-wrap: anywhere;
}
.form-status[data-state="error"] {
  border-color: #963c20;
  background: #fff4ec;
  color: #682611;
}
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.app-photo-logo img {
  width: 230px;
  height: 115px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .nav {
    padding-inline: 0;
    gap: 4px;
  }
  .brand img {
    width: 200px;
    height: 100px;
  }
  .nav .links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    white-space: normal !important;
    overflow: visible !important;
    width: 100%;
  }
  .nav .links > a {
    font-size: 14px !important;
    min-height: 44px;
    white-space: normal;
    justify-content: center;
    text-align: center;
    padding: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .consent-panel {
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 16px;
  }
  .consent-panel .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .heroPic {
    background-image:
      linear-gradient(90deg, #e8f5e6 0%, transparent 20%),
      url("/assets/images/photo-1599351431202-1e0f0137899a-640.webp");
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Grid children must shrink on narrow screens and at increased text sizes. */
.about-hero > *,
.business-hero > *,
.contact-hero > *,
.founder-hero > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 360px) {
  main .about-hero h1,
  main .business-hero h1,
  main .contact-hero h1,
  main .founder-hero h1,
  main .hero h1 {
    font-size: clamp(30px, 9.5vw, 34px);
  }
  .about-hero {
    padding: 20px;
  }
}
