/* ==========================================================================
   omeglealternative.cam — "The Open Door" design system
   Light, warm, card-stack motif — deliberately distinct from the dark-mode
   siblings in this network. Keep additions consolidated here.
   ========================================================================== */

:root {
  /* Color */
  --paper: #FFF8F0;
  --paper-2: #FFF0E0;
  --ink: #1A1512;
  --ink-soft: #4A423C;
  --flame: #FF4B3E;
  --teal: #00A896;
  --sunbeam: #FFC93C;
  --white: #FFFFFF;
  --gradient-flame: linear-gradient(135deg, #FF4B3E 0%, #FF8A3D 100%);
  --dark-band: linear-gradient(180deg, #1A1512 0%, #2A211C 100%);

  /* Type */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Layout */
  --content-width: 1200px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset-ish base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* !important guard: Astra (parent theme) prints its own dynamic CSS which
   has repeatedly overridden base colors in this network's other sites —
   guaranteeing this from the start rather than discovering it under fire. */
html, body {
  background: var(--paper) !important;
  color: var(--ink) !important;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 0.5em; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
body.age-gate-active { overflow: hidden; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; width: auto; height: auto;
  background: var(--flame); color: var(--white); padding: 0.75em 1.25em;
  border-radius: var(--radius-sm); z-index: 999; clip: auto; font-weight: 700;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.section-inner { max-width: var(--content-width); margin: 0 auto; padding: 6rem 1.5rem; }
.section-inner--narrow { max-width: 780px; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); color: var(--ink); }
.section-title--light { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--flame); margin-bottom: 1rem;
}
.eyebrow--teal { color: var(--teal); }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--flame);
  box-shadow: 0 0 0 0 rgba(255,75,62,0.5); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,75,62,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(255,75,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,75,62,0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.9em 1.7em; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn--primary {
  background: var(--gradient-flame); color: var(--white);
  box-shadow: 0 10px 26px -8px rgba(255, 75, 62, 0.45);
}
.btn--primary:hover { box-shadow: 0 14px 30px -6px rgba(255, 75, 62, 0.55); transform: translateY(-2px); }
.btn--large { padding: 1.1em 2em; font-size: 1.04rem; }
.btn__icon { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--ghost { background: rgba(26,21,18,0.06); color: var(--ink); border: 1px solid rgba(26,21,18,0.14); box-shadow: none; }
.btn--ghost:hover { background: rgba(26,21,18,0.1); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid rgba(26,21,18,0.07); transition: box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(26,21,18,0.3); }
.site-header__inner { max-width: var(--content-width); margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1.5rem; }

.site-logo { display: flex; align-items: center; gap: 0.65em; }
.site-logo__icon { width: 32px; height: 32px; flex-shrink: 0; }
.site-logo__word { display: flex; flex-direction: column; line-height: 1; }
.site-logo__word-main { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--flame); }
.site-logo__word-tag { font-family: var(--font-body); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; margin-top: 2px; display: inline-flex; align-items: center; gap: 0.4em; }
.site-logo__word-tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: pulse-dot-small 2.2s infinite; flex-shrink: 0; }
@keyframes pulse-dot-small {
  0% { box-shadow: 0 0 0 0 rgba(0,168,150,0.55); }
  70% { box-shadow: 0 0 0 4px rgba(0,168,150,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,150,0); }
}

/* ---------- Hero: true split-screen, not a grid-with-side-graphic ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: 88vh; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1fr; }
}

.hero__copy-panel { display: flex; align-items: center; padding: 3rem 1.5rem; background: var(--paper); }
.hero__copy { max-width: 480px; margin: 0 auto; width: 100%; }
@media (min-width: 960px) { .hero__copy { margin: 0 0 0 auto; padding-right: 3rem; } }

.hero__title { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; color: var(--ink); }
.hero__title-accent { display: block; color: var(--flame); }
.hero__subtitle { max-width: 46ch; font-size: 1.1rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin: 1.75rem 0 2.5rem; }
.hero__note { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; opacity: 0.55; margin: 0; }

.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__stat dt { font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.5; margin-bottom: 0.35em; }
.hero__stat dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--teal); }

/* Right panel: full-height dark app-mockup, not a small floating card */
.hero__preview-panel {
  position: relative; background: var(--dark-band); display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem; min-height: 50vh; overflow: hidden;
}
.hero__preview-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 30% 20%, rgba(255,75,62,0.16) 0%, transparent 60%),
              radial-gradient(45% 45% at 80% 80%, rgba(255,201,60,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* App-mockup frame: a fake browser/app chrome, not a card floating on gradient */
.app-mock { position: relative; z-index: 1; width: 100%; max-width: 380px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6); }
.app-mock__bar { background: rgba(255,255,255,0.06); padding: 0.7rem 1rem; display: flex; align-items: center; gap: 0.5rem; }
.app-mock__dot { width: 9px; height: 9px; border-radius: 50%; }
.app-mock__dot--1 { background: #FF5F57; }
.app-mock__dot--2 { background: #FEBC2E; }
.app-mock__dot--3 { background: #28C840; }
.app-mock__url { margin-left: 0.6rem; font-family: var(--font-body); font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.app-mock__body { position: relative; aspect-ratio: 4 / 5; background: #12100E; }
.app-mock__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: mock-fade-in 0.8s var(--ease-out) 0.3s forwards; }
@keyframes mock-fade-in { to { opacity: 1; } }
.app-mock__body::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,21,18,0.1) 0%, rgba(26,21,18,0.65) 100%),
              linear-gradient(135deg, rgba(255,75,62,0.2), rgba(255,201,60,0.14));
  mix-blend-mode: multiply;
}
.app-mock__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.4em;
  background: rgba(255,255,255,0.95); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  padding: 0.4em 0.8em; border-radius: 999px;
}
.app-mock__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse-dot 1.8s infinite; }
.app-mock__tags { position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 3; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.app-mock__tag { font-family: var(--font-body); font-weight: 700; font-size: 0.68rem; padding: 0.35em 0.7em; border-radius: 999px; background: rgba(255,255,255,0.14); color: var(--white); backdrop-filter: blur(6px); }
.app-mock__tag--active { background: var(--gradient-flame); }
.app-mock__skip {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}

.hero__scroll-cue { display: none; }

/* ---------- Then vs Now band (unique to this site's positioning) ---------- */
.legacy-band { background: var(--dark-band); color: var(--white); }
.legacy-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 780px) { .legacy-grid { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.legacy-col { padding: 2rem; border-radius: var(--radius-md); }
.legacy-col--then { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); opacity: 0.7; }
.legacy-col--now { background: rgba(255,201,60,0.08); border: 1px solid rgba(255,201,60,0.25); }
.legacy-col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.legacy-col--then h3 { color: rgba(255,255,255,0.6); }
.legacy-col--now h3 { color: var(--sunbeam); }
.legacy-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.legacy-col li { font-size: 0.94rem; opacity: 0.85; display: flex; gap: 0.6em; align-items: baseline; }
.legacy-col--then li::before { content: '✕'; color: rgba(255,255,255,0.4); flex-shrink: 0; }
.legacy-col--now li::before { content: '✓'; color: var(--sunbeam); flex-shrink: 0; font-weight: 700; }
.legacy-arrow { display: none; font-size: 1.5rem; color: var(--sunbeam); text-align: center; }
@media (min-width: 780px) { .legacy-arrow { display: block; } }

/* ---------- Consolidated product tour: replaces 3 separate card-grid
   sections (Features/How It Works/Trust) with one flowing alternating
   editorial sequence — the actual structural fix, not a re-skin. ---------- */
.tour { background: var(--white); }
.tour-item { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; padding: 3rem 0; }
.tour-item + .tour-item { border-top: 1px solid rgba(26,21,18,0.07); }
@media (min-width: 860px) {
  .tour-item { grid-template-columns: 100px 1fr; gap: 2.5rem; }
  .tour-item--reverse { grid-template-columns: 1fr 100px; }
  .tour-item--reverse .tour-item__num { order: 2; }
}
.tour-item__num {
  font-family: var(--font-display); font-weight: 700; font-size: 3rem;
  color: rgba(26,21,18,0.08); line-height: 1;
}
.tour-item__body h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 0.5em; }
.tour-item__body p { color: var(--ink-soft); font-size: 1rem; max-width: 60ch; margin-bottom: 0; }
.tour-item__tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.76rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6em; }
.tour-cta { display: flex; justify-content: center; padding-top: 2.5rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-more { text-align: center; margin-top: 2rem; }
.faq-more a { font-weight: 700; color: var(--flame); font-family: var(--font-display); transition: opacity 0.2s ease; }
.faq-more a:hover { opacity: 0.7; }
.faq-item { border: 2px solid rgba(26,21,18,0.08); border-radius: var(--radius-sm); padding: 1rem 1.25rem; background: var(--white); }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); list-style: none; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--flame); }
.faq-item[open] summary::after { content: '–'; }
.faq-item div { padding-top: 0.75rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer__inner { max-width: var(--content-width); margin: 0 auto; padding: 3.5rem 1.5rem 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; } }
.site-footer__col--brand { max-width: 320px; }
.site-footer__brand { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.9rem; }
.site-footer__brand .site-logo__word-main { color: var(--flame); }
.site-footer__tagline { font-size: 0.9rem; opacity: 0.65; margin-bottom: 1rem; }
.site-footer__status { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.5; margin: 0; }
.site-footer__col-title { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sunbeam); margin: 0 0 1.1rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a { position: relative; font-size: 0.9rem; opacity: 0.75; transition: opacity 0.2s ease, padding-left 0.2s ease; }
.site-footer__list a::before { content: '→'; position: absolute; left: -1.1em; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; transform: translateX(-4px); color: var(--flame); }
.site-footer__list a:hover { opacity: 1; padding-left: 1.1em; }
.site-footer__list a:hover::before { opacity: 1; transform: translateX(0); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.75rem; }
.site-footer__legal { opacity: 0.4; font-size: 0.8rem; margin: 0; }
.site-footer__top {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16) !important;
  background: rgba(255,255,255,0.06) !important; color: var(--paper) !important; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.site-footer__top:hover { background: var(--gradient-flame) !important; }

