/* -----------------------
   THEME (Puravida-like)
   ----------------------- */
:root{
  /* Puravida-ish bluish-gray base */
  --bg-base: #d4e3ee;
  --bg-deep: #c2d5e5;
  --bg-spot: #e4edf6;

  --text-dark: #1f2933;
  --text-mid: #374151;

  /* Logo darker, similar vibe to app logo but tuned for light background */
  --brand: #0B3C3D;
  --brand-glow: rgba(11, 60, 61, 0.22);

  /* Softer glass */
  --glass: #e6f0f7;
  --glass-border: #bfd4e4;

  --btn: #0d5152;
  --btn-text: rgba(255,255,255,0.97);

  --link: rgba(11, 60, 61, 0.96);
  --link-hover: rgba(11, 60, 61, 1);

  --shadow-soft: 0 15px 33px rgba(31, 41, 51, 0.11);
  --shadow-modal: 0 30px 90px rgba(0,0,0,0.45);
}

.landingPage{
  --landing-header-height: 0px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-base);
}

/* Background with spotlight (top-left -> darker bottom-right) */
.bg{
  min-height: 100vh;
  background:
    radial-gradient(980px 760px at 16% 14%, var(--bg-spot) 0%, rgba(228,237,246,0.38) 40%, rgba(228,237,246,0.0) 74%),
    linear-gradient(135deg, var(--bg-base) 0%, #cadcea 44%, var(--bg-deep) 100%);
  padding-bottom: 28px;
}

/* Top bar */
.topbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 20px 26px 14px;
  max-width: 1280px;
  margin: 0 auto;
}

.site-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
}

.landingPage .site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(212, 227, 238, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 2px 10px rgba(10, 20, 28, 0.06);
}

.headerRight{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.headerEmail{
  position: relative;
  display: inline-block;
  font-size: 1.07rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  font-style: italic;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--brand);
  opacity: 0.94;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.headerEmail::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-3px;
  height:2px;
  background: currentColor;
  opacity:0.4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease, opacity 200ms ease;
}

.headerEmail:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.headerEmail:hover::after{
  transform: scaleX(1);
  opacity:0.7;
}

/* Logo badge (so it feels like a logo, not plain text) */
/* --- Logo: premium underline style --- */
.brand{
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

.site-logo,
.site-logo:visited,
.site-logo:hover,
.site-logo:active{
  text-decoration: none;
  color: var(--brand);
}

.brandText{
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.6px;
  font-size: 22px;
  color: var(--brand);
  user-select: none;
  line-height: 1.1;
}

/* Glowing underline (subtle, premium) */
.brandUnderline{
  margin-top: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(11, 60, 61, 0.0),
    rgba(11, 60, 61, 0.85),
    rgba(11, 60, 61, 0.0)
  );
  box-shadow:
    0 0 10px rgba(11, 60, 61, 0.25),
    0 0 18px rgba(11, 60, 61, 0.15);
  opacity: 0.85;
}

/* Optional: extremely slow ambient pulse (not distracting) */
@media (prefers-reduced-motion: no-preference){
  .brandUnderline{
    animation: brandGlow 6.5s ease-in-out infinite;
  }

  @keyframes brandGlow{
    0%, 100%{
      opacity: 0.6;
      box-shadow:
        0 0 8px rgba(11, 60, 61, 0.18),
        0 0 14px rgba(11, 60, 61, 0.12);
    }
    50%{
      opacity: 1;
      box-shadow:
        0 0 14px rgba(11, 60, 61, 0.32),
        0 0 26px rgba(11, 60, 61, 0.22);
    }
  }
}

.brandText{
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.6px;
  font-size: 22px;
  color: var(--brand);
  text-shadow:
    0 10px 24px rgba(0,0,0,0.08),
    0 0 18px var(--brand-glow);
  user-select: none;
}

.contactLink{
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 800;
  opacity: 0.95;
}
.contactLink:hover{ color: var(--link-hover); opacity: 1; }

/* Stage + grid layout */
.stage{
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 26px 0;
}

.landingPage .stage{
  padding-top: calc(12px + var(--landing-header-height));
}

.landingPage .legalPageMain{
  padding-top: calc(8px + var(--landing-header-height));
}

.grid{
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  grid-template-areas:
    "about video"
    ".     app";
  gap: 30px 32px;
  align-items: start;
  min-height: calc(100vh - 120px);
}

/* ABOUT (compact, no card) */
.about{ grid-area: about; max-width: 520px; }

.aboutTitle{
  margin: 6px 0 10px;
  font-size: 24px;
  font-weight: 900;
  color: #1f2933;
}

