/* Purus Solutions LLC website - one stylesheet shared by every page.
   Colors match the Purus Game Studio logo (navy + periwinkle). Flat design: outlines only, no drop shadows. */

@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }

:root {
  --navy: #0b1020;        /* header, footer and hero background */
  --navy-2: #161d36;      /* cards on navy */
  --peri: #8f9bff;        /* the logo's periwinkle: links, buttons, accents */
  --peri-dark: #5f6ce0;   /* button hover */
  --ink: #1b1d29;         /* body text on white */
  --soft: #5b6072;        /* secondary text */
  --line: #e2e5ef;        /* thin borders on white */
  --paper: #ffffff;
  --paper-2: #f5f6fb;     /* light section background */
  --max: 1040px;          /* widest the content gets */
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, h3, .brand, .btn { font-family: "DM Sans", system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
a { color: var(--peri-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 38px; height: auto; }
.brand span { color: var(--peri); }
.top nav a { color: #cfd4ff; text-decoration: none; font-weight: 600; margin-left: 20px; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; }

/* ---------- buttons (flat: outline only) ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--peri); color: var(--navy); background: var(--peri);
}
.btn:hover { background: #a9b2ff; }
.btn.ghost { background: transparent; color: #fff; }
.btn.ghost:hover { background: rgba(143, 155, 255, .15); }

/* ---------- home page ---------- */
.hero { background: var(--navy); color: #fff; padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; }
.hero h1 span { color: var(--peri); }
.hero p { color: #c8cde4; font-size: 19px; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .frog { width: 100%; max-width: 300px; justify-self: center; }

.section { padding: 72px 0; }
.section.alt { background: var(--paper-2); }
.eyebrow { font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--peri-dark); text-transform: uppercase;
  letter-spacing: .08em; font-size: 14px; margin: 0 0 8px; }
.section h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.card { border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.card h3 { font-size: 21px; font-weight: 800; }
.card p { margin: 0 0 12px; color: var(--soft); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  border: 2px solid var(--peri); color: var(--peri-dark); margin-bottom: 12px; }

.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.facts b { font-family: "DM Sans", sans-serif; }

/* ---------- legal / support pages ---------- */
.page-head { background: var(--navy); color: #fff; padding: 48px 0; }
.page-head h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin: 0; }
.page-head p { color: #c8cde4; margin: 8px 0 0; }
.doc { max-width: 760px; padding: 48px 24px 72px; margin: 0 auto; }
.doc h2 { font-size: 24px; font-weight: 800; margin-top: 40px; }
.doc h3 { font-size: 19px; font-weight: 700; margin-top: 24px; }
.doc .summary { border: 2px solid var(--peri); border-radius: var(--radius); padding: 18px 22px; background: #f3f4ff; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
details { border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 12px 0; }
summary { font-family: "DM Sans", sans-serif; font-weight: 700; cursor: pointer; }
details p, details ol, details ul { margin: 10px 0 0; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #aab0cc; padding: 36px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #cfd4ff; text-decoration: none; margin-right: 18px; }
footer a:hover { color: #fff; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .frog { max-width: 200px; order: -1; }
  .top nav a { margin: 0 16px 0 0; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}
