/* ---- aux.css ---- */
/* HoneyPower auxiliary pages — privacy, terms, contact, support, refund.
   These are pure reading pages, so they stay light throughout; onyx is used
   only for the brand bar, the tab rule and the footer. */

:root {
  --onyx:     #0A0A0D;
  --shadow:   #17181D;
  --ivory:    #EDEDEF;
  --gold:     #D4AF37;
  --amber:    #E8A317;
  --honey:    #C9A227;
  --gold-ink: #8A6914;
  --ash:      #F4F5F7;
  --ash-2:    #E9EAEE;
  --ink:      #14151A;
  --muted:    #6A6C78;
  --line:     #E2E3E8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== BRAND BAR ===== */
.brand-bar {
  background: linear-gradient(135deg, var(--shadow), var(--onyx));
  border-bottom: 3px solid var(--gold);
  padding: 16px 24px;
  text-align: center;
}

.brand-bar a { text-decoration: none; }

.brand-bar h1 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-bar h1 .accent { color: var(--gold); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 56px 24px 26px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--ash) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h2 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
}

.page-hero p {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

/* ===== LEGAL BODY ===== */
main.legal {
  max-width: 1000px;
  margin: 0 auto;
  padding: 34px 40px 60px;
}

main.legal p {
  text-align: justify;
  margin: 0 0 16px;
}

main.legal h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 30px 0 8px;
}

main.legal ul,
main.legal ol { margin: 0 0 16px 24px; }

main.legal li { margin-bottom: 6px; }

main.legal a { font-weight: 600; }

.updated {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 24px !important;
  text-align: left !important;
}

/* ===== CONTACT TABLE ===== */
.contact-table {
  max-width: 1000px;
  margin: 34px auto 10px;
  padding: 0 40px;
}

.contact-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.contact-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.contact-table tr:last-child td { border-bottom: none; }
.contact-table tr:nth-child(even) { background: var(--ash); }

.contact-table .label {
  width: 42%;
  font-weight: 700;
  color: var(--ink);
}

.contact-table .label small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

.contact-table .value { font-weight: 700; color: var(--ink); }
.contact-table .value a { color: var(--gold-ink); }

/* long unbreakable tokens (the support e-mail) must not widen the table */
.contact-table td,
.contact-table td a { overflow-wrap: anywhere; word-break: break-word; }

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 40px 0;
}

