/* ============================================================
   DodiHome — CSS Foundation
   Version: 1.0
   Updated: February 2026
   
   Design system derived from style-guide.html and 
   dodihome-site-config.md. This file governs all pages.
   ============================================================ */


/* ------------------------------------------------------------
   0. Custom Properties
   ------------------------------------------------------------ */

:root {
  /* Primary */
  --deep-teal: #003C2F;
  --bright-green: #06F0B1;
  --orange-pizazz: #FF9600;

  /* Secondary */
  --rust: #BB5700;
  --malibu: #59D6FF;
  --accent-red: #E85D4A;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F4F5F0;
  --gray-100: #E8E9E4;
  --gray-200: #D0D1CC;
  --gray-400: #8A8B86;
  --gray-600: #5A5B56;
  --gray-800: #2A2B26;
  --black: #1A1B16;

  /* Typography */
  --font-headline: 'Alexandria', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing scale (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --content-max: 1120px;
  --content-narrow: 720px;
  --nav-height: 72px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 12px;

  /* Transitions */
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration-fast: 150ms;
  --duration-default: 250ms;
  --duration-slow: 400ms;
}


/* ------------------------------------------------------------
   1. Reset & Base
   ------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + var(--space-lg));
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--deep-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--duration-fast) var(--ease-default);
}

a:hover {
  color: var(--bright-green);
}

/* Remove default focus outline — replaced below */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--bright-green);
  outline-offset: 2px;
}


/* ------------------------------------------------------------
   2. Typography
   ------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--deep-teal);
  line-height: 1.2;
}

h1 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  letter-spacing: -0.01em;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
  letter-spacing: -0.005em;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);
}

h4 {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-600);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-label {
  font-family: var(--font-headline);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bright-green);
}

strong {
  font-weight: 500;
}

/* On dark backgrounds */
.on-dark {
  color: var(--white);
}

.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--white);
}

.on-dark h4 {
  color: var(--bright-green);
}

.on-dark a {
  color: var(--bright-green);
}

.on-dark a:hover {
  color: var(--white);
}

.on-dark p {
  color: rgba(255, 255, 255, 0.85);
}


/* ------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--sm {
  padding: var(--space-3xl) 0;
}

.section--teal {
  background-color: var(--deep-teal);
}

.section--white {
  background-color: var(--white);
}

.section--offwhite {
  background-color: var(--off-white);
}

/* Two-column grid for value props, features, etc. */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Split layout: text + image or text + form */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Stack utility — vertical flex with gap */
.stack {
  display: flex;
  flex-direction: column;
}

.stack--sm { gap: var(--space-sm); }
.stack--md { gap: var(--space-md); }
.stack--lg { gap: var(--space-lg); }
.stack--xl { gap: var(--space-xl); }


/* ------------------------------------------------------------
   4. Topographic Pattern (SVG Background)
   ------------------------------------------------------------ */

/*
  Signature background texture — subtle topographic contour lines.
  Applied to Deep Teal sections (hero, footer). 
  SVG encoded inline for zero HTTP requests.
*/

.topo-bg {
  position: relative;
}

.topo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.06'%3E%3Cellipse cx='300' cy='300' rx='280' ry='180'/%3E%3Cellipse cx='300' cy='300' rx='240' ry='150'/%3E%3Cellipse cx='300' cy='300' rx='200' ry='120'/%3E%3Cellipse cx='300' cy='300' rx='160' ry='95'/%3E%3Cellipse cx='300' cy='300' rx='120' ry='70'/%3E%3Cellipse cx='300' cy='300' rx='80' ry='48'/%3E%3Cellipse cx='300' cy='300' rx='40' ry='25'/%3E%3Cellipse cx='120' cy='150' rx='110' ry='70'/%3E%3Cellipse cx='120' cy='150' rx='75' ry='45'/%3E%3Cellipse cx='120' cy='150' rx='40' ry='22'/%3E%3Cellipse cx='500' cy='450' rx='95' ry='60'/%3E%3Cellipse cx='500' cy='450' rx='60' ry='35'/%3E%3Cellipse cx='500' cy='450' rx='28' ry='16'/%3E%3Cellipse cx='480' cy='100' rx='85' ry='55'/%3E%3Cellipse cx='480' cy='100' rx='50' ry='30'/%3E%3Cellipse cx='100' cy='480' rx='90' ry='58'/%3E%3Cellipse cx='100' cy='480' rx='55' ry='32'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
  pointer-events: none;
  z-index: 0;
}

