/* Sunsurf Capital -- Design System Stylesheet v2.0 (Phase 2)
   Tokens, typography, nav, footer, buttons, glass cards, sections, reveals/GSAP
   Fonts: Zodiak (Fontshare) headlines + Satoshi (Fontshare) body
   Palette: Navy #071428 + Gold #c8a24e + Ocean Blue #1a73e8
*/

/* ==================== RESET & TOKENS ==================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy-900:#071428;--navy-800:#0a1e3f;--navy-700:#0f2d5c;--navy-600:#163d7a;
  --ocean-500:#1a73e8;--ocean-400:#4d9bf5;--ocean-300:#8fc2ff;
  --gold-500:#c8a24e;--gold-400:#d4b76a;--gold-300:#e6d5a0;
  --sand-200:#f5f0e6;--sand-100:#faf7f0;
  --white:#ffffff;--gray-100:#f8f9fa;--gray-200:#e9ecef;--gray-400:#adb5bd;--gray-600:#6c757d;
  --text-primary:#0F1E3D;--text-secondary:#5a6577;
  --radius-sm:6px;--radius-md:12px;--radius-lg:20px;--radius-full:9999px;
  --font-serif:'Zodiak',Georgia,serif;
  --font-sans:'Satoshi',-apple-system,BlinkMacSystemFont,sans-serif;
  --container:1200px;
}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);color:var(--text-primary);background:#f8f7f3;line-height:1.7;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* ==================== NAVIGATION ==================== */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:0 24px;background:#0F1E3D;transition:background .4s,backdrop-filter .4s,box-shadow .4s}
.nav.scrolled{background:#0F1E3D;backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);box-shadow:0 1px 0 rgba(255,255,255,.06)}
.nav-inner{max-width:var(--container);margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:80px}
.nav-logo{display:flex;align-items:center}
.nav-logo .brand-logo{height:56px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:32px;list-style:none}
.nav-links a{font-size:.875rem;font-weight:500;color:#94a3b8;transition:color .25s;position:relative}
.nav-links a:hover,.nav-links a:focus{color:var(--white)}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--gold-500);transition:width .3s}
.nav-links a:hover::after{width:100%}
.nav-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;background:linear-gradient(135deg,var(--gold-500),var(--gold-400));color:#0F1E3D;font-size:.875rem;font-weight:600;border-radius:var(--radius-full);border:none;cursor:pointer;transition:transform .25s,box-shadow .25s}
.nav-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(200,162,78,.3)}
.nav-cta svg{width:16px;height:16px}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.hamburger span{display:block;width:24px;height:2px;background:var(--white);border-radius:2px;transition:transform .3s,opacity .3s}
.mobile-menu{display:none;position:fixed;inset:0;background:rgba(7,20,40,.98);backdrop-filter:blur(24px);z-index:999;flex-direction:column;align-items:center;justify-content:center;gap:32px;opacity:0;pointer-events:none;transition:opacity .35s}
.mobile-menu.open{opacity:1;pointer-events:auto}
.mobile-menu a{font-family:var(--font-serif);font-size:1.5rem;color:var(--white)}

