/* Sitalingi Cybersecurity: one stylesheet, mobile first, system fonts only, no image files. */

/* ===================================================================
   PRICES: THIS IS THE ONLY PLACE TO CHANGE ANY PRICE ON THE SITE.
   Edit the text between the quotes below, save, and reload.
   --plan-price      -> every <span class="plan-price"></span>
   --retainer-rate   -> every <span class="retainer-rate"></span>
   --emergency-rate  -> every <span class="emergency-rate"></span>
   =================================================================== */
:root {
  --plan-price: "$250";
  --retainer-rate: "$200";
  --emergency-rate: "$400";

  /* Warm palette inspired by tapa (bark cloth): cloth cream, dark brown ink, one rust accent. */
  --text: #2b1d14;    /* dark brown ink */
  --muted: #5c4433;   /* soft brown */
  --bg: #f4ead8;      /* bark-cloth cream */
  --surface: #fbf5ea; /* lighter cream for header, footer, cards */
  --line: #d9c7a8;    /* tan rule lines */
  --field: #8a7560;   /* form field borders */
  --accent: #8a3415;  /* the one accent color: rust red-brown */

  /* Decorative tapa-style patterns drawn as inline SVG (no image files). */
  --tapa-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='18' viewBox='0 0 24 18'%3E%3Crect width='24' height='2' fill='%232b1d14'/%3E%3Crect y='16' width='24' height='2' fill='%232b1d14'/%3E%3Cpath d='M0 14 L6 4 L12 14Z' fill='%238a3415'/%3E%3Cpath d='M12 4 L18 14 L24 4Z' fill='%232b1d14'/%3E%3C/svg%3E");
  --tapa-diamonds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M11 1 L20 6 L11 11 L2 6Z' fill='none' stroke='%238a3415' stroke-width='1.5'/%3E%3Ccircle cx='11' cy='6' r='1.6' fill='%232b1d14'/%3E%3C/svg%3E");
}

.plan-price::before { content: var(--plan-price); }
.retainer-rate::before { content: var(--retainer-rate); }
.emergency-rate::before { content: var(--emergency-rate); }
.plan-price, .retainer-rate, .emergency-rate { font-weight: 700; white-space: nowrap; }

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1.125rem; }

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 0.5rem 1rem; }
.skip:focus { left: 0.5rem; z-index: 10; }

/* Header and menu */
.site-header { background: var(--surface); position: relative; padding-bottom: 18px; }
.site-header::after, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  background-image: var(--tapa-band); background-repeat: repeat-x; background-size: 24px 18px;
}
.site-header::after { bottom: 0; }
.site-header .wrap { padding-top: 0.875rem; padding-bottom: 0.5rem; }
.brand { display: inline-block; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; margin-bottom: 0.35rem; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1rem; }
.menu a { display: inline-block; padding: 0.4rem 0; line-height: 1.4; font-size: 0.98rem; text-decoration: none; color: var(--muted); }
.menu a:hover { color: var(--accent); text-decoration: underline; }
.menu a[aria-current="page"] { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }

/* Main content */
main.wrap { padding-top: 1.75rem; padding-bottom: 2.5rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.08rem; margin: 1.5rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.45rem; }

.lead { font-size: 1.12rem; color: var(--muted); }
.price-line {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem; border-radius: 4px;
}
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font: inherit; font-weight: 600; padding: 0.7rem 1.25rem; border: 0; border-radius: 4px; cursor: pointer;
}
.button:hover { color: #fff; filter: brightness(1.1); text-decoration: none; }

.aside { margin-top: 0; }
/* Small tapa diamond row between major sections */
main section + section::before, .aside::before {
  content: ""; display: block; height: 12px; margin: 1.75rem auto 0; width: 132px;
  background-image: var(--tapa-diamonds); background-repeat: repeat-x; background-size: 22px 12px;
}
.steps { padding-left: 1.3rem; }
.steps h2 { margin-top: 1.25rem; font-size: 1.15rem; }
.faq h3 { margin-top: 1.25rem; }
.note { background: var(--surface); border: 1px solid var(--line); padding: 0.75rem 1rem; border-radius: 4px; }
.small { font-size: 0.95rem; color: var(--muted); }

/* Contact card */
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 4px; padding: 1.25rem 1.125rem 0.5rem; margin: 1.5rem 0 0.5rem;
}
.contact-label { margin: 0; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-address { font-size: 1.2rem; font-weight: 600; margin: 0.15rem 0 1rem; }

/* Footer */
.site-footer { background: var(--surface); color: var(--muted); font-size: 0.95rem; position: relative; padding-top: 18px; }
.site-footer::before { top: 0; transform: scaleY(-1); }
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 1.5rem; }
.site-footer p { margin: 0 0 0.35rem; }

/* Wider screens */
@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
  .wrap { padding: 0 1.5rem; }
  .site-header .wrap { padding-top: 1rem; padding-bottom: 0.4rem; }
  .brand { margin-bottom: 0.1rem; }
  .menu { gap: 0 1.25rem; }
  h1 { font-size: 2.2rem; }
  main.wrap { padding-top: 2.5rem; }
}
