/* Ensure native hidden attribute always works */
[hidden]{display:none !important;}

:root{
  /* Palette */
  --navy:#022B3A;
  --teal:#1F7A8C;
  --sky:#BFDBF7;
  --mist:#E1E5F2;
  --white:#FFFFFF;

  /* Status */
  --online:#2EE59D;

  /* Tokens */
  --bg: var(--white);
  --text: var(--navy);
  --muted: rgba(2,43,58,.70);

  --card: rgba(255,255,255,.88);
  --line: rgba(31,122,140,.18);

  --shadow: 0 16px 44px rgba(2,43,58,.14);
  --shadow2: 0 10px 26px rgba(2,43,58,.12);

  --radius: 18px;
  --radius2: 14px;

  --container: 1120px;
}

*{ 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);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:var(--navy);
  color:var(--white);
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:10px; }

.container{
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(2,43,58,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 210px;
}
.brand-mark{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  overflow:hidden;
  background: transparent;
  border: 1px solid rgba(31,122,140,.20);
  box-shadow: 0 10px 22px rgba(2,43,58,.12);
}
.brand-logo{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: contain;
}

.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-weight: 800; letter-spacing:-.02em; }
.brand-tag{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav{
  display:none;
  gap: 18px;
  align-items:center;
  color: rgba(2,43,58,.84);
  font-weight: 600;
}
.header-cta{
  display:flex;
  gap: 10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.25);
  font-weight: 700;
  letter-spacing:-.01em;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-lg{ padding: 12px 18px; border-radius: 16px; }
.btn-block{ width:100%; }
.btn-primary{
  background: var(--teal);
  color: var(--white);
  border-color: rgba(31,122,140,.35);
  box-shadow: 0 10px 20px rgba(31,122,140,.22);
}
.btn-primary:hover{ filter: brightness(1.03); text-decoration:none; }
.btn-ghost{
  background: rgba(255,255,255,.6);
  color: var(--navy);
}
.btn-ghost:hover{ background: rgba(225,229,242,.55); text-decoration:none; }

.nav{ display:none; }

.nav-toggle{
  display:inline-block;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.25);
  background: rgba(255,255,255,.7);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(2,43,58,.75);
  margin: 4px auto;
  border-radius: 4px;
}

.mobile-nav{
  display: none;
  gap: 10px;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(2,43,58,.06);
}

.mobile-nav:not([hidden]){ display: grid; }
.mobile-nav a{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(225,229,242,.45);
  font-weight: 700;
  color: rgba(2,43,58,.86);
}

.hero{
  position:relative;
  overflow:hidden;
  padding: 54px 0 34px;
}
.hero-bg{
  position:absolute;
  inset: -120px -120px auto -120px;
  height: 380px;
  background:
    radial-gradient(600px 220px at 20% 20%, rgba(191,219,247,.75), transparent 60%),
    radial-gradient(640px 240px at 80% 30%, rgba(31,122,140,.18), transparent 60%),
    radial-gradient(520px 220px at 50% 90%, rgba(225,229,242,.9), transparent 55%);
  pointer-events:none;
  filter: blur(2px);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: center;
  position:relative;
  z-index: 1;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(225,229,242,.65);
  border: 1px solid rgba(31,122,140,.18);
  font-weight: 700;
  color: rgba(2,43,58,.82);
  margin: 0 0 14px;
}
.pill .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--online);
  box-shadow: 0 0 0 6px rgba(46,229,157,.14);
  animation: abPulse 1.6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

