/* CadWercs public site: landing page + guides */
:root {
  --bg: #0b0e12;
  --bg-2: #11161d;
  --panel: #151b23;
  --line: #242d39;
  --text: #e8edf3;
  --muted: #93a0b1;
  --accent: #f97316;
  --accent-2: #fb923c;
  --good: #4ade80;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, 'Segoe UI', system-ui, sans-serif;
}
a { color: var(--accent-2); }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 14, 18, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.logo img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links a.hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 9px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--panel);
}
.btn:hover { border-color: #3a4556; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1a0d00; }
.btn.primary:hover { background: var(--accent-2); }
.btn.sm { padding: 7px 14px; font-size: 14px; }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(circle at 70% 0%, rgba(249, 115, 22, 0.14), transparent 55%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta small { color: var(--muted); width: 100%; font-size: 14px; }
.hero-art { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.hero-art svg { width: 100%; height: auto; display: block; }
.art-caption { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.15; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; font-size: 17px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(249, 115, 22, 0.14); color: var(--accent-2); font-size: 20px; margin-bottom: 12px; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 22px 22px 22px 70px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #1a0d00; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.machines { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* pricing */
.prices { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 880px; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.price.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price h3 { margin: 0; font-size: 18px; }
.amount { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price ul { margin: 4px 0 8px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.price .btn { margin-top: auto; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(249, 115, 22, 0.16); color: var(--accent-2); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* faq */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 2px; }

/* guides (articles) */
.article { padding: 48px 0 64px; }
.article .wrap { max-width: 820px; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); }
.article h2 { font-size: 26px; margin-top: 40px; }
.article p, .article li { color: #cfd6df; }
.article .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.article .crumbs a { color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; background: var(--panel); }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.callout p { margin: 0; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--text); }
.logo b { font-weight: inherit; }
