/* Porchgeist's site: the app's own dark look, pumpkin orange and witch purple. */
:root {
  --ground: #0f0d12;
  --surface: #1b1720;
  --raised: #26202d;
  --border: #332a3c;
  --text: #f2ede4;
  --muted: #a39cab;
  --accent: #ff7a1a;
  --accent-text: #1a0d02;
  --purple: #a44bff;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { color: #ffa25c; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* top bar */
.top { border-bottom: 1px solid var(--border); background: rgba(15, 13, 18, 0.92); position: sticky; top: 0; z-index: 2; backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* home */
.hero {
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 122, 26, 0.35), transparent 60%),
              radial-gradient(ellipse at 80% 0%, rgba(164, 75, 255, 0.25), transparent 55%);
  border-bottom: 1px solid var(--border);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: #d9d2e0; margin: 0 0 26px; }
.hero .art { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-block; background: var(--accent); color: var(--accent-text); font-weight: 800; text-decoration: none; padding: 13px 22px; border-radius: 12px; }
.button:hover { color: var(--accent-text); background: #ff9142; }
.button.quiet { background: var(--raised); color: var(--text); }
.soon { color: var(--muted); font-size: 15px; }

section { padding: 56px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 30px; max-width: 680px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: #cfc8d6; font-size: 16px; }
.card .emoji { font-size: 28px; margin-bottom: 10px; }

.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.shots figure { margin: 0; }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.icons div { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; }
.icons img { width: 62%; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plans ul { margin: 12px 0 0; padding-left: 20px; color: #cfc8d6; }
.plans li { margin: 4px 0; }
.card .price { font-size: 26px; color: var(--text); font-weight: 800; margin: 2px 0 0; }
.plan-full { border-color: var(--accent); }

.needs { columns: 2; column-gap: 32px; color: #cfc8d6; padding-left: 20px; }
.needs li { margin: 0 0 8px; break-inside: avoid; }

/* documents: support and privacy */
.doc { padding-top: 40px; padding-bottom: 60px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); margin: 0 0 6px; }
.doc h2 { font-size: 23px; margin: 36px 0 10px; }
.doc p, .doc li { color: #ddd6e3; }
.doc li { margin: 6px 0; }
.updated { color: var(--muted); margin: 0 0 26px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
details p:last-child, details ol:last-child { margin-bottom: 0; }
.contact { background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 22px; margin: 26px 0; }
.contact p { margin: 0 0 6px; }

footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 26px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; }
  .features, .shots { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .icons { grid-template-columns: repeat(4, 1fr); }
  .needs { columns: 1; }
  .top nav { gap: 14px; }
}
