:root {
  --color-black: #1a202b;
  --color-white: #ffffff;
  --color-seasalt: #f5f5f5;
  --color-slate-blue: #5e7f8c;
  --color-cadet-gray: #a1a6b4;
  --color-dark-slate: #3d5a68;
  --bg: var(--color-white);
  --text: var(--color-black);
  --text-secondary: #4a5568;
  --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-slate-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.site-header {
  padding: 1.5rem 0;
  background: var(--color-black);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.site-brand:hover { text-decoration: none; color: var(--color-slate-blue); }
.site-logo { height: 28px; width: auto; display: block; }
.site-nav a {
  margin-left: 1.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.site-nav a:hover { color: #fff; text-decoration: none; }

/* Main */
main { padding: 3rem 0; }

/* Hero */
.hero { text-align: center; padding: 2rem 0 3rem; }
.hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.hero p { font-size: 1.05rem; color: var(--text-secondary); max-width: 580px; margin: 0 auto; }

/* Product card */
.product-card-link { text-decoration: none; color: inherit; display: block; }
.product-card-link:hover { text-decoration: none; }
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover { border-color: var(--color-slate-blue); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.product-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text); }
.product-card-image img { width: 100%; height: auto; display: block; border-radius: 8px; }
.product-highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.product-highlights li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.product-highlights li::before {
  content: "\2713";
  color: var(--color-dark-slate);
  font-weight: 700;
  margin-right: 0.5rem;
}
.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-dark-slate);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.product-description { color: var(--text-secondary); margin: 0.75rem 0; font-size: 0.95rem; }
.product-meta { font-size: 0.85rem; color: var(--color-cadet-gray); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-primary { background: var(--color-dark-slate) !important; color: #fff !important; }
.btn-soon { opacity: 0.7; cursor: default; }

/* CCP product page */
.ccp-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
}
.ccp-hero-text h1 { font-size: 2.4rem; font-weight: 700; }
.ccp-tagline { font-size: 1.05rem; color: var(--text-secondary); margin: 0.75rem 0 0; }
.ccp-price { font-size: 1.5rem; font-weight: 700; margin: 1rem 0 0.25rem; }
.ccp-price-note { font-size: 1rem; color: var(--color-slate-blue); }
.ccp-price-note-regular { font-size: 0.85rem; opacity: 0.6; }

/* Hero image */
.ccp-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.ccp-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 2rem 0;
}
.ccp-video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

.ccp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.ccp-feature {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ccp-feature h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.ccp-feature p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); }

.ccp-steps { margin: 2rem 0; counter-reset: step; }
.ccp-step { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: baseline; }
.ccp-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-dark-slate);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.ccp-step strong { color: var(--text); }

.ccp-cta {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

/* Screenshots */
.ccp-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.ccp-screenshots-last {
  display: grid;
  grid-template-columns: minmax(250px, 1fr);
  max-width: 33%;
  gap: 1rem;
  margin: 1rem 0 0;
}
.ccp-screenshot {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.ccp-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ccp-screenshot img:hover { opacity: 0.85; }
.ccp-screenshot figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Includes list */
.ccp-includes-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  columns: 2;
  column-gap: 2rem;
}
.ccp-includes-list li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.ccp-includes-list li::before {
  content: "\2713";
  color: var(--color-dark-slate);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Who it's for */
.ccp-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.ccp-who-item {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ccp-who-item strong { font-size: 0.95rem; }
.ccp-who-item p { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--text-secondary); }

/* FAQ */
.ccp-faq { margin: 1.5rem 0; }
.ccp-faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.ccp-faq summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
.ccp-faq summary::-webkit-details-marker { display: none; }
.ccp-faq summary::before {
  content: "\25B6";
  font-size: 0.7rem;
  margin-right: 0.6rem;
  display: inline-block;
  transition: transform 0.2s;
}
.ccp-faq details[open] summary::before { transform: rotate(90deg); }
.ccp-faq details p {
  padding: 0 1rem 0.85rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Lightbox */
.ccp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}
.ccp-lightbox.active { display: flex; }
.ccp-lightbox img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
}
.ccp-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.ccp-lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}
.ccp-lightbox-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
}
.ccp-lightbox-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.ccp-lightbox-btn:hover { opacity: 0.7; }
.ccp-lightbox-counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Section headings */
h2 { font-size: 1.5rem; margin: 3rem 0 1.25rem; }

/* Terms page */
.terms h2 { margin-top: 2rem; }
.terms hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Contact form */
.contact-form { max-width: 600px; margin: 2rem auto 0; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-slate-blue);
  box-shadow: 0 0 0 2px rgba(94, 127, 140, 0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-checkbox { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 1.25rem; }
.form-checkbox label { font-size: 0.85rem; color: var(--text-secondary); }
.form-message { font-size: 0.9rem; margin-top: 1rem; }
.form-message.success { color: #16a34a; }
.form-message.error { color: #dc2626; }

/* More coming soon box */
.coming-soon {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 3rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer p { font-size: 0.85rem; color: var(--color-cadet-gray); }
.site-footer a { color: var(--color-cadet-gray); }
.site-footer a:hover { color: var(--color-slate-blue); }

/* Responsive */
@media (max-width: 600px) {
  .site-header .container { flex-direction: column; gap: 0.75rem; }
  .site-nav a { margin-left: 1rem; }
  .site-nav a:first-child { margin-left: 0; }
  .hero h1, .ccp-hero-text h1 { font-size: 1.6rem; }
  .ccp-hero-split { grid-template-columns: 1fr; text-align: center; }
  .product-card { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .ccp-includes-list { columns: 1; }
  .ccp-screenshots-last { max-width: 100%; }
}
