/*
Theme Name: LaunchBizUSA
Theme URI: https://launchbizusa.com
Author: LaunchBizUSA
Author URI: https://launchbizusa.com
Description: Custom theme for LaunchBizUSA — U.S. company formation, contract drafting, and business services for non-U.S. founders. Black-and-white brand system with the LaunchBizUSA compass wordmark.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: launchbizusa
*/

/* ==========================================================================
   LaunchBizUSA — theme stylesheet
   Palette:  #000000 ink, #FFFFFF paper, #F7F6F3 soft-paper, #8A8A85 muted
   Display serif: 'Fraunces'  |  Headline sans: 'Sora'  |  Body: 'Inter'
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root{
  --ink:#000000;
  --paper:#ffffff;
  --paper-soft:#f7f6f3;
  --muted:#8a8a85;
  --line: rgba(255,255,255,0.14);
  --line-dark: rgba(0,0,0,0.12);
  --radius-pill: 999px;
  --radius-card: 2px;
  --maxw: 1180px;
  --gutter: clamp(24px, 6vw, 96px);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-head: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}

/* ---------- Announcement / builder strip (kept, styled quiet) ---------- */
.builder-strip{
  background:var(--paper-soft);
  border-bottom:1px solid var(--line-dark);
  font-size:13px;
  color:var(--muted);
  padding:10px var(--gutter);
  text-align:center;
}

/* ---------- Header ---------- */
.site-header{
  background:var(--ink);
  color:var(--paper);
  padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 7vw, 88px);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.nav--centered{
  justify-content:center;
}
.nav-links{
  display:flex;
  gap:clamp(20px, 3vw, 40px);
  font-family:var(--font-body);
  font-size:15px;
  letter-spacing:0.01em;
}
.nav-links a{
  opacity:0.92;
  padding:6px 0;
  border-bottom:1px solid transparent;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"]{
  opacity:1;
  border-bottom-color: currentColor;
}
.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--line);
  color:var(--paper);
  width:40px; height:40px;
  border-radius:8px;
  align-items:center;
  justify-content:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:20px;
}
.brand-word-img{
  height: clamp(46px, 6vw, 78px);
  width:auto;
  display:block;
}
.brand.small .brand-word-img{ height:34px; }