h1{
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.accent{ color: var(--teal); }
.nowrap{ white-space:nowrap; }

.subhead{
  margin: 0 0 18px;
  color: rgba(2,43,58,.78);
  font-size: 16px;
  max-width: 54ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.trust-row{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.trust-item{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(31,122,140,.14);
  box-shadow: 0 10px 22px rgba(2,43,58,.08);
  min-width: 130px;
}
.trust-num{ font-weight: 900; }
.trust-label{ display:block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.hero-card{
  border-radius: var(--radius);
  border: 1px solid rgba(31,122,140,.18);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* --- Hero card glow + shimmer (subtle, premium) --- */
.hero-card-wrap{
  position: relative;
  isolation: isolate;
}
.hero-card-wrap::before{
  content:"";
  position:absolute;
  inset:-44px;
  z-index:-1;
  pointer-events:none;
  opacity:.9;
  filter: blur(22px);
  transform: translate3d(var(--gx,0px), var(--gy,0px), 0);
  transition: transform .12s linear;
  background:
    radial-gradient(520px 340px at var(--mx,50%) var(--my,30%), rgba(191,219,247,.55), rgba(191,219,247,0) 60%),
    radial-gradient(520px 320px at calc(var(--mx,50%) + 18%) calc(var(--my,30%) + 22%), rgba(31,122,140,.34), rgba(31,122,140,0) 70%);
}

.hero-card-wrap::after{
  content:"";
  position:absolute;
  inset:-54px;
  z-index:-2;
  pointer-events:none;
  opacity:.22;
  filter: blur(26px);
  background: linear-gradient(120deg,
    rgba(31,122,140,0) 0%,
    rgba(191,219,247,.28) 35%,
    rgba(31,122,140,.22) 55%,
    rgba(31,122,140,0) 85%);
  background-size: 220% 220%;
  animation: abFloatShimmer 10s ease-in-out infinite;
}

.hero-card{
  position: relative;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.55;
  mix-blend-mode: overlay;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(191,219,247,.18) 35%,
    rgba(31,122,140,.16) 50%,
    rgba(255,255,255,0) 70%);
  transform: translateX(-60%);
  animation: abShimmer 7.5s ease-in-out infinite;
}

@keyframes abShimmer{
  0%,45%{ transform: translateX(-62%); }
  60%,100%{ transform: translateX(62%); }
}
@keyframes abFloatShimmer{
  0%{ background-position: 10% 20%; transform: translate3d(0,0,0); }
  50%{ background-position: 90% 80%; transform: translate3d(0,-6px,0); }
  100%{ background-position: 10% 20%; transform: translate3d(0,0,0); }
}

@media (prefers-reduced-motion: reduce){
  .hero-card-wrap::before,
  .hero-card-wrap::after,
  .hero-card::after{
    animation: none !important;
    transition: none !important;
  }
}
.card-top{
  padding: 18px 18px 10px;
  background:
    radial-gradient(420px 160px at 10% 0%, rgba(191,219,247,.7), transparent 60%),
    radial-gradient(420px 160px at 100% 0%, rgba(31,122,140,.14), transparent 60%),
    rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(31,122,140,.12);
}
.card-badge{
  display:inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31,122,140,.10);
  border: 1px solid rgba(31,122,140,.18);
}
.card-title{ font-weight: 900; margin-top: 10px; font-size: 18px; }
.card-sub{ color: var(--muted); font-weight: 600; font-size: 13px; margin-top: 4px; }

.card-body{ padding: 16px 18px 18px; }
.field{ display:grid; gap: 6px; margin: 10px 0; }
.field span{ font-size: 12px; font-weight: 800; color: rgba(2,43,58,.75); }
.field input, .field select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.20);
  background: rgba(255,255,255,.8);
  color: rgba(2,43,58,.9);
  outline:none;
}
.field input:focus, .field select:focus{
  border-color: rgba(31,122,140,.5);
  box-shadow: 0 0 0 4px rgba(31,122,140,.12);
}

.card-actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.card-foot{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip{
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(225,229,242,.62);
  border: 1px solid rgba(31,122,140,.12);
  color: rgba(2,43,58,.78);
}

.section{ padding: 58px 0; }
.section-alt{ background: rgba(225,229,242,.35); border-top: 1px solid rgba(2,43,58,.06); border-bottom: 1px solid rgba(2,43,58,.06); }
.section-head{ margin-bottom: 22px; }
.section-head h2{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
}
.section-head p{ margin:0; color: var(--muted); font-weight: 600; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 20px rgba(2,43,58,.07);
}
.feature .icon{
  width: 42px;
  height: 42px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(191,219,247,.6);
  border: 1px solid rgba(31,122,140,.14);
  margin-bottom: 10px;
}
.feature h3{ margin: 0 0 6px; letter-spacing:-.01em; }
.feature p{ margin:0; color: rgba(2,43,58,.76); font-weight: 600; }

.pricing{
  display: grid;
  /* Prevent “squished” cards by giving each plan a minimum readable width */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan{
  position:relative;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(2,43,58,.09);
}
.plan-featured{
  border-color: rgba(31,122,140,.32);
  box-shadow: 0 18px 44px rgba(2,43,58,.14);
}
.ribbon{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31,122,140,.12);
  border: 1px solid rgba(31,122,140,.20);
}
.plan-head h3{ margin:0 0 8px; }
.plan-kicker{ font-weight:600; color: var(--muted); font-size:.92em; }

.price{
  margin: 0;
  font-weight: 950;
  font-size: 36px;
  letter-spacing: -0.03em;
}
.price span{ font-size: 14px; color: var(--muted); font-weight: 800; }
.plan-sub{ margin: 6px 0 0; color: var(--muted); font-weight: 650; }

.plan-list{
  margin: 14px 0 16px;
  padding-left: 18px;
  color: rgba(2,43,58,.78);
  font-weight: 650;
}
.plan-list li{ margin: 8px 0; }

.fineprint{
  margin-top: 14px;
  color: var(--muted);
  font-weight: 650;
}

.faq{
  display:grid;
  gap: 10px;
}
details{
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(31,122,140,.14);
  box-shadow: 0 10px 20px rgba(2,43,58,.07);
}
summary{
  cursor:pointer;
  font-weight: 850;
  letter-spacing: -.01em;
}
details p{
  margin: 10px 0 0;
  color: rgba(2,43,58,.78);
  font-weight: 650;
}

.section-cta{
  padding: 54px 0;
  background:
    radial-gradient(520px 200px at 10% 30%, rgba(191,219,247,.75), transparent 60%),
    radial-gradient(520px 200px at 90% 30%, rgba(31,122,140,.16), transparent 60%),
    rgba(2,43,58,.04);
}
.cta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(31,122,140,.14);
  box-shadow: var(--shadow2);
}
.cta h2{ margin:0 0 6px; }
.cta p{ margin:0; color: var(--muted); font-weight:650; max-width: 62ch; }

.site-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(2,43,58,.06);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
}
.mini-brand{ display:flex; align-items:center; gap: 10px; font-weight: 900; }
.muted{ color: var(--muted); font-weight: 650; margin: 8px 0 0; }
.footer-right{ display:flex; gap: 14px; flex-wrap: wrap; color: rgba(2,43,58,.78); font-weight: 700; }

