/* playupkeep.com front page. Plain CSS, no build step. */
@font-face { font-family: Inter; src: url(fonts/inter-400.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-600.woff) format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-700.woff) format('woff'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0a0c;
  --panel: #151318;
  --line: rgba(255, 255, 255, .07);
  --text: #f4efe6;
  --soft: rgba(244, 239, 230, .72);
  --faint: rgba(244, 239, 230, .45);
  --gold: #e9b65c;
  --gold-deep: #c98c2e;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: 8px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-gold {
  color: #1b1206;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(201, 140, 46, .22);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 30px rgba(201, 140, 46, .32); }
.btn-line { color: var(--text); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .28); }
.btn-line:hover { background: rgba(244, 239, 230, .06); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 7px; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.top nav a:not(.btn) { color: var(--soft); transition: color .15s; }
.top nav a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: min(780px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-art {
  position: absolute; inset: 0 0 0 22%; z-index: -2;
  background: url(img/nissa.jpg) 58% 22% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 26%, rgba(11, 10, 12, .82) 40%, rgba(11, 10, 12, .25) 68%, rgba(11, 10, 12, .1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 10, 12, 0) 30%),
    linear-gradient(180deg, rgba(11, 10, 12, .7) 0%, rgba(11, 10, 12, 0) 22%);
}
.hero .wrap { padding-top: 120px; padding-bottom: 96px; }
.hero-copy { max-width: 600px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero h1 {
  margin: 16px 0 22px;
  font-size: clamp(44px, 7vw, 84px); line-height: .96; font-weight: 700; letter-spacing: -.035em; text-transform: uppercase;
}
.hero p { margin: 0; max-width: 480px; font-size: clamp(17px, 1.6vw, 19px); color: var(--soft); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.note { margin-top: 18px; font-size: 14px; color: var(--faint); }
.credit { position: absolute; right: var(--gutter); bottom: 22px; font-size: 12px; color: var(--faint); }

/* Features */
.features { padding: 24px 0 96px; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.card-art { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center 30%; }
.card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 0%, rgba(21, 19, 24, 0) 60%); }
.card-body { padding: 4px 26px 28px; }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 15px; color: var(--soft); }

/* Table */
.table { padding: 0 0 112px; }
.table .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.table h2 { margin: 0 0 16px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
.table p { margin: 0 0 14px; color: var(--soft); }
.table ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.table li { display: flex; gap: 12px; align-items: baseline; color: var(--soft); font-size: 15px; }
.table li::before { content: ""; flex: none; width: 6px; height: 6px; transform: translateY(-2px) rotate(45deg); background: var(--gold); }
.shot { border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 13px; color: var(--faint); }
footer .wrap { display: grid; gap: 14px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--soft); }
footer a:hover { color: var(--text); }
footer p { margin: 0; max-width: 820px; }

/* Plain text pages (privacy) */
.page { padding: 132px 0 96px; }
.page .wrap { max-width: calc(720px + 2 * var(--gutter)); }
.page h1 { margin: 0 0 8px; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.05; }
.page .lead { margin: 0 0 40px; color: var(--soft); }
.page h2 { margin: 36px 0 8px; font-size: 19px; letter-spacing: -.01em; }
.page p { margin: 0; color: var(--soft); }

@media (max-width: 900px) {
  .top nav a.hide-sm { display: none; }
  .top nav { gap: 22px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-art { inset: 0 0 auto 0; height: 62%; background-position: 58% 20%; -webkit-mask-image: none; mask-image: none; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 38%, rgba(11, 10, 12, .55) 62%, rgba(11, 10, 12, .2) 80%, rgba(11, 10, 12, .55) 100%);
  }
  .hero .wrap { padding-top: 340px; padding-bottom: 64px; }
  .credit { position: static; padding: 0 var(--gutter) 8px; text-align: right; }
  .features .grid { grid-template-columns: 1fr; }
  .table .wrap { grid-template-columns: 1fr; gap: 36px; }
  .table .shot { order: -1; }
}
@media (max-width: 480px) {
  .ctas .btn { flex: 1 1 100%; }
  .top .wrap { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
