/* AI for Every Woman - Post-Webinar Resource Hub
   Shared stylesheet. Mobile-first. */

:root {
  --cream: #F5F0E8;
  --navy: #1B2B4B;
  --teal: #3AACBF;
  --near-black: #1A1A1A;
  --charcoal: #3D3D3D;
  --mid-grey: #6B6B6B;
  --light-grey: #9E9E9E;
  --divider: #D9D4C7;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1100px;
  --radius: 14px;
}

/* Reset */
* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--near-black);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.6em 0;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 500;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: 10px 0;
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Nav */
.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  color: #F5F0E8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(58, 172, 191, 0.18);
  color: #fff;
}

.main-nav a[aria-current="page"] {
  color: var(--teal);
  font-weight: 600;
}

.main-nav a.nav-download,
.mobile-nav a.nav-download {
  background: var(--teal);
  color: #0C2130;
  font-weight: 600;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.main-nav a.nav-download {
  padding: 8px 16px;
  margin-left: 4px;
}

.main-nav a.nav-download:hover,
.main-nav a.nav-download:focus-visible,
.mobile-nav a.nav-download:hover,
.mobile-nav a.nav-download:focus-visible {
  background: #33a0b3;
  color: #0C2130;
}

.mobile-nav a.nav-download {
  justify-content: center;
  margin: 10px 4px 4px;
  border-top: none;
  padding: 10px 16px;
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle .bar {
  position: relative;
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease;
}

.nav-toggle .bar::before { top: -8px; }
.nav-toggle .bar::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .bar::before {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  background: var(--navy);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
}

.mobile-nav.is-open {
  max-height: 480px;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 4px 20px 20px;
}

.mobile-nav a {
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 4px;
  color: #F5F0E8;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a[aria-current="page"] {
  color: var(--teal);
  font-weight: 600;
}

.no-js .mobile-nav {
  max-height: none;
}
.no-js .nav-toggle {
  display: none;
}

@media (min-width: 1090px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 56px 0 64px;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 0.5em;
}

.hero .rule {
  width: 56px;
  height: 3px;
  background: var(--teal);
  border: none;
  margin: 0 0 22px 0;
}

.hero p.sub {
  font-size: 1.1rem;
  color: #E7E2D6;
  max-width: 46ch;
  margin: 0;
}

@media (min-width: 700px) {
  .hero h1 { font-size: 3.1rem; }
}

/* ---------- Sections ---------- */
section {
  padding: 48px 0;
}

.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2 { color: #fff; }

.section-heading {
  margin-bottom: 28px;
}

.section-heading .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: #0C2130;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #33a0b3;
  box-shadow: 0 4px 14px rgba(58,172,191,0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(58,172,191,0.12);
}

.btn-whatsapp {
  background: #25D366;
  color: #000000;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background: #22c15e;
}
.footer-links a.btn-whatsapp {
  color: #000000;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--navy);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.copy-btn:hover, .copy-btn:focus-visible {
  background: rgba(58,172,191,0.1);
}

.copy-confirm {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-left: 4px;
}
.copy-confirm.is-visible {
  opacity: 1;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 620px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none;
  color: var(--near-black);
  display: block;
  border: 1px solid var(--divider);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27,43,75,0.10);
}

.card .card-icon { margin-bottom: 14px; }

.card h3 { margin-bottom: 0.4em; }

.card p {
  color: var(--charcoal);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Highlight box ---------- */
.highlight-box {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 24px;
  margin: 24px 0;
}

.highlight-box.alt {
  background: #EFF7F8;
}

.highlight-box h3 {
  margin-bottom: 0.5em;
}

/* ---------- Prompt cards ---------- */
.prompt-card {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px;
  margin-bottom: 24px;
  border-top: 1px solid var(--divider);
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.prompt-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(58,172,191,0.12);
  padding: 5px 10px;
  border-radius: 999px;
}

.tag.tag-fun {
  color: #8A5A2A;
  background: rgba(184,154,122,0.22);
}

.prompt-card h3 {
  margin-bottom: 0.5em;
}

.attach-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 4px;
}

.attach-text {
  color: var(--charcoal);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.prompt-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--charcoal);
  background: var(--cream);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 16px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.prompt-tip {
  color: var(--mid-grey);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.prompt-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Numbered tips ---------- */
.tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tip;
}

.tip-list li {
  counter-increment: tip;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}

.tip-list li:first-child { padding-top: 0; }

.tip-list li::before {
  content: counter(tip);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(58,172,191,0.14);
  color: var(--teal);
  font-weight: 700;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.tip-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}

.tip-list p {
  color: var(--charcoal);
  margin: 0;
}

/* ---------- Step list ---------- */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list li {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* ---------- Note / letter block ---------- */
.letter {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--divider);
}

.letter p { color: var(--charcoal); }
.letter .signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--near-black);
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 44px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand .logo-img {
  height: 26px;
}

.site-footer p {
  color: #D9D4C7;
  max-width: 60ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--teal);
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 26px;
  padding-top: 18px;
  font-size: 0.85rem;
  color: var(--light-grey);
}

@media (min-width: 700px) {
  .footer-links {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ---------- Inline section screenshots ---------- */
.section-image {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 20px auto;
  border-radius: 14px;
  border: 1px solid var(--divider);
  box-shadow: 0 10px 24px rgba(27, 43, 75, 0.10);
}

.section-image.wide {
  max-width: 100%;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.split-layout .section-image {
  margin: 0;
  max-width: 100%;
}

@media (min-width: 700px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal,
.reduce-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card, .btn, .nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after {
    transition: none;
  }
}

/* ---------- Misc ---------- */
.divider-rule {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 40px 0;
}

.page-content ul.plain {
  padding-left: 1.2em;
}
.page-content ul.plain li {
  margin-bottom: 0.5em;
  color: var(--charcoal);
}

.text-lede {
  font-size: 1.08rem;
  color: var(--charcoal);
  max-width: 62ch;
}