.contact-form form {
  background: var(--ash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field.full { grid-column: 1 / -1; }

.contact-form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.22);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form .cta-gold {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 320px;
  padding: 15px 28px;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(180deg, #F5D06A 0%, #EFC048 22%, #E5A82E 55%, #C88E22 100%);
  color: #1a1005;
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(184,134,46,.42), inset 0 1px 0 rgba(255,255,255,.5);
  transition: filter .2s ease, transform .15s ease;
}

.contact-form .cta-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

.form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* ===== TABS ===== */
.tabs {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-bottom: 3px solid var(--ink);
  gap: 0;
}

.tab {
  background: none;
  border: 3px solid transparent;
  border-bottom: 0;
  padding: 13px 34px;
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: -3px;
  transition: color .15s;
}

.tab:hover { color: var(--gold-ink); }

.tab.active {
  color: var(--ink);
  border-color: var(--ink);
  border-bottom: 3px solid #fff;
  background: #fff;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-title {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 20px;
}

/* ===== FAQ ACCORDION ===== */
.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 20px 40px 20px 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}

.faq-item.open .faq-question::after { transform: translateY(-30%) rotate(-135deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0;
}

.faq-item.open .faq-answer { max-height: 800px; padding: 0 0 20px; }

.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== FOOTER ===== */
.bg-footer {
  background-color: var(--onyx);
  color: var(--ivory);
  border-top: 3px solid var(--gold);
  padding: 3rem 1.5rem;
  margin-top: 60px;
  overflow-x: hidden;
}

.bg-footer__container { max-width: 960px; margin: 0 auto; overflow-x: hidden; }

.bg-footer__links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  text-align: center;
}

.bg-footer__links a {
  color: var(--ivory);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}

.bg-footer__links a:hover { color: var(--gold); text-decoration: underline; }

.bg-footer__disclaimer {
  color: rgba(237,237,239,.72);
  text-align: justify;
  font-size: .78rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.bg-footer__copy {
  text-align: center;
  font-size: .75rem;
  color: rgba(237,237,239,.5);
  margin: 0 0 1rem;
}

.bg-footer #disclaimer,
.bg-footer #disclaimer * { color: var(--ivory) !important; }

#disclaimer {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

#disclaimer * {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#disclaimer img { height: auto !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .page-hero { padding: 40px 20px 20px; }
  main.legal,
  .contact-table,
  .contact-form,
  .tabs { padding-left: 20px; padding-right: 20px; }
  main.legal { padding-top: 26px; }
  .tab { padding: 12px 16px; font-size: 17px; }
  .contact-table table { table-layout: fixed; }
  .contact-table td { padding: 14px 12px; font-size: 15px; }
  .contact-table .label { width: 45%; }
  .contact-form form { grid-template-columns: 1fr; padding: 20px; }
  /* tabs scroll inside their own row instead of widening the page */
  .tabs { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { flex: 0 0 auto; white-space: nowrap; }
  .bg-footer { padding: 2rem 1rem; }
  .bg-footer__links { gap: .5rem 1rem; }
  #disclaimer table,
  #disclaimer tbody,
  #disclaimer tr,
  #disclaimer td,
  #disclaimer div {
    width: 100% !important;
    display: block !important;
  }
  #disclaimer td { padding: 8px !important; }
  #disclaimer img { display: block !important; margin: 0 auto 8px !important; }
}

/* ---- gold-buttons.css ---- */
/*
 * HoneyPower funnel — gold CTA buttons
 * Applied globally on top of each page's base stylesheet.
 * Every purchase button in the funnel is gold: gradient, black uppercase
 * text, no border, warm shadow.
 */

/* ============ GOLD BUTTON — base look ============ */
.pkg-btn,
.pkg-cta,
.hero-cta-btn,
.faq-cta-btn,
.nav-cta,
.cta-orange,
.cta-gold,
.popup-cta,
.accept-link,
.up-cta,
button.pkg-btn,
button.hero-cta-btn,
a.pkg-cta,
a.faq-cta-btn,
a.cta-orange,
a.cta-gold,
a.popup-cta {
  background: linear-gradient(180deg,
    #F5D06A 0%,
    #EFC048 22%,
    #E5A82E 55%,
    #C88E22 100%) !important;
  color: #1a1005 !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow:
    0 4px 14px rgba(184,134,46,.42),
    inset 0 1px 0 rgba(237,237,239,.5) !important;
  font-family: 'Oswald', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.32);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
}

.pkg-btn:hover,
.pkg-cta:hover,
.hero-cta-btn:hover,
.faq-cta-btn:hover,
.nav-cta:hover,
.cta-orange:hover,
.cta-gold:hover,
.popup-cta:hover,
.accept-link:hover,
.up-cta:hover,
button.pkg-btn:hover,
a.pkg-cta:hover,
a.faq-cta-btn:hover,
a.cta-orange:hover,
a.cta-gold:hover,
a.popup-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(184,134,46,.55),
    inset 0 1px 0 rgba(255,255,255,.6) !important;
}

.pkg-btn:active,
.pkg-cta:active,
.hero-cta-btn:active,
.cta-orange:active,
.cta-gold:active,
.popup-cta:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(184,134,46,.4),
    inset 0 2px 4px rgba(0,0,0,.08) !important;
}

/* Force SVG icons inside gold buttons to be dark to contrast */
.pkg-btn svg,
.pkg-cta svg,
.hero-cta-btn svg,
.faq-cta-btn svg,
.nav-cta svg,
.cta-orange svg,
.cta-gold svg,
.popup-cta svg {
  fill: #1a1005 !important;
}
.pkg-btn svg path,
.hero-cta-btn svg path,
.nav-cta svg path,
.cta-orange svg path,
.popup-cta svg path {
  fill: #1a1005 !important;
}

/* Nav CTA in header is smaller — tighten padding */
.nav-cta {
  padding: 8px 18px !important;
  font-size: 13px !important;
}

/* Hero CTA — big and prominent */
.hero-cta-btn {
  padding: 18px 26px !important;
  font-size: 18px !important;
}

/* Package card CTA button — full width inside card */
.pkg-btn,
.pkg-cta {
  padding: 16px 24px !important;
  font-size: 18px !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Upsell/downsell main CTA — huge and bold.
   display MUST be block-level (flex, not inline-flex): the page stylesheets cap
   these buttons at max-width:460px and center them with `margin: 0 auto`, and
   auto margins do not center an inline-level box — it just sits at the start of
   the line. inline-flex here was pushing every CTA to the left edge of the card. */
.cta-orange,
.cta-gold {
  padding: 20px 28px !important;
  font-size: 20px !important;
  width: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Popup CTA — same reasoning as above */
.popup-cta {
  padding: 18px 24px !important;
  font-size: 18px !important;
  width: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-content: center;
}

/* FAQ side CTA */
.faq-cta-btn {
  padding: 16px 24px !important;
  font-size: 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Kill any pink/red background lingering from base styles */
.pkg-btn::before,
.cta-orange::before,
.cta-gold::before,
.popup-cta::before {
  content: none;
}

/* Make sure the "You Save" pill and price total aren't accidentally styled */
.pkg-save,
.pkg-total {
  background: transparent !important;
}
