:root {
  --canvas: #0a0b0d;
  --panel: #0e1013;
  --panel-strong: #14171a;
  --paper: #f3f0e8;
  --paper-ink: #0d1113;
  --accent: #2dd4bf;
  --accent-ink: #04201c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.45);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.04), transparent 360px),
    radial-gradient(920px 520px at 15% -10%, rgba(45, 212, 191, 0.12), transparent 62%),
    radial-gradient(760px 520px at 100% 0%, rgba(14, 165, 233, 0.08), transparent 62%),
    var(--canvas);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem 72px; }

/* Header / nav — echoes the site navbar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 152px; height: 36px; border-radius: 0; flex-shrink: 0;
  background: url("/assets/logo/copano-wordmark.svg") left center / contain no-repeat;
}
.brand-name { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--faint); text-transform: uppercase; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 12px; border-radius: 10px; transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

/* Page head */
.eyebrow { margin: 0; color: var(--accent); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
h1 { margin: 28px 0 10px; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
h2 { margin: 26px 0 10px; font-size: 19px; font-weight: 600; color: var(--text); }
h3 { margin: 18px 0 6px; font-size: 16px; font-weight: 600; }
p { margin: 0 0 12px; color: var(--muted); }
ul { margin: 8px 0 14px; padding-left: 20px; color: var(--muted); }
li { margin: 6px 0; }
.meta { color: var(--faint); font-size: 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 62ch; }
.content-link { color: var(--accent); }
.content-link:hover { color: #5eead4; }

.hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  align-items: stretch;
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}
.hero-card > * { position: relative; z-index: 1; }
.hub-hero { grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr); }
.app-hero { grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr); }
.doc-hero { grid-template-columns: minmax(0, 0.96fr) minmax(260px, 0.64fr); }
.hero-media {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.35));
}
.hero-copy { align-self: center; }
.hero-copy h1 { margin-top: 8px; }
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-note span,
.stat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  font-weight: 600;
}

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.04);
  color: var(--text); transition: transform .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.18); color: var(--text); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-primary:hover { color: var(--accent-ink); }

/* Cards */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border); background: var(--card-bg);
  border-radius: 8px; padding: 22px 24px; margin-top: 16px;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-title { font-size: 15px; font-weight: 600; color: var(--text); }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
@media (min-width: 820px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.policy-card { max-width: 900px; }
.summary-grid { align-items: stretch; }

/* App landing extras */
.app-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.app-icon {
  width: 76px; height: 76px; border-radius: 18px; flex: 0 0 auto; overflow: hidden;
  border: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.04);
  display: flex; align-items: center; justify-content: center;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.feature-tile {
  min-height: 112px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.feature-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature-tile p:last-child { margin-bottom: 0; }
.image-band {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin-top: 18px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
}
.image-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.44), transparent 58%);
}

code { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }

/* Footer — echoes the site footer */
.foot {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  color: var(--faint); font-size: 14px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a:hover { color: var(--text); }

/* App index hub (studio privacy / support pages) */
.app-list { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
@media (min-width: 760px) { .app-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .app-list { grid-template-columns: repeat(3, 1fr); } }
.app-row { display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s ease, transform .2s ease; }
.app-row:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-1px); color: var(--text); }
.app-row h3 { margin: 0 0 6px; font-size: 16px; }
.app-row p { margin: 0; font-size: 14px; }
.mini-icon {
  width: 52px; height: 52px; border-radius: 13px; flex: 0 0 auto; overflow: hidden;
  border: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.04);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; color: var(--faint);
}
.mini-icon img { width: 100%; height: 100%; object-fit: cover; }
.pill { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); }
.app-row:hover .pill { color: #5eead4; }

.support-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.faq-list p { padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.faq-list p:last-child { padding-bottom: 0; border-bottom: 0; }

@media (max-width: 860px) {
  .hub-hero,
  .app-hero,
  .doc-hero,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 220px; }
  .feature-strip { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .wrap { padding-inline: 1rem; }
  .nav { align-items: flex-start; flex-direction: column; }
  .brand-mark { width: 134px; height: 32px; }
  .hero-card { padding: 18px; }
  .card { padding: 18px; }
  .cta { flex-direction: column; }
  .btn { width: 100%; }
}