.aboutP{
  margin: 0 0 10px;
  font-size: 15.6px;
  line-height: 1.55;
  color: var(--text-mid);
  /* Slight handwritten, readable */
  font-family: Kalam, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
}

.aboutEm{
  margin-top: 10px;
  font-weight: 700;
  color: #374151;
}

/* -----------------------
   HERO VIDEO (premium embed)
   ----------------------- */
.videoWrap{
  grid-area: video;
  position: relative;
  border-radius: 22px;
  overflow: hidden;

  height: min(560px, 56vh);

  border: none;
  background: transparent;
  box-shadow: none;
}

/* Video fills the area */
.heroVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;

  /* Softer blend — reduce “hole” feeling */
  -webkit-mask-image: radial-gradient(
    110% 90% at 50% 50%,
    rgba(0,0,0,1) 76%,
    rgba(0,0,0,0) 100%
  );
  mask-image: radial-gradient(
    110% 90% at 50% 50%,
    rgba(0,0,0,1) 76%,
    rgba(0,0,0,0) 100%
  );
}

/* Additional blend layer so edges match background tone */
.videoWrap::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background:
    radial-gradient(
      110% 95% at 50% 50%,
      rgba(0,0,0,0) 68%,
      rgba(157,183,203,0.12) 86%,
      rgba(157,183,203,0.24) 100%
    );
}

.heroVideoOverlay{
  position: absolute;
  inset: auto 24px 24px auto;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: min(100% - 48px, 440px);
}

.heroVideoCta{
  min-height: 56px;
  padding: 0 24px;
  font-size: 16.5px;
  text-align: center;
  border: none;
  background: var(--btn);
  position: relative;
}

.heroVideoCta::before{
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(13px);
  opacity: 1;
  z-index: -1;
  pointer-events: none;
  transition: background 300ms ease, opacity 300ms ease, inset 300ms ease;
}

.heroVideoCta::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 28px rgba(255, 255, 255, 0.34);
  z-index: 0;
  pointer-events: none;
}

/* fallback hint if video fails */
.videoHint{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(10,20,28,0.20);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

/* -----------------------
   APP card (softer glass)
   ----------------------- */
.appCard{
  grid-area: app;
  width: clamp(620px, 68vw, 940px);
  justify-self: end;

  padding: 24px 24px 20px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255,255,255,0.28);

  margin-top: 26px;

  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.appCard:hover{
  transform: translateY(-2px);
  box-shadow:
    0 17px 37px rgba(31,41,51,0.15),
    inset 0 1px 0 rgba(255,255,255,0.30);
}

.appTitle{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: #1f2933;
}

.appSubtitle{
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 900;
  color: #374151;
}

.appP{
  margin: 12px 0;
  font-size: 15.6px;
  line-height: 1.55;
  color: #374151;
}

.appList{
  margin: 10px 0 10px 18px;
  padding: 0;
  color: #374151;
  font-weight: 700;
  margin-bottom: 14px;
}
.appList li{ margin: 7px 0; font-size: 15px; }

.appSmall{
  margin-top: 12px;
  font-size: 14.6px;
  line-height: 1.55;
  color: #4b5563;
  font-weight: 600;
}

/* CTA: cleaner + more separation */
.ctaRow{
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 2px;
}

.ctaPrimaryStack{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 0 0 auto;
}

.ctaPrimaryGroup{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.ctaAccessGroup{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-left: auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: #dce9f4;
  border: 1px solid #bcd2e3;
}

.ctaAccessLabel{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16px;
  color: #374151;
  margin: 9px 0 2px;
}

.ctaLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 60, 61, 0.26);
  background: #dbe9f3;
  cursor: pointer;

  color: rgba(11, 60, 61, 0.90);
  font-weight: 850;
  font-size: 15.5px;
  text-decoration: none;
  position: relative;
  box-shadow: 0 10px 24px rgba(8,18,26,0.11);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.ctaLink::after{ content: none; }
.ctaLink:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(31,41,51,0.14);
  background: #d2e2ef;
  color: rgba(11, 60, 61, 0.94);
}
.ctaLink:hover::after{ content: none; }

.ctaBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  background: var(--btn);
  color: var(--btn-text);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(11,60,61,0.30);

  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}
