:root{
  --hh-primary:#fbe34c;
  --hh-secondary:#e93b60;

  --hh-ink:#0b1220;
  --hh-ink2:#2b3445;
  --hh-muted:#6b7280;

  --hh-night:#0b1020;
  --hh-page:#ffffff;

  --hh-paper:#fffaf0;
  --hh-cream:#fff2cc;
  --hh-cream2:#fff6dd;

  --hh-card:#ffffff;
  --hh-border:rgba(17,24,39,.12);

  --hh-shadow:0 14px 40px rgba(17,24,39,.10);
  --hh-shadow2:0 10px 24px rgba(17,24,39,.10);

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

  --hh-ring:0 0 0 3px rgba(233,59,96,.22),0 0 0 6px rgba(251,227,76,.22);
}

html{scroll-behavior:smooth}
*,*:before,*:after{box-sizing:border-box}

.hh-aff-landing{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--hh-ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Links (default). Buttons override this so they never underline. */
.hh-aff-landing a{
  color:var(--hh-secondary);
  text-decoration:none;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.hh-aff-landing a:hover{ text-decoration:underline; }

/* Layout wrapper */
.hh-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:52px 20px;
}

/* HERO */
.hh-hero{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(1200px 520px at 12% 10%, rgba(251,227,76,.55), transparent 60%),
    radial-gradient(900px 520px at 86% 18%, rgba(233,59,96,.22), transparent 65%),
    linear-gradient(180deg, var(--hh-paper), var(--hh-cream2));
  border:1px solid rgba(233,59,96,.18);
  border-radius:var(--hh-radius);
  padding:36px 30px;
  box-shadow:var(--hh-shadow);
  overflow:hidden;
}

/* Soft float background */
.hh-hero:before{
  content:"";
  position:absolute;
  inset:-140px;
  z-index:-1;
  background:
    radial-gradient(closest-side, rgba(233,59,96,.22), transparent 62%) 18% 22%/520px 520px no-repeat,
    radial-gradient(closest-side, rgba(251,227,76,.30), transparent 64%) 78% 38%/640px 640px no-repeat,
    radial-gradient(closest-side, rgba(233,59,96,.12), transparent 68%) 72% 78%/520px 520px no-repeat;
  filter:blur(18px);
  opacity:.95;
  animation:hh-float 10s ease-in-out infinite;
}
@keyframes hh-float{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-14px,0)}
}

/* Logo sits inside the notch */
.hh-hero-stamp{
  position:absolute;
  top:-6px;
  right:-6px;
  width:104px;
  height:104px;
  box-shadow:0 18px 40px rgba(17,24,39,.18), 0 0 0 1px rgba(17,24,39,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:3;
  overflow:hidden;
  text-decoration:none !important;
}
.hh-hero-stamp img{
  width:88%;
  height:88%;
  object-fit:contain;
  display:block;
}

/* Text */
.hh-kicker{
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
  font-weight:900;
  color:rgba(233,59,96,.95);
  margin:0 0 10px;
}
.hh-h1{
  font-size:44px;
  line-height:1.08;
  margin:0 0 14px;
  color:var(--hh-ink);
  letter-spacing:-.02em;
  max-width:940px;
}
.hh-sub{
  font-size:18px;
  margin:0 0 20px;
  color:var(--hh-ink2);
  max-width:780px;
}
.hh-fine{
  font-size:12px;
  color:var(--hh-muted);
  margin:10px 0 0;
}

/* CTA buttons */
.hh-cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:18px;
}

.hh-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:12px 18px;
  border-radius:14px;

  font-weight:900;
  border:1px solid rgba(17,24,39,.14);

  text-decoration:none !important;
  box-shadow:0 10px 18px rgba(17,24,39,.10);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  overflow:hidden;
}

