/* Inbundly marketing site — Catppuccin-modernized palette, theme-aware. */
:root {
  color-scheme: light dark;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bg: #F4EDE3;
  --surface: #FBF7EF;
  --surface-2: #ECE4D5;
  --ink: #2B2B36;
  --muted: #6E695C;
  --border: #DCD3C2;
  --accent: #7DC4E4;
  --accent-2: #B4BEFE;
  --taupe: #8F8575;
  --link: #256E8C;
  --link-hover: #17516A;
  --on-accent: #21303A;
  --footer-bg: #23232C;
  --footer-ink: #E7E2D8;
  --footer-muted: #A29B8C;
  --shadow: 0 10px 30px rgba(43,43,54,.10), 0 2px 8px rgba(43,43,54,.06);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1B22;
    --surface: #24242E;
    --surface-2: #2B2B36;
    --ink: #F4EDE3;
    --muted: #A29B8C;
    --border: #34343F;
    --link: #8FD0EC;
    --link-hover: #B6E1F3;
    --on-accent: #16202A;
    --footer-bg: #14141A;
    --footer-ink: #E7E2D8;
    --footer-muted: #948D7F;
    --shadow: 0 10px 30px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.2) blur(8px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.nav .brand svg { height: 30px; width: auto; color: var(--ink); }
.nav .links { display: flex; align-items: center; gap: 26px; }
.nav .links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav .links a:hover { color: var(--link); }
@media (max-width: 640px) { .nav .links a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: 12px;
  padding: 12px 20px; border: 2px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn[disabled], .btn.coming { opacity: .55; cursor: not-allowed; position: relative; }
.btn.coming::after {
  content: "Coming soon"; position: absolute; top: -10px; right: -8px;
  font-size: 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  background: var(--accent-2); color: #21243a; padding: 2px 6px; border-radius: 999px;
}

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--taupe); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--link); }
.hero p.lead { font-size: 1.18rem; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Hero visual */
.hero-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
  padding: 34px; display: grid; place-items: center;
}
.hero-card img { width: 220px; height: 220px; border-radius: 28px; box-shadow: var(--shadow); }

/* Sections */
section.block { padding: 56px 0; }
.section-head { text-align: center; max-width: 44ch; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; }

/* Showcase / screenshots */
.showcase { padding-top: 8px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.shots figcaption {
  margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 14px; background: color-mix(in srgb, var(--accent) 30%, var(--surface));
  color: var(--on-accent);
}
.card:nth-child(3n+2) .ico { background: color-mix(in srgb, var(--accent-2) 40%, var(--surface)); }
.card:nth-child(3n) .ico { background: color-mix(in srgb, var(--taupe) 32%, var(--surface)); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  padding: 4px 18px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--taupe); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
footer.site { background: var(--footer-bg); color: var(--footer-ink); margin-top: 40px; }
footer.site .wrap { padding-top: 48px; padding-bottom: 40px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
footer.site .brand { display: flex; align-items: center; gap: 10px; color: var(--footer-ink); font-weight: 700; }
footer.site .brand svg { height: 28px; color: var(--footer-ink); }
footer.site nav a { display: block; color: var(--footer-muted); margin-bottom: 8px; font-size: 14px; }
footer.site nav a:hover { color: var(--footer-ink); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--footer-muted); }
.foot-bottom a { color: var(--footer-muted); text-decoration: underline; }
.foot-bottom a:hover { color: var(--footer-ink); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0; }
.legal h1 { font-size: 2rem; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; }
