/* HostForge — one stylesheet, system fonts, mobile first */
:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff6ff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --radius: 12px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: var(--text); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .btn { color: #fff; padding: 8px 14px; }
.nav .btn:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  text-align: center;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-block { display: block; width: 100%; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

.hero { padding: 56px 0 48px; }
.hero h1 { font-size: 2.25rem; max-width: 720px; }
.hero .lead { font-size: 1.125rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-note { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }

/* Feature grid */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.icon svg { width: 20px; height: 20px; }

/* Plans */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan-featured { border: 2px solid var(--accent); }
.plan-tag {
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); margin-bottom: 16px; }
.price { font-size: 2.5rem; font-weight: 700; line-height: 1; margin: 0; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { font-size: 0.875rem; color: var(--muted); margin: 8px 0 20px; }
.features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.features li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--line); }
.features li:first-child { border-top: 0; }
.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.notice {
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 24px;
}
.notice p:last-child { margin-bottom: 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--bg-alt); }
tbody th { font-weight: 500; color: var(--muted); }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Legal pages */
.doc { padding: 48px 0 64px; }
.doc h1 { margin-bottom: 8px; }
.doc .meta { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 1.25rem; margin-top: 36px; }
.doc ul { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc address { font-style: normal; margin-bottom: 1em; }

/* Contact */
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.contact-grid .card p { color: var(--text); }
.contact-grid .card .muted { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta { text-align: center; }
.cta p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 36px 0; font-size: 0.925rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0 0 16px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0 0 6px; }

/* Larger screens */
@media (min-width: 720px) {
  h1 { font-size: 2.5rem; }
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 3rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}

@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.center { justify-content: center; }
.lead { font-size: 1.125rem; color: var(--muted); }
.doc .hero-actions { margin: 0 0 8px; }
.plan { position: relative; }
.plan-featured .plan-tag { position: absolute; top: -13px; left: 22px; margin: 0; background: var(--accent); color: #fff; }
@media (max-width: 719px) {
  .nav .btn { display: none; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 719px) {
  table { font-size: 0.875rem; }
  th, td { padding: 10px 10px; }
}
