/* Plutus site — calm, premium, privacy-clean. No third-party fonts, no trackers, no cookies. */

:root {
  --teal: #1d9e75;
  --teal-deep: #0f6b4f;
  --cream: #f5f0e1;
  --ink: #16211d;
  --muted: #5c6b64;
  --bg: #ffffff;
  --surface: #f4f6f5;
  --border: rgba(22, 33, 29, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #24b787;
    --teal-deep: #1a936c;
    --ink: #eef2f0;
    --muted: #9fb0a8;
    --bg: #0e1512;
    --surface: #16211d;
    --border: rgba(238, 242, 240, 0.12);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Draft banner — remove before publishing */
.draft {
  background: #7a2e12; color: #ffe9dd; text-align: center;
  font-size: 14px; padding: 8px 16px;
}
.draft a { color: #ffd9c7; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links a { color: var(--muted); text-decoration: none; margin-left: 20px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { text-align: center; padding: 96px 0 72px; background: radial-gradient(72% 60% at 50% -8%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 62%); }
.hero img.mark { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(40px, 7.5vw, 64px); line-height: 1.03; letter-spacing: -0.025em; margin: 0 0 16px; text-wrap: balance; }
.hero .sub { font-size: clamp(18px, 2.6vw, 22px); color: var(--muted); max-width: 620px; margin: 0 auto 32px; text-wrap: pretty; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { color: var(--teal); border: 1px solid var(--border); }
.req { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Nevers strip */
.nevers-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nevers-strip p { max-width: 780px; margin: 0 auto; padding: 28px 24px; text-align: center; font-size: 19px; font-weight: 500; }
.nevers-strip em { color: var(--muted); font-style: normal; display: block; font-size: 15px; font-weight: 400; margin-top: 8px; }

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em; margin: 0 0 8px; text-wrap: balance; }
section .lede { color: var(--muted); max-width: 640px; margin: 0 0 36px; text-wrap: pretty; }

/* Product showcase — Apple-style "half" device frames: a fixed viewport shows the top of the
   screen, the device fades away toward the bottom. object-fit crops from the top for a clean,
   consistent crop regardless of the screenshot's full length. */
.showcase { text-align: center; }
.showcase .lede { margin-left: auto; margin-right: auto; }
.shots { display: flex; gap: 40px; justify-content: center; align-items: flex-start; flex-wrap: wrap; margin-top: 48px; }
.shot { margin: 0; }
.frame {
  width: 250px; max-width: 72vw; height: 420px; overflow: hidden;
  background: #0b0f0d; border-radius: 46px; padding: 10px;
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border);
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, #000 84%, transparent);
}
.frame .screen { width: 100%; height: 100%; overflow: hidden; border-radius: 36px; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.shot figcaption { color: var(--muted); font-size: 15px; margin-top: 18px; text-align: center; }

/* Scroll-reveal — progressive enhancement only where scroll timelines exist; never hides content otherwise, and off under Reduce Motion. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { opacity: 0; transform: translateY(18px); animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes reveal { to { opacity: 1; transform: none; } }
  }
}

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Nevers list */
.nevers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 28px; }
.nevers li { padding-left: 30px; position: relative; }
.nevers li::before { content: "✕"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.nevers strong { font-weight: 600; }

/* Pricing */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.price-card.free { background: var(--surface); }
.price-card .amt { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.price-card .per { color: var(--muted); font-size: 15px; }
.price-card ul { padding-left: 20px; margin: 16px 0 0; color: var(--muted); }

/* Prose (privacy / support) */
.prose { max-width: 740px; margin: 0 auto; padding: 48px 24px; }
.prose h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.02em; margin: 0 0 8px; }
.prose .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; }
.prose p, .prose li { color: var(--ink); }
.prose a { color: var(--teal); }
.prose ul { padding-left: 22px; }
.prose .callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }

/* Founder note */
.founder .wrap { max-width: 680px; text-align: center; }
.founder h2 { margin-bottom: 20px; }
.founder p { font-size: 19px; color: var(--ink); margin: 0 auto 16px; max-width: 620px; text-wrap: pretty; }
.founder .sig { color: var(--muted); font-size: 16px; margin-top: 4px; }

/* Focus + accessibility */
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* 404 */
.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { font-size: 44px; letter-spacing: -0.02em; margin: 0 0 10px; }
.notfound p { color: var(--muted); margin: 0 0 24px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; padding: 40px 0; }
footer .nav { flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--ink); }
