/* ======================================================
   GROW & GLOW STUDIOS — MASTER STYLESHEET
   Shared by EN/ES homepage and legal pages.
   Keep this file at: assets/css/styles.css
====================================================== */

/* ======================================================
   01. DESIGN TOKENS
====================================================== */

:root {
      --deep-blue: #10263f;
      --twilight: #173b5c;
      --soft-blue: #eaf5f8;
      --mist: #f7f3eb;
      --cream: #fffaf0;
      --teal: #6fb7ad;
      --sage: #9db99a;
      --amber: #f4c86a;
      --ink: #21313f;
      --muted: #697986;
      --card: rgba(255,255,255,0.78);
      --radius: 28px;
      --shadow: 0 24px 70px rgba(16, 38, 63, 0.14);
    }



/* ======================================================
   02. BASE RESET
====================================================== */

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

html { 
	  scroll-behavior: smooth;
	}

body {
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: linear-gradient(180deg, #f7fbfb 0%, #fffaf0 45%, #edf7f5 100%);
      line-height: 1.6;
    }

a { color: inherit; text-decoration: none; }



/* ======================================================
   03. NAVIGATION
====================================================== */

.nav {
      visibility: visible;
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      width: min(1120px, calc(100% - 32px));
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 20px;
      border-radius: 999px;
      background: rgba(255,255,255,0.72);
      backdrop-filter: blur(18px);
      box-shadow: 0 10px 40px rgba(16,38,63,0.08);
    }

.logo {
      font-weight: 850;
      letter-spacing: -0.03em;
      color: var(--deep-blue);
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	  line-height: 1;
	  white-space: nowrap;
	}

.logo img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.nav-links {
      display: flex;
      gap: 22px;
      font-size: 0.92rem;
      color: var(--muted);
    }

.nav-cta {
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--deep-blue);
      color: white;
      font-size: 0.9rem;
      font-weight: 750;
    }

.lang-switch {
	  font-size: 0.9rem;
	  font-weight: 700;
	  opacity: 0.72;
	  padding-left: 8px;
	}

.lang-switch:hover {
	  opacity: 1;
	}



/* ======================================================
   04. HERO
====================================================== */

.hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 60px;
      padding: 150px max(24px, calc((100vw - 1120px)/2)) 80px;
      overflow: hidden;
      position: relative;
    }

.hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 12% 18%, rgba(244,200,106,0.28), transparent 26%),
        radial-gradient(circle at 82% 20%, rgba(111,183,173,0.28), transparent 24%),
        radial-gradient(circle at 78% 80%, rgba(23,59,92,0.12), transparent 28%);
      pointer-events: none;
    }

.hero-content, .hero-visual { position: relative; z-index: 1; }

.eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 13px;
      border-radius: 999px;
      background: rgba(111,183,173,0.14);
      color: var(--twilight);
      font-size: 0.86rem;
      font-weight: 800;
      margin-bottom: 24px;
    }

.hero-content {
	  max-width: 640px;
	}

h1 {
	  font-size: clamp(2.75rem, 6.1vw, 5.85rem);
	  line-height: 0.96;
	  letter-spacing: -0.065em;
	  color: var(--deep-blue);
	  margin-bottom: 24px;
	}

.hero p {
      max-width: 620px;
      font-size: 1.18rem;
      color: var(--muted);
      margin-bottom: 34px;
    }

.buttons {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

.btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 15px 22px;
      border-radius: 999px;
      font-weight: 780;
      transition: 0.25s ease;
      border: 0;
      cursor: pointer;
    }

.btn-primary {
      background: var(--deep-blue);
      color: white;
      box-shadow: 0 14px 32px rgba(16,38,63,0.18);
    }

.btn-secondary {
      background: rgba(255,255,255,0.75);
      color: var(--deep-blue);
      border: 1px solid rgba(16,38,63,0.09);
    }

.btn-amber {
      background: var(--amber);
      color: var(--deep-blue);
    }

.btn:hover { transform: translateY(-2px); }

.hero-visual { min-height: 620px; }

.sanctuary-card {
      position: absolute;
      border-radius: 32px;
      background: var(--card);
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.8);
    }

