/* RS IT Services — storefront stylesheet
   Clean static site. No build step, no external fonts or trackers. */

:root {
  --ink: #16232e;
  --ink-soft: #43545f;
  --navy: #0e2a3f;
  --navy-deep: #0a1f30;
  --accent: #0f7b6c;
  --accent-dark: #0a5c51;
  --amber: #e8a33d;
  --paper: #ffffff;
  --mist: #f2f5f7;
  --line: #d9e1e7;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

/* Header */
.site-header {
  background: var(--navy-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; letter-spacing: .5px;
}
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: .2px; }
.brand-sub { display: block; font-size: 12px; color: #b9c9d4; font-weight: 400; letter-spacing: .4px; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: #dbe6ee; text-decoration: none; font-size: 15.5px; }
.main-nav a:hover { color: #fff; text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 1px solid #33506b; color: #fff;
  border-radius: 8px; padding: 6px 12px; font-size: 15px; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: #fff; padding: 64px 0 56px;
}
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; max-width: 720px; }
.hero p.lede { font-size: 19px; color: #c8d8e2; max-width: 640px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: #93aebd; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 9px; font-size: 16px; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #48657e; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-buy { background: var(--accent); color: #fff; width: 100%; text-align: center; }
.btn-buy:hover { background: var(--accent-dark); color: #fff; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--mist); }
.section h2 { font-size: 29px; margin: 0 0 10px; line-height: 1.25; }
.section .sub { color: var(--ink-soft); max-width: 680px; margin: 0 0 34px; }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 3px rgba(14,42,63,.05);
}
.card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-dark); }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--accent-dark);
  background: #e3f0ed; padding: 4px 10px; border-radius: 20px;
}
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.price { font-size: 26px; font-weight: 700; color: var(--ink); }
.price-was { color: var(--ink-soft); text-decoration: line-through; font-size: 16px; }
.price-note { font-size: 13.5px; color: var(--ink-soft); }
.card .more { font-size: 15px; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy);
  color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17.5px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Product detail pages */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; max-width: 780px; }
.page-head .lede { font-size: 18.5px; color: var(--ink-soft); max-width: 720px; margin: 0; }
.crumb { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumb a { color: var(--ink-soft); }
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 34px; padding: 30px 0 60px; align-items: start; }
.detail h2 { font-size: 22px; margin: 28px 0 10px; }
.detail h2:first-child { margin-top: 0; }
.detail ul { margin: 8px 0 8px 20px; padding: 0; }
.detail li { margin-bottom: 8px; }
.buybox {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: var(--mist); position: sticky; top: 92px;
}
.buybox .price { font-size: 32px; }
.buybox ul { list-style: none; margin: 14px 0; padding: 0; font-size: 14.5px; color: var(--ink-soft); }
.buybox ul li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.buybox ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.buybox .fineprint { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* Prose pages */
.prose { max-width: 780px; padding-bottom: 60px; }
.prose h2 { font-size: 22px; margin: 30px 0 8px; }
.prose h2:first-of-type { margin-top: 6px; }
.prose p, .prose li { color: #2b3a44; }
.prose ul { margin: 8px 0 8px 20px; padding: 0; }
.prose li { margin-bottom: 6px; }
.callout {
  border-left: 4px solid var(--amber); background: #fdf6e9;
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0;
}
.callout p { margin: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c9d4; padding: 40px 0 30px; margin-top: 0; }
.footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer a { color: #dbe6ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.footer-base { margin-top: 26px; font-size: 13.5px; color: #7d94a5; }

@media (max-width: 900px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .hero h1 { font-size: 31px; }
  .main-nav { display: none; flex-direction: column; gap: 12px; padding: 12px 0 4px; }
  .main-nav.open { display: flex; }
  .header-in { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}
