/* ============================================================
   THE BROKERAGE GUIDE — Landing Page Styles
   Colors: Main #1852a4 | White #f9f9fa | Green #44fa28
   Fonts: Helvetica Bold (main) | Moderate (supporting) | Akkurat Mono (sub)
   ============================================================ */

/* --- FONT DECLARATIONS (swap src paths when fonts are added) --- */
@font-face {
  font-family: 'Helvetica';
  src: url('../fonts/Helvetica.ttc') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Moderat';
  src: url('../fonts/Moderat Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Akkurat Mono';
  src: url('../fonts/Akkurat-Mono.OTF') format('opentype');
  font-weight: normal;
  font-display: swap;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:  #1852a4;
  --white: #f9f9fa;
  --green: #44fa28;
  --dark:  #0d0d0d;
  --mid:   #444;
  --light-rule: rgba(24, 82, 164, 0.12);

  --font-main:      'Helvetica', 'Helvetica Neue', Arial, sans-serif;
  --font-supporting: 'Moderat', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:      'Akkurat Mono', 'Courier New', monospace;

  --max-width: 1120px;
  --section-pad: 96px 24px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--dark);
  font-family: var(--font-supporting);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- UTILITY --- */
.section-inner,
.nav-inner,
.hero-inner,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Akkurat Mono always uppercase --- */
* {
  font-family: inherit;
}
:is(
  .tag, .hero-subtitle, .form-note, .form-error, .form-success,
  .section-label, .card-num, .rule-label, .rule-source,
  .footer-tagline, .disclaimer-heading, .footer-link, .footer-copy
) {
  text-transform: uppercase;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-rule);
  padding: 20px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 480px;
  height: 480px;
  background: transparent;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue);
  background: rgba(24,82,164,0.08);
  border: 1px solid rgba(24,82,164,0.2);
  padding: 5px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

.hero-desc {
  font-family: var(--font-supporting);
  font-size: 18px;
  line-height: 1.7;
  color: var(--mid);
  max-width: 560px;
  margin-bottom: 44px;
}

.hero-rule {
  height: 4px;
  background: var(--blue);
}

/* --- CHECKLIST MOCKUP --- */
.hero-mockup {
  flex-shrink: 0;
  width: 300px;
  perspective: 1000px;
}

.mockup-card {
  background: var(--blue);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(24,82,164,0.08),
    0 12px 32px rgba(24,82,164,0.18),
    0 32px 64px rgba(0,0,0,0.12);
  transform: rotate(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mockup-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 8px 12px rgba(24,82,164,0.1),
    0 20px 48px rgba(24,82,164,0.22),
    0 48px 80px rgba(0,0,0,0.14);
}

.mockup-header {
  background: rgba(0,0,0,0.2);
  padding: 14px 20px;
}

.mockup-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(249,249,250,0.6);
  text-transform: uppercase;
}

.mockup-body {
  padding: 28px 24px 24px;
}

.mockup-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mockup-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}

.mockup-sub {
  font-family: var(--font-supporting);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(249,249,250,0.55);
  margin-bottom: 24px;
}

.mockup-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mockup-list li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(249,249,250,0.8);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-check {
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
}

.mockup-footer {
  background: rgba(0,0,0,0.15);
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mockup-url {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(249,249,250,0.3);
  text-transform: uppercase;
}

/* --- INLINE DISCLAIMER --- */
.inline-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(24,82,164,0.05);
  border: 1px solid rgba(24,82,164,0.15);
  border-radius: 3px;
  padding: 10px 14px;
  margin-bottom: 24px;
  max-width: 560px;
}

.inline-disclaimer-icon {
  font-size: 13px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
  font-style: normal;
}

.inline-disclaimer p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #666;
  text-transform: uppercase;
}

.inline-disclaimer a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   EMAIL FORM
   ============================================================ */
.email-form {
  max-width: 600px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 260px;
  height: 54px;
  padding: 0 18px;
  font-family: var(--font-supporting);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid rgba(24,82,164,0.3);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s;
}

.email-input::placeholder {
  color: #aaa;
}

.email-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24,82,164,0.1);
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 26px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.cta-btn:hover {
  background: #143e85;
}

.cta-btn:active {
  transform: scale(0.98);
}

.btn-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #999;
  margin-top: 12px;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #e53e3e;
  margin-top: 10px;
  min-height: 18px;
}

.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #1a7f37;
  background: rgba(68,250,40,0.1);
  border: 1px solid rgba(68,250,40,0.4);
  padding: 10px 16px;
  border-radius: 3px;
  margin-top: 14px;
}

.form-success.visible {
  display: block;
}

/* ============================================================
   WHAT YOU GET
   ============================================================ */
.what-you-get {
  background: var(--white);
  padding: var(--section-pad);
  border-top: 1px solid var(--light-rule);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark);
  max-width: 600px;
  margin-bottom: 64px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--light-rule);
  border: 1px solid var(--light-rule);
  border-radius: 4px;
  overflow: hidden;
}

.checklist-card {
  background: var(--white);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

.checklist-card:hover {
  background: rgba(24,82,164,0.025);
}

.accent-card {
  background: var(--blue);
}

.accent-card:hover {
  background: #143e85;
}

.accent-card .card-num {
  color: rgba(249,249,250,0.4);
}

.accent-card .card-title {
  color: var(--white);
}

.accent-card .card-body {
  color: rgba(249,249,250,0.75);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(24,82,164,0.4);
}

.card-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--dark);
}

.card-body {
  font-family: var(--font-supporting);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mid);
}

/* ============================================================
   RULE TO REMEMBER
   ============================================================ */
.rule-section {
  background: var(--dark);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.rule-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.rule-block {
  max-width: 720px;
}

.rule-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}

.rule-quote {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  border: none;
  margin-bottom: 24px;
}

.rule-source {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(249,249,250,0.4);
}

/* ============================================================
   SECOND CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--white);
  padding: var(--section-pad);
  border-top: 1px solid var(--light-rule);
}

.cta-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark);
  max-width: 560px;
  margin-bottom: 16px;
}

.cta-body {
  font-family: var(--font-supporting);
  font-size: 17px;
  color: var(--mid);
  margin-bottom: 40px;
  max-width: 480px;
}

/* ============================================================
   FOOTER & DISCLAIMER
   ============================================================ */
.footer {
  background: #0d0d0d;
  padding: 72px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  color: var(--white);
  font-size: 13px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(249,249,250,0.3);
}

.disclaimer-block {
  border-top: 1px solid rgba(249,249,250,0.08);
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disclaimer-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249,249,250,0.35);
  margin-bottom: 4px;
}

.disclaimer-text {
  font-family: var(--font-supporting);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(249,249,250,0.35);
  max-width: 840px;
}

.disclaimer-text strong {
  color: rgba(249,249,250,0.5);
  font-weight: normal;
  font-family: var(--font-main);
  font-weight: 700;
}

.disclaimer-state {
  padding-top: 10px;
  border-top: 1px solid rgba(249,249,250,0.06);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(249,249,250,0.08);
  padding-top: 28px;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(249,249,250,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(249,249,250,0.2);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .hero-mockup {
    width: 100%;
    max-width: 320px;
  }

  .mockup-card {
    transform: rotate(0deg);
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 64px 20px;
  }

  .hero-inner {
    padding: 0 20px 64px;
  }

  .form-row {
    flex-direction: column;
  }

  .email-input {
    min-width: 100%;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .checklist-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 20px;
  }
}
