/* ============================================================
   Atomik Labs — styles
   Custom CSS (no framework runtime) for fast Core Web Vitals.
   ============================================================ */

:root {
  --ink: #001733;
  --ink-2: #3a4760;
  --muted: #6b7687;
  --line: #e6e9ed;
  --bg: #ffffff;
  --bg-soft: #f3f9ff;
  --accent: #0077ff;
  --accent-700: #0061d6;
  --accent-50: #eaf3ff;
  --blue: #0077ff;
  --blue-700: #0061d6;
  --sky-1: #e3f0ff;
  --sky-2: #f3f9ff;
  --radius: 0px;
  --radius-sm: 0px;
  --container: 1120px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 26, .06), 0 1px 1px rgba(16, 19, 26, .04);
  --shadow-md: 0 18px 50px -18px rgba(16, 19, 26, .22);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { --pad-y: 16px; --pad-x: 28px; font-size: 17px; }
.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: 15px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 92, 255, .7); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 14px 30px -10px rgba(47, 92, 255, .8); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfcfd3; background: #fafafa; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: #000; object-fit: cover; display: block;
}
.brand-name { font-family: var(--font-sans); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .2s; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 10px 22px 18px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 12px 4px; border-radius: 0; }
.nav-links a.is-active { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.mobile-nav a.is-active { color: var(--accent); }
.mobile-nav a.btn { margin-top: 8px; color: #fff; }

/* ---------- Section primitives ---------- */
.section { padding: 88px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow-light { color: #ffd9c8; }
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.08; letter-spacing: -.025em; font-weight: 800;
  margin: 0 0 18px; max-width: 18ch;
}
.section-title em { font-style: normal; font-weight: 800; color: var(--accent); letter-spacing: -.01em; }
.section-lead { color: var(--ink-2); font-size: 18px; max-width: 60ch; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 80% at 50% -10%, var(--sky-1) 0%, var(--sky-2) 32%, #fff 70%);
  padding: 84px 0 76px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-50); }
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  margin: 26px 0 0; max-width: 16ch;
}
.hero-title em { font-style: normal; font-weight: 800; color: var(--accent); letter-spacing: -.01em; }
.hero-sub { color: var(--ink-2); font-size: clamp(17px, 2.4vw, 20px); max-width: 56ch; margin: 22px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.hero-note { color: var(--muted); font-size: 14.5px; margin: 20px 0 0; }

/* ---------- Problem ---------- */
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.problem-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.problem-num { font-weight: 800; font-size: 26px; color: var(--accent); margin-bottom: 12px; letter-spacing: -.02em; }
.problem-card h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }
.problem-card p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* ---------- Work / proof ---------- */
.work { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.work-head { max-width: 720px; }
.browser {
  margin: 42px 0 0; border-radius: 0; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff;
}
.site-embed { width: 100%; height: 620px; border: 0; display: block; background: #fff; }
@media (max-width: 720px) { .site-embed { height: 460px; } }
.browser-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: #f1f1ef; border-bottom: 1px solid var(--line);
}
.traffic { display: inline-flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; background: #d6d6da; display: block; }
.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.url {
  font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 0; flex: 1; max-width: 320px; text-align: center;
}
.browser-view { padding: 0; }
.demo {
  background:
    radial-gradient(120% 90% at 50% -20%, #e7f1fb 0%, #f6faff 45%, #fff 75%);
  padding: 22px clamp(18px, 4vw, 48px) 40px;
}
.demo-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 26px; }
.demo-nav strong { font-size: 17px; letter-spacing: -.02em; }
.demo-call { font-weight: 700; color: var(--accent); font-size: 15px; }
.demo-hero { text-align: center; max-width: 620px; margin: 0 auto; }
.demo-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; font-weight: 700; color: var(--ink-2); margin: 0; }
.demo-hero h3 { font-family: var(--font-sans); font-size: clamp(26px, 4.4vw, 40px); letter-spacing: -.03em; line-height: 1.05; margin: 12px 0 10px; font-weight: 800; }
.demo-lead { color: var(--ink-2); margin: 0 0 20px; }
.demo-btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 600; padding: 13px 24px; border-radius: 999px; font-size: 15px; }
.demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.demo-ico { font-size: 24px; }

.work-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.work-cta-note { color: var(--muted); font-size: 14.5px; }

/* ---------- Offer ---------- */
.offer { background: #fff; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 38px; }
.offer-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; background: var(--bg-soft);
}
.offer-card--accent {
  background: var(--ink); color: #fff; border-color: var(--ink);
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(255,90,31,.25) 0%, transparent 50%);
}
.offer-card--accent .check-list li { color: #e9eaee; }
.offer-card--accent .check-list li::before { background: var(--accent); border-color: var(--accent); }
.offer-price { display: flex; align-items: baseline; gap: 8px; }
.offer-price .amount { font-family: var(--font-sans); font-size: 46px; font-weight: 800; letter-spacing: -.04em; }
.offer-price .cadence { color: var(--muted); font-weight: 600; font-size: 16px; }
.offer-card--accent .offer-price .cadence { color: #b9bcc6; }
.offer-card h3 { font-size: 20px; margin: 8px 0 18px; letter-spacing: -.02em; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff; background: var(--accent); border: 1px solid var(--accent);
}
.offer-foot { text-align: center; color: var(--muted); margin: 24px 0 0; font-weight: 500; }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.steps { list-style: none; counter-reset: step; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.step-num {
  width: 42px; height: 42px; border-radius: 0; display: grid; place-items: center;
  background: var(--accent-50); color: var(--accent); font-weight: 800; font-size: 20px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.02em; }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* ---------- About ---------- */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.about-photo { }
.about-img {
  width: 100%; border-radius: var(--radius); display: block;
  box-shadow: var(--shadow-md); background: var(--bg-soft);
}
.about-text p { color: var(--ink-2); font-size: 17.5px; margin: 0 0 16px; max-width: 60ch; }
.about-text .section-title { margin-bottom: 18px; }
.about-text em { font-style: normal; font-weight: 700; color: var(--accent); }
.about-sign { font-weight: 700; color: var(--ink) !important; }

/* ---------- Guarantee ---------- */
.guarantee { background: var(--ink); color: #fff; text-align: center; }
.guarantee-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.guarantee-icon { color: var(--accent); margin-bottom: 18px; }
.guarantee .section-title { max-width: none; margin-bottom: 16px; }
.guarantee-text { color: #c9ccd4; font-size: 19px; max-width: 56ch; margin: 0 0 30px; }
.guarantee-text .muted { color: #7e828d; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; font-weight: 700; font-size: 18px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.chev { position: relative; width: 16px; height: 16px; flex: none; }
.chev::before, .chev::after {
  content: ""; position: absolute; top: 7px; width: 10px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .2s ease;
}
.chev::before { left: 0; transform: rotate(45deg); }
.chev::after { right: 0; transform: rotate(-45deg); }
.faq details[open] .chev::before { transform: rotate(-45deg); }
.faq details[open] .chev::after { transform: rotate(45deg); }
.faq-body { padding: 0 4px 24px; }
.faq-body p { margin: 0; color: var(--ink-2); font-size: 16.5px; max-width: 64ch; }

/* ---------- Book / final CTA ---------- */
.book { background: var(--ink); color: #fff; }
.book-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.book .section-title { color: #fff; }
.book-lead { color: #c9ccd4; font-size: 18px; max-width: 48ch; }
.book-email { color: #c9ccd4; margin-top: 18px; }
.book-email a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.book-widget { }
.widget-placeholder {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px 30px;
  text-align: center; box-shadow: var(--shadow-md);
}
.widget-title { font-weight: 800; font-size: 20px; margin: 0 0 6px; letter-spacing: -.02em; }
.widget-note { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; margin: 0 0 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9ccd4; padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.brand--footer { color: #fff; }
.footer-meta { margin: 0; font-size: 14.5px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.footer-meta a { color: #c9ccd4; text-decoration: none; }
.footer-meta a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #2a2d36; color: #c9ccd4; }
.footer-social a:hover { color: #fff; border-color: #3a3f4b; background: #14161c; }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Media / social section ---------- */
.media { background: #fff; text-align: center; }
.media .section-title { margin-left: auto; margin-right: auto; max-width: none; }
.media-lead { color: var(--ink-2); font-size: 18px; max-width: 46ch; margin: 0 auto; }
.media-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
  margin-top: 40px; text-align: left;
}
.media-card {
  border: 1px solid var(--line); background: var(--bg-soft); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.media-ico { width: 50px; height: 50px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.media-ico svg { width: 26px; height: 26px; }
.media-card h3 { font-size: 19px; margin: 0; letter-spacing: -.02em; }
.media-card p { color: var(--ink-2); margin: 0; font-size: 15.5px; flex: 1; }
.media-card .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- Home CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band .section-title { color: #fff; margin: 0 auto 16px; max-width: 22ch; }
.cta-band p { color: #c9ccd4; font-size: 18px; max-width: 52ch; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .offer-grid, .about-inner, .book-inner { grid-template-columns: 1fr; }
  .about-inner { gap: 28px; }
  .about-photo { max-width: 340px; }
  .book-inner { gap: 30px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .mobile-nav { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 56px; }
  .demo-cards { grid-template-columns: 1fr; }
  .demo-nav { padding-bottom: 18px; }
  body { font-size: 16px; }
}
