* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: #ffffff;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

p { margin: 0 0 14px; text-wrap: pretty; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  background: #3355ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid #3355ff;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: #2342e0; border-color: #2342e0; }
.btn-small { padding: 9px 16px; }
.btn-big { padding: 15px 28px; font-size: 16px; }
.btn-ghost { background: #ffffff; color: #111827; border-color: #d5dae5; }
.btn-ghost:hover { background: #f3f5fa; border-color: #c3c9d8; }
.btn-light { background: #ffffff; color: #3355ff; border-color: #ffffff; }
.btn-light:hover { background: #e8edff; border-color: #e8edff; }
.btn-block { display: block; }

a:focus, .btn:focus, summary:focus { outline: 3px solid #ffb800; outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: #ffffff; border-bottom: 1px solid #e4e8f0; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #111827; text-decoration: none; }
.nav-links { display: none; }
.nav-links a { margin: 0 14px; color: #475066; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: #111827; }

/* Hero */
.hero { padding: 48px 0 56px; background: #f5f7fc; border-bottom: 1px solid #e4e8f0; }
.hero-text { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #3355ff; }
h1 { font-size: 38px; line-height: 1.08; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.lead { font-size: 18px; color: #475066; max-width: 600px; margin: 0 auto 26px; }
.hero-actions .btn { display: block; margin: 0 0 10px; }
.hero-fine { font-size: 14px; color: #5b6478; margin: 14px 0 0; }
.hero-ask { max-width: 520px; margin: 8px auto 0; font-size: 15px; color: #475066; }

/* Sample batch */
.sample { max-width: 920px; margin: 0 auto; background: #ffffff; border: 1px solid #d9deea; border-radius: 16px; overflow: hidden; }
.sample-head { margin: 0; padding: 12px 20px; font-size: 13px; font-weight: 600; color: #5b6478; border-bottom: 1px solid #e4e8f0; background: #fafbfd; }
.sample-item { padding: 20px; }
.sample-item + .sample-item { border-top: 1px solid #e4e8f0; }
.sample-who { margin: 0 0 10px; line-height: 1.3; }
.sample-who strong { display: block; font-size: 15px; }
.sample-who span { font-size: 13px; color: #5b6478; }
.sample-msg { margin: 0 0 10px; padding: 14px 16px; background: #f1f4ff; border-radius: 10px; font-size: 16px; line-height: 1.55; }
.sample-based { margin: 0; font-size: 13px; line-height: 1.5; color: #5b6478; }
.sample-based strong { color: #111827; }
.sample-note { margin: 0; padding: 10px 20px; font-size: 12.5px; color: #5b6478; border-top: 1px solid #e4e8f0; background: #fafbfd; }

.tag { display: inline-block; font-size: 13px; font-weight: 500; color: #3355ff; background: #eaeeff; padding: 4px 11px; border-radius: 99px; margin: 0 6px 6px 0; }
.tags { margin: 16px 0 0; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: #f5f7fc; border-top: 1px solid #e4e8f0; border-bottom: 1px solid #e4e8f0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: 30px; line-height: 1.15; font-weight: 800; margin-bottom: 10px; }
.section-head p { color: #475066; font-size: 17px; margin: 0; }

/* Bento */
.card { background: #ffffff; border: 1px solid #e4e8f0; border-radius: 16px; padding: 26px; margin-bottom: 16px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: #475066; margin: 0; }
.card .tags { margin-top: 16px; }
.card-blue { background: #3355ff; border-color: #3355ff; color: #ffffff; }
.card-blue p { color: #eef2ff; }
.card-soft { background: #f5f7fc; }

/* Compare */
.compare-box { border-radius: 14px; padding: 22px; margin-bottom: 14px; }
.compare-bad { background: #eceff4; color: #5b6478; }
.compare-good { background: #ffffff; border: 2px solid #3355ff; }
.compare-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.compare-good .compare-label { color: #3355ff; }
.compare-msg { margin: 0; font-size: 17px; line-height: 1.55; }
.compare-src { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #5b6478; }
.compare-src strong { color: #111827; }

/* Steps */
.step { padding: 22px 0; border-top: 1px solid #e4e8f0; }
.step-num { margin: 0 0 10px; width: 34px; height: 34px; border-radius: 50%; background: #111827; color: #ffffff; font-weight: 700; text-align: center; line-height: 34px; font-size: 15px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p:last-child { color: #475066; margin: 0; }

/* Plan */
.plan { max-width: 460px; margin: 0 auto; background: #ffffff; border: 1px solid #d9deea; border-radius: 18px; padding: 30px 26px; }
.plan-name { margin: 0 0 8px; font-weight: 700; color: #3355ff; }
.plan-price { margin: 0 0 22px; }
.plan-amount { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-unit { margin-left: 10px; color: #6b7388; }
.plan-list { margin-bottom: 24px; }
.plan-list li, .about-list li { padding: 11px 0 11px 28px; border-top: 1px solid #eef1f6; position: relative; }
.plan-list li:before, .about-list li:before { content: ""; position: absolute; left: 4px; top: 17px; width: 6px; height: 11px; border-right: 2px solid #3355ff; border-bottom: 2px solid #3355ff; transform: rotate(45deg); }
.plan-fine { margin: 16px 0 0; font-size: 13.5px; color: #6b7388; }
.plan-fine + .plan-fine { margin-top: 8px; }

/* About (kept after Plan so it can override the shared list rules above) */
.about { max-width: 640px; margin: 0 auto; }
.about-lead { margin: 0 0 22px; font-size: 19px; line-height: 1.5; }
.about-list { margin: 0 0 22px; }
.about-list li { border-top-color: #dde2ee; }
.about-list li:last-child { border-bottom: 1px solid #dde2ee; }
.about p:last-child { margin: 0; }
.about a { color: #3355ff; font-weight: 600; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { border-top: 1px solid #e4e8f0; padding: 18px 0; }
details:last-child { border-bottom: 1px solid #e4e8f0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { margin: 10px 0 0; color: #475066; }

/* Final CTA */
.final { background: #111827; color: #ffffff; padding: 72px 0; text-align: center; }
.final h2 { font-size: 32px; line-height: 1.12; font-weight: 800; max-width: 680px; margin: 0 auto 12px; }
.final p { color: #b9c1d4; margin-bottom: 26px; }

/* Footer */
.footer { padding: 48px 0 28px; font-size: 14px; color: #6b7388; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; }
.footer-about { max-width: 300px; margin: 0 0 32px; }
.footer-brand { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #111827; }
.footer-blurb { margin: 0; line-height: 1.5; }
.footer-cols { display: flex; flex-wrap: wrap; }
.footer-col { margin: 0 44px 28px 0; min-width: 110px; }
.footer-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #111827; }
.footer-col li { margin: 0 0 8px; }
.footer-col a { color: #475066; text-decoration: none; }
.footer-col a:hover { color: #111827; text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 20px; border-top: 1px solid #e4e8f0; }
.footer-bottom p { margin: 0; }
.footer-social { display: block; padding: 8px; margin: -8px 0 -8px -8px; line-height: 0; color: #6b7388; opacity: 0.8; transition: opacity 0.15s, color 0.15s; }
.footer-social:hover { opacity: 1; color: #3355ff; }
.footer-social svg { display: block; width: 22px; height: 22px; fill: currentColor; }

/* Tablet and desktop */
@media (min-width: 820px) {
  body { font-size: 17px; }
  .nav-links { display: block; }
  .hero { padding: 80px 0 88px; }
  h1 { font-size: 62px; }
  .lead { font-size: 20px; }
  .hero-actions .btn { display: inline-block; margin: 0 6px; }
  .hero-text { margin-bottom: 56px; }
  .sample-body { display: flex; }
  .sample-item { flex: 1; padding: 28px; }
  .sample-item + .sample-item { border-top: 0; border-left: 1px solid #e4e8f0; }

  .section { padding: 96px 0; }
  .section-head { margin-bottom: 52px; }
  .section-head h2 { font-size: 42px; }

  .bento { display: flex; flex-wrap: wrap; margin: 0 -8px; }
  .card { margin: 0 8px 16px; width: calc(33.333% - 16px); padding: 32px; }
  .card-wide { width: calc(66.666% - 16px); }

  .compare { display: flex; max-width: 960px; margin: 0 auto; }
  .compare-box { flex: 1; margin: 0 7px; padding: 30px; }

  .steps { display: flex; margin: 0 -16px; }
  .step { flex: 1; margin: 0 16px; border-top: 2px solid #111827; padding-top: 24px; }

  .plan { padding: 40px 36px; }
  .final { padding: 110px 0; }
  .final h2 { font-size: 50px; }

  .footer { padding: 64px 0 32px; }
  .footer-about { margin-bottom: 0; }
  .footer-col:last-child { margin-right: 0; }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .footer-social { transition: none; }
}