/* Primary (Apply) uses a stronger gradient + subtle inner glow */
.hh-btn:not(.secondary){
  color:var(--hh-ink);
  background:linear-gradient(135deg, #fbe34c 0%, #ffd24a 55%, #ff8a6a 120%);
  background-size:140% 140%;
  box-shadow:
    0 14px 28px rgba(233,59,96,.18),
    0 10px 18px rgba(251,227,76,.20);
}
.hh-btn:not(.secondary)::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 65%);
  transform:translateX(-130%);
  transition:transform .55s ease, opacity .2s ease;
  opacity:.0;
}
.hh-btn:not(.secondary):hover::after{
  transform:translateX(130%);
  opacity:.9;
}
.hh-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(17,24,39,.14);
  text-decoration:none !important;
}
.hh-btn:active{
  transform:translateY(0);
  box-shadow:0 10px 18px rgba(17,24,39,.10);
}
.hh-btn:focus{
  outline:none;
  box-shadow:var(--hh-ring);
}

/* Secondary (Agreement) stays dark and clearly less primary */
.hh-btn.secondary{
  background:#0b1020;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.hh-btn.secondary::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(115deg, rgba(251,227,76,0) 35%, rgba(251,227,76,.30) 50%, rgba(251,227,76,0) 65%);
  transform:translateX(-130%);
  transition:transform .55s ease, opacity .2s ease;
  opacity:0;
}
.hh-btn.secondary:hover{
  filter:brightness(1.05);
  text-decoration:none !important;
}
.hh-btn.secondary:hover::after{
  transform:translateX(130%);
  opacity:.9;
}