/* ==================== PAGE HERO (inner pages) ==================== */
.page-hero{position:relative;padding:clamp(148px,16vh,176px) 0 clamp(60px,8vh,80px);overflow:hidden;border-bottom:1px solid rgba(15,30,61,.06)}
.page-hero-bg{position:absolute;inset:0;z-index:0}
.page-hero-bg::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#f8f7f3 0%,#f2efe8 60%,#ede8de 100%)}
.page-hero-bg::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 70% 40%,rgba(200,162,78,.06) 0%,transparent 60%),radial-gradient(ellipse 60% 50% at 10% 80%,rgba(26,115,232,.04) 0%,transparent 50%)}
.page-hero-noise{position:absolute;inset:0;z-index:1;opacity:.015;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");background-size:128px 128px}
.page-hero .container{position:relative;z-index:2}
.page-hero .breadcrumb{display:flex;align-items:center;gap:8px;font-size:.8125rem;color:#5a6577;margin-bottom:24px}
.page-hero .breadcrumb a{color:#5a6577;transition:color .25s}
.page-hero .breadcrumb a:hover{color:var(--gold-500)}
.page-hero .breadcrumb .sep{color:var(--gold-500);opacity:.5}
.page-hero .breadcrumb .current{color:var(--gold-400)}
.page-hero .hero-label{display:inline-flex;align-items:center;gap:8px;padding:7px 18px;background:rgba(200,162,78,.1);border:1px solid rgba(200,162,78,.3);border-radius:var(--radius-full);font-size:.8125rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#a88832;margin-bottom:24px;backdrop-filter:none}
.page-hero .hero-label .dot{width:6px;height:6px;border-radius:50%;background:var(--gold-500);animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}
.page-hero h1{font-family:var(--font-serif);font-size:clamp(2.25rem,4.5vw,3.75rem);font-weight:700;line-height:1.1;letter-spacing:-.025em;color:#0F1E3D;margin-bottom:20px}
.page-hero h1 .accent{background:linear-gradient(135deg,var(--gold-500),var(--gold-300));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;filter:drop-shadow(0 2px 8px rgba(200,162,78,.3))}
.page-hero-sub{font-size:clamp(1rem,1.4vw,1.1875rem);color:#5a6577;max-width:620px;line-height:1.7;margin-bottom:32px}
.page-hero-ctas{display:flex;flex-wrap:wrap;gap:14px}

/* ==================== BUTTONS ==================== */
.btn-gold{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;background:linear-gradient(135deg,var(--gold-500),var(--gold-400));color:#0F1E3D;font-size:.9375rem;font-weight:600;font-family:var(--font-sans);border-radius:var(--radius-full);border:none;cursor:pointer;transition:transform .25s,box-shadow .25s}
.btn-gold:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(200,162,78,.4),0 0 60px rgba(200,162,78,.15)}
.btn-ghost{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;background:transparent;border:1px solid rgba(15,30,61,.2);color:#0F1E3D;font-size:.9375rem;font-weight:500;font-family:var(--font-sans);border-radius:var(--radius-full);cursor:pointer;transition:all .25s}
.btn-ghost:hover{background:rgba(15,30,61,.04);border-color:var(--gold-500)}
.btn-ghost svg,.btn-gold svg{width:18px;height:18px}

/* ==================== SECTION COMMON ==================== */
.section{padding:clamp(64px,8vw,120px) 0;position:relative}
.section-label{display:inline-flex;align-items:center;gap:8px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-500);margin-bottom:16px}
.section-label .bar{width:20px;height:2px;background:var(--gold-500)}
.section-title{font-family:var(--font-serif);font-size:clamp(2rem,3.8vw,3rem);font-weight:700;line-height:1.12;letter-spacing:-.02em;color:#0F1E3D;margin-bottom:16px}
.section-sub{font-size:1.0625rem;color:var(--text-secondary);max-width:600px;line-height:1.7;margin-bottom:48px}
.reveal{opacity:0;transform:translateY(40px);transition:none}
.glow{pointer-events:none}

/* ==================== GLASS CARDS (why-card pattern) ==================== */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-card{background:#ffffff;border:1px solid rgba(15,30,61,.08);border-radius:var(--radius-lg);padding:32px;transition:all .4s;box-shadow:0 2px 12px rgba(15,30,61,.06)}
.why-card:hover{border-color:rgba(200,162,78,.3);transform:translateY(-6px);box-shadow:0 16px 40px rgba(15,30,61,.10),0 0 0 1px rgba(200,162,78,.15)}
.why-card-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.why-card-icon{width:40px;height:40px;min-width:40px;border-radius:10px;background:rgba(200,162,78,.1);display:flex;align-items:center;justify-content:center}
.why-card-icon svg{width:20px;height:20px;color:var(--gold-500)}
.why-card h3{font-family:var(--font-sans);font-size:1.125rem;font-weight:700;color:#0F1E3D;line-height:1.3}
.why-card p{font-size:.9375rem;color:var(--text-secondary);line-height:1.65}

/* ==================== PROCESS STEPS ==================== */
.process-track{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative}
.process-track::before{content:'';position:absolute;top:36px;left:calc(12.5% + 12px);right:calc(12.5% + 12px);height:2px;background:linear-gradient(90deg,var(--gold-500),var(--ocean-400));opacity:.3}
.process-step{text-align:center;padding:0 16px;position:relative}
.step-number{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,rgba(200,162,78,.12),rgba(200,162,78,.04));border:2px solid rgba(200,162,78,.30);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-family:var(--font-serif);font-size:1.75rem;font-weight:700;color:#a88832;position:relative;z-index:2;backdrop-filter:none;box-shadow:0 2px 12px rgba(200,162,78,.08)}
.process-step h3{font-size:1rem;font-weight:600;color:#0F1E3D;margin-bottom:8px}
.process-step p{font-size:.875rem;color:var(--text-secondary);line-height:1.6}

/* ==================== QUALIFICATION LIST ==================== */
.qual-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.qual-item{display:flex;align-items:flex-start;gap:14px;padding:20px 24px;background:#ffffff;border:1px solid rgba(15,30,61,.08);border-radius:var(--radius-md);transition:border-color .3s;box-shadow:0 1px 4px rgba(15,30,61,.04)}
.qual-item:hover{border-color:rgba(200,162,78,.25)}
.qual-check{width:28px;height:28px;min-width:28px;border-radius:50%;background:rgba(200,162,78,.12);display:flex;align-items:center;justify-content:center;margin-top:2px}
.qual-check svg{width:14px;height:14px;color:var(--gold-500)}
.qual-item h4{font-size:.9375rem;font-weight:600;color:#0F1E3D;margin-bottom:4px}
.qual-item p{font-size:.875rem;color:var(--text-secondary);line-height:1.55}

/* ==================== IDEAL BUSINESSES ==================== */
.ideal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ideal-item{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#ffffff;border:1px solid rgba(15,30,61,.08);border-radius:var(--radius-md);transition:all .3s;box-shadow:0 1px 4px rgba(15,30,61,.04)}
.ideal-item:hover{border-color:rgba(200,162,78,.25);background:#ffffff;box-shadow:0 4px 16px rgba(15,30,61,.06)}
.ideal-icon{width:32px;height:32px;min-width:32px;border-radius:8px;background:rgba(26,115,232,.1);display:flex;align-items:center;justify-content:center}
.ideal-icon svg{width:16px;height:16px;color:var(--ocean-400)}
.ideal-item span{font-size:.9375rem;font-weight:500;color:var(--text-primary)}

/* ==================== FAQ ACCORDION ==================== */
.faq-list{max-width:800px}
.faq-item{border-bottom:1px solid rgba(15,30,61,.08)}
.faq-item:first-child{border-top:1px solid rgba(15,30,61,.08)}
.faq-q{display:flex;align-items:center;justify-content:space-between;padding:20px 0;cursor:pointer;background:none;border:none;width:100%;text-align:left;color:#0F1E3D;font-family:var(--font-sans);font-size:1.0625rem;font-weight:600;line-height:1.4;transition:color .25s}
.faq-q:hover{color:var(--gold-400)}
.faq-q .chevron{width:20px;height:20px;min-width:20px;color:var(--gold-500);transition:transform .3s}
.faq-q[aria-expanded="true"] .chevron{transform:rotate(180deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-a-inner{padding:0 0 20px;font-size:.9375rem;color:var(--text-secondary);line-height:1.7}

/* ==================== CTA SECTION ==================== */
.cta-section{padding:clamp(80px,10vw,140px) 0;text-align:center;position:relative;overflow:hidden}
.cta-section .glow-left{position:absolute;left:-10%;top:50%;width:40%;height:200%;transform:translateY(-50%);background:radial-gradient(ellipse at center,rgba(26,115,232,.04) 0%,transparent 60%);pointer-events:none}
.cta-section .glow-right{position:absolute;right:-10%;top:50%;width:40%;height:200%;transform:translateY(-50%);background:radial-gradient(ellipse at center,rgba(200,162,78,.04) 0%,transparent 60%);pointer-events:none}
.cta-section .section-title{max-width:700px;margin:0 auto 16px}
.cta-section .section-sub{max-width:560px;margin:0 auto 40px}
.cta-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}

/* ==================== CROSS-LINKS ==================== */
.cross-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cross-link-card{display:flex;align-items:center;gap:12px;padding:20px;background:#ffffff;border:1px solid rgba(15,30,61,.08);border-radius:var(--radius-md);transition:all .35s;cursor:pointer;box-shadow:0 1px 4px rgba(15,30,61,.04)}
.cross-link-card:hover{border-color:rgba(200,162,78,.25);background:#ffffff;transform:translateY(-3px);box-shadow:0 8px 24px rgba(15,30,61,.08)}
.cross-link-icon{width:36px;height:36px;min-width:36px;border-radius:10px;background:rgba(200,162,78,.08);display:flex;align-items:center;justify-content:center}
.cross-link-icon svg{width:18px;height:18px;color:var(--gold-500)}
.cross-link-card .cl-title{font-size:.9375rem;font-weight:600;color:#0F1E3D;line-height:1.3}
.cross-link-card .cl-desc{font-size:.8125rem;color:var(--text-secondary);line-height:1.4;margin-top:4px}
.cross-link-card .arrow{margin-left:auto;opacity:0;transition:all .3s;color:var(--gold-500)}
.cross-link-card:hover .arrow{opacity:1}

/* ==================== FOOTER ==================== */
.footer{border-top:3px solid rgba(200,162,78,.2);background:#0F1E3D;border-top:none;padding:64px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer-brand{max-width:280px}
.footer-logo{display:block;margin-bottom:16px}
.footer-logo .brand-logo{height:48px;width:auto;display:block}
.footer-brand p{font-size:.875rem;color:var(--text-secondary);line-height:1.65;margin-bottom:20px}
.footer-social{display:flex;gap:12px}
.footer-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;transition:background .25s}
.footer-social a:hover{background:rgba(200,162,78,.2)}
.footer-social svg{width:16px;height:16px;color:var(--text-secondary)}
.footer-col h4{font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--gold-500);margin-bottom:20px}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:12px}
.footer-col a{font-size:.875rem;color:var(--text-secondary);transition:color .25s}
.footer-col a:hover{color:var(--white)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding:24px 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.footer-bottom p{font-size:.8125rem;color:var(--text-secondary)}
.footer-bottom-links{display:flex;gap:24px}
.footer-bottom-links a{font-size:.8125rem;color:var(--text-secondary);transition:color .25s}
.footer-bottom-links a:hover{color:var(--white)}
.newsletter-form{display:flex;gap:8px;margin-top:16px}
.newsletter-form input{flex:1;padding:10px 16px;background:rgba(15,30,61,.04);border:1px solid rgba(15,30,61,.12);border-radius:var(--radius-full);color:#0F1E3D;font-size:.875rem;font-family:var(--font-sans);outline:none;transition:border-color .25s}
.newsletter-form input::placeholder{color:var(--text-secondary)}
.newsletter-form input:focus{border-color:var(--gold-500)}
.newsletter-form button{padding:10px 20px;background:linear-gradient(135deg,var(--gold-500),var(--gold-400));color:var(--navy-900);font-size:.8125rem;font-weight:600;border:none;border-radius:var(--radius-full);cursor:pointer;white-space:nowrap;font-family:var(--font-sans);transition:transform .25s,box-shadow .25s}
.newsletter-form button:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(200,162,78,.3)}

/* ==================== RESPONSIVE ==================== */
@media(max-width:1024px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .process-track{grid-template-columns:repeat(2,1fr);gap:24px}
  .process-track::before{display:none}
  .cross-links-grid{grid-template-columns:repeat(2,1fr)}
  .qual-grid{grid-template-columns:1fr}
  .ideal-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .nav-inner{height:68px}
  .nav-logo .brand-logo{height:44px;max-width:320px}
  .nav-links,.nav-cta-wrap{display:none}
  .hamburger{display:flex}
  .mobile-menu{display:flex}
  .page-hero{padding:128px 0 40px}
  .why-grid{grid-template-columns:1fr}
  .process-track{grid-template-columns:1fr}
  .cross-links-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .footer-bottom{flex-direction:column;text-align:center}
  .cta-btns{flex-direction:column;align-items:center}
  .nav{background:#0F1E3D;backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3)}
}
@media(max-width:480px){
  .nav-inner{height:60px}
  .nav-logo .brand-logo{height:38px;max-width:260px}
  .page-hero{padding:116px 0 36px}
  .page-hero h1{font-size:1.875rem}
  .page-hero-ctas{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important}
  .reveal{opacity:1;transform:none}
}

/* Footer on dark bg: override light text vars */
.footer,.footer *{--text-primary:#e8edf4;--text-secondary:#94a3b8}
.footer p,.footer a,.footer li{color:#94a3b8}
.footer a:hover{color:#ffffff}
.footer .footer-bottom p{color:#94a3b8}
.footer .footer-bottom-links a{color:#94a3b8}
.footer .footer-bottom-links a:hover{color:#ffffff}
.footer .newsletter-form input{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);color:#ffffff}
.footer .newsletter-form input::placeholder{color:#94a3b8}
.footer .newsletter-form button{color:#0F1E3D}
.footer .footer-social a{background:rgba(255,255,255,.06)}
.footer .footer-social svg{color:#94a3b8}
.footer .footer-brand p{color:#94a3b8}
.footer .footer-col a{color:#94a3b8}
.footer .footer-col a:hover{color:#ffffff}
.footer .footer-bottom{border-top-color:rgba(255,255,255,.06)}
/* Page hero on dark bg: keep white text */
.page-hero h1{color:#0F1E3D}
.page-hero .hero-label{color:var(--gold-400)}
.page-hero-sub{color:#94a3b8}
.page-hero .breadcrumb{color:#94a3b8}
.page-hero .breadcrumb a{color:#94a3b8}
.page-hero .btn-ghost{border-color:rgba(15,30,61,.2);color:#0F1E3D}
.page-hero .btn-ghost:hover{background:rgba(15,30,61,.04);border-color:var(--gold-500)}