/* ============================================
   proxymarriageprenup.com — global stylesheet
   ============================================ */

/* --- fonts --- */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* --- reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- color tokens --- */
:root {
  --navy:      #1a1a2e;
  --navy-lt:   #2a2a4a;
  --amber:     #c8973a;
  --amber-lt:  #f0c060;
  --amber-bg:  #fdf6e9;
  --off-white: #f9f8f6;
  --white:     #ffffff;
  --border:    #e4e2db;
  --muted:     #5a5a7a;
  --text:      #1a1a2e;
}

/* --- typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
p  { font-size: 1rem; color: var(--muted); line-height: 1.75; }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.75; }
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.75rem; display: block; }

/* --- layout --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; background: var(--white); }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-dark .eyebrow { color: var(--amber); }
.section-off { background: var(--off-white); }
.section-amber { background: var(--amber-bg); }

/* --- grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.text-center { text-align: center; }

/* --- buttons --- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: 8px; font-size: 0.9375rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-lt); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--navy); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* --- cards --- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; box-shadow: 0 1px 4px rgba(0,0,0,0.04); transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.card-dark { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1.75rem; }
.card-dark:hover { background: rgba(255,255,255,0.09); }
.card-icon { width: 44px; height: 44px; background: var(--amber-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.25rem; }

/* --- topbar --- */
.topbar { background: var(--amber); padding: 0.5rem 0; text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.topbar a { color: var(--navy); text-decoration: underline; }

/* --- navbar --- */
.navbar { background: var(--navy); padding: 1rem 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { font-size: 1.0625rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 0.25rem; }
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: rgba(255,255,255,0.7); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.5rem; line-height: 1; }
.nav-mobile-cta { display: none; }

/* --- footer --- */
.footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.875rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 0.625rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-disclaimer { max-width: 520px; font-size: 0.8125rem; color: rgba(255,255,255,0.4); line-height: 1.6; padding-left: 1rem; border-left: 2px solid var(--amber); }

/* --- hero --- */
.hero { background: var(--navy); padding: 5rem 0 4.5rem; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(200,151,58,0.15); border: 1px solid rgba(200,151,58,0.35); border-radius: 100px; padding: 0.375rem 1rem; font-size: 0.8125rem; font-weight: 600; color: var(--amber); margin-bottom: 1.5rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-trust { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-trust-item { font-size: 0.8125rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.4rem; }
.hero-trust-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.hero-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.75rem; }

/* --- section headers --- */
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.875rem; }
.section-header p { font-size: 1.0625rem; }

/* --- steps --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 700; font-size: 0.9375rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.step h3 { margin-bottom: 0.5rem; color: var(--text); }

/* --- tags --- */
.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 100px; background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(200,151,58,0.25); }

/* --- dividers --- */
.divider { border: none; border-top: 1px solid var(--border); }
.divider-dark { border-color: rgba(255,255,255,0.08); }

/* --- disclaimer box --- */
.disclaimer-box { background: var(--amber-bg); border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; font-size: 0.875rem; color: #7a5a20; line-height: 1.6; }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.faq-btn:hover { color: var(--navy); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--amber-bg); border: 1px solid rgba(200,151,58,0.3); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--amber); transition: transform 0.2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 1.25rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* --- mobile --- */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-mobile-cta { display: block; padding-top: 0.5rem; }
  .nav-toggle { display: block; }
  .nav-desktop-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 3.5rem 0; }
  .steps { gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
