:root {
      --brand: #DB2727;
      --brand-hover: #c01f1f;
      --brand-glow: rgba(219, 39, 39, 0.35);
      --brand-tint: #fde8e8;
      --brand-tint-hover: #fbd5d5;
      --surface-alt: #f1f5f9;
      --surface-hover: #f8fafc;
      --bg: #f8fafc;
      --text: #0f172a;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --white: #fff;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    html, body {
      overflow-x: hidden;
      max-width: 100%;
    }

    body {
      font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      line-height: 1.55;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    video { display: block; max-width: 100%; height: auto; }

    /* ── Header ─────────────────────────────────────────────────── */
    header {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 12px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--border);
    }

    .logo-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--brand);
    }

    .logo-img { height: 38px; border-radius: 8px; }

    .logo-name {
      font-family: 'Caveat Brush', cursive;
      font-size: 2rem;
      line-height: 38px;
    }

    .nav-right {
      display: flex;
      gap: 24px;
      align-items: center;
    }

    .nav-right a {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--text-muted);
      transition: color 0.15s;
    }

    .nav-right a:hover { color: var(--text); }
    .nav-right a.active { color: var(--brand); font-weight: 600; }

    /* ── Mobile menu (burger + dropdown panel) ───────────────────── */
    .menu-toggle {
      display: none;
      width: 40px;
      height: 40px;
      padding: 0;
      border: none;
      background: none;
      cursor: pointer;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }

    .menu-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      border-radius: 2px;
      background: var(--text);
      transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* header has position:sticky, which gives it a positioning context
       for this panel — so it always sits flush under it regardless of
       header height. */
    .mobile-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 16px 24px 24px;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      transform: translateY(-8px);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
    }

    .mobile-menu.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-menu a {
      padding: 14px 4px;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text);
      border-bottom: 1px solid var(--border);
    }

    .mobile-menu a:last-child { border-bottom: none; }

    .mobile-menu a.btn-brand {
      margin-top: 8px;
      justify-content: center;
      border-bottom: none;
    }

    body.nav-open { overflow: hidden; }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 24px;
      border-radius: 100px;
      font-size: 0.88rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.2s var(--ease);
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-brand {
      background: var(--brand);
      color: var(--white);
      box-shadow: 0 4px 20px var(--brand-glow);
    }

    .btn-brand:hover {
      background: var(--brand-hover);
      transform: translateY(-1px);
      box-shadow: 0 8px 28px var(--brand-glow);
    }

    .btn-ghost {
      background: none;
      color: var(--text);
      padding: 10px 0;
    }

    .btn-ghost:hover { color: var(--brand); }

    /* ── Store badges ───────────────────────────────────────────── */
    .store-badges {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      align-items: center;
    }

    .store-badges a {
      display: block;
      transition: transform 0.2s var(--ease), opacity 0.2s;
    }

    .store-badges a:hover { transform: scale(1.04); opacity: 0.9; }
    .store-badges img { height: 48px; width: auto; }

    /* ── Hero ───────────────────────────────────────────────────── */
    .hero {
      max-width: 1280px;
      margin: 0 auto;
      padding: 100px 40px 64px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .hero-text { animation: fadeUp 0.6s var(--ease) both; }

    .hero-eyebrow {
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .hero h1 {
      font-family: 'Caveat Brush', cursive;
      font-size: clamp(3.2rem, 7vw, 4.8rem);
      line-height: 1.05;
      margin-bottom: 20px;
      color: var(--brand);
    }

    .hero p.tagline {
      font-size: 1.25rem;
      color: var(--text-muted);
      max-width: 500px;
      margin-bottom: 36px;
      line-height: 1.65;
    }

    .hero-visual {
      display: flex;
      justify-content: center;
      animation: fadeUp 0.6s 0.15s var(--ease) both;
    }

    .hero-visual img {
      max-height: 720px;
      width: auto;
      border-radius: 20px;
      filter: drop-shadow(0 16px 48px rgba(0,0,0,0.12));
    }

    /* ── Section intro (Inspiration header) ─────────────────────── */
    .section-intro {
      max-width: 1280px;
      margin: 0 auto;
      padding: 80px 40px 0;
    }

    .section-intro-label {
      font-size: 1.22rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--brand);
      margin-bottom: 12px;
    }

    .section-intro h2 {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin-bottom: 12px;
    }

    .section-intro p {
      font-size: 1.1rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ── Feature layers ─────────────────────────────────────────── */
    .layer {
      max-width: 1280px;
      margin: 0 auto;
      padding: 100px 40px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }

    .layer + .layer { padding-top: 0; }
    .layer.flip .layer-text { order: 2; }
    .layer.flip .layer-visual { order: 1; }

    .layer-label {
      font-size: 1.22rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--brand);
      margin-bottom: 12px;
    }

    .layer-text h2 {
      font-size: clamp(1.8rem, 3vw, 2.2rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin-bottom: 16px;
    }

    .layer-text p {
      font-size: 1.1rem;
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 480px;
    }

    .layer-visual {
      display: flex;
      justify-content: center;
    }

    .layer-visual img {
      max-height: 600px;
      width: auto;
      border-radius: 16px;
      filter: drop-shadow(0 12px 40px rgba(0,0,0,0.1));
    }

    .layer-visual video {
      display: block;
      max-height: 560px; /* a step below the 600px images and the 720px hero */
      width: auto;
      aspect-ratio: 1080 / 1920;
      border-radius: 16px;
      object-fit: cover;
    }

    .layer-visual video.video-large {
      max-height: 680px;
    }

    /* ── Inspiration three-col grid ──────────────────────────────── */
    .inspiration-grid {
      max-width: 1280px;
      margin: 0 auto;
      padding: 56px 40px 100px;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 24px;
      align-items: start;
    }

    .inspiration-card {
      padding: 36px 32px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
    }

    .inspiration-card h2 {
      font-size: clamp(1.2rem, 1.8vw, 1.45rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.25;
      margin-bottom: 12px;
    }

    .inspiration-card p {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ── Feature grid ────────────────────────────────────────────── */
    .feature-grid-section {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px 100px;
    }

    .feature-grid-section h3 {
      font-size: 1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      margin-bottom: 28px;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .feature-tile {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 24px;
      transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .feature-tile:hover {
      border-color: var(--brand);
      transform: translateY(-2px);
    }

    .feature-tile-icon {
      font-size: 1.5rem;
      margin-bottom: 12px;
    }

    .feature-tile h4 {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .feature-tile p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* TESTIMONIAL GRID */

    .testimonial-grid-section {
      padding: 3rem 1.5rem; 
      max-width: 1200px;
      margin: 0 auto;
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .testimonial-tile {
      background: var(--color-background-primary, #fff);
      border: 0.5px solid rgba(0, 0, 0, 0.15);
      border-radius: 12px;
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem; 
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .quote-text {
      font-size: 15px;
      line-height: 1.65;
      color: inherit;
      margin: 0;
      flex: 1;
    }

    .testimonial-footer {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 1.25rem;
      border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    }

    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 600;
      flex-shrink: 0;
    }

    .avatar-a { background: #E1F5EE; color: #0F6E56; }
    .avatar-b { background: #EEEDFE; color: #3C3489; }
    .avatar-c { background: #FAECE7; color: #993C1D; }

    .author-meta {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .author-name {
      font-size: 14px;
      font-weight: 600;
      margin: 0;
      line-height: 1.3;
      color: #1a1a1a;
    }

    .author-context {
      font-size: 12px;
      opacity: 0.7;
      margin: 0;
      line-height: 1.3;
    }

    .star-row {
      color: #EF9F27;
      font-size: 13px;
      letter-spacing: 1px;
      margin-bottom: 2px;
    }

  /* CAROUSEL CONTAINERS */
    .testimonial-carousel-section {
      padding: 3rem 1.5rem; 
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
    }

    .carousel-container {
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .carousel-container::-webkit-scrollbar {
      display: none;
    }

    .testimonial-grid {
      display: flex;
      gap: 1.5rem;
      padding: 1rem 0;
    }

    .testimonial-tile {
      background: var(--color-background-primary, #fff);
      border: 0.5px solid rgba(0, 0, 0, 0.15);
      border-radius: 12px;
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem; 
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
      
      flex: 0 0 calc((100% - (2 * 1.5rem)) / 3);
      scroll-snap-align: start;
      box-sizing: border-box;
    }

    @media (max-width: 992px) {
      .testimonial-tile {
        flex: 0 0 calc((100% - 1.5rem) / 2);
      }
    }

    @media (max-width: 600px) {
      .testimonial-tile {
        flex: 0 0 100%;
      }
    }

    .quote-text {
      font-size: 15px;
      line-height: 1.65;
      color: inherit;
      margin: 0;
      flex: 1;
    }

    .testimonial-footer {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 1.25rem;
      border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    }

    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 600;
      flex-shrink: 0;
    }

    .avatar-a { background: #E1F5EE; color: #0F6E56; }
    .avatar-b { background: #EEEDFE; color: #3C3489; }
    .avatar-c { background: #FAECE7; color: #993C1D; }

    .author-name {
      font-size: 14px;
      font-weight: 600;
      margin: 0;
      line-height: 1.3;
    }

    .star-row {
      color: #EF9F27;
      font-size: 13px;
      letter-spacing: 1px;
      margin-bottom: 2px;
    }  

    /* CAROUSEL ARROWS STYLING */
    .carousel-controls {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .control-btn {
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.15);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      transition: all 0.2s ease;
    }

    .control-btn:hover {
      background: #f5f5f5;
      transform: scale(1.05);
    }

    /* ── Scroll animations ──────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ── Divider ────────────────────────────────────────────────── */
    .divider {
      border: none;
      border-top: 1px solid var(--border);
      max-width: 1280px;
      margin: 0 auto;
    }

    /* ── Page intro (used by content pages like FAQ) ──────────────── */
    .page-intro {
      max-width: 880px;
      margin: 0 auto;
      padding: 90px 40px 48px;
      text-align: center;
    }

    .page-intro-label {
      font-size: 1.1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .page-intro h1 {
      font-family: 'Caveat Brush', cursive;
      font-size: clamp(2.6rem, 6vw, 3.8rem);
      color: var(--brand);
      margin-bottom: 16px;
      line-height: 1.1;
    }

    .page-intro p {
      font-size: 1.1rem;
      color: var(--text-muted);
      max-width: 520px;
      margin: 0 auto;
      line-height: 1.65;
    }

    /* ── FAQ accordion ─────────────────────────────────────────────── */
    .faq-section {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 40px 100px;
    }

    .faq-item {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 16px;
      margin-bottom: 14px;
      overflow: hidden;
      transition: border-color 0.2s var(--ease);
    }

    .faq-item:hover { border-color: var(--brand); }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 22px 28px;
      font-weight: 700;
      font-size: 1.02rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

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

    .faq-item summary::after {
      content: '+';
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--brand);
      flex-shrink: 0;
      transition: transform 0.2s var(--ease);
    }

    .faq-item[open] summary::after { transform: rotate(45deg); }

    .faq-answer {
      padding: 0 28px 24px;
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.7;
    }

    .faq-answer p { margin-bottom: 12px; }
    .faq-answer p:last-child { margin-bottom: 0; }

    .faq-answer ul,
    .faq-answer ol {
      margin: 4px 0 14px 22px;
    }

    .faq-answer ul:last-child,
    .faq-answer ol:last-child {
      margin-bottom: 0;
    }

    .faq-answer li { margin-bottom: 6px; }
    .faq-answer li:last-child { margin-bottom: 0; }
    .faq-answer strong { color: var(--text); font-weight: 700; }

    /* Shared Card Component for Support and Deletion Pages */
    .support-card {
      background: #ffffff;
      border: 1px solid var(--border, #e2e8f0);
      border-radius: var(--radius, 20px);
      padding: var(--space-m, 2rem);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      text-align: left;
      width: 100%;
      box-sizing: border-box;
    }

    .support-card-footnote {
      margin-top: var(--space-m, 1.5rem);
      padding-top: var(--space-m, 1.5rem);
      border-top: 1px dashed var(--border, #e2e8f0);
    }

    /* ── CTA ────────────────────────────────────────────────────── */
    .cta {
      max-width: 1280px;
      margin: 0 auto;
      padding: 100px 40px;
      text-align: center;
    }

    .cta h2 {
      font-family: 'Caveat Brush', cursive;
      font-size: clamp(2.2rem, 5vw, 3.4rem);
      margin-bottom: 16px;
      color: var(--brand);
    }

    .cta p {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 480px;
      margin: 0 auto 36px;
      line-height: 1.65;
    }

    .cta p a { color: var(--brand); }

    /* ── Footer ─────────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 36px 24px;
      text-align: center;
      font-size: 0.85rem;
      color: #94a3b8;
      background: var(--white);
    }

    footer a { color: #94a3b8; text-decoration: none; }
    footer a:hover { color: var(--brand); }

    /* ── Animations ─────────────────────────────────────────────── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

/* ── Responsive ─────────────────────────────────────────────── */
    @media (max-width: 768px) {
      header { padding: 10px 16px; }
      .nav-right { display: none; }
      .menu-toggle { display: flex; }

      .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px 24px 32px;
        gap: 32px;
        justify-items: center; /* Centers the visual block when it expands */
      }

      .hero h1 { font-size: 2.6rem; }
      .hero p.tagline { margin-left: auto; margin-right: auto; font-size: 1.1rem; }
      .hero .store-badges { justify-content: center; }
      
      /* --- UPDATED: Allow phone visuals to expand nicely --- */
      .layer-visual,
      .hero-visual {
        width: 100%;
        max-width: 400px; /* Prevents phones from becoming overly massive on wider phablets */
        margin: 0 auto;
        display: flex;
        justify-content: center;
      }

      /* --- UPDATED: Allow videos to expand sideways instead of squishing them by height --- */
      .layer-visual video,
      .layer-visual video.video-large {
        width: 100% !important;
        height: auto !important;
        max-height: none; /* Removes the narrow visual bottleneck */
      }

      .section-intro { padding: 56px 24px 0; }

      .layer {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 56px 24px;
        justify-items: center; /* Centers alternating layers on mobile */
      }

      .layer.flip .layer-text { order: 0; }
      .layer.flip .layer-visual { order: 0; }
      .layer-text h2 { font-size: 1.6rem; }
      
      /* --- UPDATED: Allow phone images to match video behaviors --- */
      .layer-visual img,
      .hero-visual img { 
        width: 100% !important;
        height: auto !important;
        max-height: none; 
      }

      .inspiration-grid {
        grid-template-columns: 1fr;
        padding: 32px 24px 56px;
        gap: 16px;
      }

      .inspiration-card {
        padding: 28px 24px;
      }

      .feature-grid-section { padding: 0 24px 64px; }
      .feature-grid { grid-template-columns: 1fr 1fr; }

      .page-intro { padding: 56px 24px 32px; }
      .faq-section { padding: 0 24px 64px; }
      .faq-item summary { padding: 18px 20px; font-size: 0.98rem; }
      .faq-answer { padding: 0 20px 20px; }

      .cta { padding: 64px 24px; }
      .store-badges img { height: 42px; }
    }

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