/* ==========================================
   Velaré v2.x — MODERNIST / FUTURISTIC TEST
   Full CSS (site + auth modal + legal/profile)
   ========================================== */

:root{
  --bg: #FBFAF8;
  --surface: rgba(255,255,255,.72);
  --surface-strong: rgba(255,255,255,.92);
  --surface-soft: rgba(250,246,242,.82);

  --text: #1E1419;
  --muted: rgba(30,20,25,.62);

  --border: rgba(30,20,25,.12);
  --hairline: rgba(30,20,25,.09);

  --accent: #8E2F3F;
  --accent2: #D06A7E;
  --accent-dark: #70202E;

  --radius: 20px;
  --radius-sm: 14px;

  --shadow: 0 18px 45px rgba(0,0,0,.08);
  --shadow2: 0 10px 28px rgba(0,0,0,.10);

  --ring: 0 0 0 5px rgba(142,47,63,.12);
}

/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html{
  scroll-behavior: smooth;
}
html,
body{
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(142,47,63,.10), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(208,106,126,.10), transparent 55%),
    radial-gradient(700px 420px at 50% 110%, rgba(142,47,63,.08), transparent 55%),
    linear-gradient(180deg, #FBFAF8, #F7F2EE);
  color: var(--text);
  line-height: 1.6;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}

/* Links */
a,
a:link,
a:visited,
a:hover,
a:active{
  color: var(--accent);
  text-decoration: none;
}

button{
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }

/* Safety */
img,
.container,
section,
header,
footer{
  max-width: 100%;
}

.hero-image,
.brand-mark,
.bouquet-card img{
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,248,.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

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

.topbar-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark{
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(142,47,63,.08);
}

.brand-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%)
          invert(19%) sepia(42%) saturate(1474%)
          hue-rotate(320deg) brightness(90%) contrast(92%);
  transform: translateX(0) translateY(1px);
}

.brand-name{
  font-family: "Instrument Serif", serif;
  letter-spacing: .2px;
  font-size: 1.25rem;
  color: var(--accent);
  transform: translateX(0) translateY(1px);
}

.nav{
  display: none;
  gap: 18px;
  font-size: .95rem;
  color: var(--muted);
}

.nav a{
  color: var(--muted);
  transition: color .2s ease;
}

.nav a:hover{ color: var(--accent); }

.signin-link{
  padding: 0;
  font-size: .80rem;
  font-weight: 600;
  color: var(--accent);
  transition: color .2s ease;
}

.signin-link:hover{ color: var(--accent); }
.signin-link:focus{
  outline: none;
  box-shadow: none;
}

.ghost-btn{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(142,47,63,.28);
  background: rgba(255,255,255,.55);
  color: var(--accent);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ghost-btn:hover{
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 26px rgba(142,47,63,.12);
  transform: translateY(-1px);
}

.ghost-btn:focus{
  outline: none;
  box-shadow: var(--ring);
}

/* Force consistent Choose Plan button size everywhere */
#choosePlanBtn{
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Profile */
.profile{
  position: relative;
  display: flex;
  align-items: center;
}

.profile-btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.55);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.profile-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.profile-btn:focus{
  outline: none;
  box-shadow: var(--ring);
}

.profile-btn img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.profile-initial{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(142,47,63,1), rgba(112,32,46,1));
  color: #fff;
  font-weight: 900;
  letter-spacing: .3px;
}

.profile-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
  padding: 12px;
  display: none;
  z-index: 80;
}

.profile-menu.is-open{ display: block; }

.profile-name{
  font-weight: 900;
  color: var(--text);
  padding: 8px 8px 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-logout{
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  background: rgba(142,47,63,.08);
  color: var(--accent);
  font-weight: 900;
  border: 1px solid rgba(142,47,63,.16);
  transition: transform .2s ease, background .2s ease;
}

.profile-logout:hover{
  background: rgba(142,47,63,.12);
  transform: translateY(-1px);
}

/* Hero */
.hero{
  padding: 56px 0 26px;
}

.hero-inner{
  display: grid;
  gap: 22px;
}

.hero-copy{
  max-width: 62ch;
}

.eyebrow{
  color: var(--accent);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .18px;
  opacity: .95;
}

h1{
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.25rem, 6vw, 3.35rem);
  letter-spacing: .15px;
  margin-top: 10px;
  color: var(--text);
}

.subhead{
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 52ch;
}