.main-art {
	  width: 98%;
	  height: 500px;
	  right: 0;
	  top: -12px;
	  overflow: hidden;
	  padding: 0;
	}

.main-art img {
	  width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
	}



/* ======================================================
   05. FLOATING TILES
====================================================== */

.floating-tile {
      width: 155px;
      height: 205px;
      display: flex;
      flex-direction: column;
      justify-content: end;
      padding: 16px;
      color: white;
	  overflow: hidden;
      position: absolute;
    }

.floating-tile::before {
	  content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
      to top,
      rgba(8, 18, 30, 0.72),
      rgba(8, 18, 30, 0.12)
	);
	z-index: 1;
	}

.tile-1 { 
	  left: 10px; 
      top: 415px; 
      transform: rotate(-5deg);
      background-image: url("../tiles/watch.webp");
      background-size: cover;
      background-position: center;
	}

.tile-2 { 
	  left: 360px; 
      top: 435px; 
      transform: rotate(5deg);
      background-image: url("../tiles/read.webp");
      background-size: cover;
      background-position: center;
	}

.tile-3 { 
	  left: 185px; 
      top: 440px; 
      transform: rotate(2deg);
      background-image: url("../tiles/listen.webp");
      background-size: cover;
      background-position: center;
	}

.floating-tile small,
	.floating-tile b {
	  position: relative;
	  z-index: 2;
	}

.floating-tile small {
	  opacity: 0.82;
      font-weight: 800;
      letter-spacing: 0.08em;
	}

.floating-tile b {
	  font-size: 1.08rem;
      line-height: 1.2;
      margin-top: 6px;
	}



/* ======================================================
   06. CARDS & GRIDS
====================================================== */

section {
      padding: 100px max(24px, calc((100vw - 1120px)/2));
    }

.section-header {
      max-width: 760px;
      margin-bottom: 42px;
    }

.section-header.center {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

h2 {
      font-size: clamp(2.1rem, 4vw, 4rem);
      line-height: 1;
      letter-spacing: -0.055em;
      color: var(--deep-blue);
      margin-bottom: 18px;
    }

.section-header p, .body-text {
      color: var(--muted);
      font-size: 1.08rem;
    }

.grid {
	  display: grid;
	  gap: 24px;
	}

.grid-2 {
	  grid-template-columns: repeat(2, minmax(260px, 1fr));
	}

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

.card {
	  background: var(--card);
	  border: 1px solid rgba(16,38,63,0.05);
	  box-shadow: 0 20px 54px rgba(16,38,63,0.06);
	  border-radius: var(--radius);
	  padding: 34px;
	  min-height: 220px;
	  transition: transform 0.35s ease, box-shadow 0.35s ease;
	}

.card:hover {
	  transform: translateY(-4px);
	}

.icon {
	  width: 92px;
      height: 92px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 14px;
	}

.icon img {
	  width: 82px;
	  height: 82px;
      object-fit: contain;
	}

.card h3 {
	  font-size: 1.85rem;
	  line-height: 1.25;
	  margin-bottom: 18px;
	  max-width: 85%;
	}

.card p {
	  font-size: 1rem;
	  line-height: 1.75;
	  color: var(--muted);
	  max-width: 95%;
	}

.split {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 36px;
      align-items: center;
    }



/* ======================================================
   07. TOUR SECTION
====================================================== */

.tour {
      padding-top: 30px;
    }
	
.video-container {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--deep-blue);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.play {
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: white;
      display: grid;
      place-items: center;
      margin: 0 auto 16px;
      box-shadow: 0 16px 35px rgba(16,38,63,0.14);
    }



/* ======================================================
   08. PATH MAP
====================================================== */

.path-map {
      background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(234,245,248,0.9));
    }

.path-row {
      display: grid;
      grid-template-columns: 1fr 1.3fr 0.7fr;
      gap: 18px;
      align-items: center;
      padding: 22px 26px;
      border-bottom: 1px solid rgba(16,38,63,0.07);
    }

.path-row:last-child { border-bottom: 0; }

.path-row strong {
      color: var(--deep-blue);
      font-size: 1.05rem;
    }

.path-row span { color: var(--muted); }