/* ---------- Hero ---------- */
.hero{
  background:var(--paper);
  color:var(--ink);
  padding: clamp(64px, 10vw, 128px) 0;
  text-align:center;
}
.hero h1{
  font-family:var(--font-head);
  font-weight:800;
  font-size: clamp(30px, 5.4vw, 58px);
  line-height:1.08;
  letter-spacing:-0.01em;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.eyebrow{
  display:inline-block;
  font-family:var(--font-body);
  font-size:13px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:16px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:16px 34px;
  border-radius:var(--radius-pill);
  font-family:var(--font-head);
  font-weight:600;
  font-size:15px;
  border:1.5px solid currentColor;
  background:transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--light{ color:var(--ink); }
.btn--light:hover{ background:var(--ink); color:var(--paper); }

.btn--dark{ color:var(--paper); }
.btn--dark:hover{ background:var(--paper); color:var(--ink); }

.btn--solid-ink{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn--solid-ink:hover{ background:transparent; color:var(--ink); }

.btn--solid-paper{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.btn--solid-paper:hover{ background:transparent; color:var(--paper); }

.btn--sm{ padding:11px 26px; font-size:13.5px; }

/* ---------- Services (home, circle style) ---------- */
.section-dark{
  background:var(--ink);
  color:var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
}
.section-title{
  font-family:var(--font-head);
  font-weight:800;
  font-size: clamp(34px, 5vw, 56px);
  text-align:center;
  letter-spacing:-0.01em;
  margin:0 0 12px;
}
.section-lede{
  max-width:700px;
  margin:0 auto clamp(48px, 6vw, 72px);
  text-align:center;
  font-size:17px;
  color:rgba(255,255,255,0.78);
  line-height:1.6;
}
.section-dark .section-lede{ color:rgba(255,255,255,0.78); }

.service-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:clamp(40px, 6vw, 96px) clamp(40px, 8vw, 120px);
  margin-top: clamp(48px, 6vw, 72px);
}
.service-card{
  text-align:center;
}
.service-orb{
  width: clamp(180px, 22vw, 240px);
  height: clamp(180px, 22vw, 240px);
  border-radius:50%;
  background:var(--paper);
  color:var(--ink);
  margin: 0 auto 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height:1.15;
  padding:12px;
  transition: transform .3s var(--ease);
}
.service-card:hover .service-orb{ transform: scale(1.035); }
.service-name{
  font-family:var(--font-head);
  font-weight:700;
  font-size:22px;
  margin: 0 0 18px;
}
.service-list{
  text-align:left;
  max-width:320px;
  margin:0 auto 28px;
  display:grid;
  gap:10px;
}
.service-list li{
  font-family:var(--font-body);
  font-weight:500;
  font-size:15px;
  position:relative;
  padding-left:20px;
  color:rgba(255,255,255,0.92);
}
.service-list li::before{
  content:'';
  position:absolute;
  left:0; top:9px;
  width:5px; height:5px;
  border-radius:50%;
  background:currentColor;
}
.service-note{
  color:rgba(255,255,255,0.7);
  font-size:15px;
  max-width:300px;
  margin:0 auto 28px;
}

/* ---------- Services (square image-tile style, services page) ---------- */
.service-tiles{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:2px;
  background:var(--ink);
}
.service-tile{
  background:var(--paper);
  color:var(--ink);
  aspect-ratio: 4 / 2.6;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  text-align:center;
}
.service-tile span{
  font-family:var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height:1.15;
}

/* ---------- Split CTA band ---------- */
.cta-band{
  padding: clamp(64px, 9vw, 110px) 0;
  text-align:center;
}
.cta-band.light{ background:var(--paper); color:var(--ink); }
.cta-band.dark{ background:var(--ink); color:var(--paper); }
.cta-band h2{
  font-family:var(--font-head);
  font-weight:800;
  font-size: clamp(28px, 4.4vw, 48px);
  letter-spacing:-0.01em;
  margin:0 0 clamp(28px, 4vw, 40px);
  max-width:820px;
  margin-left:auto; margin-right:auto;
}

/* ---------- About / Why Us ---------- */
.prose-section{
  background:var(--ink);
  color:var(--paper);
  padding: clamp(56px, 8vw, 100px) 0;
}
.prose-section h2{
  font-family:var(--font-display);
  font-weight:400;
  font-size: clamp(40px, 6vw, 64px);
  margin:0 0 clamp(28px, 4vw, 44px);
}
.prose-section .col{
  max-width:820px;
}
.prose-section p{
  font-weight:500;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height:1.65;
  color:rgba(255,255,255,0.92);
  margin:0 0 28px;
}
.prose-section p:last-child{ margin-bottom:0; }
.divider{
  height:1px;
  background:var(--line);
  margin: clamp(48px, 7vw, 88px) 0;
  border:none;
}
.mission-card{
  background:var(--paper);
  color:var(--ink);
  padding: clamp(36px, 5vw, 56px);
  margin-top: clamp(40px, 6vw, 64px);
}
.mission-card p{
  color:var(--ink);
  font-family:var(--font-display);
  font-style:italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height:1.5;
}

/* ---------- Blog ---------- */
.blog-section{
  background:var(--ink);
  color:var(--paper);
  padding: clamp(56px, 8vw, 100px) 0;
}
.blog-list{
  display:grid;
  gap:0;
}
.blog-post{
  border-top:1px solid var(--line);
  padding: clamp(32px, 5vw, 48px) 0;
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:clamp(20px, 4vw, 48px);
}
.blog-post:last-child{ border-bottom:1px solid var(--line); }
.blog-meta{
  font-size:13px;
  color:rgba(255,255,255,0.6);
  letter-spacing:0.03em;
}
.blog-post h3{
  font-family:var(--font-head);
  font-weight:700;
  font-size: clamp(22px, 2.6vw, 30px);
  margin:0 0 14px;
  line-height:1.22;
}
.blog-post p{
  color:rgba(255,255,255,0.78);
  font-size:16px;
  line-height:1.6;
  margin:0 0 20px;
  max-width:70ch;
}
.blog-stats{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:13px;
  color:rgba(255,255,255,0.55);
}
.blog-stats .heart{
  margin-left:auto;
  width:18px; height:18px;
  color:#e05a5a;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--paper);
  color:var(--ink);
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 48px);
}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:40px;
  margin-bottom:48px;
}
.footer-grid--centered{
  justify-content:center;
}
.footer-contact{
  text-align:center;
  margin:0 0 32px;
}
.footer-contact p{
  margin:0 0 6px;
  font-size:14px;
  color:rgba(0,0,0,0.65);
}
.footer-contact p:last-child{ margin-bottom:0; }
.footer-contact a{
  border-bottom:1px solid transparent;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.footer-contact a:hover{
  border-bottom-color: currentColor;
}
.footer-links{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  font-size:14px;
  color:rgba(0,0,0,0.7);
}
.footer-legal{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  font-size:14px;
  color:rgba(0,0,0,0.65);
  margin:-20px 0 32px;
}
.footer-legal a{
  border-bottom:1px solid transparent;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.footer-legal a:hover{
  opacity:1;
  border-bottom-color: currentColor;
}
.social-row{
  display:flex;
  gap:14px;
  padding-top:32px;
  border-top:1px solid rgba(0,0,0,0.12);
}
.social-row a{
  width:38px; height:38px;
  border-radius:50%;
  background:rgba(0,0,0,0.06);
  color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.social-row a:hover{ background:rgba(0,0,0,0.12); transform:translateY(-2px); }
.social-row svg{ width:17px; height:17px; }

/* ---------- Utilities ---------- */
.center{ text-align:center; }
.stack{ display:grid; gap:8px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav.open .nav-links{
    display:flex;
    flex-direction:column;
    width:100%;
    gap:18px;
    margin-top:20px;
  }
  .service-grid,
  .service-tiles{ grid-template-columns:1fr; }
  .blog-post{ grid-template-columns:1fr; }
  .footer-grid{ flex-direction:column; }
}

/* ---------- WordPress nav menu wrapper (wp_nav_menu wraps items in <ul>) ---------- */
.nav-links-list,
.footer-links-list{
  display:flex;
  gap:inherit;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-links-list li,
.footer-links-list li{ display:flex; }
.nav-links-list .current-menu-item > a,
.nav-links-list .current_page_item > a{
  opacity:1;
  border-bottom-color: currentColor;
}

/* ---------- Blog single / archive extras ---------- */
.blog-post .post-title-link{ color:inherit; }
.blog-post .post-title-link:hover{ text-decoration:underline; }
.single-content{
  max-width:820px;
}
.single-content p{ margin:0 0 24px; }
.single-content img{ margin: 24px 0; }
.single-content a{ text-decoration:underline; text-underline-offset:3px; }
.post-header-meta{
  color:rgba(255,255,255,0.6);
  font-size:13px;
  margin-bottom:16px;
  letter-spacing:0.03em;
}

/* ---------- Accessibility utility (WordPress standard) ---------- */
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute;
  width:1px; word-wrap:normal;
}

/* ---------- Blog toolbar (All Posts + search) ---------- */
.blog-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.blog-toolbar-title{
  font-family:var(--font-head);
  font-weight:800;
  font-size: clamp(22px, 2.6vw, 30px);
  margin:0;
}
.blog-toolbar-title span{ font-weight:400; opacity:0.75; }
.blog-search{
  position:relative;
  width: clamp(220px, 30vw, 360px);
}
.blog-search-icon{
  position:absolute;
  left:16px; top:50%;
  transform:translateY(-50%);
  width:18px; height:18px;
  color:#666;
  pointer-events:none;
}
.blog-search input[type="search"]{
  width:100%;
  background:var(--paper);
  color:var(--ink);
  border:none;
  border-radius:4px;
  padding:14px 16px 14px 44px;
  font-family:var(--font-body);
  font-size:15px;
  font-weight:600;
}
.blog-search input[type="search"]::placeholder{ color:#8a8a8a; font-weight:600; }
.blog-search input[type="search"]:focus{ outline:2px solid var(--paper); outline-offset:2px; }

/* ---------- Contact form ---------- */
.contact-section .section-lede{ color:rgba(255,255,255,0.85); }
.contact-form{
  max-width:900px;
  margin-top:8px;
}
.form-row{
  display:grid;
  gap:24px;
  margin-bottom:24px;
}
.form-row--three{
  grid-template-columns:repeat(3, 1fr);
}
.form-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:24px;
}
.form-row .form-field{ margin-bottom:0; }
.form-field label{
  font-family:var(--font-body);
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,0.85);
}
.form-field input,
.form-field select,
.form-field textarea{
  background:#d4d4d4;
  color:var(--ink);
  border:none;
  border-radius:2px;
  padding:14px 16px;
  font-family:var(--font-body);
  font-size:15px;
  resize:vertical;
}
.form-field select{
  appearance:none;
  -webkit-appearance:none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%23000' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position: right 16px center;
  padding-right:44px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:2px solid var(--paper);
  outline-offset:2px;
}
.btn-send{
  display:block;
  width:100%;
  background:#6b6b6b;
  color:rgba(255,255,255,0.9);
  border:none;
  border-radius:var(--radius-pill);
  padding:16px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  letter-spacing:0.02em;
  cursor:pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.btn-send:hover{ background:var(--paper); color:var(--ink); }

.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-notice{
  border-radius:4px;
  padding:16px 20px;
  margin-bottom:28px;
  font-size:15px;
  font-weight:600;
}
.form-notice--success{
  background:rgba(255,255,255,0.12);
  color:var(--paper);
  border:1px solid rgba(255,255,255,0.25);
}
.form-notice--error{
  background:rgba(224,90,90,0.12);
  color:#ffb4b4;
  border:1px solid rgba(224,90,90,0.4);
}
.form-notice--error ul{ margin:0; padding-left:20px; list-style:disc; }
.form-notice--error li{ margin-bottom:4px; }

/* ---------- Radio groups (intake form) ---------- */
fieldset.form-field{
  border:none;
  padding:0;
  margin:0 0 24px;
}
fieldset.form-field legend{
  font-family:var(--font-body);
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,0.85);
  padding:0;
  margin-bottom:8px;
}
.radio-group{
  display:flex;
  flex-wrap:wrap;
  gap:12px 28px;
}
.radio-option{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-size:15px;
  color:rgba(255,255,255,0.92);
  cursor:pointer;
}
.radio-option input[type="radio"]{
  width:18px;
  height:18px;
  accent-color:var(--paper);
  cursor:pointer;
}
.form-field-note{
  font-size:13px;
  color:rgba(255,255,255,0.6);
  margin:8px 0 0;
}

/* ---------- Checkbox group ("pick N" lists, e.g. contract drafting) ---------- */
.checkbox-group{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.checkbox-option{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  color:rgba(255,255,255,0.92);
  cursor:pointer;
}
.checkbox-option input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color:var(--paper);
  cursor:pointer;
  flex:none;
}
.checkbox-option.is-disabled{
  opacity:0.4;
  cursor:not-allowed;
}
.checkbox-group-hint{
  font-size:13px;
  color:rgba(255,255,255,0.6);
  margin:12px 0 0;
}

@media (max-width: 720px){
  .form-row--three{ grid-template-columns:1fr; }
  .blog-toolbar{ flex-direction:column; align-items:flex-start; }
  .blog-search{ width:100%; }
}

/* ---------- Header logo: icon + wordmark, centered ---------- */
.brand--centered{
  justify-content:center;
  width:100%;
}
.site-header .brand--centered{
  margin-bottom: clamp(40px, 6vw, 72px);
}
.brand-icon-img{
  height: clamp(40px, 5.2vw, 66px);
  width:auto;
  display:block;
}

/* ---------- Header logo: single combined icon+wordmark image, centered ---------- */
.brand-logo-img{
  height: clamp(40px, 5.5vw, 70px);
  width:auto;
  max-width:100%;
  display:block;
}
.site-header .brand{ min-width:0; }

/* ---------- PayPal checkout ---------- */
.paypal-checkout{
  max-width:340px;
  margin-top:28px;
}
.paypal-price{
  font-family:var(--font-head);
  font-weight:800;
  font-size:28px;
  margin:0 0 16px;
}