.hero-ctas{
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.microproof{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
}

.microproof span{
  padding: 8px 11px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
}

/* Buttons */
.primary-btn{
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(142,47,63,1), rgba(112,32,46,1));
  color: #fff !important;
  font-weight: 900;
  letter-spacing: .2px;
  box-shadow: 0 14px 30px rgba(142,47,63,.22), 0 0 0 1px rgba(255,255,255,.22) inset;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.primary-btn:link,
.primary-btn:visited,
.primary-btn:hover,
.primary-btn:active{
  color: #fff !important;
}

.primary-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 18px 40px rgba(142,47,63,.28), 0 0 0 1px rgba(255,255,255,.24) inset;
}

.primary-btn:focus{
  outline: none;
  box-shadow: var(--ring), 0 18px 40px rgba(142,47,63,.24);
}

.secondary-btn{
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.55);
  color: var(--text);
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.secondary-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.75);
  border-color: rgba(142,47,63,.18);
}

.secondary-btn:focus{
  outline: none;
  box-shadow: var(--ring);
}

/* Hero card */
.hero-card{
  background: rgba(255,255,255,.68);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

.hero-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(700px 220px at 30% 0%, rgba(208,106,126,.18), transparent 60%);
  pointer-events: none;
}

.hero-card--mobile{ display: none; }
.hero-card--desktop{ display: block; }

.hero-image-wrap{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.25);
}

.hero-image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}

.hero-card:hover .hero-image{
  transform: scale(1.06);
}

.hero-image-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.58) 100%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.hero-overlay-content{ color: #fff; }

.overlay-eyebrow{
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .5px;
  opacity: .9;
}

.overlay-title{
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  margin-top: 6px;
}

/* Trust strip */
.trust-strip{
  padding: 22px 0 6px;
}

.trust-inner{
  display: grid;
  gap: 14px;
}

.trust-item{
  background: rgba(255,255,255,.62);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.trust-item::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px 220px at 50% 0%, rgba(142,47,63,.10), transparent 60%);
  pointer-events: none;
}

.trust-item > *{ position: relative; }