.path-row a {
      justify-self: end;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(111,183,173,0.14);
      color: var(--deep-blue);
      font-weight: 800;
      font-size: 0.9rem;
    }



/* ======================================================
   09. CUDDLEVERSE
====================================================== */

.cuddleverse {
      background: linear-gradient(180deg, rgba(234,245,248,0.85), rgba(255,250,240,0.9));
    }

.showcase {
	  display: flex;
	  gap: 18px;
      overflow-x: auto;
      overflow-y: visible;
      padding: 16px 4px 44px;
      scroll-snap-type: x mandatory;
	}

.cuddleverse .section-header {
	  text-align: center;
	  max-width: 980px;
	  margin: 0 auto 54px;
	}

.cuddleverse .section-header p {
	  max-width: 860px;
	  margin: 0 auto;
	}

.cover {
	  flex: 0 0 240px;
	  height: 380px;
	  border-radius: 26px;
	  padding: 16px;
	  display: flex;
	  flex-direction: column;
	  gap: 14px;
	  background: white;
	  color: var(--deep-blue);
	  box-shadow: var(--shadow);
	  scroll-snap-align: start;
	  overflow: hidden;
	}

.cover img {
	  width: 100%;
	  height: 220px;
	  object-fit: cover;
	  object-position: center;
	  border-radius: 18px;
	  display: block;
	}

.cover .label {
	  font-size: 11px;
	  letter-spacing: 1.8px;
	  text-transform: uppercase;
	  opacity: 0.55;
	}

.cover h3 {
	  font-size: 1.4rem;
	  line-height: 1.15;
	  margin: 0;
	}



/* ======================================================
   10. LIBRARY
====================================================== */

.library {
      background: linear-gradient(180deg, #ffffff, #eef8f6);
    }

.library-wall {
	  display: flex;
	  gap: 18px;
	  overflow-x: auto;
	  padding: 12px 4px 28px;
	  scroll-snap-type: x mandatory;
	}

.mini-cover {
	  flex: 0 0 180px;
	  text-decoration: none;
	  color: var(--deep-blue);
	  scroll-snap-align: start;
	}

.mini-cover img {
	  width: 100%;
	  height: 240px;
	  object-fit: cover;
	  border-radius: 18px;
	  display: block;
	  box-shadow: var(--shadow);
	  margin-bottom: 12px;
	}

.mini-cover span {
	  display: block;
	  font-size: 0.95rem;
	  line-height: 1.45;
	  text-align: center;
	}

.mini-cover img:hover {
	  transform: translateY(-4px);
	  transition: transform 0.35s ease;
	}



/* ======================================================
   11. NEWSLETTER / SANCTUARY SIGNUP
====================================================== */

.sanctuary-signup {
      text-align: center;
      background:
        radial-gradient(circle at 20% 10%, rgba(244,200,106,0.2), transparent 28%),
        radial-gradient(circle at 80% 70%, rgba(111,183,173,0.23), transparent 30%),
        white;
    }

.signup-card {
      max-width: 820px;
      margin: 0 auto;
      border-radius: 42px;
      padding: 72px 34px;
      background: rgba(255,255,255,0.74);
      box-shadow: var(--shadow);
      border: 1px solid rgba(16,38,63,0.06);
    }

.signup-card .body-text {
	  max-width: 620px;
	  margin-left: auto;
	  margin-right: auto;
	}

.signup-card .poetry-lines {
      font-size: clamp(1.1rem, 2vw, 1.55rem);
      line-height: 1.55;
      letter-spacing: -0.025em;
      color: var(--deep-blue);
      font-weight: 750;
      margin: 18px 0 12px;
    }

.small-note {
	  font-size: 0.9rem;
	  margin-top: 18px;
	  opacity: 0.72;
	  line-height: 1.6;
	}



/* ======================================================
   12. MAILERLITE OVERRIDES
====================================================== */

#mlb2-42664336.ml-form-embedContainer {
	  max-width: 620px !important;
	  margin: 34px auto 0 !important;
	}

#mlb2-42664336 .ml-form-embedWrapper {
	  background: transparent !important;
	  box-shadow: none !important;
      padding: 0 !important;
	  width: 100% !important;
	}

#mlb2-42664336 .ml-form-embedBody,
	#mlb2-42664336 .ml-form-successBody {
	  padding: 0 !important;
	}