/* -------------------------
   Ava Chatbot (bottom-right)
   ------------------------- */

/* Change this Custom Intake Operations if you want even smaller/larger */
.ava{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


.ava-fab{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31,122,140,.28);
  background: rgba(2,43,58,.92);
  color: var(--white);
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: 0 16px 44px rgba(2,43,58,.26);
  cursor:pointer;
}
.ava-fab-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--online);
  box-shadow: 0 0 0 6px rgba(46,229,157,.14);
  animation: abPulse 1.6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.ava-panel{
  width: min(380px, 92vw);
  height: min(560px, 72vh);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31,122,140,.22);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(2,43,58,.22);
  margin-bottom: 10px;
  display:flex;
  flex-direction: column;
}


.ava-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  background:
    radial-gradient(460px 160px at 20% 0%, rgba(191,219,247,.78), transparent 60%),
    radial-gradient(460px 160px at 100% 0%, rgba(31,122,140,.16), transparent 60%),
    rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(31,122,140,.16);
}
.ava-head-left{ display:flex; align-items:center; gap: 10px; }
.ava-avatar{
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-weight: 950;
}
.ava-title{ font-weight: 950; line-height: 1.1; }
.ava-sub{ font-size: 12px; color: rgba(2,43,58,.70); font-weight: 700; margin-top: 2px; }

