/* ═══════════════════════════════════════════
   Larson & Holz — Stripe-inspired Design
   ═══════════════════════════════════════════ */

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

:root {
  /* Stripe colors */
  --purple: #533afd;
  --purple-hover: #4434d4;
  --navy: #061b31;
  --navy-light: #273951;
  --body-text: #64748d;
  --white: #ffffff;
  --bg: #f8fafc;
  --border: #e5edf5;
  --brand-dark: #1c1e54;
  --ruby: #ea2261;
  --magenta: #f96bee;
  --success: #15be53;

  /* Shadows (Stripe signature) */
  --shadow-sm: 0 1px 3px rgba(50,50,93,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(50,50,93,0.15), 0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg: 0 13px 27px rgba(50,50,93,0.25), 0 8px 16px rgba(0,0,0,0.1);
  --shadow-card: 0 6px 18px rgba(50,50,93,0.12), 0 2px 6px rgba(0,0,0,0.06);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-hover); }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 300;
  line-height: 1.1;
}

h1 {
  font-size: 3rem;
  letter-spacing: -1.2px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.6px;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.3px;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

p {
  color: var(--body-text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header / Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.nav__logo span {
  color: var(--purple);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--navy-light);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--purple);
}

/* --- Hero --- */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 300;
  letter-spacing: -1.4px;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--body-text);
}

.hero__cta {
  display: inline-flex;
  gap: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(83,58,253,0.3);
}

.btn--primary:hover {
  background: var(--purple-hover);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(83,58,253,0.4);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: var(--shadow-md);
}

/* --- Section --- */
.section {
  padding: 3.5rem 0;
}

.section--gray {
  background: var(--bg);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header p {
  max-width: 560px;
  margin: 0 auto;
}

/* --- Cards Grid --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: 1.25rem;
}

.card__icon--pitch {
  background: linear-gradient(135deg, #533afd 0%, #7c6aff 100%);
}

.card__icon--business {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.card__icon--startup {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.card__title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--body-text);
  line-height: 1.6;
}

/* --- Features (alternating) --- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__img {
  background: var(--bg);
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__content h3 {
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
  color: inherit;
}

.blog-card__img {
  height: 200px;
  background: linear-gradient(135deg, #f0f0ff 0%, #e8edf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 2.5rem;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__img--investory {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #2a1f5e 100%);
  position: relative;
}

.blog-card__img--investory::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 60%, rgba(83,58,253,0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 40%, rgba(121,106,238,0.2) 0%, transparent 40%),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(83,58,253,0.08) 30px, rgba(83,58,253,0.08) 31px),
    repeating-linear-gradient(0deg, transparent, transparent 25px, rgba(83,58,253,0.05) 25px, rgba(83,58,253,0.05) 26px);
}

.blog-card__img--bizplan {
  background: linear-gradient(145deg, #f5f0eb 0%, #e8e2dc 50%, #ddd5cc 100%);
  position: relative;
}

.blog-card__img--bizplan::before {
  content: '';
  position: absolute;
  width: 65%;
  height: 55%;
  top: 22%;
  left: 17%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.blog-card__img--bizplan::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  top: 35%;
  left: 25%;
  background: linear-gradient(90deg, var(--purple), rgba(83,58,253,0.3));
  border-radius: 2px;
  box-shadow:
    0 14px 0 0 #e5edf5,
    0 14px 0 0 #e5edf5,
    0 26px 0 0 #eee,
    0 38px 0 0 #eee;
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--purple);
  background: rgba(83,58,253,0.08);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--body-text);
  line-height: 1.6;
}

.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--body-text);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* --- Article --- */
.article {
  padding: 4rem 0;
}

.article__header {
  text-align: center;
  margin-bottom: 3rem;
}

.article__header h1 {
  font-size: 2.5rem;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.article__meta {
  font-size: 0.875rem;
  color: var(--body-text);
}

.article__content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article__content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.article__content h3 {
  margin-top: 2rem;
}

.article__content p {
  color: var(--navy-light);
  font-size: 1.0625rem;
}

.article__content ul,
.article__content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--navy-light);
}

.article__content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article__content blockquote {
  border-left: 3px solid var(--purple);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(83,58,253,0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article__content blockquote p {
  color: var(--navy);
  font-style: italic;
  margin-bottom: 0;
}

/* --- CTA Block --- */
.cta-block {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2a2d6e 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-block h3 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.cta-block p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.cta-block .btn--primary {
  background: var(--white);
  color: var(--brand-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cta-block .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat__number {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--purple);
  letter-spacing: -0.5px;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--body-text);
  margin-top: 0.25rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__brand span {
  color: rgba(83,58,253,0.8);
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
}

/* --- Table (for articles) --- */
.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

.article__content th {
  background: var(--bg);
  font-weight: 500;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--navy);
}

.article__content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--navy-light);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--body-text);
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--body-text);
}

.breadcrumbs a:hover {
  color: var(--purple);
}

.breadcrumbs span {
  margin: 0 0.375rem;
  color: var(--border);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2.25rem; }
  .cards, .blog-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--reverse { direction: ltr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .cards, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
