/* Curbo holding site. One stylesheet for both pages; nothing is loaded from other websites. */

:root {
  --ink: #13213c;
  --text: #1d2433;
  --muted: #545e70;
  --bg: #f7f5ef;
  --card: #ffffff;
  --line: #e3e0d6;
  --amber: #f2b705;
  --amber-ink: #7a5600;
  --bubble-them: #ffffff;
  --bubble-me: #e3e9f3;
  --band: #13213c;
  --band-text: #f3f5f9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2f8;
    --text: #dfe5ee;
    --muted: #a3adbd;
    --bg: #0e1626;
    --card: #16213a;
    --line: #26324d;
    --amber-ink: #f5c93c;
    --bubble-them: #1b2945;
    --bubble-me: #26365a;
    --band: #16213a;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--amber-ink); }

/* .wrap owns the side padding and everything else only the top and bottom, so the two never override each other. */
.wrap { max-width: 68rem; margin: 0 auto; padding-inline: 1rem; }
.narrow { max-width: 44rem; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.top nav { display: flex; gap: 1.25rem; font-size: .95rem; }

/* Hero */
.hero { display: grid; gap: 2.5rem; align-items: center; padding-block: 2.5rem 3.5rem; }
.eyebrow { display: inline-block; margin: 0 0 1rem; padding: .2rem .7rem; border-radius: 999px; background: var(--amber); color: #13213c; font-size: .85rem; font-weight: 600; }
h1 { margin: 0 0 1rem; color: var(--ink); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; }
.lead { margin: 0 0 1.75rem; color: var(--muted); font-size: 1.15rem; max-width: 34rem; }
.button { display: inline-block; padding: .8rem 1.3rem; border-radius: 10px; background: var(--amber); color: #13213c; font-weight: 700; text-decoration: none; }
.button:hover { color: #13213c; filter: brightness(1.05); }
.note { margin: .9rem 0 0; color: var(--muted); font-size: .95rem; }

/* The example conversation */
.chat { margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 10px 30px rgba(19, 33, 60, .08); }
.chat figcaption { margin-bottom: .9rem; color: var(--muted); font-size: .85rem; }
.msg { max-width: 85%; margin: 0 0 .75rem; padding: .65rem .9rem; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.msg.them { background: var(--bubble-them); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { margin-left: auto; background: var(--bubble-me); border-bottom-right-radius: 4px; }
.msg .who { display: block; margin-bottom: .2rem; color: var(--amber-ink); font-size: .8rem; font-weight: 600; }
.taps { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.25rem 0 .75rem; }
.taps span { padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: .85rem; font-weight: 600; }
.msg.system { max-width: 100%; text-align: center; background: transparent; color: var(--muted); font-size: .85rem; }

/* Sections */
section { padding-block: 3rem; }
h2 { margin: 0 0 .5rem; color: var(--ink); font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.01em; }
.section-lead { margin: 0 0 2rem; color: var(--muted); max-width: 40rem; }
.grid { display: grid; gap: 1rem; }
.card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.card::before { content: ""; display: block; width: 2.25rem; height: .3rem; margin-bottom: .9rem; border-radius: 2px; background: var(--amber); }
.card h3 { margin: 0 0 .35rem; color: var(--ink); font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

.points { margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.points li { padding-left: 1.6rem; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .7em; width: .9rem; height: .22rem; border-radius: 2px; background: var(--amber); }

.band { background: var(--band); color: var(--band-text); }
.band h2 { color: #ffffff; }
.band p { color: #c9d2e3; max-width: 40rem; }

/* Footer */
footer { padding-block: 2rem 3rem; color: var(--muted); font-size: .9rem; }
footer p { margin: 0 0 .6rem; }
.doc + footer { border-top: 1px solid var(--line); }

/* Privacy notice */
.doc { padding-block: 1rem 3rem; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.doc h2 { margin-top: 2.25rem; font-size: 1.3rem; }
.doc h3 { margin: 1.5rem 0 .4rem; color: var(--ink); font-size: 1.05rem; }
.doc p, .doc li { max-width: 44rem; }
.updated { color: var(--muted); }

@media (min-width: 36rem) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.1fr .9fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
