/* =========================================================
   LUCIDSEAL POLISH LAYER — Unified Visual & Typographic Pass
   v2025-10-27  |  Safe override layer for app.css
   ========================================================= */

/* ---------------------------------------------------------
   1. Brand Warmth + Accent Refinement
   --------------------------------------------------------- */
   :root {
    --accent: #00A19E;
    --accent-deep: color-mix(in srgb, var(--accent) 85%, black);
    --accent-a12: rgba(0,161,158,0.12);
    --accent-a18: rgba(0,161,158,0.18);
    --accent-a20: rgba(0,161,158,0.20);
    --accent-a25: rgba(0,161,158,0.25);
    --accent-a35: rgba(0,161,158,0.35);
    --wrap: clamp(720px, 90vw, 1180px);
    --space-5: 3rem
    
  }
  
  /* ---------------------------------------------------------
     2. Global Typography & Layout Rhythm
     --------------------------------------------------------- */
  :root {
    --fs-body: 17px;
    --fs-h1: clamp(28px, 3vw, 40px);
    --fs-h2: clamp(22px, 2.4vw, 26px);
    --fs-h3: clamp(18px, 2vw, 20px);
  }
  
  body {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text);
    font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  
  p, li {
    font-size: 1.05em;
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .section p {
    max-width: 70ch;
    margin-inline: auto;
  }
  
  
  h1, h2, h3 {
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  h1 {
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.25rem;
  }
  h2 {
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  h3 {
    font-weight: 500;
    line-height: 1.3;
  }
  
  /* ---------------------------------------------------------
     3. Section & Container Comfort
     --------------------------------------------------------- */
  .section {
    padding-block: clamp(3.5rem, 6vw, 7rem);
  }
  .section + .section {
    margin-top: var(--space-5);
  }
  .wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
  }

  /* ---------------------------------------------------------
   Responsive Video Embeds
   --------------------------------------------------------- */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Optional cap */
  margin: 0 auto var(--space-5, 2rem);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-wrapper {
  background: var(--panel-2);
  border: 1px solid var(--accent-a18);
}


  
  /* ---------------------------------------------------------
     4. Buttons & Interactive Elements
     --------------------------------------------------------- */
  .btn {
    font-size: 1.05em;
    padding: 12px 18px;
    border-radius: 14px;
    transition: transform 0.2s ease, filter 0.25s ease;
    box-shadow: 0 6px 18px var(--accent-a20);
  }
  .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
  }
  a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  a:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  
  /* ---------------------------------------------------------
     5. Cards / Tiles / Panels
     --------------------------------------------------------- */
  .card {
    background: var(--panel-2);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-a12);
  }
  
  /* ---------------------------------------------------------
     6. App Bar Transparency & Subtle Motion
     --------------------------------------------------------- */
  .appbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(1.4) blur(10px);
    transition: background 0.3s ease;
  }
  .appbar:hover {
    background: rgba(255, 255, 255, 0.98);
  }
  .fade-up {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.6s ease-out forwards;
  }
  @keyframes fadeUp {
    to { opacity: 1; transform: none; }
  }

  /* ---------------------------------------------------------
   Closing Note / Outro Section
   --------------------------------------------------------- */
.closing-note {
  text-align: center;
  padding-block: clamp(4rem, 6vw, 7rem);
  background: var(--panel);
  border-top: 1px solid var(--accent-a18);
}

.closing-container {
  max-width: 70ch;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.closing-note h3 {
  color: var(--accent-deep);
  font-size: var(--fs-h2);
  margin-bottom: 1.25rem;
}

.closing-note p {
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.closing-note .final-cta a {
  font-weight: 600;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-a25);
}

.closing-note .final-cta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* -------------------------------------
   Global Accordion Styling
-------------------------------------- */
details.accordion {
  border-bottom: 1px solid var(--ring, rgba(0,0,0,0.1));
  padding: var(--space-sm, 0.75rem) 0;
}

details.accordion summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  list-style: none;
  position: relative;
  outline: none;
}

details.accordion summary::-webkit-details-marker {
  display: none;
}

details.accordion summary::after {
  content: "›";
  display: inline-block;
  position: absolute;
  right: 0;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.25s ease;
  font-size: 1.25rem;
  color: var(--accent, currentColor);
}

details.accordion[open] summary::after {
  transform: rotate(90deg);
}

details.accordion .content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.35s ease;
  will-change: max-height, opacity;
}

details.accordion[open] .content {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.5rem;
}

details.accordion p {
  margin: 0.5rem 0 0;
  color: var(--ink, #222);
  line-height: 1.6;
}