.ava-close{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(31,122,140,.22);
  background: rgba(255,255,255,.7);
  cursor:pointer;
  font-weight: 900;
}

.ava-body{
  flex:1;
  padding: 12px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
  background: rgba(225,229,242,.22);
}


.ava-msg{
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 16px rgba(2,43,58,.07);
  color: rgba(2,43,58,.88);
  font-weight: 650;
}
.ava-msg.you{
  margin-left:auto;
  background: rgba(31,122,140,.10);
  border-color: rgba(31,122,140,.18);
}

.ava-form{
  display:flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.8);
}
.ava-input{
  flex:1;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.20);
  padding: 12px 12px;
  outline:none;
  background: rgba(255,255,255,.86);
}
.ava-input:focus{
  border-color: rgba(31,122,140,.5);
  box-shadow: 0 0 0 4px rgba(31,122,140,.12);
}
.ava-send{
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.30);
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
  padding: 12px 14px;
  cursor:pointer;
}

/* Responsive */
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px){
  .nav, .header-cta{ display:none; }
  .ava{ right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .nav-toggle{ display:inline-block; }
  .grid-3{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction: column; }
  .cta{ flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}

/* Ava quick suggestions */
.ava-suggestions{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.82);
}
.ava-chip{
  border: 1px solid rgba(31,122,140,.22);
  background: rgba(225,229,242,.55);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
}
.ava-chip:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(31,122,140,.12);
  border-color: rgba(31,122,140,.45);
}

/* Legal + auth pages */
.legal{
  max-width: 920px;
}
.legal h3{ margin-top: 18px; }
.legal h4{ margin-top: 14px; opacity: .95; }
.legal p, .legal li{ line-height: 1.75; }

.auth-card{
  max-width: 520px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(31,122,140,.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(2,43,58,.10);
  padding: 18px;
}
.auth-form{ display:flex; flex-direction:column; gap: 12px; }
.auth-label{ display:flex; flex-direction:column; gap: 6px; font-weight: 800; color: rgba(2,43,58,.88); }
.auth-input{
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.22);
  padding: 12px 12px;
  background: rgba(255,255,255,.92);
  outline: none;
}
.auth-input:focus{
  border-color: rgba(31,122,140,.5);
  box-shadow: 0 0 0 4px rgba(31,122,140,.12);
}
.auth-meta{ margin: 0; font-weight: 700; color: rgba(2,43,58,.72); }
.auth-note{
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.18);
  background: rgba(225,229,242,.55);
  font-weight: 800;
}


/* Ava minimized -> expanded */
.ava-fab{
  max-width: min(320px, 86vw);
  border-radius: 16px;
  padding: 10px 12px;
  line-height: 1.2;
  font-weight: 900;
  text-align: left;
}
.ava-fab-dot{ flex: 0 0 auto; }
.ava.is-open .ava-fab{ display:none; }

/* Make panel adapt better on tablets */
@media (min-width: 768px){
  .ava-panel{ height: min(560px, 70vh); }
}


/* Contact section */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px){
  .contact-grid{ grid-template-columns: 1.1fr .9fr; }
}
.contact-card{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(31,122,140,.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(2,43,58,.10);
  padding: 18px;
}
.contact-form{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-weight: 800;
  color: rgba(2,43,58,.88);
}
.field input, .field textarea{
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.22);
  padding: 12px 12px;
  background: rgba(255,255,255,.92);
  outline: none;
  font: inherit;
}
.field textarea{ resize: vertical; }
.field input:focus, .field textarea:focus{
  border-color: rgba(31,122,140,.5);
  box-shadow: 0 0 0 4px rgba(31,122,140,.12);
}
.form-status{
  margin: 6px 0 0;
  font-weight: 800;
  color: rgba(2,43,58,.78);
  min-height: 1.2em;
}


