/* ContentMaXXX site — one stylesheet, no build step, no framework.
   Dark by default to match the app; respects a light-mode preference. */

:root {
  --bg: #0f0e0c;
  --surface: #17150f;
  --surface-2: #1e1b14;
  --border: #2b2721;
  --text: #ece7de;
  --muted: #9a938a;
  --accent: #f5a623;
  --accent-ink: #1a1509;
  --max: 1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf8f5;
    --surface: #fff;
    --surface-2: #f2eee7;
    --border: #e2ddd3;
    --text: #1a1712;
    --muted: #6b645b;
    --accent-ink: #1a1509;
  }
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- header ---- */
header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 14.5px; }
nav a:hover { color: var(--text); text-decoration: none; }

/* ---- hero ---- */
.hero { padding: 86px 0 64px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em;
}
.hero p.lede {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--muted); max-width: 660px; margin: 0 auto 30px;
}
.pill {
  display: inline-block; font-size: 13px; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 22px;
}

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 11px;
  font-weight: 600; font-size: 15px;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { text-decoration: none; filter: brightness(1.07); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { text-decoration: none; border-color: var(--muted); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* ---- sections ---- */
section { padding: 60px 0; }
section h2 {
  font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 12px; letter-spacing: -0.01em;
}
section .sub { color: var(--muted); margin: 0 0 34px; max-width: 640px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---- screenshots ---- */
figure { margin: 0 0 44px; }
figure img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border); border-radius: 12px;
}
figcaption { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* Compact CTA button in the header. */
.btn-nav { padding: 8px 16px; font-size: 14px; }

/* ---- interactive product tour ---- */
.tour { max-width: 980px; margin: 0 auto; }
.tour-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 22px;
}
.tour-tab {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: border-color .12s ease, color .12s ease;
}
.tour-tab b {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 999px; background: var(--border); color: var(--text);
  font-size: 12px; font-weight: 700;
}
.tour-tab:hover { border-color: var(--muted); color: var(--text); }
.tour-tab.is-active { border-color: var(--accent); color: var(--text); }
.tour-tab.is-active b { background: var(--accent); color: var(--accent-ink); }
.tour-stage { margin: 0; }
.tour-stage img {
  width: 100%; display: block; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.tour-caption { text-align: center; max-width: 720px; margin: 24px auto 0; }
.tour-caption h3 { font-size: 20px; margin: 0 0 8px; }
.tour-caption p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }
.tour-nav {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin-top: 22px;
}
.tour-dots { display: inline-flex; gap: 7px; }
.tour-dots i {
  width: 8px; height: 8px; border-radius: 999px; background: var(--border);
  display: inline-block; transition: background .12s ease;
}
.tour-dots i.on { background: var(--accent); }
@media (max-width: 620px) {
  .tour-tab { padding: 7px 12px; font-size: 13px; }
  .tour-nav { gap: 14px; }
}

/* ---- pricing ---- */
.price {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; max-width: 460px; margin: 0 auto;
  text-align: center;
}
.price .amount { font-size: 46px; font-weight: 700; letter-spacing: -0.02em; }
.price .cadence { color: var(--muted); margin-bottom: 22px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.price li { padding: 7px 0 7px 28px; position: relative; font-size: 14.5px; }
.price li::before {
  content: "✓"; position: absolute; left: 4px; color: var(--accent);
}

/* ---- tables / prose pages ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 42px; }
.prose h3 { margin-top: 28px; font-size: 18px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; }

.callout {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 22px 0;
  font-size: 14.5px;
}

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--border); padding: 36px 0 60px;
  color: var(--muted); font-size: 14px; margin-top: 40px;
}
footer .wrap { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; }
.age { border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; font-size: 12px; }

/* ---- forms ---- */
input[type="text"], input[type="email"], select, textarea {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 9px;
  padding: 11px 13px; font: inherit; font-size: 14.5px;
}
input[type="text"]:focus, input[type="email"]:focus,
select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
}
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
label.card { transition: border-color .12s ease; }
label.card:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
label.card input[type="radio"] { accent-color: var(--accent); }
button.btn-primary:disabled { opacity: .55; cursor: default; }
