/* Lead Circle Australia — shared styles */

:root {
  --navy: #0b2573;
  --navy-dark: #0b2147;
  --ink: #1a1a2e;
  --muted: #5b6172;
  --border: #e6e8ef;
  --bg-soft: #f6f7fb;
  --white: #ffffff;
  --radius: 12px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.logo img { height: 58px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-actions .login-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .site-header .container { height: 84px; }

  .logo img { height: 44px; }

  .menu-toggle { display: flex; }

  .header-actions {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px -12px rgba(11, 37, 115, 0.15);
    padding: 4px 24px 20px;
  }

  .header-actions.open { display: flex; }

  .header-actions .login-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-actions .btn {
    margin-top: 16px;
    text-align: center;
    width: 100%;
  }
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 8px;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover { opacity: 0.9; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-large { padding: 15px 30px; font-size: 1.05rem; }

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 96px 0 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-weight: 800;
  max-width: 1140px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.hero ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.hero ul li {
  position: relative;
  padding-left: 28px;
  font-size: 1.05rem;
}

.hero ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 800;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Sections */
section { padding: 80px 0; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 16px;
}

/* How It Works video */
.how-it-works-video {
  margin: 0 0 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -20px rgba(11, 37, 115, 0.25);
  background: #000;
  line-height: 0;
}

.how-it-works-video video { width: 100%; display: block; }

/* Phone mockup + copy row */
.how-it-works-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.how-it-works-copy .copy h3 {
  font-size: 1.4rem;
  margin: 0 0 18px;
  color: var(--ink);
}

.how-it-works-copy .copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.how-it-works-copy .copy p.cta-note {
  margin: 16px 0 0;
  color: var(--muted);
}

.how-it-works-copy .shot img {
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .how-it-works-copy { grid-template-columns: 1fr 1fr; }
}

/* FAQ */
.faq { background: var(--bg-soft); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }

details.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 20px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

details.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .answer { padding: 0 0 18px; color: var(--muted); }
.faq-item .answer p { margin: 0 0 10px; }
.faq-item .answer p:last-child { margin-bottom: 0; }
.faq-item .answer ul { margin: 8px 0; padding-left: 20px; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-logo img { height: 30px; margin-bottom: 16px; }

.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-grid p, .footer-grid a { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--white); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .legal-links { display: flex; gap: 20px; }

/* Legal pages */
.legal-page { padding: 64px 0 96px; }
.legal-page .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; color: var(--navy-dark); margin: 40px 0 12px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--ink); }
.legal-page ul { padding-left: 22px; }
.legal-page > .container { max-width: 820px; }
