/* ============================================
   MediBooking — Shared Stylesheet
   ============================================ */

:root{
  --oxford: #102542;
  --teal: #4AE7CD;
  --teal-mid: #2ec4ac;
  --cream: #faf9f6;
  --warm: #f5f2ec;
  --slate: #4a5a6a;
  --text: #1a2530;

  /* Hot accent, use sparingly */
  --hot: #FF4D6D;
  --hot-2: #FF8AA0;

  --white: #ffffff;
  --muted-white: rgba(255,255,255,0.72);
  --muted-white-2: rgba(255,255,255,0.58);

  --shadow: 0 12px 36px rgba(0,0,0,0.18);
  --shadow-2: 0 16px 48px rgba(0,0,0,0.24);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --border-dark: rgba(255,255,255,0.12);
  --border-light: rgba(16,37,66,0.14);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: #0b1320;
}
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.delay-1{ transition-delay: 120ms; }
.delay-2{ transition-delay: 220ms; }
.delay-3{ transition-delay: 320ms; }
.delay-4{ transition-delay: 420ms; }

/* ── Nav ── */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16,37,66,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.nav.is-scrolled{
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  background: rgba(16,37,66,0.94);
  border-bottom-color: rgba(255,255,255,0.10);
}
.nav-inner{
  height: 84px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Nav logo */
.brand{
  display:flex;
  align-items:center;
  min-width: unset;
}
.nav-logo{
  display:block;
  height: 58px;
  width: auto;
  object-fit: contain;
}
.nav-logo img{height:60px !important;width:auto;flex-shrink:0;display:block;}

.nav-links{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav-links a{
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.nav-links a:hover{
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active{
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.nav-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Buttons */
.btn-login{
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 150ms var(--ease), background 150ms var(--ease);
}
.btn-login:hover{
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .btn-login.desktop-only { display: none; }
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor:pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  user-select:none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--teal);
  color: #06211c;
  box-shadow: 0 14px 40px rgba(74,231,205,0.18);
}
.btn-primary:hover{
  background: var(--teal-mid);
  box-shadow: 0 18px 52px rgba(74,231,205,0.22);
  transform: translateY(-1px) scale(1.01);
}

.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
}
.btn-outline:hover{
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(255,77,109,0.12);
  transform: translateY(-1px) scale(1.01);
}

.btn-oxford{
  background: var(--oxford);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(16,37,66,0.9);
  box-shadow: 0 14px 36px rgba(16,37,66,0.20);
}
.btn-oxford:hover{
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 46px rgba(16,37,66,0.26);
  background: #0e203a;
}
.btn-oxford-outline{
  background: transparent;
  border: 1px solid rgba(16,37,66,0.55);
  color: rgba(16,37,66,0.92);
}
.btn-oxford-outline:hover{
  transform: translateY(-1px) scale(1.01);
  background: rgba(16,37,66,0.06);
  border-color: rgba(16,37,66,0.70);
  box-shadow: 0 0 0 4px rgba(255,77,109,0.10);
}

/* Mobile nav */
.hamburger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap: 5px;
  flex-direction: column;
}
.hamburger span{
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  display:block;
}
.mobile-drawer{
  display:none;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer a{
  display:block;
  padding: 12px 0;
  color: rgba(255,255,255,0.82);
}
.mobile-drawer a:hover{ color: var(--white); }

/* ── Hero ── */
.hero{
  position: relative;
  min-height: unset;
  background:
    radial-gradient(820px 420px at 18% 22%, rgba(74,231,205,0.22), rgba(74,231,205,0) 58%),
    radial-gradient(700px 360px at 82% 18%, rgba(255,77,109,0.14), rgba(255,77,109,0) 60%),
    linear-gradient(180deg, #0b1626 0%, #0b1320 100%);
  display:block;
  overflow:hidden;
  padding-top:64px;
  padding-bottom:72px;
}
.hero:before{
  content:"";
  position:absolute;
  inset: -2px;
  background:
    radial-gradient(900px 240px at 50% -10%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%);
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items:start;
  padding: 0;
  position: relative;
  z-index: 1;
}

.kicker{
  color: rgba(255,255,255,0.70);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero h1{
  font-family: "Fraunces", serif;
  font-weight: 300;
  color: var(--white);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.00;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero h1 .hot-underline{
  position: relative;
  display: inline-block;
}
.hero h1 .hot-underline:after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,77,109,0.95), rgba(255,138,160,0.35));
  width: 100%;
  transform-origin: left center;
  animation: underlineDrain 5s cubic-bezier(0.4,0,0.8,1) infinite;
}
@keyframes underlineDrain {
  0%   { transform: scaleX(1);    opacity: 0.9; }
  60%  { transform: scaleX(1.18); opacity: 0.75; }
  85%  { transform: scaleX(0.0);  opacity: 0.3; }
  86%  { transform: scaleX(0.0);  opacity: 0; }
  87%  { transform: scaleX(0.0);  opacity: 0; }
  100% { transform: scaleX(1);    opacity: 0.9; }
}

.hero p{
  margin: 0 0 18px;
  max-width: 64ch;
  color: var(--muted-white);
  font-size: 18px;
  line-height: 1.6;
}
.hero > .container > .hero-grid > div > p { max-width: 60ch; }

.hero-proof{display:none !important;}

.hero-ctas{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

.hero-note{
  margin-top: 18px;
  color: var(--muted-white-2);
  font-size: 13px;
}

/* Hero rotator */
.hero-rotator{
  margin: 18px 0 6px;
  max-width: 62ch;
  padding-left: 16px;
  border-left: 2px solid rgba(255,77,109,0.55);
}
.hero-rotator-line{
  font-family: "Fraunces", serif;
  font-size: 30px;
  line-height: 1.22;
  font-weight: 500;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.02em;
  transition: opacity .55s ease, transform .55s ease;
}
.hero-rotator-line.is-fading{opacity:0;transform: translateY(8px);}

/* Consequence pulse */
.consequence-pulse {
  animation: consequencePulse 4s ease-in-out infinite;
  display: inline;
}
@keyframes consequencePulse {
  0%, 100% { color: rgba(255,255,255,0.92); }
  50%       { color: rgba(255,110,120,0.98); }
}

/* ── Sections ── */
.section{ padding: 92px 0; }

.section.dark{
  background: linear-gradient(180deg, #0b1320 0%, #0b1320 100%);
  color: var(--white);
}
.section.light{
  background: var(--cream);
  color: var(--text);
}
.section.warm{
  background: var(--warm);
  color: var(--text);
}

.section-head{ margin-bottom: 26px; }

.label{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.62);
}
.label .pip{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,77,109,0.9);
  box-shadow: 0 0 0 4px rgba(255,77,109,0.12);
}
.light .label, .warm .label{ color: rgba(16,37,66,0.64); }
.light .label .pip, .warm .label .pip{
  background: rgba(74,231,205,0.9);
  box-shadow: 0 0 0 4px rgba(74,231,205,0.14);
}

.title{
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.10;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}
.dark .title{ color: var(--white); }

.sub{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 82ch;
}
.light .sub, .warm .sub{ color: rgba(26,37,48,0.72); }

/* ── Problem cards ── */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
  padding: 20px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
  min-height: 178px;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.18);
}
.card-icon{
  font-size: 22px;
  margin-bottom: 10px;
}
.card-title{
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.card-body{
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 14px;
  line-height: 1.6;
}
.problem-quote{
  margin-top: 26px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.90);
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* ── Split sections ── */
.split{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items:start;
  margin-top: 28px;
}

.product-tag{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.75);
  color: rgba(16,37,66,0.82);
}
.product-tag .pill{
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(74,231,205,0.16);
}

/* Bullets */
.bullets{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 11px;
  color: rgba(26,37,48,0.78);
  font-size: 15px;
}
.bullets li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  line-height: 1.5;
}
.check{
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: rgba(74,231,205,0.18);
  border: 1px solid rgba(74,231,205,0.42);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.check svg{ width: 12px; height: 12px; fill: #0c3c33; }

.mini-grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.mini{
  border-radius: 22px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.78);
  padding: 16px;
}
.mini h4{
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(16,37,66,0.92);
  letter-spacing: -0.01em;
}
.mini p{
  margin: 0;
  font-size: 13px;
  color: rgba(26,37,48,0.72);
  line-height: 1.55;
}

/* ── Widget demo ── */
.demo-wrap{
  border-radius: 26px;
  border: 1px solid rgba(16,37,66,0.14);
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(0,0,0,0.12);
  overflow:hidden;
}
.demo-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  background:
    radial-gradient(380px 120px at 22% 20%, rgba(74,231,205,0.22), rgba(74,231,205,0) 60%),
    linear-gradient(180deg, rgba(16,37,66,0.98) 0%, rgba(16,37,66,0.92) 100%);
  color: rgba(255,255,255,0.94);
}
.demo-head strong{
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.demo-head span{
  font-size: 12px;
  color: rgba(255,255,255,0.70);
}
.demo-body{
  padding: 18px;
  background: #fff;
}

.field{
  display:grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field label{
  font-size: 12px;
  font-weight: 900;
  color: rgba(16,37,66,0.86);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.control{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16,37,66,0.16);
  background: rgba(250,249,246,0.95);
  padding: 12px 12px;
  font-size: 14px;
  color: rgba(26,37,48,0.92);
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease);
}
.control:focus{
  border-color: rgba(74,231,205,0.72);
  box-shadow: 0 0 0 4px rgba(74,231,205,0.16);
  background: #fff;
}

.times{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.time-btn{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,37,66,0.16);
  background: rgba(250,249,246,0.95);
  color: rgba(26,37,48,0.88);
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
  transition: transform 140ms var(--ease), border-color 140ms var(--ease), background 140ms var(--ease), box-shadow 140ms var(--ease);
}
.time-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,77,109,0.45);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.time-btn.is-selected{
  background: rgba(255,77,109,0.10);
  border-color: rgba(255,77,109,0.55);
  box-shadow: 0 0 0 4px rgba(255,77,109,0.10);
}