.trust-item h3{
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.trust-item p{
  color: var(--muted);
  font-size: .95rem;
}

/* Bouquet strip */
.bouquet-strip{
  width: 100%;
}

.bouquet-strip .container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.strip-head{
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.strip-head h2{
  font-family: "Instrument Serif", serif;
  font-size: 1.9rem;
  color: var(--text);
}

.strip-head p{ color: var(--muted); }

.bouquet-scroll{
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 14px;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 0 20px 6px 20px;
  scroll-padding-left: 20px;

  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
}
.bouquet-card{
  scroll-snap-align: start;
}

.bouquet-scroll::-webkit-scrollbar{
  display: none;
}

.bouquet-card{
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(0,0,0,.045);
}

.bouquet-card img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.bouquet-meta{
  padding: 12px 14px 14px;
  display: grid;
  gap: 2px;
}

.bouquet-title{
  font-weight: 900;
  color: var(--text);
}

.bouquet-sub{
  color: var(--muted);
  font-size: .92rem;
}

.bouquet-progress{
  height: 4px;
  border-radius: 999px;
  background: rgba(30,20,25,.10);
  overflow: hidden;
  margin-top: 10px;
}

.bouquet-progress-fill{
  height: 100%;
  width: 18%;
  border-radius: 999px;
  background: rgba(142,47,63,.75);
  transition: width .12s ease;
}

.strip-hint{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .2px;
}

/* Section heads */
.section-head{
  margin-top: 44px;
  margin-bottom: 16px;
}

.section-head h2{
  font-family: "Instrument Serif", serif;
  font-size: 2.05rem;
  color: var(--text);
}

.section-head p{
  color: var(--muted);
  margin-top: 8px;
}

/* Plans */
.plans{
  padding: 6px 0 16px;
}

.plan-grid{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.plan-card{
  position: relative;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.plan-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(650px 220px at 35% 0%, rgba(208,106,126,.16), transparent 60%);
  pointer-events: none;
}

.plan-card > *{ position: relative; }

.plan-card.featured{
  border: 1px solid rgba(142,47,63,.22);
  box-shadow: 0 24px 60px rgba(142,47,63,.10), 0 0 0 1px rgba(255,255,255,.22) inset;
}

.ribbon{
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .8rem;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(142,47,63,.10);
  border: 1px solid rgba(142,47,63,.18);
  color: var(--accent);
  font-weight: 900;
  z-index: 2;
}

.plan-top h3{
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
}

.plan-tag{
  color: var(--muted);
  margin-top: 4px;
}

.price{
  margin-top: 14px;
  margin-bottom: 12px;
}

.amount{
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.per{
  margin-left: 6px;
  color: var(--muted);
  font-weight: 900;
}

.list{
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 16px;
  color: var(--muted);
}

.list li{
  padding-left: 18px;
  position: relative;
}

.list li::before{
  content: "•";
  position: absolute;
  left: 6px;
  color: rgba(142,47,63,.75);
  font-weight: 900;
}

.plan-btn{
  width: 100%;
  padding: 14px 14px;
  border-radius: 999px;
  background: rgba(142,47,63,1);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(142,47,63,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.plan-btn:hover{
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(142,47,63,.24);
}

.plan-btn:focus{
  outline: none;
  box-shadow: var(--ring), 0 16px 34px rgba(142,47,63,.22);
}

.fineprint{
  margin-top: 10px;
  font-size: .9rem;
  color: var(--muted);
}

.note-box{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(14px);
  color: var(--muted);
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
}

.note-box strong{ color: var(--text); }

/* How */
.how{
  padding: 10px 0 16px;
}

.steps{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.step{
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.60);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
  backdrop-filter: blur(14px);
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(142,47,63,1), rgba(112,32,46,1));
  color: #fff;
  font-weight: 900;
  margin-bottom: 10px;
  box-shadow: 0 14px 28px rgba(142,47,63,.14);
}

.step h3{
  margin-bottom: 6px;
  color: var(--text);
}

.step p{ color: var(--muted); }

/* FAQ */
.faq{
  padding: 10px 0 40px;
}

.faq-list{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.faq-item{
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.60);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
}

.faq-item summary{
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
}

.faq-item p{
  margin-top: 10px;
  color: var(--muted);
}

/* Final CTA / Contact */
.final-cta{
  padding: 26px 0 90px;
}

.final-inner{
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(142,47,63,.14);
  background: radial-gradient(900px 260px at 30% 0%, rgba(208,106,126,.16), transparent 60%), rgba(255,255,255,.62);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
}

.final-inner h2{
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  color: var(--text);
}

.contact-section .primary-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Footer */
.footer{
  border-top: 1px solid var(--hairline);
  padding: 18px 0 90px;
  color: var(--muted);
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links{
  display: flex;
  gap: 14px;
}

.footer-links a{
  color: var(--muted);
  transition: color .2s ease;
}

.footer-links a:hover{ color: var(--accent); }

.footer-company{
  margin-top: 6px;
  font-size: .92rem;
}

/* Sticky CTA */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: rgba(251,250,248,.68);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline);
  z-index: 60;
}

.sticky-btn{
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(142,47,63,1), rgba(112,32,46,1));
  color: #fff;
  box-shadow: 0 14px 30px rgba(142,47,63,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sticky-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(142,47,63,.28);
}

.sticky-btn:focus{
  outline: none;
  box-shadow: var(--ring), 0 18px 40px rgba(142,47,63,.22);
}

/* Auth modal */
.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(16,10,12,.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9998;
}

.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
}

.modal.is-open,
.modal-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal-card{
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
  padding: 18px;
}

body.modal-open{
  overflow: hidden;
}

.modal-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.55);
  font-weight: 900;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}

.modal-close:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.modal-close:focus{
  outline: none;
  box-shadow: var(--ring);
}

.modal-title{
  font-family: "Instrument Serif", serif;
  font-size: 1.9rem;
  margin-top: 6px;
  color: var(--text);
}

.modal-sub{
  margin-top: 6px;
  color: var(--muted);
}

.google-btn{
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.60);
  font-weight: 900;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.google-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  border-color: rgba(142,47,63,.18);
}

.google-btn:focus{
  outline: none;
  box-shadow: var(--ring);
}

.modal-divider{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-size: .9rem;
}

.modal-divider::before,
.modal-divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.modal-divider span{ padding: 0 6px; }

.tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tab-btn{
  flex: 1;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.55);
  font-weight: 900;
  color: var(--muted);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.tab-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.72);
}

.tab-btn.is-active{
  border-color: rgba(142,47,63,.22);
  color: var(--accent);
}

.tab-btn:focus{
  outline: none;
  box-shadow: var(--ring);
}

.auth-form{
  display: grid;
  gap: 12px;
}

.field{
  display: grid;
  gap: 6px;
}

.field span{
  color: var(--muted);
  font-weight: 900;
  font-size: .9rem;
}

.field input{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.70);
  color: var(--text);
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.field input:focus{
  border-color: rgba(142,47,63,.22);
  box-shadow: var(--ring);
  background: rgba(255,255,255,.82);
}

/* iPhone Safari: prevent auto-zoom on form fields */
input,
select,
textarea{
  font-size: 16px;
}

.auth-submit{ width: 100%; }

.auth-error{
  min-height: 20px;
  color: var(--accent);
  font-weight: 900;
  font-size: .92rem;
}

#resendVerifyBtn{
  width: 100%;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(145,30,50,.35);
  background: rgba(145,30,50,.05);
  color: #911e32;
  font-weight: 800;
  font-family: inherit;
  transition: all .2s ease;
}

