/* ============================================================
   HORNITOS — Screen & section styles
   ============================================================ */

.ink-green { color: var(--green); }

/* ---------- shared product stage glow ---------- */
.stage-glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 65%);
  width: 70%; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-50%,-50%);
  pointer-events: none; z-index: 0;
}
.stage-glow.big { width: 85%; }

/* ---------- agave stamp ---------- */
.agave-stamp { position: relative; color: var(--green); display: grid; place-items: center; animation: spinStamp 38s linear infinite; }
.agave-stamp svg { display: block; }
.agave-stamp-mark { position: absolute; inset: 0; display: grid; place-items: center; }
@keyframes spinStamp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .agave-stamp { animation: none; } }

/* =====================================================
   HERO — mirrors Desktop-Hero-Reference
   ===================================================== */
.hero-ref { position: relative; overflow: hidden; min-height: min(84vh, 780px); display: flex; align-items: center; padding-block: clamp(16px, 2.5vw, 36px); }
.hero-ref-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(16px, 2.5vw, 44px); align-items: center; width: 100%; }
.hero-ref-art { position: relative; align-self: stretch; min-height: 600px; z-index: 1; }
.hr-lockup { position: absolute; z-index: 1; width: 102%; height: auto; left: -6%; top: 50%; transform: translateY(-50%); }
.hr-lockup-mobile { display: none; }
.hr-crop-glass { position: absolute; z-index: 0; width: clamp(78px, 9vw, 148px); left: 0; top: 0; pointer-events: none; }

.hero-ref-copy { max-width: 540px; position: relative; z-index: 3; }
.hero-ref-head { font-size: clamp(46px, 5.8vw, 88px); line-height: .9; margin: 0; }
.hero-ref-lede { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.4; color: var(--ink-soft); max-width: 54ch; margin: 22px 0 32px; }
.hero-ref-lockup { margin-bottom: 36px; }

