/* Culliper website. Neutral surfaces; the brand gold (#E8BD66, assets/branding/README.md) is kept for small accents. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --accent: #9a6b0f;
  --accent-soft: rgba(232, 189, 102, 0.18);
  --button: #1d1d1f;
  --on-button: #ffffff;
  --header: rgba(255, 255, 255, 0.78);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --bg-alt: #141416;
    --surface: #1a1a1d;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2a2a2e;
    --accent: #e8bd66;
    --accent-soft: rgba(232, 189, 102, 0.14);
    --button: #f5f5f7;
    --on-button: #0b0b0c;
    --header: rgba(11, 11, 12, 0.72);
    --shadow: none;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

img { max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 740px; margin: 0 auto; }

/* Header and footer */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: block; line-height: 0; margin-left: -12px; }
.brand img { width: 138px; }
.site-header nav { display: flex; gap: 28px; font-size: 15px; }
.site-header nav a, .site-footer nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover, .site-footer nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 40px;
}
.site-footer nav { display: flex; gap: 24px; }

/* Type */

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.028em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
p, ul, ol { margin: 0 0 14px; }
strong { font-weight: 600; }
.muted { color: var(--muted); }

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-alt);
  font: 500 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}
code { font: 15px ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Buttons */

.button {
  display: inline-block;
  margin: 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--button);
  color: var(--on-button);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.text-link { color: var(--text); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Home: hero */

.hero { position: relative; padding: 88px 0 96px; text-align: center; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 520px;
  background: radial-gradient(420px 260px at 50% 45%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero .icon { width: 132px; margin-bottom: 28px; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.22)); }
.hero h1 { max-width: 880px; margin: 0 auto 22px; }
.hero .lead { max-width: 640px; margin: 0 auto 36px; color: var(--muted); font-size: clamp(18px, 2.1vw, 22px); line-height: 1.45; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.hero .note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }

.banner { margin: 0; padding: 10px 24px; background: var(--button); color: var(--on-button); text-align: center; font-size: 15px; }

/* Home: sections */

.section { padding: 104px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 19px; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.badge svg { width: 22px; height: 22px; }

.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--button);
  color: var(--on-button);
  font-size: 15px;
  font-weight: 600;
}
.steps { margin: 0; padding: 0; list-style: none; }
.steps .card { box-shadow: none; }

.plain h3 { margin-bottom: 8px; }
.plain p { color: var(--muted); }

/* Home: pricing */

.pricing { max-width: 820px; margin: 0 auto; }
.price { margin: 6px 0 14px; color: var(--text); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.price-note { max-width: 680px; margin: 28px auto 0; color: var(--muted); text-align: center; font-size: 15px; }

/* Home: FAQ */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 20px; color: var(--muted); }

/* Document pages (privacy, support, press) */

.doc { padding: 72px 24px 96px; }
.doc h1 { margin-bottom: 14px; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.032em; }
.doc .intro { margin-bottom: 40px; color: var(--muted); font-size: 19px; }
.doc h2 { margin: 52px 0 14px; font-size: 26px; letter-spacing: -0.02em; }
.doc li { margin-bottom: 8px; }
.doc ol, .doc ul { padding-left: 22px; }

table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
th, td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 32%; background: var(--bg-alt); color: var(--muted); font-weight: 500; }

blockquote {
  margin: 8px 0 20px;
  padding: 26px 30px;
  border-radius: 20px;
  background: var(--bg-alt);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
blockquote p { margin: 0; }
blockquote footer { margin-top: 14px; color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header nav { gap: 18px; font-size: 14px; }
  .site-header nav .wide-only { display: none; }
  .brand img { width: 116px; }
  .hero { padding: 56px 0 72px; }
  .hero .icon { width: 104px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .grid.three, .grid.two, .grid.four { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .doc { padding-top: 48px; }
  th { width: 38%; }
  th, td { padding: 11px 14px; }
}
