:root {
  --navy-950: #07162f;
  --navy-900: #0b1d3b;
  --navy-800: #132b52;
  --blue: #4f8cff;
  --blue-soft: #eaf1ff;
  --amber: #ffbb45;
  --ink: #10223f;
  --muted: #5f6e84;
  --line: #dfe5ee;
  --paper: #ffffff;
  --cloud: #f4f7fb;
  --green: #19a574;
  --shadow: 0 24px 70px rgba(7, 22, 47, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--amber); color: var(--navy-950); padding: .75rem 1rem; border-radius: .6rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1rem, 4vw, 4rem);
  background: rgba(7, 22, 47, .96);
  color: white;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--blue); position: relative; display: inline-block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.brand-mark::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); right: 7px; top: 6px; }
.brand-mark span { position: absolute; left: 8px; bottom: 8px; width: 20px; height: 13px; border-left: 3px solid white; border-bottom: 3px solid white; transform: skewY(-32deg); }
.site-header nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.site-header nav a { color: #d7e1f1; text-decoration: none; font-size: .94rem; font-weight: 600; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }
.header-cta { text-decoration: none; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; padding: .55rem 1rem; font-weight: 700; }

.hero { min-height: 660px; position: relative; display: grid; align-items: center; overflow: hidden; color: white; }
.hero-image { position: absolute; inset: 0; background: url("./assets/business-owner-toolkit.png") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,47,.98) 0%, rgba(7,22,47,.93) 34%, rgba(7,22,47,.38) 65%, rgba(7,22,47,.06) 100%); }
.hero-content { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 6.5rem 0 7rem; position: relative; z-index: 1; }
.hero-content > * { max-width: 660px; }
.eyebrow { margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; color: #bcd1ff; text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 800; }
.eyebrow span { width: 28px; height: 2px; background: var(--amber); display: inline-block; }
.eyebrow.dark { color: #3766bd; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.08; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.4rem; }
.hero-copy { font-size: clamp(1.05rem, 1.7vw, 1.26rem); color: #dbe5f4; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.8rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border-radius: .7rem; padding: .76rem 1.15rem; text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .goal-card:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.button-primary { background: var(--amber); color: var(--navy-950); box-shadow: 0 12px 30px rgba(255,187,69,.24); }
.button-ghost { border-color: rgba(255,255,255,.38); color: white; background: rgba(255,255,255,.06); }
.button-dark { background: var(--navy-950); color: white; white-space: nowrap; }
.button-light { background: white; color: var(--navy-950); }
.trust-list { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; margin: 0; padding: 0; color: #dbe5f4; font-size: .92rem; }
.trust-list span { color: var(--amber); font-weight: 800; margin-right: .25rem; }

.finder-section { width: min(1160px, calc(100% - 2rem)); margin: -58px auto 0; padding: clamp(2rem, 5vw, 4.2rem); background: white; border-radius: 1.3rem; box-shadow: var(--shadow); position: relative; z-index: 3; }
.section-heading { max-width: 670px; margin-bottom: 2rem; }
.section-heading.compact { margin-bottom: 1.6rem; }
.section-heading h2 { margin-bottom: .8rem; }
.section-heading p:last-child { color: var(--muted); font-size: 1.05rem; }
.goal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.goal-card { min-height: 132px; display: flex; align-items: flex-start; gap: .85rem; text-align: left; color: var(--ink); background: #fafcff; border: 1px solid var(--line); border-radius: .9rem; padding: 1rem; cursor: pointer; transition: .18s ease; }
.goal-card:hover { border-color: #9ab9f3; transform: translateY(-2px); }
.goal-card.active { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.goal-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: white; color: #356bd1; font-weight: 800; border: 1px solid #dbe6fb; }
.goal-card strong, .goal-card small { display: block; }
.goal-card strong { line-height: 1.25; margin-bottom: .38rem; }
.goal-card small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.recommendation { display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center; background: linear-gradient(135deg, #edf4ff, #f8fbff); border: 1px solid #cfdef7; border-radius: 1rem; margin-top: 1.3rem; padding: 1.35rem; }
.recommendation-brand { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 1rem; color: white; background: var(--navy-950); font-weight: 800; font-size: .78rem; text-align: center; line-height: 1.1; padding: .5rem; }
.match-label { text-transform: uppercase; letter-spacing: .12em; color: #3972dc; font-size: .7rem; font-weight: 800; margin: 0 0 .2rem; }
.recommendation h3 { margin: 0 0 .35rem; }
.recommendation-copy > p:not(.match-label) { color: var(--muted); margin: 0 0 .6rem; max-width: 650px; }
.result-points { display: flex; flex-wrap: wrap; gap: .45rem; }
.result-points span { background: white; border: 1px solid #dbe6f7; border-radius: 999px; padding: .22rem .62rem; font-size: .75rem; color: #425675; }
.micro-disclosure { color: #738096; font-size: .76rem; margin: .8rem 0 0; }

.compare-section { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.tool-card { border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; display: flex; flex-direction: column; background: white; box-shadow: 0 14px 35px rgba(7,22,47,.055); }
.tool-card.featured { border-top: 4px solid var(--blue); padding-top: calc(1.35rem - 3px); }
.tool-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.tool-number { color: #9ba7b9; font-family: "Manrope", sans-serif; font-weight: 800; font-size: .78rem; }
.status-pill { background: #e7f8f2; color: #147c5a; font-size: .7rem; padding: .28rem .58rem; border-radius: 999px; font-weight: 800; }
.status-pill.muted { background: #eef2f7; color: #56667e; }
.tool-logo { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-family: "Manrope", sans-serif; font-weight: 800; margin-bottom: 1rem; }
.tool-logo.tiktok { background: #111827; color: white; }
.tool-logo.systeme { background: #e9f0ff; color: #2f67d0; }
.tool-logo.freshbooks { background: #eef9ef; color: #2a8f4d; }
.tool-logo.semrush { background: #fff1eb; color: #f45d2a; }
.tool-card h3 { margin-bottom: .65rem; }
.tool-card > p { color: var(--muted); font-size: .94rem; }
.tool-card ul { list-style: none; padding: 0; margin: .6rem 0 1.5rem; color: #43516a; font-size: .86rem; }
.tool-card li { position: relative; padding: .35rem 0 .35rem 1.25rem; }
.tool-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.text-link { margin-top: auto; color: #2f65ca; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.guide-section { background: var(--navy-950); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1160px)/2)); }
.guide-intro { max-width: 460px; }
.guide-intro h2 { margin-bottom: 1rem; }
.guide-intro > p:last-child { color: #bdcbe0; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.steps li > span { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(79,140,255,.18); color: #a9c4ff; border-radius: 9px; font-weight: 800; }
.steps strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.05rem; margin-bottom: .2rem; }
.steps p { margin: 0; color: #aebed5; font-size: .92rem; }
.final-cta { width: min(1160px, calc(100% - 2rem)); margin: 6rem auto; border-radius: 1.2rem; padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(120deg, #326bd2, #15345f); color: white; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.final-cta h2 { max-width: 690px; margin: 0; }

footer { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 2.4rem 0 3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr minmax(260px, 420px); gap: 2rem; align-items: center; color: var(--muted); font-size: .86rem; }
.footer-brand { color: var(--ink); }
.footer-note { text-align: right; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .site-header .header-cta { margin-left: auto; }
  .hero { min-height: 620px; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,22,47,.97), rgba(7,22,47,.80) 55%, rgba(7,22,47,.25)); }
  .goal-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .recommendation { grid-template-columns: auto 1fr; }
  .recommendation .button { grid-column: 1 / -1; }
  .guide-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; padding: 0 1rem; }
  .site-header .header-cta { display: none; }
  .brand { font-size: .92rem; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { min-height: 660px; align-items: end; }
  .hero-image { background-position: 70% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(7,22,47,.99) 8%, rgba(7,22,47,.82) 58%, rgba(7,22,47,.22) 100%); }
  .hero-content { padding: 8rem 0 5.5rem; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero-actions .button { width: 100%; }
  .finder-section { margin-top: -35px; padding: 1.35rem; }
  .goal-grid, .tool-grid { grid-template-columns: 1fr; }
  .goal-card { min-height: 104px; }
  .recommendation { grid-template-columns: 1fr; }
  .recommendation-brand { width: 58px; height: 58px; }
  .recommendation .button { grid-column: auto; }
  .compare-section { padding: 5rem 0; }
  .final-cta { margin: 4rem auto; align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: .75rem; }
  .footer-note { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
