/* prosper-101x Dark Theme Palette (hex)
--bg: #0b1020 (page background, near-black navy)
--card: #12172a (card surfaces)
--text: #e6ecff (primary text)
--muted: #aab3cf (secondary text)
--accent: #7dd3fc (primary accent, cyan)
--accent-2: #a78bfa (secondary accent, violet)
--link: #93c5fd (links)
--border: #253053 (hairline borders)
--shadow: rgba(0,0,0,0.45) (shadows)
Choices follow dark-mode best practices: use dark gray/blue surfaces, desaturated accents, and maintain WCAG contrast for readability. [4][5][1][11]
*/

:root{
  --bg:#0b1020;
  --card:#12172a;
  --text:#e6ecff;
  --muted:#aab3cf;
  --accent:#7dd3fc;
  --accent-2:#a78bfa;
  --link:#93c5fd;
  --border:#253053;
  --shadow:rgba(0,0,0,0.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;display:block}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
p{margin:0 0 1rem}

.container{width:min(1200px, 90%);margin-inline:auto}

.skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  position:fixed;left:1rem;top:1rem;width:auto;height:auto;padding:.5rem .75rem;background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:8px;z-index:9999;
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:1000;
  background:linear-gradient(to bottom, rgba(11,16,32,0.9), rgba(11,16,32,0.7));
  backdrop-filter: blur(6px);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:.75rem 0;
}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--text);text-decoration:none}
.brand-mark{color:var(--accent)}
.brand-name{font-weight:700;letter-spacing:.3px}
.site-nav ul{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.site-nav a{padding:.4rem .6rem;border-radius:10px}
.site-nav a.is-active, .site-nav a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Hero */
.hero{padding:2.5rem 0 2rem}
.hero-grid{
  display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:center;
}
.hero-copy h1{font-size:clamp(1.8rem, 3vw + 1rem, 3rem);line-height:1.2;margin:0 0 .5rem}
.hero-copy .note{color:var(--muted);font-size:.95rem}
.hero-media img{border-radius:16px;box-shadow:0 10px 30px var(--shadow)}
.hero-cta{display:flex;gap:1rem;margin:1rem 0 0}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border:1px solid var(--border);border-radius:12px;padding:.7rem 1rem;font-weight:600;transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}
.btn:hover{transform:translateY(-2px)}
.btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.btn-accent{background:var(--accent);color:#061018;border-color:transparent}
.btn-ghost{background:transparent;color:var(--text)}
.btn-outline{background:transparent;color:var(--text)}
.btn-sm{padding:.45rem .7rem;font-size:.9rem}
.btn-lg{padding:.9rem 1.25rem;font-size:1.05rem}

/* Cards */
.cards{
  display:grid;grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));gap:28px;margin:1.25rem 0 2rem;
}
.card{
  background:var(--card);border:1px solid var(--border);border-radius:16px;overflow:hidden;
  box-shadow:0 10px 28px var(--shadow);transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 40px var(--shadow)}
.card img{aspect-ratio:4 / 3;object-fit:cover;border-bottom:1px solid var(--border)}
.card-body{padding:1rem}
.card-body h3{margin:.2rem 0 .4rem;font-size:clamp(1.1rem, 1vw + .9rem, 1.4rem)}
.price{font-weight:700;color:var(--accent)}
.text-cards .card{padding:1rem}

/* Table */
.table-wrap{margin:1rem 0 2rem;border:1px solid var(--border);border-radius:16px;overflow:auto}
table{width:100%;border-collapse:separate;border-spacing:0}
thead th{background:#0f1530;color:var(--text);text-align:left;padding:.9rem;border-bottom:1px solid var(--border)}
tbody td{padding:.8rem;border-bottom:1px solid var(--border)}
tbody tr:hover{background:#0e142b}

/* Product page */
.product-page{display:grid;grid-template-columns:1fr 320px;gap:2rem;align-items:start}
.product-page header h1{font-size:clamp(1.6rem, 2.2vw + 1rem, 2.2rem);margin:.2rem 0}
.muted{color:var(--muted)}
.specs{padding-left:1.1rem}
.specs li{margin:.4rem 0}
.side-note{
  background:#0f1530;border:1px solid var(--border);border-radius:14px;padding:1rem;color:var(--text);
  position:sticky;top:96px;
}

/* Footer */
.site-footer{border-top:1px solid var(--border);margin-top:2rem;background:#0f1530}
.footer-grid{display:grid;grid-template-columns:1fr auto;gap:1rem;padding:1rem 0}
.site-footer a{color:var(--link)}

/* Forms */
.contact-form{margin:1rem 0 2rem;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:1rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-grid .full{grid-column:1 / -1}
input, textarea{
  width:100%;padding:.7rem .8rem;border-radius:12px;border:1px solid var(--border);background:#0e142b;color:var(--text)
}
input:focus, textarea:focus{outline:3px solid var(--accent);outline-offset:2px}

/* Utility */
h2{font-size:clamp(1.3rem, 1.5vw + .9rem, 1.8rem);margin:1.2rem 0 .6rem}
.centered{display:grid;place-items:center;min-height:100vh}
.bottom-cta{padding:1.5rem 0 2.5rem;text-align:center}

/* Media queries */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .product-page{grid-template-columns:1fr}
  .side-note{position:relative;top:auto}
}
@media (max-width:600px){
  .site-nav ul{gap:.4rem;flex-wrap:wrap}
  .form-grid{grid-template-columns:1fr}
}

/* Notes:
- Dark mode uses dark grays over pure black to reduce eye strain while maintaining contrast. [4]
- Desaturated accents and contrast ratios aim to meet WCAG guidance for legibility. [5][11]
*/