.demo-footer{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(16,37,66,0.10);
}
.demo-summary{
  font-size: 13px;
  color: rgba(26,37,48,0.70);
  line-height: 1.45;
}
.demo-cta{
  border-radius: 999px;
  border: 1px solid rgba(74,231,205,0.75);
  background: var(--teal);
  color: #06211c;
  font-weight: 900;
  padding: 10px 14px;
  cursor:pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
  box-shadow: 0 12px 28px rgba(74,231,205,0.22);
}
.demo-cta:hover{
  transform: translateY(-1px);
  background: var(--teal-mid);
  box-shadow: 0 16px 36px rgba(74,231,205,0.26);
}
.demo-cta:disabled{
  opacity: 0.5;
  cursor:not-allowed;
  box-shadow: none;
  transform:none;
}

.section-cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}
.link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  color: rgba(16,37,66,0.92);
  padding: 10px 2px;
}
.link:hover{ color: rgba(16,37,66,1); }
.link svg{ width: 16px; height: 16px; fill: currentColor; }

/* ── Website mock ── */
.browser{
  border-radius: 26px;
  border: 1px solid rgba(16,37,66,0.14);
  background: #fff;
  box-shadow: 0 18px 54px rgba(0,0,0,0.10);
  overflow:hidden;
}
.browser-top{
  height: 46px;
  background: linear-gradient(180deg, rgba(16,37,66,0.10) 0%, rgba(16,37,66,0.06) 100%);
  border-bottom: 1px solid rgba(16,37,66,0.10);
  display:flex;
  align-items:center;
  padding: 0 14px;
  justify-content: space-between;
  color: rgba(16,37,66,0.6);
  font-size: 12px;
}
.browser-top .url{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(16,37,66,0.12);
  border-radius: 999px;
  padding: 8px 12px;
  width: 72%;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-body{ padding: 16px; background: #fff; }

.site-hero{
  border-radius: 20px;
  background:
    radial-gradient(620px 260px at 25% 25%, rgba(74,231,205,0.22), rgba(74,231,205,0) 62%),
    radial-gradient(520px 240px at 85% 10%, rgba(255,77,109,0.12), rgba(255,77,109,0) 60%),
    linear-gradient(180deg, #0f2038 0%, #0b1626 100%);
  color: #fff;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow:hidden;
}
.site-hero h3{
  font-family: "Fraunces", serif;
  font-weight: 500;
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.site-hero p{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.55;
  max-width: 46ch;
}
.site-cta-row{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.site-btn{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74,231,205,0.55);
  background: var(--teal);
  color: #06211c;
  font-weight: 900;
  font-size: 12px;
}
.site-btn-outline{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  font-weight: 900;
  font-size: 12px;
}
.site-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.site-card{
  border-radius: 18px;
  background: rgba(250,249,246,0.96);
  border: 1px solid rgba(16,37,66,0.10);
  padding: 12px;
}
.site-card strong{
  display:block;
  font-size: 12px;
  color: rgba(16,37,66,0.90);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.site-lines{ display:grid; gap: 6px; }
.line{
  height: 10px;
  border-radius: 999px;
  background: rgba(16,37,66,0.10);
}
.line.teal{ background: rgba(74,231,205,0.34); }
.line.hot{ background: rgba(255,77,109,0.20); }

/* ── How it works (steps) ── */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.step{
  border-radius: 22px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.80);
  padding: 20px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.step:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.10);
}
.step .icon{ font-size: 22px; margin-bottom: 10px; }
.step h4{
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 500;
  color: rgba(16,37,66,0.94);
  letter-spacing: -0.02em;
}
.step p{
  margin: 0 0 12px;
  color: rgba(26,37,48,0.72);
  line-height: 1.6;
  font-size: 14px;
}
.time{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(16,37,66,0.82);
  background: rgba(255,77,109,0.10);
  border: 1px solid rgba(255,77,109,0.20);
  padding: 7px 10px;
  border-radius: 999px;
}
.reassure{
  margin-top: 18px;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: rgba(26,37,48,0.78);
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* ── Pricing ── */
.pricing{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}
.price-card{
  border-radius: 26px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.82);
  padding: 20px;
  box-shadow: 0 16px 46px rgba(0,0,0,0.08);
  display:flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.featured{
  border: 2px solid rgba(74,231,205,0.75);
  box-shadow: 0 22px 58px rgba(74,231,205,0.16);
  position: relative;
}
.badge-featured{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: rgba(255,77,109,0.10);
  border: 1px solid rgba(255,77,109,0.20);
  color: rgba(16,37,66,0.88);
  padding: 8px 10px;
  border-radius: 999px;
}
.tier h3{
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 500;
  color: rgba(16,37,66,0.94);
  letter-spacing: -0.02em;
}
.tier .for{
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(26,37,48,0.72);
  line-height: 1.5;
}
.price{
  display:flex;
  align-items: baseline;
  gap: 10px;
}
.price .amount{
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: rgba(16,37,66,0.96);
}
.price .per{
  font-size: 13px;
  color: rgba(26,37,48,0.62);
  font-weight: 800;
}

.includes{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
  color: rgba(26,37,48,0.78);
  font-size: 14px;
  line-height: 1.5;
}
.includes li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.includes .tick{
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: rgba(74,231,205,0.18);
  border: 1px solid rgba(74,231,205,0.42);
  display:grid;
  place-items:center;
  margin-top: 2px;
  flex: 0 0 auto;
}
.includes .tick svg{ width: 12px; height: 12px; fill: #0c3c33; }

.pricing-cta{
  margin-top: auto;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.faq{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.qa{
  border-radius: 22px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.82);
  padding: 16px;
}
.qa strong{
  display:block;
  font-family: "Fraunces", serif;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(16,37,66,0.94);
  letter-spacing: -0.01em;
}
.qa p{
  margin: 0;
  color: rgba(26,37,48,0.72);
  line-height: 1.6;
  font-size: 14px;
}

/* ── Final CTA ── */
.final{
  background: var(--teal);
  color: #06211c;
  padding: 92px 0;
}
.final .title{
  color: var(--oxford);
  font-weight: 500;
}
.final .sub{
  color: rgba(16,37,66,0.78);
  max-width: 72ch;
}
.final-actions{
  margin-top: 24px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

.micro{
  margin-top: 16px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(16,37,66,0.78);
  font-weight: 800;
  font-size: 13px;
}
.micro span{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.micro i{
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: rgba(16,37,66,0.10);
  border: 1px solid rgba(16,37,66,0.18);
  display:grid;
  place-items:center;
  font-style: normal;
  font-weight: 900;
}

/* ── Footer ── */
footer{
  background: var(--oxford);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 16px;
  align-items:start;
}
.footer-title{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col a{
  display:block;
  padding: 8px 0;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
}
.footer-col a:hover{ color: rgba(255,255,255,0.95); }

.footer-brand-row{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer-logo{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.footer-logo img{
  width: 30px;
  height: 30px;
  object-fit: contain;
  display:block;
}
.footer-name{
  font-family: "Fraunces", serif;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}
.footer-brand p{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  font-size: 13px;
  max-width: 46ch;
}
.footer-bottom{
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
}

.muted{
  color: rgba(26,37,48,0.68);
  font-size: 12px;
  line-height: 1.5;
}

/* ── Sub-page hero ── */
.page-hero{
  position: relative;
  background:
    radial-gradient(820px 420px at 18% 22%, rgba(74,231,205,0.18), rgba(74,231,205,0) 58%),
    radial-gradient(700px 360px at 82% 18%, rgba(255,77,109,0.10), rgba(255,77,109,0) 60%),
    linear-gradient(180deg, #0b1626 0%, #0b1320 100%);
  padding: 72px 0 56px;
  overflow:hidden;
}
.page-hero:before{
  content:"";
  position:absolute;
  inset: -2px;
  background:
    radial-gradient(900px 240px at 50% -10%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%);
  pointer-events:none;
}
.page-hero .kicker{
  margin-bottom: 12px;
}
.page-hero h1{
  font-family: "Fraunces", serif;
  font-weight: 300;
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.page-hero p{
  margin: 0;
  color: var(--muted-white);
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ── Legal page content ── */
.legal-content{
  max-width: 780px;
}
.legal-content h2{
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  color: rgba(16,37,66,0.94);
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}
.legal-content h2:first-child{ margin-top: 0; }
.legal-content p{
  margin: 0 0 14px;
  color: rgba(26,37,48,0.76);
  font-size: 15px;
  line-height: 1.7;
}
.legal-content ul{
  margin: 0 0 14px;
  padding-left: 22px;
  color: rgba(26,37,48,0.76);
  font-size: 15px;
  line-height: 1.7;
}
.legal-content ul li{
  margin-bottom: 6px;
}

/* ── Slot drain animation ── */
.slot.draining {
  transition: background 0.6s ease, border-color 0.6s ease;
}
.slot.drained {
  background: rgba(74,231,205,0.10) !important;
  border-color: rgba(16,37,66,0.12) !important;
}

/* ── Preview widget ── */
.hero-side{
  display:flex;
  justify-content:flex-end;
  align-self: start;
}
.preview{
  width: 100%;
  max-width: 420px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  padding: 18px;
  box-shadow: 0 18px 54px rgba(0,0,0,0.35);
  overflow:hidden;
  position: relative;
}
.preview:before{
  content:"";
  position:absolute;
  inset: -2px;
  background:
    radial-gradient(420px 220px at 30% 20%, rgba(74,231,205,0.22), rgba(74,231,205,0) 60%),
    radial-gradient(360px 200px at 85% 10%, rgba(255,77,109,0.14), rgba(255,77,109,0) 60%);
  pointer-events:none;
}
.preview-top{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.preview-brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.preview-logo{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.preview-logo img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  display:block;
}
.preview-title{
  font-family: "Fraunces", serif;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}
.preview-sub{
  margin: 2px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  line-height: 1.35;
}
.preview-pill{
  position: relative;
  z-index: 1;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.preview-pill .pip{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(74,231,205,0.95);
  box-shadow: 0 0 0 4px rgba(74,231,205,0.12);
}

.preview-widget{
  position: relative;
  z-index: 1;
  border-radius: 20px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.18);
  overflow:hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}
.preview-widget-head{
  height: 44px;
  background: rgba(16,37,66,0.96);
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 14px;
  color: rgba(255,255,255,0.90);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-widget-head span{
  color: rgba(255,255,255,0.70);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
}
.preview-widget-body{
  padding: 14px;
  display:grid;
  gap: 12px;
}
.mini-field{
  display:grid;
  gap: 6px;
}
.mini-label{
  font-size: 11px;
  font-weight: 900;
  color: rgba(16,37,66,0.72);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.mini-input{
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(16,37,66,0.14);
  background: rgba(250,249,246,0.98);
}
.mini-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.slot{
  height: 12px;
  border-radius: 5px;
  border: 1px solid rgba(74,231,205,0.30);
  background: rgba(74,231,205,0.92);
}
.slot.empty{
  background: rgba(74,231,205,0.14);
  border-color: rgba(16,37,66,0.10);
}
.preview-foot{
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.45;
}
.preview-foot strong{
  color: rgba(255,255,255,0.92);
  font-family: "Fraunces", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ── Trust strip ── */
.trust-strip{
  padding: 44px 0;
  background: linear-gradient(180deg, #0b1320 0%, #0e1828 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.trust-strip-label{
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.trust-logos{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logos img{
  height: 48px;
  width: auto;
  object-fit: contain;
  /* Convert to greyscale, invert (makes white bg black and logo white), and boost brightness to pure white. Screen mode drops the black bg. */
  filter: grayscale(1) invert(1) brightness(100);
  mix-blend-mode: screen;
  opacity: 0.85;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.trust-logos img:hover{
  opacity: 1;
  transform: translateY(-1px);
}
.trust-logos img.logo-tall{
  height: 76px;
}

/* ── Beta signup form ── */
.beta-form-section{
  padding: 92px 0;
  background:
    radial-gradient(700px 360px at 30% 40%, rgba(74,231,205,0.12), rgba(74,231,205,0) 60%),
    radial-gradient(600px 300px at 70% 30%, rgba(255,77,109,0.08), rgba(255,77,109,0) 60%),
    linear-gradient(180deg, #0e1828 0%, #0b1320 100%);
}
.beta-card{
  max-width: 560px;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.beta-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 27px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74,231,205,0.3), rgba(255,77,109,0.2), rgba(74,231,205,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderShimmer 6s linear infinite;
}
@keyframes borderShimmer{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}
.beta-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74,231,205,0.12);
  border: 1px solid rgba(74,231,205,0.25);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.beta-badge .pulse{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  animation: betaPulse 2s ease-in-out infinite;
}
@keyframes betaPulse{
  0%, 100%{ opacity: 1; box-shadow: 0 0 0 0 rgba(74,231,205,0.4); }
  50%{ opacity: 0.7; box-shadow: 0 0 0 6px rgba(74,231,205,0); }
}
.beta-card .title{
  color: var(--white);
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 10px;
}
.beta-card .sub{
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  max-width: 44ch;
  margin: 0 auto 24px;
}
.beta-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.beta-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.beta-input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.beta-input::placeholder{
  color: rgba(255,255,255,0.38);
}
.beta-input:focus{
  border-color: rgba(74,231,205,0.55);
  box-shadow: 0 0 0 4px rgba(74,231,205,0.12);
  background: rgba(255,255,255,0.08);
}
.beta-submit{
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  background: var(--teal);
  color: #06211c;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
  box-shadow: 0 14px 40px rgba(74,231,205,0.18);
  margin-top: 4px;
}
.beta-submit:hover{
  transform: translateY(-1px) scale(1.01);
  background: var(--teal-mid);
  box-shadow: 0 18px 52px rgba(74,231,205,0.22);
}
.beta-submit:active{ transform: translateY(1px); }
.beta-fine{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}
.beta-success{
  display: none;
  text-align: center;
  padding: 16px 0;
}
.beta-success .success-icon{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(74,231,205,0.16);
  border: 1px solid rgba(74,231,205,0.35);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 22px;
}
.beta-success h3{
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
  margin: 0 0 6px;
}
.beta-success p{
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-side{ justify-content: flex-start; }
  .cards{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .faq{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .preview{ max-width: 520px; }
}
@media (max-width: 860px){
  .hero{padding-top:86px;padding-bottom:92px;}
  .hero-grid{padding: 56px 0;}
  .hero-rotator-line{font-size:24px;}
}
@media (max-width: 768px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .mobile-drawer{ display:none; }
  .mobile-drawer.is-open{ display:block; }
  .nav-inner{ height: 76px; }
  .nav-logo{ height: 50px; }
  .section{ padding: 74px 0; }
  .mini-grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
}