#mlb2-42664336 .ml-form-embedContent,
	#mlb2-42664336 .ml-form-successContent {
	  text-align: center !important;
	}

#mlb2-42664336 .ml-form-embedContent h4,
	#mlb2-42664336 .ml-form-embedContent p,
	#mlb2-42664336 .ml-form-successContent h4,
	#mlb2-42664336 .ml-form-successContent p {
	  text-align: center !important;
	}

#mlb2-42664336 * {
	  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	}

#mlb2-42664336 .ml-form-fieldRow input {
	  border-radius: 999px !important;
	  padding: 16px 18px !important;
	  text-align: center !important;
	}

#mlb2-42664336 .ml-form-embedContent p,
	#mlb2-42664336 .ml-form-checkboxRow label,
	#mlb2-42664336 .ml-form-embedPermissions label {
	  font-size: 0.95rem !important;
	  line-height: 1.65 !important;
	  color: var(--muted) !important;
	}

#mlb2-42664336 input,
	#mlb2-42664336 button {
	  font-family: inherit !important;
	}

#mlb2-42664336 input[type="email"] {
  background: #eef2ef !important;
  border: 1px solid rgba(16, 43, 69, 0.14) !important;
  color: var(--deep-blue) !important;
  border-radius: 999px !important;
  padding: 18px 24px !important;
  font-weight: 700 !important;
}

#mlb2-42664336 .ml-form-embedSubmit button {
	  border-radius: 999px !important;
	  padding: 14px 24px !important;
	  font-weight: 750 !important;
	}

#mlb2-42664336 .ml-form-checkboxRow,
	#mlb2-42664336 .ml-form-embedPermissions {
	  max-width: 540px !important;	
	  margin: 0 auto !important;
	}

#mlb2-42664336 .ml-form-checkboxRow label,
	#mlb2-42664336 .ml-form-embedPermissions label {
	  text-align: left !important;
	  line-height: 1.6 !important;
	}

#mlb2-42664336 .ml-form-embedPermissions,
	#mlb2-42664336 .ml-form-checkboxRow {
	  text-align: left !important;
	  max-width: 540px !important;
	  margin: 18px auto !important;
	}

#mlb2-42664336 .ml-form-embedPermissionsOptionsCheckbox,
	#mlb2-42664336 .ml-form-checkboxRow label {
	  position: relative !important;
	  display: block !important;
	  padding-left: 28px !important;
	  margin-bottom: 14px !important;
	}

#mlb2-42664336 input[type="checkbox"] {
	  position: absolute !important;
	  left: 0 !important;
	  top: 4px !important;
	  opacity: 1 !important;
	  z-index: 1 !important;
	  width: 16px !important;
	  height: 16px !important;
	}

#mlb2-42664336 .label-description {
	  display: block !important;
	  text-align: left !important;
	  color: var(--muted) !important;
	  font-size: 0.9rem !important;
	  line-height: 1.55 !important;
	}

#mlb2-42664336 .label-description p {
	  text-align: left !important;
	  margin: 0 0 8px 0 !important;
	}

#mlb2-42664336 .ml-form-embedPermissionsContent {
	  text-align: left !important;
	  max-width: 540px !important;
	  margin: 0 auto 14px !important;
	}

#mlb2-42664336 .ml-form-embedPermissionsContent h4,
	#mlb2-42664336 .ml-form-embedPermissionsContent p {
	  text-align: left !important;	
	}



/* ======================================================
   13. FUTURE WORLDS
====================================================== */

.worlds { 
	  background: var(--cream); 
	}

.world-card {
	  min-height: 260px;
	  padding: 34px;
	}

.world-card h3 {
	  max-width: 100%;
	  font-size: 1.65rem;
	}

.world-card p {
	  max-width: 100%;
	}

.world-card .icon img.stones {
	  width: 84%;
	}



/* ======================================================
   14. SUPPORT THE SANCTUARY
====================================================== */

.support {
      background: var(--deep-blue);
      color: white;
      border-radius: 52px;
      margin: 40px max(24px, calc((100vw - 1120px)/2));
      padding: 80px 30px;
    }

