/* Focus Search marketing site — light blue / navy palette */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0f2744;
  --navy-soft: #1c3a5e;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-soft: #e8f0fe;
  --blue-mist: #f4f7ff;
  --text: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: rgba(15, 39, 68, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 39, 68, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --ok: #16a34a;
  --bad: #e11d48;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
}

a {
  color: var(--blue);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  text-decoration: none;
}

.logo img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--navy);
}

.btn-nav {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.9375rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

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

.btn-ghost:hover {
  background: var(--blue-mist);
  border-color: transparent;
}

/* Hero */
.hero {
  padding: 56px 0 80px;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(700px 400px at 88% 20%, rgba(99, 102, 241, 0.1), transparent 50%),
    linear-gradient(180deg, var(--blue-mist) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Browser mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.browser-mock {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid var(--border);
}

.browser-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-chrome .dot:first-child {
  background: #fb7185;
}
.browser-chrome .dot:nth-child(2) {
  background: #fbbf24;
}
.browser-chrome .dot:nth-child(3) {
  background: #34d399;
}

.omnibox {
  flex: 1;
  margin-left: 8px;
  padding: 8px 12px;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
}

.omnibox-ico {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0.7;
}

.browser-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
}

.pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  grid-row: span 2;
}

.pill-blue {
  background: linear-gradient(135deg, var(--blue), #6366f1);
}

.pill-soft {
  background: var(--blue-soft);
}

.line {
  height: 10px;
  border-radius: 6px;
  background: #e2e8f0;
}

.line.title {
  width: 72%;
}

.line.title.short {
  width: 55%;
}

.line.sub {
  width: 92%;
  height: 8px;
  opacity: 0.75;
}

.line.sub.long {
  width: 100%;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(37, 99, 235, 0.08), transparent 60%),
    var(--blue-soft);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.375rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* Noise section */
.noise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.noise-copy h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.noise-lead {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 36rem;
}

.checklist {
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.checklist .ok .mark {
  background: rgba(22, 163, 74, 0.12);
  color: var(--ok);
}

.checklist .no .mark {
  background: rgba(225, 29, 72, 0.1);
  color: var(--bad);
}

.noise-visual {
  position: relative;
  min-height: 280px;
}

.stack-card {
  position: absolute;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.stack-card.c1 {
  width: 88%;
  height: 120px;
  right: 0;
  top: 8px;
  opacity: 0.55;
  transform: rotate(3deg);
}

.stack-card.c2 {
  width: 82%;
  height: 130px;
  right: 6%;
  top: 64px;
  opacity: 0.78;
  transform: rotate(-2deg);
}

.stack-card.c3 {
  width: 78%;
  min-height: 150px;
  right: 12%;
  top: 130px;
  padding: 20px;
  transform: rotate(1deg);
}

.mini-bar {
  height: 10px;
  width: 45%;
  background: var(--blue);
  border-radius: 6px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.mini-line {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 10px;
}

.mini-line.short {
  width: 70%;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 8px;
}

.step-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-soft);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-num {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--blue);
}

.step h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ */
.section-faq {
  background: var(--blue-mist);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-q:hover {
  background: #fafbff;
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 500;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 20px 18px;
}

.faq-a p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-a a {
  font-weight: 600;
}

/* CTA band */
.cta-band {
  padding: 72px 0 88px;
}

.cta-panel {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-sub {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.cta-panel .btn-primary {
  background: var(--white);
  color: var(--navy);
}

.cta-panel .btn-primary:hover {
  background: var(--blue-soft);
  color: var(--navy);
}

.cta-note {
  margin-top: 16px;
  font-size: 0.875rem;
  opacity: 0.75;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-cols h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-cols ul {
  list-style: none;
}

.footer-cols li {
  margin-bottom: 10px;
}

.footer-cols a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Privacy page (shared) */
.privacy-page {
  padding: 48px 0 80px;
  max-width: 860px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.last-updated {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.privacy-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin: 22px 0 10px;
}

.privacy-section p,
.privacy-section li {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.privacy-section ul {
  margin: 12px 0 12px 22px;
}

.privacy-section a {
  color: var(--blue);
  font-weight: 500;
}

.summary {
  background: var(--blue-soft);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.summary-box p {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.summary-box ul {
  list-style: none;
  margin: 0;
}

.summary-box li {
  padding-left: 0;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.nav-links a.active {
  color: var(--navy);
}

/* Motion / reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .btn-primary,
  .faq-toggle {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .noise-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .browser-mock {
    transform: none;
    max-width: 100%;
  }

  .feature-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .noise-visual {
    min-height: 220px;
  }

  .footer-cols {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .btn-nav {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
