:root {
  --wrap: 1680px;

  --ink: #172033;
  --muted: #5f6978;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --surface-soft: #f4efe6;
  --surface-deep: #e9e0d1;
  --line: #ddd2c1;

  --brand: #245c63;
  --brand-dark: #183f46;
  --brand-soft: #dceceb;
  --accent: #b7791f;
  --accent-soft: #f5e6c8;

  --shadow: 0 22px 55px rgba(23, 32, 51, 0.12);
  --shadow-soft: 0 14px 34px rgba(23, 32, 51, 0.09);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  max-width: none;
  flex: 0 0 56px;
  display: block;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.hero {
  padding: clamp(46px, 7vw, 108px) 0 clamp(34px, 5vw, 78px);
  background:
    radial-gradient(circle at top left, rgba(36, 92, 99, 0.19), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(183, 121, 31, 0.14), transparent 35rem),
    linear-gradient(180deg, #fffaf1 0%, var(--paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 1100px;
  font-size: clamp(2.45rem, 5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.lead {
  margin: 0;
  font-size: clamp(1.1rem, 1.05vw + 0.9rem, 1.5rem);
  color: #313b4d;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.notice-box {
  margin-top: 26px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hero-actions,
.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(24, 63, 70, 0.2);
}

.button.primary:hover {
  color: #fff;
  background: #0f3036;
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.hero-card,
.info-panel,
.topic-card,
.feature-card,
.link-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: clamp(22px, 3vw, 36px);
}

.hero-card h2,
.info-panel h3,
.topic-card h3,
.feature-card h3,
.link-box h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

.ad-section {
  margin: 30px 0 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.ad-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: clamp(46px, 6vw, 92px) 0;
}

.section-heading {
  margin-bottom: clamp(24px, 3vw, 42px);
}

.section-heading h2,
.two-column h2,
.author-grid h2,
.disclaimer-section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 2.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p,
.two-column p,
.author-grid p,
.disclaimer-section p {
  color: #354052;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.six-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.topic-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.topic-card:hover,
.topic-card:focus {
  transform: translateY(-3px);
  color: var(--ink);
  border-color: rgba(36, 92, 99, 0.35);
  box-shadow: var(--shadow);
}

.card-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
}

.tinted {
  background:
    linear-gradient(135deg, rgba(36, 92, 99, 0.09), rgba(183, 121, 31, 0.08)),
    var(--surface-soft);
  border-block: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 4vw, 68px);
  align-items: start;
}

.info-panel {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.feature-card h3 a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.feature-card p {
  color: var(--muted);
}

.muted-section {
  background: rgba(255, 255, 255, 0.48);
}

.link-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.link-box {
  padding: 22px;
}

.link-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.link-box a {
  font-weight: 650;
}

.author-band {
  background: var(--brand-dark);
  color: #fff;
}

.author-band .eyebrow,
.author-band p {
  color: rgba(255, 255, 255, 0.82);
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.author-band .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.author-band .button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.disclaimer-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #111827;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(180px, 0.6fr));
  gap: 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.footer-mark {
  width: 42px;
  height: 42px;
  max-width: none;
  flex: 0 0 42px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1280px) {
  .six-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .link-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .two-column,
  .author-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .brand-text span {
    font-size: 0.78rem;
  }

  .main-nav {
    gap: 6px;
  }

  .main-nav a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  .six-grid,
  .feature-grid,
  .link-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .notice-box,
  .hero-card,
  .info-panel,
  .topic-card,
  .feature-card,
  .link-box {
    border-radius: 20px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* --- STARTUP COST TABLE STYLING --- */

/* Wrapper to prevent layout breaks and allow horizontal swiping on mobile */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background-color: #ffffff;
}

/* Header design matching your brand colors */
thead th {
  background-color: var(--brand-dark, #1a202c);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Clean, balanced spacing for data rows */
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
}

/* Subtle zebra-striping to make alternating lines easy to read */
tbody tr:nth-child(even) {
  background-color: #f7fafc;
}

/* Hover effect so rows light up when a user mouses over them */
tbody tr:hover {
  background-color: #edf2f7;
  transition: background-color 0.2s ease;
}

/* Make numbers / costs pop visually */
td:nth-child(2), 
td:nth-child(3) {
  font-weight: 600;
  color: #2d3748;
}

/* Style the badges/types column if applicable */
td:last-child {
  color: var(--muted, #718096);
  font-style: italic;
}

/* --- PREMIUM STARTUP COST TABLE STYLING --- */

/* 1. Container that handles mobile overflow beautifully */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf2f7;
  -webkit-overflow-scrolling: touch; /* Smooth swiping on iOS */
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background-color: #ffffff;
  min-width: 700px; /* Forces enough room so text never clumps tightly on small screens */
}

/* 2. Header Polish */
.table-wrap thead th {
  background-color: var(--brand-dark, #1a202c); /* Uses your site variable, drops back to dark slate */
  color: #ffffff;
  font-weight: 600;
  padding: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #edf2f7;
}

/* 3. Row and Cell Alignment */
.table-wrap th, 
.table-wrap td {
  padding: 16px;
  line-height: 1.5;
  vertical-align: top; /* Keeps text neat if one column runs long */
  border-bottom: 1px solid #edf2f7;
}

/* 4. Strategic Column Widths */
.table-wrap th:nth-child(1),
.table-wrap td:nth-child(1) {
  width: 22%;
  font-weight: 600;
  color: var(--brand-dark, #1a202c);
}

.table-wrap th:nth-child(2),
.table-wrap td:nth-child(2) {
  width: 23%;
}

.table-wrap th:nth-child(3),
.table-wrap td:nth-child(3) {
  width: 20%;
}

/* Give the beginner note the remaining breathing room */
.table-wrap th:nth-child(4),
.table-wrap td:nth-child(4) {
  width: 35%;
  color: #4a5568; /* Slightly softer text for descriptions */
}

/* 5. Clean Visual Stripping & Interaction */
.table-wrap tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.table-wrap tbody tr:hover {
  background-color: #f1f5f9;
  transition: background-color 0.15s ease;
}

/* --- INTERACTIVE FAQ ACCORDION --- */
.faq-accordion-group {
  margin: 2rem 0;
  border-top: 1px solid #edf2f7;
}

.faq-item {
  border-bottom: 1px solid #edf2f7;
}

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-dark, #1a202c);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-toggle:hover {
  color: #3182ce; /* Light blue accent color on hover */
}

/* Create the expanding indicator icon using simple CSS */
.faq-toggle::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #a0aec0;
  margin-left: 15px;
}

/* Change icon when opened */
.faq-toggle.active::after {
  content: '−';
}

/* Panel logic: hidden by default, pops open gracefully via JS */
.faq-panel {
  display: none; /* Forces panels completely closed on load */
  overflow: hidden;
  background-color: #f8fafc;
  border-radius: 4px;
}

.faq-panel p {
  padding: 16px;
  margin: 0;
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95rem;
}



/* 2026 subdomain rebuild additions */
:root{--wrap:1500px;--navy:#17243a;--green:#245c63;--gold:#b7791f;--cream:#fbf7ef}
body{overflow-x:hidden}
.site-header{position:relative}
.header-inner{align-items:flex-start}
.main-nav{max-width:900px}
.home-hero{padding-top:clamp(44px,6vw,92px)}
.hero-visual{min-width:0}
.hero-visual img{display:block;width:100%;filter:drop-shadow(0 24px 38px rgba(23,36,58,.12))}
.micro-note{color:var(--muted);font-size:.92rem;margin-top:14px}
.proof-strip{background:#183f46;color:#fff;border-block:1px solid rgba(255,255,255,.15)}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px}
.stat-grid>div{padding:22px;text-align:center;background:rgba(255,255,255,.035)}
.stat-grid strong{display:block;font-size:1.45rem}.stat-grid span{display:block;color:#dceceb;font-size:.9rem}
.dark-section{background:#17243a;color:#f8fbfa}.dark-section h2{color:#fff}.dark-section p{color:#dce5e3}.dark-section .eyebrow{color:#efc77b}
.country-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.country-links a{padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:14px;color:#fff;text-decoration:none;font-weight:800;background:rgba(255,255,255,.06)}.country-links a:hover{background:rgba(255,255,255,.13)}
.number-list{display:grid;gap:14px;padding-left:1.4rem}.number-list li{padding-left:.45rem}
.step-list{display:grid;gap:16px}.step-list article{display:grid;grid-template-columns:52px 1fr;gap:18px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px}.step-list article>span{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--brand-dark);color:#fff;font-weight:900}.step-list h3{margin:0 0 4px}.step-list p{margin:0}
.comparison-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:#fff}.comparison-table{width:100%;border-collapse:collapse;min-width:760px}.comparison-table th,.comparison-table td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.comparison-table th{background:#e9f0ed;color:#183f46}.comparison-table tr:last-child td{border-bottom:0}
.source-list{display:grid;gap:10px}.source-list a{font-weight:750}
.source-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.source-groups article{padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff}.source-groups h3{margin-top:0}
.calculator{padding:clamp(20px,3vw,34px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow-soft)}.calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.calculator label{display:grid;gap:7px;font-weight:750}.calculator input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #abb8b3;border-radius:10px;font:inherit;background:#fff}.calculator input:focus{outline:3px solid rgba(36,92,99,.22);border-color:#245c63}.calc-result{margin-top:24px;padding:20px;border-radius:18px;background:#e9f0ed;border-left:6px solid #245c63}.calc-result h3{margin:0 0 12px}.calc-result dl{display:grid;gap:8px;margin:0}.calc-result dl>div{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #c8d8d2;padding-top:8px}.calc-result dt{font-weight:700}.calc-result dd{margin:0;font-weight:850}.privacy-note{font-size:.92rem;color:var(--muted)}
.checklist-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}.launch-checklist{display:grid;gap:10px;padding:clamp(18px,3vw,32px);background:#fff;border:1px solid var(--line);border-radius:22px}.launch-checklist h3{margin:26px 0 4px;padding-top:18px;border-top:1px solid var(--line)}.launch-checklist h3:first-child{margin-top:0;padding-top:0;border:0}.launch-checklist label{display:flex;align-items:flex-start;gap:12px;padding:10px;border-radius:10px}.launch-checklist label:hover{background:#f4efe6}.launch-checklist input{width:20px;height:20px;flex:0 0 auto;margin-top:2px}
.footer-grid{grid-template-columns:1.4fr repeat(3,1fr)}.footer-grid h2{font-size:1rem}.footer-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.footer-note{max-width:500px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:28px;padding:20px 0}.footer-bottom p{margin:0;font-size:.88rem}
address{font-style:normal;padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}
@media(max-width:1100px){.header-inner{display:grid}.brand{min-width:0}.main-nav{justify-content:flex-start}.hero-grid{grid-template-columns:1fr}.hero-visual{max-width:680px}.stat-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.wrap{width:min(var(--wrap),calc(100% - 28px))}.main-nav{gap:4px}.main-nav a{padding:7px 9px;font-size:.86rem}.calc-grid,.source-groups,.country-links{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr}.step-list article{grid-template-columns:42px 1fr}.step-list article>span{width:38px;height:38px}.footer-grid{grid-template-columns:1fr}.calc-result dl>div{display:grid;gap:2px}.hero-copy h1{font-size:clamp(2.2rem,13vw,4.2rem)}}
@media print{.site-header,.site-footer,.ad-section,.checklist-toolbar .button{display:none!important}.wrap{width:100%}.launch-checklist{border:0;box-shadow:none}.launch-checklist label{break-inside:avoid}.article-sidebar{display:none}.article-layout{display:block}}
