/* The website, in the app's own clothes: Inter, Tailwind's gray scale, blue-600
   for actions and the green of the Export PDF button for the one big call to
   action. Layout is plain CSS so the page has no build step. */

:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --green-600: #16a34a;
  --green-700: #15803d;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-800: #92400e;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 40px rgba(17, 24, 39, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--gray-500); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--gray-600); max-width: 640px; }

/* Buttons match the app's */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary, a.btn-primary, .nav-links a.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover, a.btn-primary:hover, .nav-links a.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-dark, a.btn-dark { background: var(--gray-900); color: #fff; }
.btn-dark:hover { background: var(--gray-700); }
.btn-green, a.btn-green { background: var(--green-600); color: #fff; }
.btn-green:hover, a.btn-green:hover { background: var(--green-700); color: #fff; }
.btn-outline { background: #fff; color: var(--gray-700); border-color: var(--gray-300); }
.btn-outline:hover { background: var(--gray-50); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* Nav: the app's bar */
.nav { background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: 0 1px 2px rgba(0,0,0,0.04); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--gray-900); }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--gray-600); font-size: 15px; }
.nav-links a:hover { color: var(--gray-900); text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 5fr 7fr; } }
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-fine { margin-top: 14px; font-size: 13px; color: var(--gray-500); }
.frame { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame img { width: 100%; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: #fff; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }

/* How it works */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--gray-600); font-size: 15px; }
.step .pic { margin: 16px -6px 0; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--gray-50); padding: 8px; }

/* Feature rows */
.feature { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 4fr 7fr; }
  .feature.flip .feature-text { order: 2; }
}
.feature h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.feature p { color: var(--gray-600); margin-bottom: 14px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--gray-600); line-height: 1.7; }

/* Feature grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--gray-600); font-size: 15px; }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; }
.plan { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); position: relative; }
.plan.featured { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100), var(--shadow-lg); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 15px; font-weight: 400; color: var(--gray-500); letter-spacing: 0; }
.plan ul { margin: 6px 0 18px; padding-left: 20px; color: var(--gray-600); line-height: 1.7; font-size: 15px; }
.plan .btn { margin-top: auto; }
.pricing-notes { margin-top: 24px; font-size: 14px; color: var(--gray-500); max-width: 760px; line-height: 1.7; }
.warn { background: var(--amber-50); border: 1px solid var(--amber-200); color: var(--amber-800); padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; max-width: 760px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gray-400); font-weight: 400; font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--gray-600); }

/* Requirements table */
table.req { border-collapse: collapse; width: 100%; max-width: 640px; background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
table.req th, table.req td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 15px; vertical-align: top; }
table.req th { width: 38%; color: var(--gray-500); font-weight: 500; }
table.req tr:last-child td, table.req tr:last-child th { border-bottom: 0; }

/* Footer */
footer { border-top: 1px solid var(--gray-200); background: #fff; padding: 36px 0; font-size: 14px; color: var(--gray-500); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--gray-600); }

/* Simple content pages */
.page { padding: 56px 0 80px; max-width: 720px; }
.page h1 { margin-bottom: 12px; }
.page .lead { margin-bottom: 32px; }
.page ol { padding-left: 22px; line-height: 1.8; }
.page li strong { color: var(--gray-900); }
.page .note { margin-top: 28px; padding: 14px 16px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 10px; color: var(--gray-700); font-size: 15px; }

/* Numbered steps inside a feature row (the "Updating manuals" section) */
.feature ol.how { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: how; }
.feature ol.how li { position: relative; padding-left: 44px; margin-bottom: 14px; color: var(--gray-600); }
.feature ol.how li::before { counter-increment: how; content: counter(how); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.feature ol.how li strong { color: var(--gray-900); }