#resendVerifyBtn:hover{
  background: rgba(145,30,50,.12);
  border-color: #911e32;
}

.forgot-link{
  padding: 6px 4px;
  margin-top: -4px;
  margin-bottom: 10px;
  text-align: right;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #911e32;
  transition: opacity .2s ease;
}

.forgot-link:hover{
  opacity: .7;
}

/* Legal pages */
.legal-page{
  padding: 32px 0 90px;
}

.legal-card{
  background: rgba(255,255,255,.68);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
}

.legal-card h1{
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-top: 0;
  margin-bottom: 14px;
}

.legal-card h2{
  font-family: "Instrument Serif", serif;
  font-size: 1.45rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-card p,
.legal-card li{
  color: var(--muted);
  font-size: 1rem;
}

.legal-card ul{
  padding-left: 18px;
  margin-top: 10px;
}

.legal-card li{
  margin-bottom: 8px;
}

.legal-meta{
  margin-top: 6px;
  color: var(--muted);
  font-size: .95rem;
}

.legal-back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  text-decoration: none;
}

/* Language toggle */
.lang-btn{
  padding: 8px 12px;
  max-width: 27px;
  height: 27px;
  font-size: 14px;
  line-height: 1;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(0,0,0,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.lang-btn:hover{
  filter: brightness(1.05);
}

/* Desktop */
@media (min-width: 900px){
  .nav{ display: flex; }

  .hero{
    padding: 72px 0 26px;
  }

  .hero-inner{
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
    gap: 28px;
  }

  .hero-card--mobile{ display: none; }
  .hero-card--desktop{ display: block; }

  .trust-inner{
    grid-template-columns: repeat(3, 1fr);
  }

  .bouquet-scroll{
    grid-auto-columns: 32%;
    gap: 14px;
  }

  .bouquet-card img{
    height: 240px;
  }

  .plan-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .steps{
    grid-template-columns: repeat(3, 1fr);
  }

  .final-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
  }

  .sticky-cta{ display: none; }
  .footer{ padding-bottom: 18px; }
}

/* Mobile */
@media (max-width: 899px){
  .hero-card--mobile{
    display: block;
    margin-top: 40px !important;
    margin-bottom: 22px !important;
  }

  .hero-card--desktop{
    display: none;
  }

  .hero-image-wrap{
    height: 400px;
  }

  .hero-copy .eyebrow{
    margin-bottom: 25px;
  }

  .hero-copy h1{
    margin-top: 0;
  }

  .hero-copy .hero-ctas{
    margin-top: 16px !important;
  }

  .microproof{
    margin-top: 12px;
  }
}

.bouquet-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.bouquet-link:hover{
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.bouquet-link .bouquet-title,
.bouquet-link .bouquet-sub{
  color: inherit;
}

.bouquet-scroll--page{
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  grid-auto-columns: 100%;
}

.emotion-card .bouquet-meta{
  gap: 8px;
}

.emotion-meaning{
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  margin-top: 4px;
}

@media (min-width: 900px){
  .bouquet-scroll--page{
    grid-auto-columns: calc(33.333% - 10px);
    gap: 14px;
  }
}

/* ===== Emotion page ===== */

.emotion-hero-card{
  margin-bottom: 22px;
}

.emotion-intro{
  margin-top: 10px;
  font-size: 1rem;
}

.emotion-page-section{
  padding-bottom: 40px;
}

.emotion-grid{
  display: grid;
  gap: 18px;
}

.emotion-card{
  height: 100%;
}

.emotion-card .bouquet-meta{
  gap: 8px;
}

.emotion-meaning{
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  margin-top: 4px;
}

.bouquet-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.bouquet-link:hover{
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.bouquet-link .bouquet-title,
.bouquet-link .bouquet-sub{
  color: inherit;
}

@media (min-width: 900px){
  .emotion-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Emotion page ===== */

.emotion-hero-card{
  margin-bottom: 22px;
}

.emotion-intro{
  margin-top: 10px;
  font-size: 1rem;
}

.emotion-page-section{
  padding-bottom: 40px;
}

.emotion-grid{
  display: grid;
  gap: 18px;
}

.emotion-card{
  height: 100%;
}

.emotion-card .bouquet-meta{
  gap: 8px;
}

.emotion-meaning{
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  margin-top: 4px;
}

.emotion-order-btn{
  margin-top: 10px;
}

.bouquet-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.bouquet-link:hover{
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.bouquet-link .bouquet-title,
.bouquet-link .bouquet-sub{
  color: inherit;
}

@media (min-width: 900px){
  .emotion-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