.topo-bg > * {
  position: relative;
  z-index: 1;
}


/* ------------------------------------------------------------
   5. Navigation
   ------------------------------------------------------------ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--deep-teal);
  height: var(--nav-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 4px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.footer-logo img {
  height: 72px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--white);
  letter-spacing: 3px;
  text-decoration: none;
  line-height: 1;
}

.logo-bars {
  display: flex;
  gap: 3px;
}

.logo-bars span {
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 1px;
}

.logo-bar--green { background-color: var(--bright-green); }
.logo-bar--blue { background-color: var(--malibu); }
.logo-bar--orange { background-color: var(--orange-pizazz); }
.logo-bar--red { background-color: var(--accent-red); }

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-default);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* Nav CTA — bright green button (special case per site config) */
.nav-cta {
  display: none;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--black);
  background-color: var(--bright-green);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color var(--duration-fast) var(--ease-default),
              transform var(--duration-fast) var(--ease-default);
}

.nav-cta:hover {
  background-color: #05d9a0;
  color: var(--black);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition: transform var(--duration-default) var(--ease-default),
              opacity var(--duration-default) var(--ease-default);
}

/* Mobile menu open state */
.site-nav.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--deep-teal);
  padding: var(--space-2xl) var(--space-lg);
  z-index: 99;
  overflow-y: auto;
}

.site-nav.menu-open .nav-mobile {
  display: block;
}

.nav-mobile a {
  display: block;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--duration-fast) var(--ease-default);
}

.nav-mobile a:hover {
  color: var(--white);
}

/* Mobile-only nav CTA — visible in header bar below 768px */
.site-nav .nav-cta-mobile {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--black);
  background-color: var(--bright-green);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-default);
}

.site-nav .nav-cta-mobile:hover {
  background-color: #05d9a0;
  color: var(--black);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-block;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav .nav-cta-mobile {
    display: none;
  }
}

/* Stripped nav — paid landing page */
.site-nav--landing .nav-links,
.site-nav--landing .nav-cta,
.site-nav--landing .nav-toggle,
.site-nav--landing .nav-cta-mobile {
  display: none;
}


/* ------------------------------------------------------------
   6. Hero Sections
   ------------------------------------------------------------ */

/* Full hero — homepage */
.hero {
  background-color: var(--deep-teal);
  padding: var(--space-4xl) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero h1 {
  color: var(--white);
  max-width: 680px;
}

.hero .hero-sub {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.7;
}

.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Content hero — interior pages (shorter) */
.hero--content {
  min-height: auto;
  padding: var(--space-3xl) 0 var(--space-2xl);
}

/* Landing hero — form layout */
.hero--landing {
  min-height: auto;
  padding: var(--space-3xl) 0;
}

.hero--landing .container {
  flex-direction: column;
}

@media (min-width: 768px) {
  .hero--landing .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
  }
}

/* Hero image (when used as split layout) */
.hero-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  aspect-ratio: 16 / 10;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-screenshot {
  max-width: 560px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}


/* ------------------------------------------------------------
   7. CTA Buttons
   ------------------------------------------------------------ */

/* Shared button base */
.cta-primary,
.cta-secondary,
.cta-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default),
              transform var(--duration-fast) var(--ease-default);
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-secondary-outline:hover {
  transform: translateY(-1px);
}

.cta-primary:active,
.cta-secondary:active,
.cta-secondary-outline:active {
  transform: translateY(0);
}

/* Primary — Bright Green bg, Black text */
.cta-primary {
  background-color: var(--bright-green);
  color: var(--black);
  border-color: var(--bright-green);
}

.cta-primary:hover {
  background-color: #05d9a0;
  border-color: #05d9a0;
  color: var(--black);
}

/* Ensure button colors win over .on-dark a and base a styles */
.on-dark .cta-primary,
a.cta-primary {
  color: var(--black);
}

.on-dark .cta-primary:hover,
a.cta-primary:hover {
  color: var(--black);
}

/* Secondary — Deep Teal bg, White text */
.cta-secondary {
  background-color: var(--deep-teal);
  color: var(--white);
  border-color: var(--deep-teal);
}

