/* Pixavelo brand: forest green, emerald, and mint from the app icon. */
:root {
  --forest: #0B2E22; --forest-2: #103C2D; --emerald: #21A66D; --mint: #C9F4D8; --mint-ink: #103C2D;
  --bg: #F6FAF7; --surface: #FFFFFF; --text: #17251D; --muted: #4A5E52; --line: #DCE8E0;
  --link: #1A7F52; --shadow: 0 1px 2px rgba(16, 60, 45, .06), 0 8px 24px rgba(16, 60, 45, .08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1712; --surface: #17251D; --text: #EAF5EE; --muted: #A9BDB0; --line: #24382C;
    --link: #3CC48A; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
img { max-width: 100%; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--forest); color: #EAF5EE; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 18px; font-size: .95rem; }
.site-nav a { color: #B9DCC7; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--mint); }

/* Hero */
.hero { background: radial-gradient(120% 90% at 85% 0%, #135A3F 0%, var(--forest) 55%); color: #EAF5EE; padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; margin: 0 0 16px; color: #fff; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero p { font-size: 1.15rem; color: #C3DDCD; margin: 0 0 28px; max-width: 34em; }
.hero-art { position: relative; justify-self: center; }
.hero-art img { width: min(260px, 60vw); height: auto; border-radius: 22%; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); display: block; }
.pixels { position: absolute; inset: 0; pointer-events: none; }
.pixels span { position: absolute; background: var(--emerald); border-radius: 3px; opacity: .9; }
.pixels span:nth-child(1) { width: 26px; height: 26px; top: -18px; right: -30px; }
.pixels span:nth-child(2) { width: 16px; height: 16px; top: 26px; right: -52px; opacity: .6; }
.pixels span:nth-child(3) { width: 12px; height: 12px; bottom: 10px; left: -34px; opacity: .45; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #3a4a41; border-radius: 12px; padding: 10px 18px; text-decoration: none; line-height: 1.2; }
.badge small { display: block; font-size: .7rem; color: #C3DDCD; }
.badge strong { font-size: 1.05rem; }
.button-ghost { color: var(--mint); text-decoration: none; font-weight: 600; padding: 10px 6px; }

/* Sections */
section { padding: 56px 0; }
.eyebrow { color: var(--link); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 28px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.dot { width: 36px; height: 36px; border-radius: 10px; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan h3 { display: flex; justify-content: space-between; align-items: baseline; }
.plan .price { color: var(--link); font-size: .95rem; }
.plan ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); }
.plan li { margin: 4px 0; }
.plan.pro { border: 2px solid var(--emerald); }
.pill { display: inline-block; background: var(--mint); color: var(--mint-ink); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }

/* Document pages */
.page-head { background: var(--forest); color: #EAF5EE; padding: 40px 0 36px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: #fff; line-height: 1.15; }
.page-head p { margin: 0; color: #B9DCC7; }
.doc { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 8px; }
.callout { background: var(--mint); color: var(--mint-ink); padding: 14px 16px; border-radius: 12px; }
.callout a { color: var(--mint-ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 0 16px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
details p { margin: 0 0 14px; color: var(--muted); }
.contact-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--forest-2); color: #EAF5EE; border-radius: 16px; padding: 20px 22px; margin-top: 8px; }
.contact-card p { margin: 0; color: #C3DDCD; }
.contact-card a.mail { background: var(--emerald); color: #0D1712; font-weight: 700; text-decoration: none; padding: 10px 16px; border-radius: 10px; }

/* Sample files */
.download { display: inline-block; background: var(--forest-2); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 12px; }
@media (prefers-color-scheme: dark) { .download { background: var(--emerald); color: #0D1712; } }
.files { list-style: none; padding: 0; margin: 12px 0 0; }
.files li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 8px 0; }
.files a { font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; word-break: break-all; }
.files span { display: block; color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 16px; }

@media (max-width: 760px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 120px; }
  .pixels { display: none; }
  .grid { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; font-size: .9rem; }
}
