/* wedeliverdocs.com — locked design rotate
   page sonarly-dev rhythm · hero-payment-platform · clerk-com-header-0
   use-cases-flow · viewport-before-after · 60-logo-tips-author
   pricing-opl-master-hey-jay · hookable-ai-cta-3 · innovation-initiative
   hookable-ai-faq-8 · footer-superchat
   Flat fills only — no gradients, no box-shadow. */
:root {
  --primary: #5147E1;
  --primary-dark: #2B257E;
  --primary-tint: #EEEDFC;
  --ink: #16142A;
  --muted: #5C5878;
  --surface: #FFFBFF;
  --paper: #F6F4FB;
  --line: #E4E1F4;
  --footer: #12101F;
  --footer-muted: #A7A3C2;
  --radius: 18px;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 5.25rem;
}

html { scroll-behavior: smooth; }
body.en_wrapper,
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary-dark); }
button, input, textarea { font-family: inherit; }

.starter-main { padding: 0; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

/* Buttons — flat, no shadow */
.btn,
.primary-btn,
.docs-btn,
.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn:hover,
.primary-btn:hover,
.docs-btn:hover,
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 70%, transparent);
}
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ink {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--ink:hover { background: var(--primary-tint); color: var(--ink); }

/* Header — clerk-com-header-0 light */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(1180px, calc(100% - 1.5rem));
}
.site-header__brand img {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-header__nav a {
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
}
.site-header__nav a:hover,
.site-header__nav a.is-active { color: var(--ink); }
.site-header__auth-mobile { display: none; }
.site-header__tools { display: flex; align-items: center; gap: 0.55rem; }
.site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
}
.site-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}
.profile-auth { position: relative; }
.profile-auth__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 40px;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.profile-auth__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 11rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 60;
}
.profile-auth.is-open .profile-auth__menu { display: block; }
.profile-auth__menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}
.profile-auth__menu a:hover { background: var(--primary-tint); }
.header-cta { display: none; }

#dropBlock_wrapper { position: relative; }
.teams-dropdown-menu ul {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 70;
  min-width: 10rem;
}
.teams-dropdown-menu.active ul,
.teams-dropdown-menu.is-open ul { display: block; }
.teams-dropdown-menu li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  border-radius: 8px;
}
.teams-dropdown-menu .flg { width: 18px; height: 13px; object-fit: cover; }