.cta-secondary:hover {
  background-color: #004d3c;
  border-color: #004d3c;
  color: var(--white);
}

a.cta-secondary,
.on-dark .cta-secondary {
  color: var(--white);
}

/* Secondary outline — transparent, Deep Teal border */
.cta-secondary-outline {
  background-color: transparent;
  color: var(--deep-teal);
  border-color: var(--deep-teal);
}

.cta-secondary-outline:hover {
  background-color: var(--deep-teal);
  color: var(--white);
}

a.cta-secondary-outline {
  color: var(--deep-teal);
}

a.cta-secondary-outline:hover {
  color: var(--white);
}

/* On dark backgrounds — outline variant flips */
.on-dark .cta-secondary-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.on-dark .cta-secondary-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

/* Supporting CTAs — text links with arrow */
.cta-supporting {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--deep-teal);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-default);
}

.cta-supporting::after {
  content: '→';
  transition: transform var(--duration-fast) var(--ease-default);
}

.cta-supporting:hover {
  color: var(--deep-teal);
}

.cta-supporting:hover::after {
  transform: translateX(3px);
}

.on-dark .cta-supporting {
  color: var(--bright-green);
}

.on-dark .cta-supporting:hover {
  color: var(--white);
}

/* CTA block — section-level CTA with background */
.cta-block {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.cta-block .hero-ctas {
  justify-content: center;
}

.cta-block p {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ------------------------------------------------------------
   8. Cards
   ------------------------------------------------------------ */

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-xl);
}

.card--teal {
  background-color: var(--deep-teal);
  border-color: transparent;
  color: var(--white);
}

.card--teal h3,
.card--teal h4 {
  color: var(--bright-green);
}

.card--teal p {
  color: rgba(255, 255, 255, 0.85);
}

/* Value prop card — icon + heading + text */
.value-card {
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--bright-green);
}

/* Step card — for How It Works */
.step-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
}

.step-card .step-number {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--bright-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.step-card h3 {
  margin-bottom: var(--space-sm);
}


/* ------------------------------------------------------------
   9. Proof Points (Testimonials)
   ------------------------------------------------------------ */

.proof {
  border-left: 3px solid var(--bright-green);
  padding: var(--space-lg) var(--space-xl);
  background-color: rgba(6, 240, 177, 0.04);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.proof blockquote {
  font-size: 1.0625rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
}

.proof cite {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
  color: var(--gray-400);
}

/* On dark backgrounds */
.on-dark .proof {
  background-color: rgba(6, 240, 177, 0.06);
}

.on-dark .proof blockquote {
  color: rgba(255, 255, 255, 0.9);
}

.on-dark .proof cite {
  color: rgba(255, 255, 255, 0.5);
}


/* ------------------------------------------------------------
   10. FAQ Sections
   ------------------------------------------------------------ */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--deep-teal);
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--gray-800);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform var(--duration-default) var(--ease-default);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 var(--space-lg);
  max-width: var(--content-narrow);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}


/* ------------------------------------------------------------
   11. Forms (HubSpot Override Styles)
   ------------------------------------------------------------ */

/*
  HubSpot Forms Embed API renders into a target div.
  These styles override HubSpot's defaults to match our design.
  Class names target HubSpot's generated markup.
*/

.form-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

/* On dark hero backgrounds */
.hero .form-container {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.form-container h3 {
  margin-bottom: var(--space-lg);
}

/* HubSpot form overrides */
.hs-form fieldset {
  max-width: none !important;
}

.hs-form .hs-form-field {
  margin-bottom: var(--space-md);
}

.hs-form label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xs);
  display: block;
}

.hs-form .hs-form-radio label,
.hs-form .hs-form-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.hs-form .hs-input:not([type="radio"]):not([type="checkbox"]),
.hs-form select,
.hs-form textarea {
  width: 100% !important;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--gray-800);
  background-color: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  transition: border-color var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
}

.hs-form .hs-input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  border-color: var(--bright-green);
  box-shadow: 0 0 0 3px rgba(6, 240, 177, 0.15);
  outline: none;
}

.hs-form textarea {
  min-height: 80px;
  max-height: 100px !important;
  resize: vertical;
}

.hs-form .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--black);
  background-color: var(--bright-green);
  border: 2px solid var(--bright-green);
  border-radius: var(--border-radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  width: 100%;
  transition: background-color var(--duration-fast) var(--ease-default),
              transform var(--duration-fast) var(--ease-default);
}