/* Pulse animation (status dots) */
@keyframes abPulse{
  0%{ transform: Custom Intake Operations(1); box-shadow: 0 0 0 0 rgba(46,229,157,.38); }
  55%{ transform: Custom Intake Operations(1.12); box-shadow: 0 0 0 10px rgba(46,229,157,0); }
  100%{ transform: Custom Intake Operations(1); box-shadow: 0 0 0 0 rgba(46,229,157,0); }
}


/* Scroll reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-stagger.in-view > *{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > *:nth-child(2){ transition-delay: .08s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay: .16s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay: .24s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay: .32s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay: .40s; }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .ava-fab-dot, .pill .dot{ animation: none !important; }
}


/* ===== Pricing enhancements (Founders banner, Why Pro table, Pro spotlight) ===== */
.founders-banner{
  display:flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(31,122,140,.22);
  background: linear-gradient(135deg, rgba(31,122,140,.10), rgba(191,219,247,.45));
  box-shadow: 0 10px 28px rgba(2,43,58,.10);
  margin-bottom: 18px;
}
.founders-title{
  font-weight: 950;
  letter-spacing: -0.02em;
}
.founders-text{
  color: rgba(2,43,58,.78);
  font-weight: 650;
  line-height: 1.35;
}
.founders-muted{
  color: var(--muted);
  font-weight: 650;
  margin-left: 6px;
}

.whypro{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.80);
  box-shadow: 0 12px 26px rgba(2,43,58,.08);
}
.whypro h3{ margin: 0 0 6px; }
.whypro-sub{
  margin: 0 0 14px;
  color: rgba(2,43,58,.78);
  font-weight: 700;
}
.compare-wrap{
  overflow:auto;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.14);
  background: rgba(255,255,255,.72);
}
.compare{
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare th, .compare td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(31,122,140,.12);
  text-align: left;
  vertical-align: middle;
}
.compare thead th{
  font-size: 13px;
  font-weight: 900;
  color: rgba(2,43,58,.86);
  background: rgba(225,229,242,.55);
}
.compare td.yes{
  text-align: center;
  font-weight: 950;
  color: #21c55d;
}
.compare td.no{
  text-align: center;
  font-weight: 900;
  color: rgba(2,43,58,.45);
}
.compare-note{
  margin-top: 12px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

/* Pro spotlight: starts when scrolled into view (added by app.js) */
.plan.pro-spotlight{
  transform: translateY(0);
  will-change: box-shadow, border-color, transform;
}
.plan.pro-spotlight.spotlight-on{
  animation: proSpotlight 2.6s ease-in-out infinite;
}
@keyframes proSpotlight{
  0%{
    box-shadow: 0 18px 44px rgba(2,43,58,.14), 0 0 0 rgba(31,122,140,0);
    border-color: rgba(31,122,140,.32);
  }
  50%{
    box-shadow: 0 22px 56px rgba(2,43,58,.16), 0 0 0 10px rgba(31,122,140,.08);
    border-color: rgba(31,122,140,.46);
    transform: translateY(-2px);
  }
  100%{
    box-shadow: 0 18px 44px rgba(2,43,58,.14), 0 0 0 rgba(31,122,140,0);
    border-color: rgba(31,122,140,.32);
  }
}

@media (prefers-reduced-motion: reduce){
  .plan.pro-spotlight.spotlight-on{ animation: none !important; }
}

.w-full{ width: 100%; display: inline-flex; justify-content: center; }


/* === Pricing alignment fixes === */
.plan{
  display:flex;
  flex-direction:column;
}
.plan-body{
  flex:1;
}
.plan-cta{
  margin-top:auto;
  padding-top:16px;
}

/* === Starter vs Pro comparison emphasis === */
.compare{
  text-align:center;
}
.compare th,
.compare td{
  text-align:center;
}
.compare thead th{
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color:#fff;
}
.compare tbody tr:hover{
  background: rgba(31,122,140,.06);
}
.compare td.yes{
  color: var(--teal);
  font-size:1.1em;
}
.compare td.no{
  opacity:.45;
}


/* === Setup fee UX === */
.setup-fee{
  margin: 6px 0 0;
  font-weight: 750;
  color: rgba(2,43,58,.72);
  font-size: 13px;
}
.setup-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,122,140,.16);
  background: rgba(255,255,255,.74);
  color: rgba(2,43,58,.78);
  font-weight: 650;
  line-height: 1.35;
}
.setup-note strong{ color: rgba(2,43,58,.92); }
.setup-note-muted{
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
}