.support h2 {
  color: white;
  margin-bottom: 18px;
}

.support .body-text {
	  margin: 0 auto 22px;
	}

.emphasis-line {
	  margin: 30px auto 34px;
	}

.algorithm-line {
	  margin: 24px auto 26px;
	  max-width: 820px;
	}

.promise-line {
	  margin: 34px auto 42px;
	  max-width: 860px;
	}

.support-inner {
      max-width: 920px;
      margin: 0 auto;
      text-align: center;
    }

.support p {
      max-width: 760px;
      margin: 0 auto 32px;
      color: rgba(255,255,255,0.76);
    }

.support-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 30px;
    }

.support-item {
      padding: 18px;
      border-radius: 22px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.1);
      font-weight: 750;
    }

.support-label {
	  display: inline-flex;
	  margin: 34px auto 28px;
	  padding: 13px 24px;
	  border-radius: 999px;
	  background: var(--amber);
	  color: var(--deep-blue);
	  font-weight: 800;
    }

.support-item strong {
	  display: block;
	  color: var(--amber);
	  font-weight: 800;
	  font-size: 1.2rem;	
	  margin-bottom: 10px;
	  line-height: 1.35;
	}

.support-item small {
	  display: block;
	  color: rgba(255,255,255,0.82);
	  font-size: 0.98rem;
	  line-height: 1.6;
	  font-weight: 400;
	}

.nomads-note {
	  max-width: 720px;
	  margin: 46px auto 0;
	  padding: 30px;
	  border-radius: 28px;
	  background: rgba(255,255,255,0.08);
	  border: 1px solid rgba(255,255,255,0.12);
	}

.nomads-note h3 {
	  color: white;
	  margin-bottom: 10px;
	}

.nomads-note p {
	  margin-bottom: 22px;
	}

/* ======================================================
15. BEHIND THE SANCTUARY
====================================================== */

.behind-sanctuary {
  padding: 80px 0;
}

.behind-copy {
  max-width: 760px;
}

.behind-copy p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}

.behind-trust {
  margin-top: 34px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-blue);
  opacity: 0.75;
}

.about-sanctuary {
  padding: 90px 0;
}

.about-shell {
  max-width: 900px;
  margin: 0 auto;
}

.about-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(20,35,50,0.06);
  border-radius: 28px;
  padding: 62px 72px 58px 72px;
  box-shadow: 0 20px 40px rgba(20,35,50,0.05);
  backdrop-filter: blur(6px);
  text-align: center;
}

.about-card h2 {
  margin-bottom: 28px;
}

.about-card p {
  margin-bottom: 22px;
  max-width: 720px;
}

.about-trust {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.9;
}

.about-label {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.about-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #e7efec;
  font-weight: 700;
  color: var(--deep-blue);
  font-size: 0.95rem;
}

/* ======================================================
   16. FOOTER
====================================================== */

footer {
	  padding: 56px max(24px, calc((100vw - 1120px)/2));
	  display: flex;
	  justify-content: space-between;
	  align-items: flex-start;
	  gap: 40px;
	  color: var(--muted);
	  font-size: 0.95rem;
	}

.footer-main {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  gap: 32px;
	  width: 100%;
	}

.footer-links {
	  display: flex;
	  flex-wrap: nowrap;
	  gap: 26px;
	  align-items: center;
	  justify-content: flex-end;
	  white-space: nowrap;
	}

.footer-legal {
	  margin-top: 18px;
	  display: flex;
	  justify-content: center;
	  gap: 24px;
	  flex-wrap: wrap;
	  font-size: 0.9rem;
	  opacity: 0.75;
	}

.footer-legal a {
	  text-decoration: none;
	  color: var(--muted);
	}

.footer-legal a:hover {
	  color: var(--deep-blue);
	}



/* ======================================================
   17. LEGAL PAGES
====================================================== */