/* ---------- Generic page ---------- */
.generic-page { padding-top: 2rem; }
.generic-post__content { color: var(--ink-soft); }
.generic-post__content h2 { font-size: 1.5rem; margin-top: 2.2em; margin-bottom: 0.5em; color: var(--ink); }
.generic-post__content h2:first-child { margin-top: 0; }
.generic-post__content h3 { font-size: 1.12rem; margin-top: 1.6em; margin-bottom: 0.4em; color: var(--ink); }
.generic-post__content p { margin-bottom: 1.1em; line-height: 1.7; }
.generic-post__content ul, .generic-post__content ol { margin: 0 0 1.1em; padding-left: 1.4em; list-style: revert; }
.generic-post__content li { margin-bottom: 0.5em; line-height: 1.6; }
.generic-post__content a { color: var(--flame); text-decoration: underline; text-underline-offset: 2px; }
.generic-post__content strong { color: var(--ink); }
.generic-post__content .pvc-updated { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; opacity: 0.5; margin-bottom: 2.5em; }

/* ---------- Contact Form 7 ---------- */
.wpcf7-form { margin-top: 2rem; }
.wpcf7-form p { margin-bottom: 1.4rem; }
.wpcf7-form label { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--ink) !important; margin-bottom: 0.5em; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="url"], .wpcf7-form textarea {
  width: 100%; padding: 0.85em 1em; border-radius: var(--radius-sm);
  border: 2px solid rgba(26,21,18,0.1); background: var(--white);
  color: var(--ink); font-family: var(--font-body); font-size: 0.94rem;
  transition: border-color 0.2s ease;
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--flame); }
.wpcf7-form input[type="submit"] {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.9em 1.7em; border-radius: 999px; border: none !important; cursor: pointer;
  background: var(--gradient-flame) !important; color: var(--white) !important;
  box-shadow: 0 10px 26px -8px rgba(255, 75, 62, 0.45);
}
.wpcf7-not-valid-tip { color: var(--flame); font-size: 0.84rem; margin-top: 0.4em; }
.wpcf7-response-output { margin-top: 1.5rem !important; padding: 1em 1.25em; border-radius: var(--radius-sm); border: 2px solid rgba(26,21,18,0.1); font-size: 0.9rem; }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: radial-gradient(60% 60% at 30% 20%, rgba(255,75,62,0.14) 0%, transparent 60%),
              radial-gradient(50% 50% at 85% 80%, rgba(0,168,150,0.12) 0%, transparent 60%),
              var(--paper);
}
.age-gate[hidden] { display: none; }
.age-gate__card {
  position: relative; max-width: 440px; width: 100%; text-align: center;
  background: var(--white); border: 1px solid rgba(26,21,18,0.08);
  border-radius: var(--radius-lg); padding: 2.75rem 2.25rem 2.25rem;
  box-shadow: 0 40px 90px -30px rgba(26,21,18,0.35); animation: gate-in 0.6s var(--ease-out);
}
@keyframes gate-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.age-gate__mark {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 1.25rem;
  background: var(--gradient-flame); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.05rem;
}
.age-gate__title { color: var(--ink); font-size: 1.55rem; margin-bottom: 0.5rem; }
.age-gate__copy { color: var(--ink-soft); font-size: 0.96rem; max-width: 34ch; margin: 0 auto 1.75rem; }
.age-gate__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.age-gate__legal { font-family: var(--font-body); font-size: 0.7rem; opacity: 0.45; margin: 1.5rem 0 0; }

/* ---------- Chat page (full-bleed, no site header/footer) ---------- */
body.oa-chat-fullscreen { margin: 0; overflow: hidden; background: var(--ink) !important; }
.oa-chat-fullscreen__main { display: block; width: 100vw; height: 100dvh; }
.oa-chat-fullscreen__main iframe { width: 100%; height: 100%; border: 0; display: block; }
.oa-chat-fullscreen__main > *:not(.oa-chat-fullscreen__unconfigured) { width: 100%; height: 100%; }
.oa-chat-fullscreen__unconfigured {
  display: flex; align-items: center; justify-content: center; height: 100%; padding: 2rem; text-align: center;
  color: var(--paper); font-family: var(--font-body); font-size: 0.9rem; opacity: 0.7;
}

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; padding: 0.75rem 1rem;
  background: rgba(255,248,240,0.95); backdrop-filter: blur(14px); border-top: 1px solid rgba(26,21,18,0.08);
  transform: translateY(100%); transition: transform 0.4s var(--ease-out);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
.mobile-cta-bar .btn { width: 100%; justify-content: center; }
@media (min-width: 720px) { .mobile-cta-bar { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