/* Cards grid */
.hh-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
  margin-top:22px;
}
.hh-card{
  background:var(--hh-card);
  border:1px solid var(--hh-border);
  border-radius:var(--hh-radius2);
  padding:18px;
  box-shadow:0 10px 22px rgba(17,24,39,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hh-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(17,24,39,.10);
  border-color:rgba(233,59,96,.20);
}
.hh-card h3{
  margin:0 0 8px;
  font-size:16px;
  color:var(--hh-ink);
  letter-spacing:-.01em;
}
.hh-card p{
  margin:0;
  color:var(--hh-ink2);
  font-size:14px;
}

/* Sections */
.hh-section{
  padding:46px 0;
  border-top:1px solid rgba(17,24,39,.08);
}
.hh-section h2{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.18;
  color:var(--hh-ink);
  letter-spacing:-.02em;
}
.hh-section p{
  margin:0 0 10px;
  color:var(--hh-ink2);
}
.hh-mini{
  font-size:13px;
  color:var(--hh-ink2);
}
.hh-bullets{
  margin:12px 0 0;
  padding-left:18px;
}
.hh-bullets li{
  margin:7px 0;
  color:var(--hh-ink2);
}

/* Two column sections */
.hh-two{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:start;
}

/* "Good fit for" card: solid background (no gradient) */
.hh-highlight{
  background:#fff4b7;
  border:1px solid rgba(17,24,39,.10);
  border-radius:var(--hh-radius2);
  padding:18px;
  box-shadow:0 14px 34px rgba(17,24,39,.08);
}
.hh-highlight strong{ color:var(--hh-night); }
.hh-legal{
  font-size:12px;
  color:var(--hh-muted);
  margin-top:14px;
}

/* Steps */
.hh-steps{ counter-reset:step; }
.hh-step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 0;
  border-bottom:1px solid rgba(17,24,39,.08);
}
.hh-step:last-child{ border-bottom:none; }
.hh-step-num{
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:999px;
  background:var(--hh-secondary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  box-shadow:0 12px 20px rgba(233,59,96,.20),0 2px 0 rgba(0,0,0,.06);
}
.hh-step h4{
  margin:0 0 4px;
  font-size:15px;
  color:var(--hh-ink);
}
.hh-step p{
  margin:0;
  color:var(--hh-ink2);
  font-size:14px;
}

/* FAQ */
.hh-faq details{
  background:var(--hh-card);
  border:1px solid var(--hh-border);
  border-radius:14px;
  padding:14px 16px;
  margin:10px 0;
  box-shadow:0 10px 22px rgba(17,24,39,.06);
}
.hh-faq summary{
  cursor:pointer;
  font-weight:900;
  color:var(--hh-ink);
  list-style:none;
}
.hh-faq summary::-webkit-details-marker{ display:none; }
.hh-faq summary:after{
  content:"+";
  float:right;
  color:rgba(233,59,96,.9);
  font-weight:900;
}
.hh-faq details[open] summary:after{ content:"-"; }

/* Footer CTA section */
.hh-footer-cta{
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(233,59,96,.25), transparent 55%),
    radial-gradient(900px 520px at 95% 10%, rgba(251,227,76,.22), transparent 60%),
    linear-gradient(180deg, var(--hh-night), #070a14);
  color:#fff;
  border-radius:var(--hh-radius);
  padding:26px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 48px rgba(11,16,32,.26);
  overflow:hidden;
}
.hh-footer-cta h2{ color:#fff; }
.hh-footer-cta>p{
  color:rgba(255,255,255,.78);
  max-width:860px;
}

/* Inside footer card */
.hh-footer-cta .hh-card{
  background:#fff;
  color:var(--hh-ink);
  border-color:rgba(17,24,39,.12);
}
.hh-footer-cta .hh-card p{ color:var(--hh-ink2); }
.hh-footer-cta .hh-card label{ color:var(--hh-ink); }

/* Footer links (non-button) */
.hh-footer-cta .hh-legal{
  color:rgba(255,255,255,.72);
  margin-top:14px;
}
.hh-footer-cta .hh-legal a{
  color:var(--hh-primary);
  text-decoration:none;
}
.hh-footer-cta .hh-legal a:hover{ text-decoration:underline; }

/* AffiliateWP form styling */
.hh-aff-landing .affwp-form,
.hh-aff-landing form.affwp-form{ margin:0; }

.hh-aff-landing .affwp-form label{
  display:block;
  margin:0 0 6px;
  font-weight:900;
  color:#0b1220;
}

.hh-aff-landing .affwp-form input[type="text"],
.hh-aff-landing .affwp-form input[type="email"],
.hh-aff-landing .affwp-form input[type="url"],
.hh-aff-landing .affwp-form input[type="password"],
.hh-aff-landing .affwp-form textarea,
.hh-aff-landing .affwp-form select{
  width:100%;
  max-width:none;
  background:#fff;
  border:1px solid rgba(17,24,39,.18);
  border-radius:12px;
  padding:12px 12px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  transition:border-color .18s ease, box-shadow .18s ease;
  color:var(--hh-ink);
}

.hh-aff-landing .affwp-form textarea{
  min-height:140px;
  resize:vertical;
}

.hh-aff-landing .affwp-form input:focus,
.hh-aff-landing .affwp-form textarea:focus,
.hh-aff-landing .affwp-form select:focus{
  outline:none;
  border-color:rgba(233,59,96,.55);
  box-shadow:0 0 0 3px rgba(233,59,96,.18),0 0 0 6px rgba(251,227,76,.18);
}

.hh-aff-landing .affwp-form input[type="checkbox"]{ transform:translateY(1px); }

/* Register button inside form */
.hh-aff-landing .affwp-form input[type="submit"],
.hh-aff-landing .affwp-form button,
.hh-aff-landing .affwp-button{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  border:0;
  border-radius:14px;
  padding:12px 18px;

  font-weight:900;
  cursor:pointer;

  color:#0b1220;
  background:linear-gradient(135deg,#fbe34c 0%,#ffd84a 50%,#e93b60 120%);
  background-size:140% 140%;
  box-shadow:0 10px 26px rgba(233,59,96,.18),0 2px 0 rgba(0,0,0,.10);

  transition:transform .18s ease, box-shadow .18s ease, background-position .25s ease;
}
.hh-aff-landing .affwp-form input[type="submit"]:hover,
.hh-aff-landing .affwp-form button:hover,
.hh-aff-landing .affwp-button:hover{
  transform:translateY(-2px);
  background-position:60% 40%;
  box-shadow:0 14px 34px rgba(233,59,96,.22),0 2px 0 rgba(0,0,0,.10);
}
.hh-aff-landing .affwp-form input[type="submit"]:active,
.hh-aff-landing .affwp-form button:active,
.hh-aff-landing .affwp-button:active{
  transform:translateY(0);
  box-shadow:0 8px 20px rgba(233,59,96,.18),0 1px 0 rgba(0,0,0,.10);
}
.hh-aff-landing .affwp-form input[type="submit"]:focus,
.hh-aff-landing .affwp-form button:focus,
.hh-aff-landing .affwp-button:focus{
  outline:none;
  box-shadow:var(--hh-ring);
}

/* No underline on hover for buttons */
.hh-aff-landing .hh-btn,
.hh-aff-landing .hh-btn:hover,
.hh-aff-landing .hh-btn:focus{
  text-decoration:none !important;
}

/* Footer CTA: no underline on hover for links inside the white card that look like UI */
.hh-footer-cta .hh-card a:hover,
.hh-footer-cta .hh-card a:focus{ text-decoration:none; }

/* Affiliate registration grid layout (shorter fields, darker labels, better spacing) */
.hh-footer-cta .affwp-register-form{
  margin-top:10px;
}

.hh-footer-cta .affwp-register-form fieldset{
  border:0;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px 18px;
  align-items:start;
}

.hh-footer-cta .affwp-register-form fieldset>*{
  min-width:0;
}

.hh-footer-cta .affwp-register-form legend{
  grid-column:1/-1;
  margin:0 0 6px;
  font-weight:900;
  font-size:18px;
  letter-spacing:-.01em;
  color:#0b1220;
}

.hh-footer-cta .affwp-register-form p{
  margin:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.hh-footer-cta .affwp-register-form label{
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  color:#0b1220;
}

.hh-footer-cta .affwp-register-form input[type="text"],
.hh-footer-cta .affwp-register-form input[type="email"],
.hh-footer-cta .affwp-register-form input[type="url"],
.hh-footer-cta .affwp-register-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(17,24,39,.18);
  border-radius:14px;
  background:#fff;
  color:#0b1220;
  padding:12px 14px;
  font-size:15px;
  line-height:1.35;
  outline:0;
  transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

.hh-footer-cta .affwp-register-form textarea{
  min-height:120px;
  resize:vertical;
}

.hh-footer-cta .affwp-register-form input[readonly]{
  background:rgba(249,250,251,.95);
  color:#111827;
  border-color:rgba(17,24,39,.14);
}

.hh-footer-cta .affwp-register-form input:focus,
.hh-footer-cta .affwp-register-form textarea:focus{
  border-color:rgba(233,59,96,.55);
  box-shadow:0 0 0 4px rgba(233,59,96,.14);
}

/* Hide entire rows for Payment Email + Website URL so grid doesn't leave gaps */
.hh-footer-cta .affwp-register-form fieldset > p:has(#affwp-payment-email),
.hh-footer-cta .affwp-register-form fieldset > p:has(#affwp-user-url){
  display:none !important;
}

/* Default: each field row occupies one grid cell */
.hh-footer-cta .affwp-register-form fieldset > p{
  grid-column:auto;
}

/* Full-width rows */
.hh-footer-cta .affwp-register-form fieldset > p:has(#affwp-promotion-method),
.hh-footer-cta .affwp-register-form fieldset > p:has(#affwp-tos){
  grid-column:1/-1;
}

/* Turnstile + submit alignment */
.hh-footer-cta .affwp-register-form fieldset > .cf-turnstile{
  grid-column:1/-1;
  margin-top:4px;
}

.hh-footer-cta .affwp-register-form label.affwp-tos{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
  font-weight:800;
  color:#0b1220;
}
.hh-footer-cta .affwp-register-form label.affwp-tos input{
  margin-top:3px;
  transform:scale(1.05);
}
.hh-footer-cta .affwp-register-form label.affwp-tos a{
  color:#e93b60;
  font-weight:900;
  text-decoration:none;
}
.hh-footer-cta .affwp-register-form label.affwp-tos a:hover{
  color:#c72a4a;
  text-decoration:none;
}

/* Make AffiliateWP submit (input.button) look like your primary and sit on its own row */
.hh-footer-cta .affwp-register-form input[type="submit"]{
  grid-column:1/-1;
  justify-self:start;
}

/* Responsive */
@media (max-width:960px){
  .hh-two{ grid-template-columns:1fr; }
  .hh-h1{ font-size:36px; }
  .hh-wrap{ padding:40px 16px; }
  .hh-hero{ padding:30px 20px; }
}

/* Mobile: reduce side padding and force stacking everywhere */
@media (max-width:600px){
  .hh-wrap{ padding:22px 12px; }
  .hh-hero{ padding:22px 16px; }
  .hh-h1{ font-size:34px; }
  .hh-cta-row{ gap:10px; }
  .hh-btn{ width:100%; justify-content:center; }
  .hh-badge-row{ gap:8px; }
.hh-badge{display:inline-flex;align-items:center;gap:8px}
.hh-badge i,.hh-badge .porto-icon{font-size:14px;line-height:1;opacity:.9;transform:translateY(.5px)}


  .hh-grid{
    grid-template-columns:1fr !important;
  }
  .hh-grid .hh-card{
    grid-column:1/-1 !important;
  }

  .hh-footer-cta{ padding:20px; }
  .hh-footer-cta .affwp-register-form fieldset{
    grid-template-columns:1fr;
  }

}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  .hh-hero:before{ animation:none; }
  .hh-btn,
  .hh-btn::after{ transition:none; }
}
/* Hero logo badge */
.hh-hero:after{
  content:"";
  position:absolute;
  top:22px;
  right:22px;
  width:118px;
  height:118px;
  border-radius:999px;
  background-image:url("https://highhippy.com/wp-content/uploads/2025/03/High-Hippy.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  box-shadow:0 18px 40px rgba(17,24,39,.18), 0 0 0 1px rgba(17,24,39,.10);
  z-index:3;
  pointer-events:none;
}

@media (max-width:820px){
  /* Hide logo on mobile/tablet */
  .hh-hero:after{ display:none !important; }
}

/* Hide the separate stamp element in favor of :after logo badge */
.hh-hero-stamp{ display:none !important; }

/* Feature strip badges */
.hh-badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  padding:10px;
  margin-top:14px;
  backdrop-filter:blur(8px);
}

.hh-badge{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  background:transparent;
  border:0;
  border-radius:12px;
  box-shadow:none;

  font-size:13px;
  font-weight:800;
  color:var(--hh-ink);
  position:relative;
}

/* divider lines between badges */
.hh-badge:not(:last-child)::after{
  content:"";
  position:absolute;
  right:-1px;
  top:10px;
  bottom:10px;
  width:1px;
  background:rgba(17,24,39,.10);
}

/* icon spacing */
.hh-badge i,
.hh-badge .porto-icon{
  margin-right:8px;
  font-size:14px;
  line-height:1;
  opacity:.9;
  transform:translateY(.5px);
}

/* Prevent any forced underlines on CTA buttons */
.hh-btn,
.hh-btn:hover,
.hh-btn:focus{ text-decoration:none !important; }

/* TOS embed box under the checkbox */
.hh-tos-embed{
  margin-top:12px;
  display:none;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
}

.hh-tos-embed-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  background:rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.12);
}

.hh-tos-embed-head strong{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.85);
}

.hh-tos-embed-head a{
  color:var(--hh-primary);
  font-weight:900;
  text-decoration:none;
}
.hh-tos-embed-head a:hover{ text-decoration:underline; }

.hh-tos-iframe{
  width:100%;
  height:320px;
  border:0;
  display:block;
  background:#fff;
}

@media (max-width:600px){
  .hh-tos-iframe{ height:360px; }
}
#why-join{border-top:none !important;}
/* TOS link: underline via border with spacing */
.hh-footer-cta .affwp-register-form label.affwp-tos a{
  text-decoration:none !important;
  border-bottom:2px solid currentColor;
  padding-bottom:3px;
  display:inline-block;
}

.hh-footer-cta .affwp-register-form label.affwp-tos a:hover{
  border-bottom-width:3px;
}

/* Hide by default, show when toggled */
.hh-tos-embed{ display:none; }
.hh-tos-embed.is-open{ display:block; }
.hh-tos-embed{
  display:block;          /* keep block so we can animate */
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .25s ease, opacity .2s ease;
}

.hh-tos-embed.is-open{
  max-height:800px;       /* big enough to fit your iframe */
  opacity:1;
}


/* Affiliate registration form enhancements */

/* Fallback utility classes added by JS */
.hh-footer-cta .affwp-register-form fieldset > p.hh-affwp-hidden{
  display:none !important;
}

.hh-footer-cta .affwp-register-form fieldset > p.hh-affwp-span-2,
.hh-footer-cta .affwp-register-form fieldset > p.hh-affwp-submit-row,
.hh-footer-cta .affwp-register-form fieldset > .hh-affwp-type-row,
.hh-footer-cta .affwp-register-form fieldset > .hh-affwp-business-fields{
  grid-column:1/-1;
}

/* Business / Individual row */
.hh-footer-cta .affwp-register-form .hh-affwp-type-row{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0 0 4px;
}

.hh-footer-cta .affwp-register-form .hh-affwp-type-title{
  display:none;
}

.hh-footer-cta .affwp-register-form .hh-affwp-type-options{
  display:flex;
  flex-wrap:wrap;
  gap:28px;
  align-items:center;
}

.hh-footer-cta .affwp-register-form .hh-affwp-option{
  display:inline-flex;
  align-items:center;
  cursor:pointer;
  user-select:none;
}

.hh-footer-cta .affwp-register-form .hh-affwp-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.hh-footer-cta .affwp-register-form .hh-affwp-option span{
  display:inline-flex;
  align-items:center;
  gap:16px;
  font-size:20px;
  line-height:1.1;
  font-weight:700;
  color:#0b1220;
}

.hh-footer-cta .affwp-register-form .hh-affwp-option span::after{
  content:"";
  width:34px;
  height:34px;
  border:2px solid #111;
  background:#fff;
  box-sizing:border-box;
  display:inline-block;
  transition:background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hh-footer-cta .affwp-register-form .hh-affwp-option input:checked + span::after{
  background:#111;
  box-shadow:inset 0 0 0 6px #fff;
}

/* Business-only fields block */
.hh-footer-cta .affwp-register-form .hh-affwp-business-fields{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px 18px;
  align-items:start;
  margin-top:2px;
}

.hh-footer-cta .affwp-register-form .hh-affwp-business-fields.is-hidden{
  display:none !important;
}

.hh-footer-cta .affwp-register-form .hh-affwp-field{
  margin:0;
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}

.hh-footer-cta .affwp-register-form .hh-affwp-field label{
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  color:#0b1220;
}

.hh-footer-cta .affwp-register-form .hh-affwp-field input[type="text"],
.hh-footer-cta .affwp-register-form .hh-affwp-field input[type="tel"],
.hh-footer-cta .affwp-register-form .hh-affwp-field textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(17,24,39,.18);
  border-radius:14px;
  background:#fff;
  color:#0b1220;
  padding:12px 14px;
  font-size:15px;
  line-height:1.35;
  outline:0;
  transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

.hh-footer-cta .affwp-register-form .hh-affwp-field input:focus,
.hh-footer-cta .affwp-register-form .hh-affwp-field textarea:focus{
  border-color:rgba(233,59,96,.55);
  box-shadow:0 0 0 4px rgba(233,59,96,.14);
}

.hh-footer-cta .affwp-register-form .hh-affwp-field textarea{
  min-height:120px;
  resize:vertical;
}

.hh-footer-cta .affwp-register-form .hh-affwp-span-2{
  grid-column:1/-1;
}

/* Make password fields match */
.hh-footer-cta .affwp-register-form input[type="password"]{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(17,24,39,.18);
  border-radius:14px;
  background:#fff;
  color:#0b1220;
  padding:12px 14px;
  font-size:15px;
  line-height:1.35;
  outline:0;
  transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

.hh-footer-cta .affwp-register-form input[type="password"]:focus{
  border-color:rgba(233,59,96,.55);
  box-shadow:0 0 0 4px rgba(233,59,96,.14);
}

/* Terms row spacing */
.hh-footer-cta .affwp-register-form fieldset > p:has(#affwp-tos){
  margin-top:4px;
}

.hh-footer-cta .affwp-register-form p.hh-affwp-submit-row{
  margin-top:6px;
}

.hh-footer-cta .affwp-register-form p.hh-affwp-submit-row input[type="submit"]{
  min-width:160px;
}

/* TOS embed sits nicely under terms row */
.hh-footer-cta .hh-tos-embed{
  grid-column:1/-1;
  margin-top:12px;
}

@media (max-width:600px){
  .hh-footer-cta .affwp-register-form .hh-affwp-type-options{
    gap:18px;
  }

  .hh-footer-cta .affwp-register-form .hh-affwp-option span{
    font-size:18px;
  }

  .hh-footer-cta .affwp-register-form .hh-affwp-option span::after{
    width:28px;
    height:28px;
  }

  .hh-footer-cta .affwp-register-form .hh-affwp-business-fields{
    grid-template-columns:1fr;
  }
}