.legal-page {
  max-width: 760px;
  margin: 70px auto;
  padding: 70px 55px;
  background: #f7f7f4;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(20, 35, 50, 0.05);
  color: var(--ink);
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--deep-blue);
  margin-bottom: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-page h2 {
  color: var(--deep-blue);
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.legal-page p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-back:hover {
  opacity: 0.7;
}

.legal-updated {
  margin-top: 34px;
  font-size: 0.88rem !important;
  opacity: 0.65;
}



/* ======================================================
   18. MAILERLITE UTILITIES
====================================================== */

.ml-form-embedSubmitLoad {
      display: inline-block;
      width: 20px;
      height: 20px;
    }

.g-recaptcha {
    transform: scale(1);
    -webkit-transform: scale(1);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    }

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

.ml-form-embedSubmitLoad:after {
      content: " ";
      display: block;
      width: 11px;
      height: 11px;
      margin: 1px;
      border-radius: 50%;
      border: 4px solid #fff;
    border-color: #ffffff #ffffff #ffffff transparent;
    animation: ml-form-embedSubmitLoad 1.2s linear infinite;
    }

@keyframes ml-form-embedSubmitLoad {
      0% {
      transform: rotate(0deg);
      }
      100% {
      transform: rotate(360deg);
      }
    }



/* ======================================================
   19. RESPONSIVE
====================================================== */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }

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

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

  .path-row { 
    grid-template-columns: 1fr; 
  }

  .path-row a { 
    justify-self: start; 
  }

  .floating-tile {
    display: none;
  }

  footer { 
    flex-direction: column; 
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }
}


@media (min-width: 701px) and (max-width: 900px) {
  .floating-tile {
    transform: scale(0.88);
    transform-origin: bottom center;
  }
}

@media (max-width: 560px) {

.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 16px;
  border-radius: 28px;

  position: relative;
  top: auto;
  left: auto;
  transform: none;

  width: calc(100% - 32px);
  margin: 16px auto 0;
  
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 0.88rem;
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-links {
  display: none;
}

.nav-cta {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;

  font-size: 0.82rem;
  padding: 14px 18px;
  text-align: center;
}

  .lang-switch {
    padding-left: 0;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 40px;
    gap: 28px;
  }

 .grid-2,
.grid-3,
.support-grid {
  grid-template-columns: 1fr;
}

  .hero-visual {
    min-height: 430px;
  }

  .main-art {
    width: 100%;
    height: 350px;
  }

  .floating-tile {
    display: none;
  }

  h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 0.95;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.75;
  }
  
  @media (max-width: 560px) {
  .tools-page .container {
    width: min(100% - 28px, 1120px);
  }

  .tools-hero {
    padding-top: 70px;
  }

  .tools-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .tools-hero .lead,
  .tools-intro p,
  .tools-closing p {
    font-size: 1rem;
  }

  .tool-card {
    padding: 24px;
    min-height: auto;
  }

  .tool-spacer {
    height: 20px;
  }

}
}



/* ======================================================
   20. TOOLS
====================================================== */

.tools-page {
  background: var(--cream);
  color: var(--deep-blue);
  overflow-x: hidden;
}

.tools-page .container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.tools-page .narrow {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.tools-hero {
  padding: 110px 0 45px;
  text-align: center;
}

.tools-hero-es {
  padding-top: 90px;
}

.tools-hero h1 {
  margin: 0 auto 24px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tools-hero .lead {
  margin: 0 auto 28px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
}

.tools-intro {
  padding: 10px 0 55px;
  text-align: center;
}

.tools-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.affiliate-note {
  margin-top: 26px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(217, 241, 236, 0.68);
  color: var(--deep-blue) !important;
}

.tools-grid-section {
  padding: 20px 0 80px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,0.76);
  box-shadow: var(--shadow);
}

.tool-category {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tool-card h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.65;
}

.tool-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--deep-blue);
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.tools-closing {
  padding: 35px 0 90px;
  text-align: center;
}

.tools-closing h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.tools-closing p {
  color: var(--muted);
  line-height: 1.8;
}

.back-home {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(217, 241, 236, 0.8);
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}

.language-divider {
  width: min(900px, calc(100% - 40px));
  margin: 20px auto;
  border: none;
  height: 1px;
  background: rgba(16,38,63,0.14);
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tools-hero {
    padding-top: 80px;
  }

  .tool-card {
    min-height: auto;
    padding: 28px;
  }
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
}

.tool-card p {
  flex-grow: 1;
}

.tool-spacer {
  height: 50px;
  margin-top: 24px;
}