/* === Form helper text === */
.form-hint{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(2,43,58,.72);
  font-weight: 650;
  line-height: 1.35;
}


/* SMS Consent (Twilio compliance) */
.sms-consent{
  margin: 12px 0 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(225,229,242,.55);
}
.sms-consent__label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  cursor:pointer;
}
.sms-consent__label input{margin-top:4px;}
.sms-consent__text{font-size:14px;line-height:1.4;}
.sms-consent__fineprint{display:block;margin-top:6px;opacity:.85;font-size:13px;}


/* SMS note above phone field (Twilio compliance) */
.sms-note{
  margin: 8px 0 10px;
  font-size: 13px;
  color: var(--muted);
}



/* Pricing (Avant Legal Intake) */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  margin-top:18px;
}
@media (max-width: 980px){
  .pricing-grid{grid-template-columns:1fr; gap:14px;}
}
.pricing-card{
  background: var(--card, rgba(255,255,255,.86));
  border:1px solid var(--line, rgba(31,122,140,.22));
  border-radius: var(--radius, 18px);
  padding:18px;
  box-shadow: var(--shadow, 0 16px 44px rgba(2,43,58,.14));
  position:relative;
}
.pricing-card.popular{
  outline:2px solid rgba(31,122,140,.35);
  transform: translateY(-2px);
}
.pricing-card .badge{
  position:absolute;
  top:14px;
  right:14px;
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(191,219,247,.75);
  color: var(--text, #022B3A);
  border:1px solid rgba(31,122,140,.22);
}
.price{display:flex; align-items:baseline; gap:6px; margin:10px 0 6px;}
.price .amount{font-size:34px; font-weight:800; letter-spacing:-0.02em;}
.price .per{font-size:14px; opacity:.8;}
.subprice{font-size:13px; opacity:.85; margin-bottom:10px;}
.bestfor{font-size:14px; opacity:.9; margin:10px 0 12px;}
.pricing-list{margin:0; padding-left:18px;}
.pricing-list li{margin:8px 0; opacity:.95;}
.pricing-footnote{
  margin-top:16px;
  padding:14px 16px;
  border-radius: var(--radius, 18px);
  background: rgba(225,229,242,.70);
  border:1px solid rgba(31,122,140,.22);
}


/* Pricing card CTA alignment & color consistency */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .btn {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  background-color: var(--accent, #1F7A8C);
  color: #ffffff;
  border: none;
}


/* Refined badge sizing for Advanced Workflow */
.pricing-card .badge,
.pricing-card-wrapper .badge {
  font-size: 11px;
  padding: 4px 10px;
  margin-bottom: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}


/* FINAL refined badge sizing to avoid any overlap */
.pricing-card .badge,
.pricing-card-wrapper .badge {
  font-size: 10px;
  line-height: 1.1;
  padding: 3px 8px;
  margin-bottom: 10px;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}


/* About */
.section-soft{
  background: rgba(225,229,242,.28);
  border-top: 1px solid rgba(2,43,58,.06);
  border-bottom: 1px solid rgba(2,43,58,.06);
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 780px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* Email helper modal */
.modal-open { overflow: hidden; }
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 18px;
}
.modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  padding: 18px 18px 14px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.icon-btn {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