.hs-form .hs-button:hover {
  background-color: #05d9a0;
  border-color: #05d9a0;
  transform: translateY(-1px);
}

.hs-form .hs-error-msg {
  font-size: 0.8125rem;
  color: var(--accent-red);
  margin-top: var(--space-xs);
}

.hs-form .hs-richtext {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: var(--space-md);
}

.form-container .submitted-message {
  color: var(--deep-teal) !important;
  text-align: center;
  padding: 2rem;
  font-size: 1.125rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.form-container .submitted-message p {
  color: var(--deep-teal) !important;
}

.hero--landing .form-container:has(.submitted-message) {
  align-self: center;
}

.grecaptcha-badge { visibility: hidden; }

/* Two-column form fields on desktop */
@media (min-width: 768px) {
  .hs-form fieldset.form-columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .hs-form fieldset.form-columns-2 .hs-form-field {
    width: 100% !important;
    float: none !important;
  }
}


/* ------------------------------------------------------------
   12. Gallery Grid
   ------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.gallery-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: transform var(--duration-default) var(--ease-default),
              box-shadow var(--duration-default) var(--ease-default);
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-card-info {
  padding: var(--space-md);
}

.gallery-card-info h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.gallery-card-info p {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Gallery filter tabs */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.gallery-filter {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-default);
}

.gallery-filter:hover {
  border-color: var(--deep-teal);
  color: var(--deep-teal);
}

.gallery-filter.active {
  background-color: var(--deep-teal);
  border-color: var(--deep-teal);
  color: var(--white);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ------------------------------------------------------------
   13. Blog Cards
   ------------------------------------------------------------ */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.blog-card {
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-default) var(--ease-default),
              box-shadow var(--duration-default) var(--ease-default);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.blog-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-body h3 {
  margin-bottom: var(--space-sm);
}

.blog-card-body h3 a {
  color: var(--deep-teal);
}

.blog-card-body h3 a:hover {
  color: var(--gray-800);
}

.blog-card-body p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
}

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------ */

.site-footer {
  background-color: var(--deep-teal);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer-logo-text {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.footer-nav h4 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-social a:hover {
  color: var(--bright-green);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-legal {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
  display: block;
  margin-top: 4px;
  white-space: nowrap;
}

.footer-credit img {
  height: 14px;
  vertical-align: middle;
  margin-left: 2px;
  display: inline;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 2fr;
  }

  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ------------------------------------------------------------
   15. Utility Classes
   ------------------------------------------------------------ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-2xl { padding-top: var(--space-2xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }


/* ------------------------------------------------------------
   16. Page-Specific Overrides
   ------------------------------------------------------------ */

/* Contact page — minimal design, form focus */
.page-contact .section:first-of-type {
  padding-top: var(--space-2xl);
}

/* Pricing page — comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-600);
  padding: var(--space-md);
  border-bottom: 2px solid var(--gray-200);
  text-align: left;
}

.comparison-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.comparison-table .col-dodi {
  background-color: rgba(6, 240, 177, 0.04);
  font-weight: 500;
}

/* Blog post — article styling */
.article-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.article-body h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-body h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-body p + p {
  margin-top: 0;
}

.article-body ul,
.article-body ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-lg);
}

.article-body li {
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.article-meta {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
}


/* ------------------------------------------------------------
   17. Animations
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--duration-slow) var(--ease-default),
                transform var(--duration-slow) var(--ease-default);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger children */
.stagger > .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger > .fade-in:nth-child(2) { transition-delay: 80ms; }
.stagger > .fade-in:nth-child(3) { transition-delay: 160ms; }
.stagger > .fade-in:nth-child(4) { transition-delay: 240ms; }


/* ------------------------------------------------------------
   18. Article body (legal pages, blog posts)
   ------------------------------------------------------------ */

.article-body h2 {
  font-size: 1.75rem;
}

.article-body h3 {
  font-size: 1.375rem;
}

/* ------------------------------------------------------------
   19. Print
   ------------------------------------------------------------ */

@media print {
  .site-nav,
  .site-footer,
  .cta-primary,
  .cta-secondary,
  .cta-secondary-outline,
  .nav-mobile {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    background: #fff;
    color: #000;
    min-height: auto;
    padding: 20pt 0;
  }
}