.ctaPrimaryGroup .ctaBtn{
  height: 47px;
  min-width: 152px;
  padding: 0 22px;
  background: linear-gradient(180deg, #1a7273 0%, var(--btn) 100%);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow:
    0 16px 34px rgba(11,60,61,0.36),
    inset 0 1px 0 rgba(255,255,255,0.28);
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1;
}

.ctaPrimaryStack > .ctaBtn{
  height: 47px;
  padding: 0 22px;
  background: linear-gradient(180deg, #1a7273 0%, var(--btn) 100%);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow:
    0 16px 34px rgba(11,60,61,0.36),
    inset 0 1px 0 rgba(255,255,255,0.28);
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1;
}

.ctaBtn--tutorial{
  width: max-content;
  max-width: 240px;
  white-space: nowrap;
}

@media (min-width: 981px){
  .ctaPrimaryGroup .ctaBtn,
  .ctaPrimaryStack > .ctaBtn{
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
  }
}

.ctaBtn.heroVideoCta{
  box-shadow: none;
}

.ctaBtn:hover{ filter: brightness(1.08); transform: translateY(-1px); }
.ctaBtn:active{ transform: translateY(0px) scale(0.99); }

.ctaShare{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(11, 60, 61, 0.22);
  background: #dbe9f3;
  color: rgba(11, 60, 61, 0.88);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  transition: transform 220ms ease, filter 220ms ease, background 220ms ease;
}

.ctaShare svg{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ctaShare:hover{
  background: #d2e2ef;
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.installMiniCta{
  margin-top: 12px;
}

.installMiniLink{
  color: rgba(11, 60, 61, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(11, 60, 61, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 800;
  opacity: 0.86;
  transition:
    color 200ms ease,
    text-decoration-color 200ms ease,
    text-decoration-thickness 200ms ease,
    opacity 200ms ease;
}

.installMiniLink:hover{
  color: rgba(11, 60, 61, 0.96);
  text-decoration-color: rgba(11, 60, 61, 0.7);
  text-decoration-thickness: 1.5px;
  opacity: 1;
}

.installMiniSub{
  margin: 7px 0 0;
  font-size: 13px;
  color: #627180;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine){
  .ctaShare::after{
    content: "Share demo";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.96);
    background: rgba(11, 60, 61, 0.88);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 6px 14px rgba(10,20,28,0.18);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .ctaShare:hover::after,
  .ctaShare:focus-visible::after{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.installCard{
  width: clamp(620px, 68vw, 940px);
  margin-left: auto;
  margin-top: 24px;
  margin-bottom: 0;
}

.installHelper{
  margin-bottom: 18px;
}

.installSections{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.installSection h3{
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 900;
  color: #1f2933;
}

.installStepCard{
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #bfd4e4;
  background: #e6f0f7;
  box-shadow:
    0 10px 24px rgba(31,41,51,0.10),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

.installStepLabel{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1f2933;
}

.installStepText{
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #374151;
}

.installStepLinkRow{
  margin: 8px 0 0;
}

.installStepLink{
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.installStepImage{
  margin-top: 10px;
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 10px;
}

.shareToast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(11, 60, 61, 0.92);
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 700;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 110;
}

.shareToast--show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer{
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 26px 0;
  color: #374151;
  font-weight: 700;
}

.site-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.footerSocialLabel{
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.footerSocialInline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  white-space: nowrap;
}

.footerSocialLink{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  text-decoration: none;
  opacity: 0.94;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footerSocialLink:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.footerSocialIcon{
  display: block;
  width: 21px;
  height: 21px;
  max-width: 21px;
  object-fit: contain;
}

.footerLegal{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.footerLinks{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

.footerLink{
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease, opacity 180ms ease;
}

.footerLink:hover{
  color: #1f2933;
  opacity: 1;
}

.footerSep{
  color: #6b7280;
}

.legalPageMain{
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 26px 0;
}

.legalCard{
  max-width: 900px;
  margin: 8px auto 0;
  padding: 24px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.legalTitle{
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
  color: #1f2933;
}

.legalSection{
  margin-top: 14px;
}

.legalSection h2{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: #1f2933;
}

.legalSection p{
  margin: 0 0 10px;
  font-size: 15.6px;
  line-height: 1.58;
  color: #374151;
}

/* Support page readability refinements */
.supportPage .legalTitle{
  margin-bottom: 28px;
  font-size: 40px;
  line-height: 1.1;
}

.supportPage .supportSection{
  margin-top: 44px;
  padding: 24px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.supportPage .supportSection:first-of-type{
  margin-top: 40px;
}

.supportPage .supportSection h2{
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.supportPage .supportSection p{
  margin-bottom: 14px;
  line-height: 1.64;
}

.supportPage .supportFaqIntro{
  margin-top: 50px;
  padding-bottom: 14px;
}

.supportPage .supportFaqItem{
  margin-top: 26px;
  padding-top: 16px;
}

.supportPage .supportFaqItem h2{
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.supportPage .supportFaqItem p{
  margin-bottom: 0;
  line-height: 1.64;
}

/* -----------------------
   DEMO MODAL
   ----------------------- */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 20000;
}
.modal.modal--open{ display: block; }

.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
}

.hookModal .modalBackdrop{
  background: rgba(4, 8, 12, 0.76);
}

.modalCard{
  position: relative;
  width: min(920px, 92vw);
  margin: 7vh auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 20, 26, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-modal);
}

.modalClose{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  font-weight: 900;
}

.modalClose:hover{
  background: rgba(0,0,0,0.52);
}

.demoVideo{
  width: 100%;
  height: auto;
  display: block;
}

.hookModalCard{
  width: min(94vw, 1320px);
}

.hookVideoExperience{
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 20, 28, 0.94);
}

.hookVideoPlayer{
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.hookVideoEndOverlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(7, 12, 16, 0.04) 38%, rgba(7, 12, 16, 0.78) 100%);
}

.hookVideoEndOverlay[hidden]{
  display: none;
}

.hookVideoEndActions{
  width: min(100%, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(230, 240, 247, 0.94);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 16px 34px rgba(10,20,28,0.24),
    inset 0 1px 0 rgba(255,255,255,0.36);
}

.hookVideoEndActions .ctaBtn,
.hookVideoEndActions .ctaLink{
  flex: 1 1 0;
  min-width: 0;
}

.hookVideoEndActions .ctaLink{
  background: rgba(219, 233, 243, 0.98);
}

.hookVideoPage{
  max-width: 960px;
}

.hookVideoPage .appSubtitle{
  margin-bottom: 18px;
}

.hookVideoPageActions{
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hookVideoPageActions .ctaBtn,
.hookVideoPageActions .ctaLink{
  min-width: 220px;
}

@media (min-width: 981px){
  .modal.modal--open{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 4vw;
  }

  .modalBackdrop{
    background: rgba(0,0,0,0.78);
  }

  .hookModal .modalBackdrop{
    background: rgba(4, 8, 12, 0.84);
  }

  .modalCard{
    width: min(90vw, 1700px);
    max-height: 90vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 20, 26, 0.96);
  }

  .demoVideo{
    width: 100%;
    max-height: calc(90vh - 2px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
  }

  .hookModalCard{
    width: min(94vw, 1500px);
  }
}

@media (min-width: 981px) and (hover: hover) and (pointer: fine){
  .heroVideoCta:hover{
    filter: none;
    transform: translateY(-2px);
  }

  .heroVideoCta:hover::before{
    inset: -11px;
    background: rgba(255, 255, 255, 0.13);
    filter: blur(13px);
    opacity: 0.7;
  }

  .heroVideoCta:hover::after{
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.38),
      0 0 30px rgba(255, 255, 255, 0.34);
  }
}

.demoPageVideo{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid #bfd4e4;
  background: rgba(10, 20, 28, 0.24);
}

.tutorialVideoPlaceholder{
  aspect-ratio: 16 / 9;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  color: rgba(11, 60, 61, 0.92);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12)),
    rgba(10, 20, 28, 0.24);
}

.demoPageCta{
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.demoPageCtaNote{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
  font-weight: 600;
}

.demoPageCtaLink{
  font-size: 13px;
  line-height: 1.4;
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(11, 60, 61, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 700;
  transition:
    color 200ms ease,
    text-decoration-color 200ms ease,
    text-decoration-thickness 200ms ease,
    opacity 200ms ease;
}

.demoPageCtaLink:hover{
  color: rgba(11, 60, 61, 0.96);
  text-decoration-color: rgba(11, 60, 61, 0.7);
  text-decoration-thickness: 1.5px;
}

.demoPageCtaLink.ctaLink{
  font-size: 15.5px;
  line-height: 1;
  text-decoration: none;
}

/* -----------------------
   Micro animation (premium feel)
   ----------------------- */
[data-anim="in"]{
  opacity: 0;
  transform: translateY(10px);
  animation: mpIn 520ms ease forwards;
}
[data-anim="in"][data-anim-delay="1"]{ animation-delay: 90ms; }
[data-anim="in"][data-anim-delay="2"]{ animation-delay: 180ms; }

@keyframes mpIn{
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  [data-anim="in"]{ animation: none; opacity: 1; transform: none; }
  .appCard, .ctaBtn{ transition: none; }
}

@media (min-width: 981px){
  .appCard .appHeader,
  .appCard .appP,
  .appCard .appList,
  .appCard .appSmall{
    max-width: 92%;
  }
}

/* -----------------------
   Responsive
   ----------------------- */
@media (max-width: 980px){
  .topbar{ padding: 18px 16px 12px; }
  .brand{ padding: 7px 10px; }
  .brandText{ font-size: 20px; }
  .stage{ padding: 10px 16px 0; }
  .landingPage .stage{ padding-top: calc(10px + var(--landing-header-height)); }
  .legalPageMain{ padding: 10px 16px 0; }
  .landingPage .legalPageMain{ padding-top: calc(10px + var(--landing-header-height)); }
  .legalCard{ margin-top: 2px; }
  .footerLinks{
    display: flex;
    margin-left: 0;
    margin-top: 6px;
  }

  .site-footer{
    flex-direction: column;
    gap: 8px;
    padding: 18px 16px 0;
  }

  .footerSocialInline{
    gap: 6px;
  }

  .footerSocialLink{
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .footerLegal{
    flex-direction: column;
    gap: 6px;
  }

  .site-header{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .site-logo{
    flex-shrink: 0;
  }

  .headerRight{
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    min-width: 0;
  }

  .headerEmail{
    font-size: 0.82rem;
    opacity: 0.9;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  .headerEmail::after{
    transform: scaleX(1);
    opacity: 0.5;
  }

  .site-footer .footerSep{
    display: none;
  }

  .ctaRow{
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .ctaPrimaryStack{
    width: 100%;
    position: relative;
    padding-right: 54px;
    box-sizing: border-box;
  }

  .ctaPrimaryGroup{
    width: 100%;
    display: flex;
    align-items: stretch;
  }

  .ctaBtn,
  .ctaLink{
    width: 100%;
  }

  .ctaAccessGroup{
    width: 100%;
    margin-left: 0;
    gap: 10px;
    padding: 14px 12px;
  }

  .ctaAccessLabel{
    font-size: 11px;
    margin-top: 8px;
    margin-bottom: 2px;
  }

  .ctaPrimaryGroup .ctaBtn{
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }

  .ctaPrimaryStack > .ctaBtn{
    width: 100%;
    max-width: none;
  }

  .ctaShare{
    position: absolute;
    top: 0;
    right: 0;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 20px;
  }

  .ctaLink{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(11, 60, 61, 0.26);
    background: #dbe9f3;
    color: rgba(11, 60, 61, 0.90);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
  }

  .installMiniCta{
    margin-top: 14px;
  }

  .installMiniSub{
    margin-top: 8px;
  }

  .ctaLink::after{
    display: none;
  }

  .heroVideoOverlay{
    inset: auto 14px 14px auto;
    width: min(100% - 28px, 360px);
  }

  .heroVideoCta{
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    font-size: 15px;
  }

  .hookVideoEndOverlay{
    padding: 14px;
  }

  .hookVideoEndActions{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hookVideoPageActions{
    flex-direction: column;
    align-items: stretch;
  }

  .hookVideoPageActions .ctaBtn,
  .hookVideoPageActions .ctaLink{
    width: 100%;
    min-width: 0;
  }

  .grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "about"
      "video"
      "app";
    min-height: auto;
  }

  .about{ max-width: none; }

  .videoWrap{
    height: 300px;
    border-radius: 18px;
  }

  .appCard{
    width: 100%;
    justify-self: stretch;
    margin-top: 0;
  }

  .installCard{
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }

  .installSections{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px){
  .appTitle{ font-size: 22px; }
  .aboutTitle{ font-size: 22px; }
  .aboutP, .appP{ font-size: 15.6px; }
  .legalTitle{ font-size: 24px; }
  .legalSection h2{ font-size: 18px; }
  .legalSection p{ font-size: 15px; }
  .legalCard{ padding: 18px 16px; }

  .headerEmail{
    font-size: 0.8rem;
  }

  .ctaLink{
    font-size: 16px;
  }

  .supportPage .legalTitle{
    margin-bottom: 22px;
    font-size: 32px;
  }

  .supportPage .supportSection{
    margin-top: 32px;
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .supportPage .supportSection:first-of-type{
    margin-top: 28px;
  }

  .supportPage .supportSection h2{
    font-size: 24px;
    margin-bottom: 14px;
  }

  .supportPage .supportFaqIntro{
    margin-top: 36px;
    padding-bottom: 10px;
  }

  .supportPage .supportFaqItem{
    margin-top: 19px;
    padding-top: 12px;
  }

  .supportPage .supportFaqItem h2{
    font-size: 18px;
    margin-bottom: 12px;
  }
}
