/* Pro Holdings LLC — Apple-inspired public site, desktop-first + mobile-optimized */
:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --text: #111114;
  --muted: #5b5b62;
  --line: rgba(0,0,0,.10);
  --panel: rgba(0,0,0,.04);
  --panel2: rgba(0,0,0,.06);
  --shadow: 0 18px 60px rgba(0,0,0,.10);

  /* Single, consistent accent (no random shifts) */
  --accent: #0a84ff;     /* Apple-like blue */
  --accent-soft: rgba(10,132,255,.12);

  --radius: 18px;
  --radius2: 12px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display","SF Pro Text", Segoe UI, Roboto, Helvetica, Arial;
  --speed: 160ms;
}

[data-theme="dark"] {
  --bg: #0b0b0c;
  --bg2: #111114;
  --text: #f5f5f7;
  --muted: rgba(245,245,247,.72);
  --line: rgba(255,255,255,.12);
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.10);
  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --accent-soft: rgba(10,132,255,.16);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.55;
  transition: background var(--speed) ease, color var(--speed) ease;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 10px 12px;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
}
.skip:focus { left: 16px; top: 16px; z-index: 9999; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg), transparent 18%);
  border-bottom: 1px solid var(--line);
  transition: background var(--speed) ease, border-color var(--speed) ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent), #ffffff 18%));
  box-shadow: 0 10px 22px rgba(10,132,255,.22);
}
.brand .title {
  font-weight: 760;
  letter-spacing: -0.01em;
}
.brand .subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background var(--speed) ease, color var(--speed) ease;
}
.nav a.active {
  color: var(--text);
  background: var(--panel);
}
.nav a:hover {
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
  transition: background var(--speed) ease, border-color var(--speed) ease, transform var(--speed) ease;
}
.btn:hover {
  background: var(--panel2);
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.btn.primary:hover {
  filter: brightness(1.02);
}

.menu {
  display: none;
}

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 14px;
}
.drawer a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
}
.drawer a.active {
  background: var(--panel);
  color: var(--text);
}
.drawer a:hover {
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 44px 0 10px;
}
.hero-card {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg), var(--panel) 65%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: background var(--speed) ease, border-color var(--speed) ease;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--text), var(--accent) 22%);
  font-size: 13px;
  border: 1px solid color-mix(in srgb, var(--accent), var(--line) 60%);
}
.h1 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 78ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 18px 0 52px;
}
.col-12 { grid-column: span 12; }
.col-7  { grid-column: span 7; }
.col-5  { grid-column: span 5; }

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  transition: background var(--speed) ease, border-color var(--speed) ease;
}
.h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.p {
  margin: 0 0 10px;
  color: var(--muted);
}
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li { margin: 6px 0; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg), var(--panel) 70%);
  color: var(--muted);
  font-size: 13px;
}
.badge strong { color: var(--text); font-weight: 700; }

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
}
.table th, .table td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
}
.table th {
  color: var(--text);
  background: color-mix(in srgb, var(--bg), var(--panel) 65%);
  font-weight: 700;
}
.table td {
  color: var(--muted);
}
.table tr:last-child td { border-bottom: none; }

.callout {
  border: 1px solid color-mix(in srgb, var(--accent), var(--line) 60%);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px;
  color: color-mix(in srgb, var(--text), var(--accent) 18%);
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.small { font-size: 13px; color: var(--muted); }
.sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

/* Mobile */
@media (max-width: 920px) {
  .col-7, .col-5 { grid-column: span 12; }
  .brand { min-width: auto; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .menu { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { width: min(var(--max), calc(100% - 28px)); }
}