/* ---- big designed offer lockup (mirrors reference) ---- */
.offer-lockup { display: inline-flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.offer-lockup.centered { justify-content: center; }
.ol-tier { display: flex; flex-direction: column; gap: 2px; }
.ol-size { font-family: var(--btn); font-size: clamp(15px, 1.2vw, 19px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.ol-amtrow { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.ol-amt { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 6.4vw, 96px); line-height: .82; color: var(--green); letter-spacing: -.02em; }
.ol-back { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 30px); text-transform: uppercase; color: var(--ink); }
.ol-or { font-family: var(--body); font-size: clamp(16px, 1.3vw, 20px); font-style: italic; color: var(--ink-faint); align-self: center; }
.offer-lockup.green .ol-size { color: rgba(255,255,255,.8); }
.offer-lockup.green .ol-amt { color: #fff; }
.offer-lockup.green .ol-back { color: rgba(255,255,255,.94); }
.offer-lockup.green .ol-or { color: rgba(255,255,255,.7); }

/* =====================================================
   PROOF — two product brand cards
   ===================================================== */
.proof { background: var(--paper); padding-block: clamp(40px, 5vw, 78px); }
.proof-head { max-width: 720px; }
.proof-head .display { margin: 14px 0 18px; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.proof-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 16px; background: #fff; box-shadow: var(--shadow-card); padding: clamp(24px, 2.3vw, 38px); min-height: 256px; transition: box-shadow .25s ease, transform .25s ease; }
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.proof-card-body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.proof-kicker { font-family: var(--btn); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.proof-name { font-family: var(--display); font-weight: 700; text-transform: none; font-size: clamp(26px, 2.3vw, 34px); color: var(--green); margin: 10px 0 18px; line-height: 1; }
.proof-offer { display: flex; flex-direction: column; gap: 0; margin-bottom: 22px; }
.proof-size { font-family: var(--btn); font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.proof-save { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.4vw, 50px); line-height: .9; color: var(--green); }
.proof-buy { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--btn); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 15px; color: var(--green-700); text-decoration: none; transition: color .18s; }
.proof-buy:hover { color: var(--green-900); }
.proof-card-art { display: grid; place-items: center; align-self: stretch; }
.proof-card-art img { max-height: 320px; width: auto; }
@media (max-width: 920px) {
  .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .proof-card { grid-template-columns: 1fr; text-align: left; }
  .proof-card-art { display: none; }
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-head .display { margin-top: 14px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 60px; }
.how-step { position: relative; padding-top: 6px; }
.how-num { font-size: 72px; color: var(--green); line-height: 1; font-weight: 700; display: block; margin-bottom: 14px; }
.how-t { font-size: 28px; margin-bottom: 10px; }
.how-step p { color: var(--ink-soft); margin: 0; font-size: 16px; max-width: 32ch; }

/* =====================================================
   MARGARITA — signature serve
   ===================================================== */
.margarita { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.marg-art { position: relative; min-height: 480px; overflow: hidden; display: grid; place-items: center; background: var(--paper); }
.marg-glass { position: relative; z-index: 2; width: 60%; max-width: 420px; }
.marg-copy { background: var(--green-900); color: #fff; display: flex; align-items: center; padding: clamp(40px, 4.8vw, 78px); position: relative; }
.marg-tag { position: absolute; z-index: 3; top: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 64px); width: clamp(96px, 11vw, 150px); animation: spinStamp 44s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marg-tag { animation: none; } }
.marg-inner { max-width: 460px; }
.marg-copy .eyebrow { color: #9FE3B8; }
.marg-copy .display { color: #fff; margin: 16px 0 22px; }
.marg-copy .lede { color: rgba(255,255,255,.82); }
.marg-recipe { margin: 26px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.marg-ing { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; color: rgba(255,255,255,.92); }
.marg-bullet { width: 8px; height: 8px; border-radius: 50%; background: #9FE3B8; flex: none; }
.marg-copy .textlink { color: #9FE3B8; }
.marg-copy .textlink:hover { border-color: #9FE3B8; }

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band { background: var(--green); color: #fff; padding-block: clamp(72px, 9vw, 128px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 50% -10%, rgba(255,255,255,.16), transparent 60%); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { white-space: nowrap; }
.cta-head { color: #fff; margin: 18px 0 52px; width: 100%; }
.cta-tiers { display: flex; align-items: center; gap: 40px; margin-bottom: 44px; }
.cta-tier b { display: block; font-family: var(--display); font-size: 60px; line-height: 1; }
.cta-tier span { font-size: 28px; color: rgba(255,255,255,.9); font-weight: 600; font-family: var(--btn); text-transform: uppercase; letter-spacing: .03em; }
.cta-tier-div { width: 1px; height: 86px; background: rgba(255,255,255,.3); }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside .display { margin: 16px 0 18px; }
.faq-aside { position: sticky; top: 110px; }
@media (max-width: 860px) { .faq-aside { position: static; } }

/* =====================================================
   INTERIOR PAGE TEMPLATE (shared across all functional pages)
   Nav → compressed hero → progression copy → white card → content → footer
   ===================================================== */
.interior { min-height: 100vh; display: flex; flex-direction: column; }
.logo-bar { background: #fff; border-bottom: 1px solid var(--line-soft); }

/* compressed branded hero */
.int-hero { position: relative; overflow: hidden; }
.int-hero-grid { position: relative; display: flex; justify-content: center; align-items: center; padding-block: clamp(36px, 4vw, 60px); min-height: clamp(340px, 28vw, 412px); }
.int-crop-glass { position: absolute; z-index: 0; width: clamp(50px, 6vw, 96px); left: 0; top: 0; pointer-events: none; }
.int-hero-art { position: absolute; z-index: 1; left: clamp(-44px, -2.5vw, -14px); top: clamp(-118px, -8vw, -150px); width: clamp(290px, 30vw, 420px); pointer-events: none; }
.int-lockup { position: static; width: 100%; height: auto; display: block; transform: none; }
.int-hero-copy { position: relative; z-index: 3; text-align: center; max-width: 620px; margin: 0 auto; }
.int-head { color: var(--green); font-size: clamp(34px, 4.4vw, 62px); line-height: .92; margin: 0; }
.int-sub { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.45; max-width: 52ch; margin: 18px auto 0; }

/* white functional content container (overlaps hero, pulled up to tighten) */
.int-body { position: relative; z-index: 4; margin-top: -106px; padding-bottom: clamp(56px, 7vw, 96px); }
.int-body-narrow { max-width: 660px; }
.int-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-soft); padding: clamp(30px, 4vw, 56px); }
.int-bare { /* upload: no card, content sits on texture */ }
/* centered copy + auto-width centered buttons inside interior content */
.int-card .btn, .int-bare .btn { display: flex; width: fit-content; align-self: center; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .int-hero-grid { flex-direction: column; min-height: 0; padding-block: 10px 48px; gap: 10px; }
  .int-hero-art { position: relative; left: auto; top: auto; transform: none; width: clamp(220px, 56vw, 300px); margin: 0 auto; }
  .int-crop-glass { display: none; }
  .int-sub { max-width: none; }
}

/* gates */
.gate-fields { width: 100%; text-align: left; }
.gate-dob { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 14px; }
.gate-state { max-width: 100%; }
.gate-submit { margin-top: 28px; min-width: 200px; justify-content: center; }
.gate-legal { margin-top: 26px; max-width: 60ch; margin-left: auto; margin-right: auto; color: var(--ink-faint); text-align: center; }
.gate-legal a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.ineligible-copy { color: var(--ink-soft); font-size: 17px; margin: 0 0 4px; text-align: center; }
.ineligible-copy a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
@media (max-width: 540px) { .gate-dob { grid-template-columns: 1fr; } }

/* registration (single column inside card) */
.reg-lead { color: var(--ink); font-size: 17px; line-height: 1.45; margin: 0 0 6px; text-align: center; }
.reg-signin { color: var(--ink-soft); font-size: 16px; margin: 0 0 26px; text-align: center; }
.reg-signin a { color: var(--green-700); font-weight: 700; text-decoration: underline; }
.reg-form { display: flex; flex-direction: column; gap: 16px; }
.reg-form .field { text-align: left; }
.reg-required { text-align: right; font-style: italic; margin: 0 0 -4px; }
.req { color: #C0492F; font-weight: 700; }

/* branded floating-label fields */
.ffield { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.ffield-box { position: relative; }
.ffield-input {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--stone-300); border-radius: 12px;
  width: 100%; height: 60px; padding: 25px 16px 8px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.ffield-input::placeholder { color: transparent; }
.ffield-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,147,90,.14); }
.ffield-label {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  transform-origin: left center; white-space: nowrap; pointer-events: none;
  font-family: var(--body); font-size: 16px; color: var(--ink-faint);
  transition: transform .17s cubic-bezier(.2,.7,.2,1), top .17s cubic-bezier(.2,.7,.2,1), color .17s ease;
}
.ffield-input:focus + .ffield-label,
.ffield-input:not(:placeholder-shown) + .ffield-label {
  top: 9px; transform: translateY(0) scale(0.72);
}
.ffield-input:focus + .ffield-label { color: var(--green-700); }
.ffield.locked .ffield-input { background: var(--stone-150); color: var(--ink-soft); border-color: var(--stone-300); padding-right: 44px; pointer-events: none; }
.ffield.locked .ffield-input:focus { border-color: var(--stone-300); box-shadow: none; }
.ffield.locked .ffield-label { color: var(--ink-faint); }
.ffield .lock-ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); pointer-events: none; }
.ffield .hint { font-size: 12.5px; color: var(--ink-faint); }
/* locked fields: lock icon on right, not interactive */
.field-lock { position: relative; }
.field-lock .lock-ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); pointer-events: none; }
.input.is-locked { background: var(--stone-150); color: var(--ink-soft); border-style: solid; border-color: var(--stone-300); padding-right: 44px; pointer-events: none; }
.input.is-locked:focus { outline: none; border-color: var(--stone-300); box-shadow: none; }
.captcha-ph { border: 1.5px dashed var(--stone-400); border-radius: 12px; padding: 26px; text-align: center; display: flex; flex-direction: column; gap: 4px; background: var(--stone-50); }
.captcha-t { font-family: var(--btn); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; color: var(--ink-soft); }
.opt { color: var(--ink-faint); font-weight: 500; font-size: 12px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check-box { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 1.5px solid var(--stone-400); display: grid; place-items: center; color: transparent; transition: all .15s; margin-top: 1px; }
.check input:checked + .check-box { background: var(--green); border-color: var(--green); color: #fff; }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 4px rgba(0,147,90,.18); }
.check-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.check-text a { color: var(--green-700); font-weight: 600; text-decoration: underline; }

/* upload (no card) */
.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 32px; }
.tip-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-card); }
.tip-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green-700); margin-bottom: 16px; }
.tip-t { font-size: 20px; margin-bottom: 8px; }
.tip-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.upload-single { max-width: 760px; margin: 0 auto; }
.dropzone { border: 2px dashed var(--stone-400); border-radius: 22px; background: rgba(255,255,255,.7); padding: clamp(40px, 5vw, 64px) 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.drop-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--green-tint); color: var(--green-700); margin-bottom: 6px; }
.drop-t { font-size: 28px; line-height: 1.04; }
.dropzone p { margin: 0; color: var(--ink-soft); line-height: 1.45; }
.drop-btn { margin-top: 22px; min-width: 220px; justify-content: center; }
.upload-products { text-align: center; margin: 26px 0 0; font-size: 16px; color: var(--ink-soft); }
.upload-products a { color: var(--green-700); font-weight: 700; text-decoration: underline; }

/* thank you (inside card) */
.thanks-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.thanks-mark { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 22px; box-shadow: 0 18px 36px -16px rgba(0,147,90,.7); animation: pop .5s cubic-bezier(.2,1.3,.4,1); }
@keyframes pop { from { transform: scale(.55); } }
.thanks-head { margin: 0 0 18px; }
.thanks-body { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 52ch; margin: 0 auto 28px; text-align: center; }

/* sign in (returning users) */
.signin-form { display: flex; flex-direction: column; gap: 22px; max-width: 480px; margin: 0 auto; }
.signin-form .field, .signin-form .ffield { text-align: left; }
.signin-alt { text-align: center; color: var(--ink-soft); font-size: 16px; margin: 0; }
.signin-alt a { color: var(--green-700); font-weight: 700; text-decoration: underline; }
.rs-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-soft); }
.rs-row > b, .rs-row > span:last-child { text-align: right; white-space: nowrap; }
.rs-row:last-child { border-bottom: none; }
.rs-row b { color: var(--ink); font-size: 16px; }
.rs-amt { color: var(--green-700) !important; font-family: var(--display); font-size: 24px !important; }
.rs-status { color: var(--green-700); font-weight: 700; font-size: 14px; }
.thanks-next { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 460px; margin-bottom: 34px; text-align: left; }
.tn-step { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; color: var(--ink-faint); white-space: nowrap; }
.tn-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: #fff; border: 1.5px solid var(--stone-300); color: var(--ink-faint); }
.tn-step:first-child { color: var(--ink-soft); }
.tn-step:first-child .tn-dot { background: var(--green-tint); border-color: transparent; color: var(--green-700); }
.tn-step.now { color: var(--ink); }
.tn-step.now .tn-dot { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 0 0 5px rgba(0,147,90,.14); }

/* =====================================================
   HERO SWITCH (prototype affordance)
   ===================================================== */
.hero-switch { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hsw-toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; border: none; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .03em; }
.hsw-toggle:hover { background: #000; }
.hsw-body { background: rgba(37,36,29,.95); backdrop-filter: blur(10px); color: #fff; border-radius: 16px; padding: 16px; width: 256px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.5); }
.hsw-title { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: 12px; }
.hsw-opts { display: flex; flex-direction: column; gap: 8px; }
.hsw-opt { text-align: left; background: rgba(255,255,255,.06); border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; color: #fff; transition: all .15s; }
.hsw-opt b { display: block; font-size: 13px; font-weight: 700; }
.hsw-opt span { font-size: 11.5px; color: rgba(255,255,255,.58); }
.hsw-opt:hover { background: rgba(255,255,255,.12); }
.hsw-opt.sel { background: var(--green); border-color: var(--green); }
.hsw-opt.sel span { color: rgba(255,255,255,.85); }
@media (max-width: 600px) { .hero-switch { right: 12px; bottom: 12px; } .hsw-body { width: 220px; } }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .hero-ref { min-height: 0; padding-block: 24px 48px; }
  .hero-ref-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-ref-art { order: -1; min-height: 380px; }
  .hero-ref-copy { max-width: none; }
  .margarita { grid-template-columns: 1fr; }
  .marg-art { min-height: 360px; }
  .marg-glass { width: 52%; }
  .how-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .upload-cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  /* mobile hero: swap combined lockup + cropped glass for a single mobile shot, flush to edges */
  .hr-lockup, .hr-crop-glass { display: none; }
  .hr-lockup-mobile { display: block; position: relative; z-index: 1; width: 100%; max-width: none; margin: 0; }
  .hero-ref { padding-block: 0 40px; }
  .hero-ref-grid { gap: 20px; }
  .hero-ref-art { min-height: 0; order: -1; margin-inline: calc(-1 * var(--gut)); margin-top: 0; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .ag-fields { grid-template-columns: 1fr; }
  .hero-cta { gap: 16px; }
  .cta-tiers { gap: 22px; }
  .cta-tier b { font-size: 46px; }
  .cta-tier span { font-size: 22px; }
  .how-grid, .tip-grid { gap: 16px; }
  .offer-lockup { gap: 18px; }
}