/* Hero — hero-payment-platform split (flat, no shadow) */
.pay-hero { padding: 1.25rem 0 2.5rem; }
.pay-hero__shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border-radius: 28px;
  min-height: 28rem;
}
.pay-hero__copy {
  background: var(--primary);
  color: #fff;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pay-hero__copy h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.pay-hero__copy p {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: color-mix(in srgb, #fff 86%, transparent);
  font-size: 1.05rem;
}
.pay-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.pay-hero__media {
  background: var(--primary-dark);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.pay-hero__media img {
  width: min(100%, 28rem);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

/* Features — use-cases-flow */
.flow-sec {
  background: #111113;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.flow-sec__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.flow-sec h2 {
  margin: 0 0 0.6rem;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}
.flow-sec .lede { margin: 0 0 1.25rem; color: #a1a1aa; font-size: 0.95rem; }
.flow-card {
  background: #2A2B2E;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}
.flow-card h3 { margin: 0; font-size: 0.95rem; }
.flow-card p { margin: 0.35rem 0 0; color: #a1a1aa; font-size: 0.85rem; }
.flow-card .badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.flow-rail {
  border: 1px dashed #52525b;
  border-radius: 18px;
  padding: 1.25rem 1.1rem;
}
.flow-node { display: flex; gap: 0.75rem; align-items: flex-start; position: relative; padding-bottom: 1.35rem; }
.flow-node:last-child { padding-bottom: 0; }
.flow-node:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 0;
  border-left: 1px dashed #52525b;
}
.flow-node__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.flow-node h4 { margin: 0; color: #c8c3f6; font-size: 0.85rem; }
.flow-node p { margin: 0.15rem 0 0; color: #71717a; font-size: 0.75rem; }

/* How it works — viewport-before-after */
.path-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0 6rem; text-align: center; background: #fff; }
.path-sec .eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.path-sec h2 {
  margin: 0.5rem auto 0.6rem;
  max-width: 18ch;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}
.path-sec .lede { margin: 0 auto 1.25rem; max-width: 38rem; color: var(--muted); }
.path-frames { position: relative; margin: 2rem auto 0; max-width: 52rem; min-height: 22rem; text-align: left; }
.path-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
}
.path-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.path-frame--after {
  position: absolute;
  right: 0;
  top: 4.5rem;
  width: min(52%, 28rem);
}
.path-chip {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.path-frame--after .path-chip { left: auto; right: 0.8rem; background: var(--primary); color: #fff; }

/* About — 60-logo-tips-author */
.bio-sec { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--paper); text-align: center; }
.bio-sec img.bio-mark {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}
.bio-sec h2 {
  margin: 0 auto 0.75rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.bio-sec p { margin: 0 auto 0.8rem; max-width: 40rem; color: var(--muted); }
.bio-photo {
  margin: 1.5rem auto 0;
  width: min(100%, 42rem);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.bio-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Pricing — pricing-opl-master-hey-jay (one membership, CRM tokens) */
.price-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: #FAF8F5; }
.price-sec h2 {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.price-sec .lede { text-align: center; max-width: 36rem; margin: 0.6rem auto 1rem; color: var(--muted); }
.shape-row { display: flex; justify-content: center; gap: 0.55rem; flex-wrap: wrap; margin: 0 0 1.75rem; color: var(--primary); }
.shape-row span { width: 14px; height: 14px; background: var(--primary); display: inline-block; }
.shape-row span:nth-child(2n) { border-radius: 999px; background: var(--primary-dark); }
.shape-row span:nth-child(3n) { transform: rotate(45deg); background: #8B84F0; }
.price-card {
  max-width: 28rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.4rem;
}
.price-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
}
.price-card .amount { font-size: 2rem; font-weight: 700; margin: 0.6rem 0 0.2rem; }
.price-card ul { margin: 0.8rem 0 1rem; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.price-card li { margin: 0.35rem 0; }
.price-card li::before { content: "↳ "; color: var(--ink); }
.price-note { color: var(--muted); font-size: 0.85rem; margin: 0.75rem 0 0; }

/* CTA — hookable-ai-cta-3 */
.cta-band { padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; background: #fff; }
.cta-band h2 {
  margin: 0 auto 1rem;
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.cta-roll { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.cta-roll span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
  margin-top: 1.5rem;
}
.cta-split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

/* Contact — innovation-initiative */
.contact-band {
  background: var(--primary-dark);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.contact-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact-band p { color: color-mix(in srgb, #fff 82%, transparent); }
.contact-band a { color: #fff; }
.contact-panel {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 1.25rem;
}
.signup-form .form-group,
.auth-bounce__form .form-group {
  margin-bottom: 0.9rem;
}
.signup-form .user-input,
.cancel-form input,
.user-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: var(--ink);
}
.contact-panel form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-panel .form-group { margin: 0; }
.contact-panel .user-input,
.contact-panel input:not([type="hidden"]),
.contact-panel textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 3rem;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid #d8d3ee;
  border-radius: 12px;
  background: #f8f6ff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
}
.contact-panel textarea.user-input {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}
.contact-panel .user-input::placeholder {
  color: #8a86a6;
}
.contact-panel .user-input:focus,
.contact-panel input:not([type="hidden"]):focus,
.contact-panel textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
  background: #fff;
}
.contact-panel .btn {
  align-self: flex-start;
  margin-top: 0.15rem;
  min-width: 11rem;
}
.user-input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

/* FAQ — hookable-ai-faq-8 two-column, not button accordion */
.faq-sec, .faq-page { padding: clamp(3rem, 6vw, 4.5rem) 0; background: #FBF7F2; }
.faq-page {
  padding-left: clamp(1.5rem, 5vw, 2.75rem);
  padding-right: clamp(1.5rem, 5vw, 2.75rem);
}
.faq-sec h2, .faq-page > h1, .page-hero h1 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.faq-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.25rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.faq-items li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1rem 0.85rem;
}
.faq-items h3 { margin: 0 0 0.45rem; font-size: 1.02rem; }
.faq-items .answer, .faq-items .answer p { color: var(--muted); font-size: 0.92rem; }
.faq-items .answer { display: block !important; }
.faq-items table { width: 100%; border-collapse: collapse; margin: 0.6rem 0; font-size: 0.9rem; }
.faq-items th, .faq-items td { border: 1px solid var(--line); padding: 0.4rem 0.5rem; text-align: left; }

/* Footer — footer-superchat */
.site-footer { background: var(--footer); color: var(--footer-muted); }
.site-footer__main { padding: 3.5rem 0 2rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 2rem;
}
.site-footer h3 {
  margin: 0 0 0.85rem;
  color: #8d89a8;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer a { color: var(--footer-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.4rem 0; }
.footer-logo-link {
  display: inline-flex;
  background: none;
  padding: 0;
  margin-bottom: 0.85rem;
}
.footer-logo-link img {
  display: block;
  width: min(280px, 100%);
  height: auto;
}
.site-footer__trust { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.8rem; }
.site-footer__trust .visa-icons { height: 28px; width: auto; }
.site-footer__copy {
  border-top: 1px solid #1A1A2E;
  padding: 1rem 0;
  font-size: 0.88rem;
}
.site-footer__contact li { display: flex; gap: 0.45rem; align-items: flex-start; }

/* Inner pages */
.page-hero {
  padding: 2.5rem 0 0.5rem;
}
.page-hero p { color: var(--muted); max-width: 40rem; }

/* Policy — policy-overlay-fade-hero */
.policy-hero--overlay-fade {
  position: relative;
  min-height: clamp(16rem, 42vh, 25rem);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-color: var(--primary-dark);
  background-image: var(--policy-hero-img);
  background-size: cover;
  background-position: center;
}
.policy-hero--overlay-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary-dark) 58%, transparent);
}
.policy-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 2.5rem 1.25rem;
  animation: policy-overlay-in 0.75s 0.15s ease-out both;
}
.policy-hero--overlay-fade h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
}
.policy-hero--overlay-fade .policy-hero__lead {
  margin: 0 0 1rem;
  font-style: italic;
  color: #fff;
}
@keyframes policy-overlay-in {
  from { opacity: 0; transform: translateY(0.4rem); }
  to { opacity: 1; transform: none; }
}
.policy-main { padding: 2rem 1.25rem 3.5rem; }
.policy-content, .policy-content.wrap, .wrap {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  overflow-x: visible;
}
.wrap table, .policy-content table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0 1.5rem;
  font-size: 15px;
  border: 1px solid var(--line);
  table-layout: fixed;
  border-radius: 10px;
  overflow: hidden;
}
.wrap table th, .wrap table td,
.policy-content table th, .policy-content table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}
.wrap table th, .policy-content table th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
}
.policy-content a:not([class*="btn"]):not(.policy-hero__cta),
.wrap a:not([class*="btn"]):not(.policy-hero__cta) {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* Auth — auth-bounce-split */
.auth-stage--bounce {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  background-color: var(--primary-dark);
  background-image: var(--auth-stage-img);
  background-size: cover;
  background-position: center;
}
.auth-bounce { position: relative; width: min(100%, 56rem); }
.auth-bounce__rails {
  display: flex;
  background: color-mix(in srgb, #111 82%, transparent);
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
}
.auth-bounce__rail { width: 50%; padding: 2.2rem 1.4rem; }
.auth-bounce__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #fff;
}
.auth-bounce__lead { margin: 0; font-size: 0.95rem; }
.auth-bounce__card {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: calc(50% - 1.4rem);
  max-height: min(88vh, 42rem);
  overflow: auto;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transform: translate3d(100%, -50%, 0);
}
.auth-bounce__form-title {
  margin: 0 0 0.8rem;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.signup-pricing-box {
  background: var(--primary-tint);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink);
}
.signup-pricing-box p { margin: 0.25rem 0; }

/* Welcome — welcome-compact-icon */
#welcomeModal.modal-overlay.open,
#welcomeModal.modal-overlay.show,
#welcomeModal.modal-overlay[style*="flex"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  z-index: 10000;
  position: fixed;
  inset: 0;
  padding: 1.25rem;
}
#welcomeModal .welcome-card,
#welcomeModal .welcome-card--compact {
  width: min(20rem, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.35rem 1.5rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-family: var(--font-sans);
}
#welcomeModal .welcome-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
}
#welcomeModal h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
#welcomeModal .content { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
#welcomeModal .welcome-consent { text-align: left; font-size: 0.84rem; width: 100%; }
#welcomeModal a { color: var(--primary-dark); }
#welcomeModal .welcome-actions { width: 100%; }
#welcomeModal .welcome-actions .btn { width: 100%; }

/* Login / forgot modals match bounce card */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open, .modal-overlay.show { display: flex !important; }
.modal {
  width: min(24rem, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  position: relative;
}
.modal h3 { margin: 0 0 0.8rem; font-family: var(--font-display); color: var(--primary); }
.close-btn {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}
.auth-submit, .signup-submit, .my-button.contact, .cancel-now {
  width: 100%;
  margin-top: 0.4rem;
}
.factory-chat-now {
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
}
.factory-chat-now:hover { color: #fff !important; }

/* Support */
.support-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0 3.5rem;
}
.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.support-contact, .support-cancel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  background: #fff;
}
.support-cancel { background: var(--primary-tint); }

@media (max-width: 980px) {
  .site-header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }
  .site-header.is-open .site-header__nav { display: flex; }
  .site-header__auth-mobile { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.4rem; }
  .site-header__toggle { display: inline-block; }
  .header-cta { display: none; }
  .pay-hero__shell, .flow-sec__grid, .contact-grid, .cta-split, .site-footer__grid, .faq-items, .support-layout, .auth-bounce__rails {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; }
  .auth-bounce__rail, .auth-bounce__card {
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-height: none;
  }
  .auth-bounce__card { margin-top: 0.8rem; }
  .path-frame--after { position: relative; top: auto; width: 88%; margin: -2.5rem 0 0 auto; }
  .path-frames { min-height: 0; }
}
@media (max-width: 640px) {
  .site-footer__grid, .faq-items { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .policy-hero__inner { animation: none; }
}
